Search produces no results

After upgrading to Ubuntu 18.04 and going through many issues including https://github.com/zulip/zulip/issues/12012 and https://github.com/zulip/zulip/issues/12009 search does not give the old error.  But it does not show results.
This applies to all streams and all realms on this zulip server.  Result of any search is:
No search results

You searched for: time

OR
Nothing's been sent here yet!

Why not start the conversation?

This is when searching in the top bar above the conversation panel for words that are definitely in the conversation.
/var/log/zulip/errors.log has no entry on these searches

@timabbott
This Issue continues after successful upgrade-zulip-from git master.
No errors however I search for the word aristotelian and then to grep -nr 'aristotelian' in /var/log/zuliup and this is displayed:
django.log:20:[pid: 7814|app: 0|req: 366/1089] <IP_ADDRESS> () {50 vars in 1425 bytes} [Thu Apr 25 01:57:51 2019] GET /json/messages?anchor=-1&num_before=50&num_after=50&narrow=%5B%7B%22negated%22%3Afalse%2C%22operator%22%3A%22search%22%2C%22operand%22%3A%22aristotelian%22%7D%5D&use_first_unread_anchor=true&client_gravatar=true => generated 156 bytes in 21 msecs (HTTP/1.1 200) 7 headers in 208 bytes (1 switches on core 0)

Hopefully this helps.

This is an unresolved issue but I am using full text search now and can not help de-bug. https://zulip.readthedocs.io/en/latest/subsystems/full-text-search.html

@stone212 did you switch to pgroonga, or not?  I will assume that you are not using pgroonga as your search backend in the below, please switch back if you are, since I don't want that to be a variable in this investigation.
Make sure that (1) the process_fts_updates job is running in supervisorctl status -- it is what updates the search index.  You likely will need to restart that job given the fiddling you did in previous issues.  Whether that job is working will impact whether searching for a word you sent in a message 10 seconds ago works.  For older messages, I suppose it's possible you need to re-backfill your message history.  The following SQL command, run in a manage.py dbshell, should do that:
UPDATE zerver_message SET search_tsvector = to_tsvector('zulip.english_us_search', subject || rendered_content)

@stone212 have you had a chance to try that?

@timabbott

did you switch to pgroonga, or not?

Yes and the system is working.  Since it is sometimes 18 days between replies from you, and since you often reply without reading what I wrote and because this is a production system with many users - having a stable system after all of these weeks is the priority.  That is why I said I can not help you de-bug this Issue at this point.
I intend to migrate to a new server soon so working on migration issues will be my priority after I catch upon the 150 other servers which took a lower priority because of these zulip issues.  Hopefully the migration wil be smoother than it went the first time but if not I will open new Issues.

@timabbott Anyway why did you suggest pgroonga if you didn't want me to use it (https://github.com/zulip/zulip/issues/12206)?
And where are the instructions to "switch back"?  You skipped over that part in your comment above even if it was prudent for other reasons.  It's these half answers and disconnected responses that are making the original problem (which was caused by poor Zulip docs) take more than a month to fix.

@timabbott Anyway why did you suggest pgroonga if you didn't want me to use it (#12206)?

PGroonga is totally fine to use (actually better if you have users who use multiple languages), there are several production sites happily using it and there's a good chance we'll migrate everyone over to it.  It's just a less mature implementation.  We just can't debug your problem with the other backend without switching back.
I don't think it's a priority for the project to debug the search issue you ran into, because I don't expect that other folks will end up in the same situation.  So if you're happy with the PGroonga search experience, I'm happy to close this issue.

And where are the instructions to "switch back"? You skipped over that part in your comment above even if it was prudent for other reasons.

The instructions for switching back are documented at the bottom of the article on PGroonga.
See https://zulip.readthedocs.io/en/latest/subsystems/full-text-search.html#how-to-disable-full-text-search-across-all-languages.

It's these half answers and disconnected responses that are making the original problem (which was caused by poor Zulip docs) take more than a month to fix.

@stone212 I'm sorry you had extended downtime here, because it sucks, but blaming Zulip and me for your downtime is unfair.

Both Ubuntu and Zulip have documentation recommending against doing a do-release-upgrade on a running production system and that you should take a backup first (I think Ubuntu even warns you when you run the command).  We recommended against doing so on a production precisely because it wasn't at the time something we had documentation for (I added this documentation a few weeks ago).  Your choice to do that do-release-upgrade without providing us with what precisely you ran is what got you into a broken situation that we could not reproduce.
Your organization doesn't pay for a formal support contract, which is you do if you want someone to help them through tricky technical issues with an SLA.  I know your organization has donated in the past, which we very much appreciate, but that's different from paying a negotiated rate for a specific level of technical support service.
The very first advice I gave you a month ago for how to fix full-text search, with the CREATE EXTENSION ... command in a postgres shell, followed by supervisorctl restart all, should have been all you needed to do to eliminate that first error, and it appears you failed to actually run it.  Inhttps://github.com/zulip/zulip/issues/12009#issuecomment-480559204, you didn't include a ; at the end of the SQL statement, and thus didn't actually run anything in the SQL shell.  While perhaps I should not have assumed that you knew SQL statements need to end with a ; and spelled out the command precisely, you definitely should have mentioned that the command hung and never completed!  Then it would have been obvious that it didn't do anything and we'd have corrected it right then.  Neglecting to mention that is the root cause of your being stuck with search broken for weeks, because in order to help further, I had to first try to reproduce the weird situation (which was impossible) and then think about explanations for it not fixing your problem like the CREATE EXTENSION command creating the extension in the wrong postgres database/schema/etc.

I'm the PGroonga developer. I'll be able to help you.
I'll try upgrading my Zulip production server to 18.04 from 16.04 in a few days. The server is using PGroonga.

@kou Thank you but pgroonga is already working very well.  I do have concerns about migrating to another server with an original using pgroonga.  Do you have any documentation for this?

@timabbott

I'm sorry you had extended downtime here, because it sucks, but blaming Zulip and me for your downtime is unfair.

No, Tim, it's not unfair.   Because of the work I have put in, your docs are much better (you're welcome).

I did have a backup.  I have had a backup this whole time.  I told you that.
But anyway your backup/restore process is not working like the docs describe so it doesn't matter does it?

Your choice to do that do-release-upgrade without providing us with what precisely you ran is what got you into a broken situation that we could not reproduce.

No it isn't.  The system was broken before I posted.  That is why I posted.  And I have answered every question you asked.  If you wanted more information you could have asked more questions.  But you didn't.  Instead you disappeared when I tried the things you suggested.  Sometimes you suggested the same thing right after I told you I just did it.

Your organization doesn't pay for a formal support contract,

I don't have an organziation and anyway I am posting bugs with Zulip and with the zulip docs.  Again I say, you're welcome.

The very first advice I gave you a month ago

The very first advice was more than a month ago, and I followed it, and it wasn't what you just said it was.  There was other advice you did give me a month ago which I followed as you explained, and I posted the exact commands I ran for you to look at.  I asked you (twice!) to verify that I did what you wanted.  You ignored this both times.  Then (a month later) you mentioned something else that helped shed light on this - although it still was not a solution to the overall problem which is why I opened this Issue.

you definitely should have mentioned that the command hung and never completed! Then it would have been obvious that it didn't do anything and we'd have corrected it right then.

I did tell you that, two times.  You did not reply.  That's why I'm so pissed off and why I am right to be.  18 days man.
No one expects perfection, no one expects service for an open-source project.  But everyone who is an active member of the community who takes time to write full bug reports and to read the docs and to make suggestions to make zulip better should expect the dev team's participation in fixing bugs that were created by their own poor docs (proven because you now have good docs based on my experiences).
This is not a world ender.  I am still participating in the Zulip community, I still want to help make Zulip better by making good bug reports and suggestions.  I consider this a mostly friendly disagreement.  But I am not going to roll over when you deflect blame onto me for (an honest set of) mistakes that you made, without me pointing out your error.
You have a good product overall.  It will be very nice to get it working again.

Oh, sorry. I misunderstood.
Normally, you can migrate your server by the followings:

Install fresh Zulip to new server https://zulip.readthedocs.io/en/latest/production/install.html with the same /etc/zulip/settings.py content with old server.
Backup data in old server: https://zulip.readthedocs.io/en/latest/production/maintain-secure-upgrade.html#backups
Restore backup date in new server: https://zulip.readthedocs.io/en/latest/production/maintain-secure-upgrade.html#restoring-backups

I'm not sure this is documented. Sorry.
BTW, I've upgraded my production Zulip server to 18.04 from 16.04. And I found some problems. I've created a pull request to fix this as #12261.

Ah, sorry.

1. Install fresh Zulip to new server https://zulip.readthedocs.io/en/latest/production/install.html with the same `/etc/zulip/settings.py` content with old server.

This is needless. Because

3. Restore backup date in new server: https://zulip.readthedocs.io/en/latest/production/maintain-secure-upgrade.html#restoring-backups

already says

First, install a new Zulip server through Step 3 with the version of both the base OS and Zulip from your previous installation.

@kou Are you replying to me?  Migrating to a new server is a different Issue.  This is about Search producing no results after upgrading to Ubuntu 18.04 and following the steps @timabbott explained in 12009.

Yes. I answered your question at https://github.com/zulip/zulip/issues/12206#issuecomment-489002390

I do have concerns about migrating to another server with an original using pgroonga. Do you have any documentation for this?

Did my answer solve your concern?

@kou I don't know what you're talking about but your comment does not answer this Issue and it does not give new information about migrating to a new Zulip server but anyway that is not this Issue.  Please don't confuse this Issue by giving details about a different subject.

What is the remained problem in this issue?
Can we close this issue? Or should we resolve something?

@kou
The original Issue was not resolved was it?  Please see my original comment.  I am un-subscribing from this thread because I am using pgroonga and can not help test.

@kou the main discussion on this thread isn't related to pgroonga, but the tsearch_extras search backend.  This issue is about recovering from having done a pg_upgradecluster without the appropriate full-text search backend enabled on the new postgres version.  Thanks for testing the pgroonga postgres OS version upgrade path; I hadn't thought to test that when writing the instructions.

This is not a world ender. I am still participating in the Zulip community, I still want to help make Zulip better by making good bug reports and suggestions. I consider this a mostly friendly disagreement.

@stone212 agreed.  I agree I could have noticed the missing ;.

You did not reply. That's why I'm so pissed off and why I am right to be. 18 days man.

Yes, and I apologize for this, as it is not the norm for getting help on GitHub issues in this project (as I think you know, most issue thread comments get a reply to me within a day in normal circumstances).  I probably should have mentioned this earlier in the thread, but I was very ill with a flu for like 3 weeks covering this interval, which is why my replies were very slow for this issue and often brief.  So I was doing the best I could to help with my limited useful time available for this and other reports.
As we don't have a way to debug it, I'm going to close this issue; the thread will be useful if someone else ends up in this situation, but we don't have a reproducible problem for new users, and in any case, arguably the fix to this problem for future users is the new documentation we wrote on how to migrate the Zulip database to a new Ubuntu version without getting into this situation.  I'm happy to reopen (or in any case investigate further) if there's an opportunity to do so, since I am curious what the state is, though it'd probably be a lot easier to do interactively on chat.zulip.org as I'll likely want to try like 10 different things in quick succession.
@stone212 thanks for all the debugging back and forth, and for providing the impetus for us to have good documentation for the do-release-upgrade process!  I'm sure other users will benefit from this a lot in the future.

Thanks for testing the pgroonga postgres OS version upgrade path; I hadn't thought to test that when writing the instructions.

Yes!  This might help my  migration issues because I use pgroonga so this thread may have helped.  But it is correct to close it since we can not re-produce.

Will enabling pgroonga make it possible to search and find partial matches?

Hi, i have same this issue: i deployed the zulip server in docker and use a remote postgresql, when i restore the backup of db from the old serevr to the new remote db, i faced an issue with searching, when i search on any thing there is no result, but when i search on number like "360" is search is working with numbers, i can't understand where is the issue?


[DEV] Amend Github Attribution Bug

See background here https://discuss.tvm.ai/t/response-to-github-author-attribution-bug/5909
On Mar 5th 2020, github changed the the squash merge behavior, which caused three commit’s author being wrongly attributed. This problem has been fixed as of now by github so new PRs won’t be affected.
The community values every contribution and would like to make things right. After discussion, we proposed the following approach to amend the contributions statistics without rewriting the history.

First, the original merger will revert the PR
Once the PR is reverted, the original contributor can send another PR to the upstream
We will expedite the process.

List of PRs

[ ] https://github.com/apache/incubator-tvm/pull/4951
[ ] https://github.com/apache/incubator-tvm/pull/4977
[ ] https://github.com/apache/incubator-tvm/pull/4931
[ ] https://github.com/apache/incubator-tvm/pull/4975
[ ] https://github.com/apache/incubator-tvm/pull/4938

cc @merrymercy @kevinthesun @anijain2305 @masahi

Close for now as four out of five PRs affected has been amended via revert/repatch  Did not get reply in https://github.com/apache/incubator-tvm/pull/4975 . As it is a one-line patch, we will close this issue for now.


docs(auth): Fix authorization directive documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
172

Relevant Lines:
172

💛  - Coveralls


Short refactoring + dump comparison script

Additional option for unit testing using rvsteel_sim_verilator and dump comparison using the rvsteel_core_unit_tests.py script.
The script runs rvsteel_sim_verilator with the verification program from programs. The generated dump file is then compared to the golden one from references. The result of the work is a report on the execution of tests in this form:
...
TEST PASS : programs/sub-01.hex
TEST PASS : programs/sw-align-01.hex
TEST PASS : programs/xor-01.hex
TEST PASS : programs/xori-01.hex
Total: passed 37, skipped 8, failed 0

The dump file and log are saved to a folder unit-tests/dump

However, I still have a question, why when running (these) programs are the beginning and end of the signature the same? As a result, I get an empty dump file.
ebreak.hex
ecall.hex
fence-01.hex
misalign-lh-01.hex
misalign-lhu-01.hex
misalign-lw-01.hex
misalign-sh-01.hex
misalign-sw-01.hex

Temporarily skipping these programs.

For some of these files the beginning and the end are not the same. For example, the first signature of fence-01.hex is ffffffff and the last is 00000000. Why is it an issue to have the same start and end signature?
Each line of the signature is the result of a unit test for the instruction. Sometimes the expected results for the same operation are the same. So they end up filling the signature with the same value. This is expected and not a problem.

Where can I find information about these signatures? Are there any options for bringing it together? Or maybe there is a table for the location of signatures? How can I unify this?

The RISC-V Test Framework is now at its 3rd version. At the time I compiled the test programs and generated the signatures it was on its 2nd version. This version is available at the old-framework-2.x branch of the repository: https://github.com/riscv-non-isa/riscv-arch-test/tree/old-framework-2.x/doc
It is hard to explain in few words how to compile and generate the signatures. It requires a lot of work. You can find the source code of the unit tests in this folder: https://github.com/riscv-non-isa/riscv-arch-test/tree/old-framework-2.x/riscv-test-suite/rv32i_m/I/src
General instructions on how to compile and generate signatures can be found here: https://github.com/riscv-non-isa/riscv-arch-test/tree/old-framework-2.x/doc#porting-a-new-target
Hope it helps you! To double check that the signatures are indeed correct, you don't need to go through all this process. You can run the test programs in a RISC-V ISA simulator, like QEMU or Spike. The generated signatures will be the same you find in the files.

I forgot to mention, the reference signatures for these tests can be found at https://github.com/riscv-non-isa/riscv-arch-test/tree/old-framework-2.x/riscv-test-suite/rv32i_m/privilege/references. They say in the docs that these signatures were generated by running the tests with RISC-V SAIL formal model.

Do you plan to use Spike or QEMU for tests?

I don't, currently I plan to implement GPIO and SPI interfaces so the SoC IP is more useful for embedded engineers trying to make something out of Steel.
I could not find in your simulation the code to reset the core before running a test. The reset signal must be held high for at least one clock cycle before running each test. This is important because the tests write to CSR registers and the Integer File, and a reset ensure everything is clean before running.

Reset is performed by calling function dut_reset(); https://github.com/riscv-steel/riscv-steel/blob/071e703cb276025297b1cb2e26a8fbef3947649b/ip/core/rvsteel-sim-verilator/main.cpp#L209

Sorry I hadn't noticed. Do you get a signature when running those tests? How do they differ from the golder references?

When running the tests, memory dumps are obtained that correspond to the format in the golden reference.

In the future, you can expand the functionality rvsteel_sim_verilator to generate an execution log.  For subsequent comparison with the log of a reference simulator, for example Spike.

That would be cool! One way to ensure that the design is correct is to analyse its execution trace against a reference simulator, and generating the execution log can be really helpful.
The tests above were not passing because the end of the simulation was being detected prematurely. A few tests write a value other than 0x00000001 to address 0x00001000 before the test ends. It was needed to compare write_data explicitly with 0x00000001.
Sorry my text editor clang-formatted your source code. Thanks again for contributing!

Oops, looks like I wasn't paying attention, thanks for the correction.
By the way, if you want to look at wave you can add another argument to rvsteel_sim_verilator --out-wave=wave.fst. You can use GTKWave to view it *.fst
And one more thing :) If it is not important to you, please make 4 spaces for space 2 in the formatting of your text editor :)

I added you as a colaborator of the repo. I changed the tab space of main.cpp to 4 spaces, though I prefer only 2 ;)
I created a branch called "dev" for development purposes. Everybody can push to this new branch.
Thanks for your contributions.


Allows only hiding disk block while keeping the network block and temperature blocks

Currently -m hides both network, temperature and disk blocks, so please allow to hide disk block only.

The way i'd like to do this is by having a config file where users can specify which widgets they want. There is already an issue open for this #39 so i'm going to close this issue.


Tracking: Cosmos extension doesn't load in Insiders due to vscode bug

https://github.com/Microsoft/vscode/issues/60190

Closing as not-repro. Looks like the upstream bug has been fixed.


Support Service Principal with access to multiple subscriptions

If the configured Service Principal you're using has a different DEFAULT Azure subscription than the one used in the automation, these pipelines fail.
This PR explicitly sets the configured Subscription after each az login.

Thank you @icnatejackson ! Much appreciated!


Win CI: Patch LLVM to fix broken build

Prevents the error:
type_traits.h(181,23): error C2338: inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable (compiling source file

Ref:

https://github.com/microsoft/vcpkg/pull/12884/files
https://github.com/microsoft/vcpkg/pull/12884#issuecomment-703789627

Launched a run here, expecting it to pass. https://github.com/oprypin/crystal/runs/1388334287
The CI run on this repo will not be representative; still cached.

After the build success the llvm cache key should be bumped as part of this PR I guess.
Good discovery! I must've been hard to find. I'm sorry.

2020-11-12T03:01:37.0097469Z D:\a\crystal\crystal\llvm-src\include\llvm/Support/type_traits.h(181,23): error C2338: inconsistent behavior between llvm:: and std:: implementation of is_trivially_copyable (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp) [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.0105303Z D:\a\crystal\crystal\llvm-src\include\llvm/ADT/SmallVector.h(315): message : see reference to class template instantiation 'llvm::is_trivially_copyable<T>' being compiled [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.0107247Z           with
2020-11-12T03:01:37.0107760Z           [
2020-11-12T03:01:37.0108295Z               T=std::pair<void *,size_t>
2020-11-12T03:01:37.0110055Z           ] (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp)
2020-11-12T03:01:37.0112793Z D:\a\crystal\crystal\llvm-src\include\llvm/ADT/SmallVector.h(837): message : see reference to class template instantiation 'llvm::SmallVectorImpl<T>' being compiled [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.0114314Z           with
2020-11-12T03:01:37.0114804Z           [
2020-11-12T03:01:37.0115368Z               T=std::pair<void *,size_t>
2020-11-12T03:01:37.0116387Z           ] (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp)
2020-11-12T03:01:37.0118849Z D:\a\crystal\crystal\llvm-src\include\llvm/Support/Allocator.h(378): message : see reference to class template instantiation 'llvm::SmallVector<std::pair<void *,size_t>,0>' being compiled (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp) [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.0122854Z D:\a\crystal\crystal\llvm-src\include\llvm/Support/Allocator.h(435): message : see reference to class template instantiation 'llvm::BumpPtrAllocatorImpl<AllocatorT,SlabSize,SizeThreshold>' being compiled (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp) [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.1463017Z D:\a\crystal\crystal\llvm-src\include\llvm/ADT/SmallVector.h(315,32): error C2976: 'llvm::SmallVectorTemplateBase': too few template arguments (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp) [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]
2020-11-12T03:01:37.2113839Z D:\a\crystal\crystal\llvm-src\include\llvm/ADT/SmallVector.h(179): message : see declaration of 'llvm::SmallVectorTemplateBase' (compiling source file D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\RTDyldMemoryManager.cpp) [D:\a\crystal\crystal\llvm-src\lib\ExecutionEngine\RuntimeDyld\LLVMRuntimeDyld.vcxproj]

:(

Sorry; let's try again

This works correctly now, by the way.
@bcardiff, in #9912 I merged both commits to see that together they are enough to work. But I don't intend to clump the two pull requests together. I'll drop that part from #9912

llvm cache key should be bumped as part of this PR I guess

Well it doesn't matter anymore, I think there's no need to do that then.


decode big string error

I'm trying to decode a a large string and the return is only a few caracateres.
this is the content: https://api.github.com/repos/vsouza/awesome-ios/git/blobs/2982828382129f0c6ffd706dd1e2b8dfc1cf55a8
this is the return that I've got: <img src="https://raw.githubusercontent.com/v
The expected return is a huge HTML data, like source code of this page: http://awesomeios.com/
It seems to me that it is something related to the line breaks \n
Any chance I have forgotten to implement something?
Thanks guys

+1

Can you show the code you used to fetch it? There's a chance that this isn't a Base64 bug.

Ok, I was unable to reproduce this exact bug because in my case the decoder wasn't working at all... @paulofaria can you help us out here? I'm not familiar enough with Base64 to be of use.

@Danappelxx & @paulofaria this is the code:
	public func getContent(uri: String) -> Data? {
		do {
			let client = try! Client(uri: Constants.General.mainURL)
			var response = try client.get(uri)
			let buffer = try response.body.becomeBuffer()
			let parsed = try! JSONParser().parse(data: buffer)
      let treeDict = try! parsed.asDictionary()["tree"]!.asArray()
      for tree in treeDict {
        if tree["path"] == "README.md" {
    			let url = try! tree["url"]!.asString()
    			var response2 = try client.get("/repos/vsouza/awesome-ios/git/blobs/2982828382129f0c6ffd706dd1e2b8dfc1cf55a8")
    			let buffer2 = try response2.body.becomeBuffer()
    		  let parsed2 = try! JSONParser().parse(data: buffer2)
    			let baseData = try! parsed2["content"]!.asString()
          self.decoded = Base64.decode(baseData)
    		}
      }
		} catch {
    	print("Error")
			return nil
		}
    return self.decoded
	}

I made another implementation using Swift 3.0. I don't get this error anymore.
https://github.com/vsouza/VSBase64


Jobs in failed state remain locked

When you set destroy_failed_jobs = false and you reach the max_attempts, the job is updated with the failed_at timestamp. The problem is that the locked_at and locked_by attributes are never cleared. This makes things like delayed_job_web show a large number of "working" jobs when they are actually just "failed".

The fields aren't cleared because they don't need to be and could be valuable debugging info if something has gone wrong.
This is a bug in delayed_job_web, not DJ


Add "none" as a valid module options.

https://github.com/TypeStrong/atom-typescript/blob/master/lib/main/tsconfig/tsconfig.ts#L52

Its not a valid value. See : http://json.schemastore.org/tsconfig

'none' is implicit if you omit it. Note that we don't support omitting it though as we don't think --out as it is implemented is a good idea : https://github.com/TypeStrong/atom-typescript/blob/master/docs/out.md


Port of docopt to JavaScript

Hello,
I have made a port of docot for JavaScript here!
It is stable and can be used in real world projects.
All the tests pass using nodejs and deno.
Can you add me and this project to the organization?
Thanks!

It's very strange the JS version hasn't been created yet.


How to set the usage of graphics card memory？

The 17.3 version use gpu memory 7gb,How to set the usage of graphics card memory?

Not sure if I undestand the request?
What exactly do you mean to set the usage of the graphics card memory?

It means running the program in a fixed size in the graphics card storage

Thanks for clarifying your request!
The library requires loading the full whisper model into GPU memory to perform the operations efficiently.
Unfortunately, it's not possible to cap or fix the amount of GPU memory usage because the model must reside entirely in memory to take advantage of GPU acceleration. This is internal to whisper.cpp and not a constraint on whisper.net.
Using a smaller version of the model will use less memory but in order to load a specific model, you'll need specific amount of memory.


ESLint move cleanups

After moving to ESLint there still remained few places where JSHint and JSCS were referenced. Let’s eliminate them.

@rlgomes

+1 thanks for catching these

@rlgomes Thank grep :-)


RDB Loader R29 Schemas

Thanks @chuwy - could you highlight the changes from the 2-0-0 just to save us some time?

Changes:

New jdbc object, configurint all JDBC driver options except a) deprecated; b) authentication-related (later one is under the question - happy to add it)
No properties can be omitted now: everything is either present or null besides of jdbc, where all properties can be omitted (we usually omit id and sshTunnel.passphrase, now they should be added as nulls at least)
maxError bumped to 100.000, which is valid value. Previous schemas' upper bound is 10.000
Biggest change - remove of sslMode. Now to disable SSL - you need to set jdbc.ssl: false. It is always enabled by default. verify-ca and verify-full (notice lowercase) should be set in dedicated jdbc.sslMode property.
Added multiple string maxLength and numeric maximum whereas documentation about bounds is available
Added descriptions almost for all fields. Find it quite useful especially for encrypted password and SSH tunnel

Just pushed an update, making id property required. This is necessary because id is what makes double-target loading possible in processing manifest world, otherwise there's no proper way to distinguish two targets.
If user previously loaded data into single target without id then decided to add new target and marked both targets as "id1" and "id2" - RDB Loader is now in situation where it is not possible to determine what item was loaded into what target - none items are loaded to "id1" neither to "id2". To avoid confusing situations like this, it is better to force users to stick with ids.

Makes total sense. I wanted the id for another uniqueness requirement we have (uniquely identifying storage targets in Snowplow Insights), but this is equally important.

Superseded by https://github.com/snowplow/iglu-central/pull/731


Harmonize commit return type

Related to https://github.com/huggingface/datasets/pull/5545#issuecomment-1438557414 (cc @mariosasko @lhoestq).
This PR harmonize the return value between create_commit, upload_file and upload_folder. At the moment, we have a CommitInfo dataclass with useful information for create_commit (and delete_file/delete_folder). However, upload_file returns a URL to the uploaded file on the Hub while upload_folder returns a URL to the uploaded folder on the Hub. This PR makes CommitInfo inherits from str so that return value can always contain the commit information.
This is somehow similar to the RepoUrl when creating a repo. It shouldn't introduce any breaking change to the existing integrations. In particular, huggingface-cli upload still prints the same urls as before. In a future version (not before v1.0) we should remove the CommitInfo x str mixin introduced in this PR and settle for a dataclass-only solution.
I have adapted a few tests to check the return value type. I also took the opportunity to simplify the logic in some tests, especially removing some self.subTest (we are testing twice the same feature on ~ the same setting) and self.fail (which doesn't play nice with --pdb) that makes the tests a bit more readable IMO.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Quote character " ignored

Originally posted by @PixelKnot in https://github.com/janisdd/vscode-edit-csv/issues/58#issuecomment-1607777523
Added this as a comment to a closed issue, then figured it could probably do with being it's own new one.
I am still seeing this exact behaviour on v0.7.6
This csv has 3 columns with the following values
x
y,y
z
The plugin is ignoring " as a quote character and reads x, "y,y", z as having 4 columns.

Puh, for a second you got me...
As in the original issue

When delimiter is ,  (with a space after comma), and there is , or ,  in the cell(with quotes), the read function will break the cell by , or , .

If you change the delimiter to ,  it works as expected.

Huh, wow, didn't realise that, even after reading the original issue...
Is there a fix for that that can be implemented at all?
While it does stop this happening, as a work around, it feels like there is still an issue here.

I'll add an option readOption_delimitersToGuess where you can manually specify the delimiters that should be guessed.
If you add ,  (, + whitespace) before , in the list, it may work... at least it works for this example.

As alternative, would something like an "ignore unquoted whitespace" flag be possible?
I believe, in the context as a CSV, respecting whitespace does not matter, unless it is explicitly defined to be there by use of the quoted string.
Having this as a flag would allow for it to still respect the current functionality, without users having to guess all the possible delimiters inserted into unclean data. Having this disabled by default would allow for full backwards compatibility unless set to true.

Actually, whitespace is handled in the csv rfc, see issue in papaparse and should not be ignored...
Such a flag might be interesting but there might be some implications on the parsing side. Maybe at some point.

I have added some reasons why this is not implemented at https://github.com/janisdd/vscode-edit-csv/blob/master/docs/quotes.md


standard_init_linux.go:195: exec user process caused "exec format error"

Greetings,
I have been trying to configure Balena with EdgeX foundry services but with no luck so far.
Image: balenalib/raspberrypi3-64-ubuntu
every command will produce "standard_init_linux.go:195: exec user process caused "exec format error""
Example:
Dockerfile
FROM balenalib/raspberrypi3-64-ubuntu
# Create a consul user and group first so the IDs get set the same way, even as
# the rest of this may change over time.

#RUN addgroup consul && \
#   adduser --system --ingroup consul consul

# standard mongo db data dir directories
RUN mkdir /data
RUN mkdir /data/db
RUN echo "this directory is reserved for EdgeX database files" > /data/db/README

# EdgeX shared directories
ENV EDGEX_BASE=/edgex
RUN mkdir $EDGEX_BASE
RUN mkdir $EDGEX_BASE/logs
RUN echo "this directory is reserved for EdgeX log files" > $EDGEX_BASE/logs/README

# Consul config and data directories
# The /consul/data dir is used by Consul to store state. The agent will be started
# with /consul/config as the configuration directory so you can add additional
# config files in that location.
RUN mkdir /consul
RUN mkdir /consul/config
RUN mkdir /consul/data
RUN echo "this directory is reserved for EdgeX Consul config files" > /consul/config/README
RUN echo "this directory is reserved for EdgeX data files" > /consul/data/README
RUN chown -R 100:1000 /consul

COPY static-services-config.json /consul/config

ENTRYPOINT /usr/bin/tail -f /dev/null

Compose:
version:` '2.1'
volumes:
  db-data:
  log-data:
  consul-config:
  consul-data:
  portainer_data:

services:

  volume:
    build: .
    #   container_name: edgex-files
    networks:
      - edgex-network
    volumes:
      - db-data:/data/db
      - log-data:/edgex/logs
      - consul-config:/consul/config
      - consul-data:/consul/data

  consul:
    image: consul
    ports:
      - "8400:8400"
      - "8500:8500"
      - "8600:8600"
#   container_name: edgex-core-consul
    hostname: edgex-core-consul
    networks:
      edgex-network:
        aliases:
            - edgex-core-consul
    volumes:
      - db-data:/data/db
      - log-data:/edgex/logs
      - consul-config:/consul/config
      - consul-data:/consul/data
    depends_on:
      - volume

@OdysLam It looks like you are trying to run docker build . on your x86 machine whereas the binaries in the container are a different architecture. You probably need to install qemu and binfmt in your host OS.
 I thought that Balena automatically built the containers for the needed architecture, I guess that's when using the online process and not the local dev mode.
Also, what about the build functionality of balena cli? Is it possible to build them on the rpi itself (although it's highly non optimal). Will definately check it out.
One last question, since I will be using already built containers (Edgex), how can I know whether they will run on the Raspberry pi ? (I know that it's not balena relevant).
Anyhow, thanks!

@OdysLam it is possible to build the functionality on the device. Quite slow though.
From https://www.balena.io/docs/learn/develop/local-mode/
It uses the Docker daemon on the device to build container images
If edgex provide containers for the armv6/7 architecture, they should run on the rpi.
I guess you can check by running balenaOS, ssh into the hostOS, then run
balena run -i -t urlforedgexdocker /bin/sh
If it gives an exec format error, the architecture is wrong.

@ZubairLK  Actually I discovered that using the balena CLI it is possible to build locally on the machine and emulate it automatically (--emulate) and then forward it on the machine.
https://github.com/balena-io/balena-cli/blob/master/doc/cli.markdown#local-ssh-deviceip
I see that containers are working normally from the balena point of view. I now want to determine whether they actually work as intended. Will try to post a relevant guide or something in the future.
Thank you so much

@OdysLam okay, I think I understand - the containers built and ran, but the service inside your container didn't start up? perhaps my issues have something to do with alpine then, which I am using in place of ubuntu.
I'll give your technique a try and see if switching to the same image helps. Thank you again


How do I actually use this?

The example on the github page does not even compiler due to this ...{setting}.
I can't fine the react-slider.js anyway but managed to cut and paste it from http://webrafter.com/opensource/react-slick by viewing the source.
But even then, I'm getting this error at runtime
 Uncaught ReferenceError: webpackJsonp is not definedreact-slick.js:1 (anonymous function)

As of now you have to use a build tool like browserify or webpack.
This yeoman generator help you setup quickly.
{...settings} is es6 feature and require react 0.12
If you are using jsx loader add harmony flag and if you are using reactify add {es6: true}  to your browserify config
I am not providing react-slider.js because it is a good practice to  avoid exposing react component on global and it is better to use a build tool.
Let me know your feedback.

Thanks for the response.
Unfortunately I'm a server guy and do not know anything about front end stacks, therefore I have not idea what to do next.
Take jquery.js for example.
I'm able to just point to it using a script tag and use it straight away, without having to build it.
That seems much for user friendly.
Closing since it appears to work for you.

If you work on server (Java, ruby or python etc) you must be already familiar with module system.
Same sort of module system can be used Javascript.
Jquery uses globals because at the time of its creation there was no module system and build tools
Now javascript is maturing and borrowing ideas like module system from server side languages like python, ruby.
I haven't provided bundled packages because it is not a good practice now.
You will loving using a build system after passing the initial setup hurdle.
let me know if you need help in setting up.
Just curious. Are you able able to find bundled packages for other opensource react components?


update ICDM'21

Thank you for your contribution.
Would you mind providing the sources you obtain such statistics?

It is included in the submission decision letter, maybe there will be an official announcement in the future.

I see. Thanks again with my congratulations to your acceptance :)


[tcgc] return Versions enum used in versioning

fixes #128

All changed packages have been documented.

You can try these changes at https://cadlplayground.z22.web.core.windows.net/typespec-azure/prs/384/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/typespec-azure/prs/384/


Structured logging page is gone? (docs)

fixed. Was renamed to "IsEnabled"
@bewen81 please be careful with renaming pages / titles, thanks! (I this was a mistake ;) )


Correct spelling of "Cloud Paks" in README

What is this change?
This change involves correcting spelling of "Packs" in reference to Cloud Paks to appear as "Paks"
Why is this change necessary?
This change is needed to be consistent with IBM branding of the registered trademark name "IBM Cloud Paks".

Thanks for catching this error. It was a typo.
It's fixed now.


New package: Joystick v0.1.0

Registering package: Joystick
Repository: https://github.com/ufechner7/Joysticks.jl
Created by: @ufechner7
Version: v0.1.0
Commit: 7ecbac85f3da2c692c4e46191ee5db8bf8284f72
Git reference: HEAD
Description: Joystick interface for Julia
Release notes:

Initial release

Superseded by #60693


feat: geometric tick spacing with additive ranges

Geometric Tick Spacing with Additive Ranges ADR
Context
In Uniswap V3, descrete points (called ticks) are used when providing liquidity in a concentrated liquidity pool. The price [p] corresponding to a tick [t] is defined by the equation:
$$ p(i) = 1.0001^t $$
This results in a .01% difference between adjacent tick prices. However, this does not allow for control over the specific prices that the ticks correspond to. For example, if a user wants to make a limit order at the $17,100.50 price point, they would have to interact with either tick 97473 (corresponding to price $17,099.60) or tick 97474 (price $17101.30).
Since we know what range a pair will generally trade in, how do we go about providing more granularity at that range and provide a more optimal price range between ticks instead of the "one-size-fits-all" approach explained above?
Decision
In Osmosis' implementation of concentrated liquidity, we will instead make use of geometric tick spacing with additive ranges.
We start by defining a precision factor at a spot price of one ($k_{p1}$).
For instance, if $k_{p1} = -4$ , then each tick starting at 1 and ending at the first factor of 10 will represents a spot price increase of 0.0001. At this precision factor:

$tick_0 = 1$ (tick 0 is always equal to 1 regardless of precision factor)
$tick_1 = 1.0001$
$tick_2 = 1.0002$
$tick_3 = 1.0003$

This continues on until we reach a spot price of 10. At this point, since we have increased by a factor of 10, our $k_{current}$ increases from -4 to -3, and the ticks will increase as follows:

$tick_{90000} = 10$
$tick_{90001} = 10.001$
$tick_{90002} = 10.002$

For spot prices less than a dollar, the precision factor remains the same as it was at the spot price of one until zero is reached. For example, with a precision factor of -4:

$tick_{-1} = 0.9999$
$tick_{-2} = 0.9998$
$tick_{-5001} = 0.4999$
$tick_{-5002} = 0.4998$

With a precision factor of -6:

$tick_{-1} = 0.999999$
$tick_{-2} = 0.999998$
$tick_{-5001} = 0.994999$
$tick_{-5002} = 0.994998$

Formulas
After we define $k_{p1}$ (this is chosen by the user based on what precision they desire the asset pair to trade at), we can then calculate how many ticks must be crossed in order for k to be incremented ($kIncrementDistance$):
$$ kIncrementDistance = 9 * 10^{(-k_{p1})} $$
Now that we know how many ticks must be crossed in order for our k to be incremented, we can then figure out what our change in k will be based on what tick we are trading at:
$$ kΔ = ⌊ tick / kIncrementDistance ⌋ $$
With $kΔ$ and $k_{p1}$, the k value we will be at when we reach the provided tick is as follows:
$$ k_{current} = k_{p1} + kΔ $$
Knowing what our $k_{current}$ is, we must then figure out what power of 10 this k corresponds to:
$$ currentIncrement = 10^{(k_{current})} $$
Lastly, we must determine how many ticks above the current increment we are at:
$$ numAdditiveTicks = tick - (kΔ * kIncrementDistance) $$
With this, we can determine the price:
$$ price = (10^{kΔ}) + (numAdditiveTicks * currentIncrement) $$
Example
Bob sets a limit order on the USD<>BTC pool at tick 36650010. This pool's $k_{p1}$ is -6. What price did Bob set his limit order at?
$$ kIncrementDistance = 9 * 10^{(6)} = 9000000$$
$$ kΔ = ⌊ 36650010 / 9000000 ⌋ = 4$$
$$ k_{current} = -6 + 4 = -2$$
$$ currentIncrement = 10^{(-2)} = 0.01$$
$$ numAdditiveTicks = 36650010 - (4 * 9000000) = 650010$$
$$ price = (10^{4}) + (650010 * 0.01) = $16,500.10$$
Bob set his limit order at price $16,500.10
Concequences
This decision allows us to define ticks at spot prices that users actually desire to trade on, rather than arbitrarily defining ticks at .01% distance between each other. This will also make integration with UX seemless, instead of either
a) Preventing trade at a desirable spot price or
b) Having the front end round the tick's actual price to the nearest human readable/desirable spot price
One draw back of this implementation is the requirement to create many ticks that will likely never be used. For example, in order to create ticks at 10 cent increments for spot prices greater than $10000, a $k_{p1}$ value of -5 must be set, requiring us to traverse ticks 1-3600000 before reaching $10,000. This should simply be an inconcenience and should not present any valid DOS vector for the chain.

Do you mind committing the ADR / the doc for this into the architecture.md in this PR?
I think it would be useful to review it directly with the changes.

Hey @czarcas7ic, just committed sage equations to use comments on top of the testing method for the testing vectors. Feel free to revert / delete / give suggestions on better ways to convey testing vector methodology

Thanks everyone for the super thorough reviews! Will merge post chain dev meeting tomorrow if there is consensus on doing so!

Discussed offline - going to merge to allow us to continue working on fees off of main. All comments are addressed/tracked in issues. Great work @czarcas7ic


Unable to import ES6 node modules

Hello there,
I ran into an issue of not being able to build production when importing ES6 modules (namely react-mdl.
I did not change most of the webpack configuration shipped by default, I added a line to specifically target react-mdl js files to be loaded using babel-loader:
    {
      test: /\.js$/, // Transform all .js files required somewhere with Babel
      loader: 'babel-loader',
      include: /react-mdl/,
      query: options.babelQuery,
    }

And this works fine in dev mode.
When running production however, I ran into these issues:
ERROR in ./~/react-mdl/src/Tabs/Tab.js
Module parse failed: /xxx/node_modules/babel-loader/lib/index.js!/xxx/node_modules/react-mdl/src/Tabs/Tab.js Unexpected token (24:34)
You may need an appropriate loader to handle this file type.
| const Tab = (props) => {
|     const { active, className, component, children, cssPrefix,
|         onTabClick, style, tabId, ...otherProps } = props;
|
|     const classes = classNames({
 @ ./~/react-mdl/src/Tabs/index.js 3:0-39
 @ ./~/react-mdl/src/index.js
 @ ./app/containers/LoginPage/index.js
 @ ./app/routes.js
 @ ./app/app.js
 @ multi main

ERROR in 0.785ba5a72a0f38bcd780.chunk.js from UglifyJs
SyntaxError: Unexpected token: name (MDLComponent) [0.785ba5a72a0f38bcd780.chunk.js:1840,6]

ERROR in 1.85ca89e24fd44a93c3ad.chunk.js from UglifyJs
SyntaxError: Unexpected token: name (MDLComponent) [1.85ca89e24fd44a93c3ad.chunk.js:1822,6]

Two notable issues are:

babel-loader is not being used on the react-mdl files I'm importing (am I wrong on the include path?)
UglifyJS does not recognize ES6

Please shed a light on the problems I'm facing, thank you very much!

Not sure if it will help in your exact case but whenever I had issues with 3rd party libraries and ES6 I just did this fix and I haven't had any other issues.

Mygod, that worked! Could you explain why the order matters?

Closing this now !
For those having trouble with this in the future, refer to @jeremyadavis 's comment above.
Thank you very much for helping!

I'm positive someone can give you a better explanation, but it ultimately boils down to that the creators of some libraries don't have their default exports as post-babel compiled ES5 code and that webpack is expecting that for 3rd party libs.
Whether the fix mentioned above is the 'right' fix is up to debate, but it worked for me and so I moved on. Ideally I think the library owners should be ensuring that their stuff is ES5 compatible so that this switch isn't necessary in the boilerplate.


can't download bbc video caption in latest version

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.04. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.04

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl  --verbose https://www.bbc.co.uk/iplayer/episode/b0b3q1rm/panorama-police-under-pressure --proxy socks5://<IP_ADDRESS>:1080  --skip-download  --write-sub
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.bbc.co.uk/iplayer/episode/b0b9dzb6/panorama-smartphones-the-dark-side', u'--proxy', u'socks5://<IP_ADDRESS>:1080', u'--skip-download', u'--write-sub']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.07.04
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-127-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.14-0ubuntu<IP_ADDRESS>, ffprobe 2.8.14-0ubuntu<IP_ADDRESS>, rtmpdump 2.4
[debug] Proxy map: {u'http': u'socks5://<IP_ADDRESS>:1080', u'https': u'socks5://<IP_ADDRESS>:1080'}
[bbc.co.uk] b0b9dzb6: Downloading video page
[bbc.co.uk] b0b9dzb6: Downloading playlist JSON
[bbc.co.uk] b0b9dz98: Downloading media selection XML
[bbc.co.uk] b0b9dz98: Downloading captions
[bbc.co.uk] b0b9dz98: Downloading captions
[bbc.co.uk] b0b9dz98: Downloading captions
ERROR: Unable to download XML: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/home/k/.local/lib/python2.7/site-packages/youtube_dl/extractor/common.py", line 598, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/home/k/.local/lib/python2.7/site-packages/youtube_dl/YoutubeDL.py", line 2211, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description of your issue, suggested solution and other information

Most likely your proxy endpoint is banned.
[bbc.co.uk] b0b3q1rm: Downloading video page
[bbc.co.uk] b0b3q1rm: Downloading playlist JSON
[bbc.co.uk] b0b3q171: Downloading media selection XML
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading MPD manifest
[bbc.co.uk] b0b3q171: Downloading MPD manifest
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading MPD manifest
[bbc.co.uk] b0b3q171: Downloading MPD manifest
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[bbc.co.uk] b0b3q171: Downloading m3u8 information
[dashsegments] Total fragments: 912
[download] Destination: Panorama, Police Under Pressure-b0b3q171.fstream-uk-iptv_streaming_concrete_combined_hd_mf_limelight_uk_dash_https-video=5070000.mp4
[download]   0.0% of ~859.70MiB at 551.95KiB/s ETA 01:44:28
ERROR: Interrupted by user

@dstftw but I can download iplayer videos on bbc website. Why?


mimemagic's licensing conflicts with GPLv2 and recent actions causing CI to fail

Currently, our CI is failing for Rails on Ruby 2.2 because of mimemagic's recent changes to deal with violating GPLv2 License terms (mimemagic was released under MIT, but utilized sources that were previously distributed under GPLv2).  Mimemagic's recent actions was to yank all tainted versions, which Rails depended on and re-release a new MIT version from which Rails can continue to use.  That action requires further action to actually work since the GPLv2 files are no longer distributed.
Although mimemagic just released 3.7 under MIT, it cannot be used with Ruby 2.2 because it depends on a version of Nokogiri that depends on Ruby >= 2.3.  (they've acknowledged and may offer a fix later).  At the moment, no fix available.
Also, even with fixes in place, the MIT release still indirectly depends on the GPLv2 sources and is not a long-term fix.  The. Rails team has said as much and is working on alternatives to depending on mimemagic going forward.  No fixes yet released at the time of filing this issue.

New mimemagic version licensed under MIT #41757

Yanked 0.3.x breaks Rails install #98

there is a replacement for mimemagic, check marcel 1.0.0

This has been resolved and our CI is passing now


Fix UTF-8 in PHP in function parameters

See #87

This is correctly highlighted when using php-template.

Note: Highlight.php is NOT Highlight.js and may not behave at all the same since it's using a much older version.

@joshgoebel yes, captain Obvious!

2021年5月17日 05:54，Anton @.***> 写道：
@joshgoebel https://github.com/joshgoebel yes, captain Obvious!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/scrivo/highlight.php/pull/88#issuecomment-841876229, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJOOJ5PWHKUUI63ZNLN75W3TOAWIPANCNFSM446YCVJQ.

great！

Closing because now it's irrelevant; see https://github.com/scrivo/highlight.php/issues/87#issuecomment-876833045


trace controllers for RoiResponseSeries and other TimeSeries

The traces of ElectricalSeries are separated and you can navigate through them, but these controls are not available for the traces of RoiResponeSeries.

I think these controls should be available for basically all TimeSeries that are traces, including actual TimeSeries objects. The data array of these undifferentiated TimeSeries types are usually just one or two columns but in the event of many columns you should be able to navigate through these traces.
https://flatironinstitute.github.io/neurosift/?p=/nwb&url=https://dandiarchive.s3.amazonaws.com/blobs/a2d/ca0/a2dca078-89d3-486d-96fb-b4491e052a91

ping on this

Thanks @bendichter
These controls are now available on all timeseries neurodata items.
I realize the controls could be improved, but let's open separate issues for that.


To ensure that the code across our devices are homogenous, and thus easier to read, enable automatic code formatting.

Session 03: 1.c
As a developer, my code will be easier to compare to my team members code.
Acceptance Criteria:

On your device, enable the "Format On Save" by setting the "editor.formatOnSave" to true. You can do this manually in settings, by searching for "Format on save" and enable it.

Done


Multi-Arch the KubeVirt builder build images to include s390x

Is your feature request related to a problem? Please describe:
The registries hard-coded in to the KubeVirt builder build scripts are hard-coded to point to a registry that does not contain an image for s390x.  This causes the builder build scripts to fail.  Building KubeVirt for s390x fails in the absence of a builder build image in the default registry.
Describe the solution you'd like:
we need to keep the s390x builder build image manifested with the amd64, arm64 and ppc64le images, once the cross-compile toolchain for s390x is incorporated in the cross-compile process discussed in Draft PR https://github.com/kubevirt/kubevirt/pull/10490.  This will allow KubeVirt to be regularly built, tested, and released for s390x, and allow the versions of the dependencies in the build container to be kept up-to-date and consistent cross all architectures.
Describe alternatives you've considered:
The work-around for development purposes is to modify the scripts for ad hoc builds of the bazel build container to point to dev and test images in a private image registry.
Additional context:
Generating ad hoc builder build images produces a workable s390x dev and initial test environment for building kubevirt, but is inconsistent with the goal of having this build image be regularly maintained with consistent build dependency versions across all architectures.

/remove-lifecycle rotten
/remove-lifecycle stale


Update webpack.config.js

Addresses #21:
Yes, it won't make a 100% production build, but at least it makes a minified css.

While this does fix the build, it only does so by masking the actual errors that are surfaced by this option. Ideally I'd like to fix those up instead. I'll leave this open in case this is the direction it goes to get a build out, but hopefully I can put up a PR that fixes the actual typescript errors.

I ended up getting this one solved with #30. Thanks for the contribution though!


SmartThings Edge compatibility

I just purchased an LG Washer and Dryer and found this integration. It looks amazing.
I would love to integrate them with the SmartThings Hub and app, but SmartThings is transitioning from DTHs and Groovy to their new Edge architecture.
I'm not a software engineer and unfortunately can't code.
Are you planning on updating this integration to work in the new SmartThings environment? I know that is a big ask, but I can't find anything else that would allow for this integration.

It seems like dth is no longer supported. Any news on this?


How to determine the prefix in a sublevel

I am working on a redis level implementation where I need to know which part of the key parameter passed in to _put() is the sublevel prefix and what is the key without the prefix. So for this example:
const db = Mylevel()
const sub1 = db.sublevel('sub1')
const sub2 = sub1.sublevel('sub2')

await sub2.put('foo', 'bar')

So with the default separator, my _put implementation would get a key like !sub1!!sub2!foo. How can my _put implementation know that foo is the key in the sublevel and the prefix is !sub1!!sub2! (and is my reasoning so far correct)?
I can think of two ways of dealing with this. Override AbstractSublevel and pass the separator in where needed and then use that to extract the prefix from the key. Alternatively, again overriding AbstractSublevel, keep track of the name of each sublevel and pass it down as part of the options.
It seems like neither of these is particularly clean so wondering if there is any better way to do this.

I need to know which part of the key parameter passed in to _put() is the sublevel prefix

Why do you need this? For context.

Somewhat relevant: https://github.com/Level/abstract-level/issues/61

thanks for your response.
I'm using redisdown as a guide for implementation. If you look at https://github.com/hmalphettes/redisdown/blob/master/index.js#L167 the put function does this:
RedisDown.prototype.__appendPutCmd = function (commandList, key, value, prefix) {
    var resolvedPrefix = this.__getPrefix(prefix);
    key = cleanKey(key);
    commandList.push(['hset', resolvedPrefix + ':h', key, value === undefined ? '' : value]);
    commandList.push(['zadd', resolvedPrefix + ':z', 0, key]);
    return commandList;
};

So the prefix provides a namespace.

That stems from old level-sublevel conventions: https://github.com/hmalphettes/redisdown/pull/23. Since then, sublevels have become a builtin feature of abstract-level, and batch operations don't have a prefix option (we do have a sublevel option which is conceptually similar, but not as loose).
I would have argued against using the name "prefix" in that PR though, because it's not just doing sublevels: it allows mixing in entirely separate databases (that have a different location). That's outside the scope of "official" sublevels. I should also note that they will be more strict in abstract-level v2:

If a sublevel [option] is provided as an option to db.batch(), that sublevel must now be a descendant of db:
const colorIndex = indexes.sublevel('colors')
const flavorIndex = indexes.sublevel('flavors')

// No longer works because colorIndex isn't a descendant of flavorIndex
flavorIndex.batch([{ type: 'del', key: 'blue', sublevel: colorIndex }])

// OK
indexes.batch([{ type: 'del', key: 'blue', sublevel: colorIndex }])

// OK
db.batch([{ type: 'del', key: 'blue', sublevel: colorIndex }])

If you're looking to implement a more limited subset of prefix features than redisdown, then let's define that. Might change the story. But in general, I would let abstract-sublevel take of the sublevels for you, unless there's a significant performance benefit to handling it in Redis.

thanks for the comment @vweevers and I think I'm following...
I would very much prefer it if my level implementation is unaware of the prefix used for the key in the sub-level. I've written three different abstract level implementations now (one in sql and two KV stores) and it has been pretty straightforward.
What I am tripping over is that if I use the same approach as redisdown for sorting keys (sorted set), query / mutation performance will be proportional to the number of items in the level and not the number of items in the smaller sublevel. It looks like redisdown restricts the sorted set key to the sublevel prefix, which I think means query / mutations mutation performance is proportional to the number of items in the specific sublevel (not the level). Is that reasoning correct? Maybe this is premature / over optimization on my part, but I'm also not sure why some sort of namespace metadata in the level commands would be a bad design.


Add an export command line

As #196 add some command line,
Is it possible to add an export command line ?
For example something like:
draw.io --input myDiagram.xml --output myDiagram.jpg --zoom 100 --borderwidth 10
draw.io myDiagram.xml myDiagram.jpg --zoom 100 --borderwidth 10
It would be really helpful !

Really nice idea, what would be even better:
being able to "select" layers to export and specify the size of the image to export.

Command line export is in the desktop build, https://github.com/jgraph/drawio-desktop/releases/tag/v10.7.5


Enabling pylint

Enabling pylint and linting
Breaking change: changing device.ip to device.ip_address

Exactly, really wanna merge it quick so it's in a new release, @KapJI


npy Weights

Hello!
What is the best method to get trained weights for a net? I've seen ACL only accepts numpy files. Is there any automated way to get them?
I am interested at tiny yolo and U-Net.

Hi @GAnto85
Please take a look at the scripts folder distributed with Arm Compute Library, there you'll find two scripts to import the weights from trained models in caffe and tensorflow. For more details refer to the library documentation: https://arm-software.github.io/ComputeLibrary/v19.02/data_import.xhtml
Hope this helps.

Thank you ! I'm mostly interested in ONNX , do you know about any tool for compute library in order to read them? At the moment i'm taking a look at ARM NN , it seems to accept onnx files for the parsing.

Hi @GAnto85
Currently ACL does not support importing ONNX models. A workaround could be to import the ONNX model into tensorflow and then use one of the scripts I mentioned in my previous reply to get the npy files. (this is just an idea, I'm not sure it will work though)
ArmNN does support ONNX models.
Hope this helps.


#3114 - Add support for exporting to InChiKey file format

How the feature works? / How did you fix the issue?
(Screenshots, videos, or GIFs, if applicable)

Check list

[x] unit-tests written
[x] e2e-tests written
[ ] documentation updated
[x] PR name follows the pattern #1234 – issue name
[x] branch name doesn't contain '#'
[x] PR is linked with the issue
[x] base branch (master or release/xx) is correct
[x] task status changed to "Code review"

I also suggest renaming the 'generateInChIKey' method to 'getInChIKey' for better consistency


Resources page in User Guide

Today @raprasad brought up to me and @anniewu332  that it might be nice to list some resources on differential privacy (not specific to OpenDP). For now, Raman and I are thinking there could be a "Resources" page in the User Guide.
Please feel free to edit the following list:

Differential privacy: A primer for a non-technical audience: https://salil.seas.harvard.edu/publications/differential-privacy-primer-non-technical-audience
The Algorithmic Foundations of Differential Privacy (recommended by a potential contributor): https://www.cis.upenn.edu/~aaroth/Papers/privacybook.pdf
...

On the complexity of DP: https://privacytools.seas.harvard.edu/files/privacytools/files/complexityprivacy_1.pdf

this is a third overview paper

Laplace mechanism: https://people.csail.mit.edu/asmith/PS/sensitivity-tcc-final.pdf
Exponential mechanism: https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/mdviadp.pdf
Snapping mechanism and why floating-point numbers fail us:
https://www.microsoft.com/en-us/research/wp-content/uploads/2012/10/lsbs.pdf
Geometric mechanism: https://arxiv.org/pdf/1709.05396.pdf (not the first geometric mech paper, but more approachable)
More on sample/aggregate, and quantiles: https://cs-people.bu.edu/ads22//pubs/2011/stoc194-smith.pdf
Gradient descent: https://arxiv.org/pdf/1607.00133.pdf
Renyi DP: https://arxiv.org/pdf/1702.07476.pdf
zCDP: https://arxiv.org/pdf/1605.02065.pdf

https://simson.net/page/Differential_privacy

From Salil:
https://privacytools.seas.harvard.edu/courses-educational-materials

Can we already put the "Resources" page up on our doc site and/or our website?

The doc site is a bit in flux (we're working on moving the source to the main repo at https://github.com/opendp/opendp/pull/170 ) but I don't see why these resources couldn't go on the website, like you said.
While I'm commenting, Here are a few more resources from Salil and Mike from Slack:

Two more resources: this chapter is more up-to-date and a bit more aimed at practitioners than the primer: https://admindatahandbook.mit.edu/book/latest/diffpriv.html
And differentialprivacy.org has more resources too
https://uvm-plaid.github.io/programming-dp/notebooks/cover.html

Closing in favor of https://github.com/opendp/opendp/issues/272


⚠ Bofrost.at has degraded performance

In 7b4f1fa, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1446 ms

Resolved: Bofrost.at performance has improved in 5132d41.


Command center border has low contrast

Testing #150396
I believe the border contrast needs to be 3:1 between the border and bg color of the title bar. Something like --vscode-sideBarSectionHeader-border might be a little closer to what we want:
Before

After

@misolori Your suggested colors falls back to contrastBorder which actually aren't defined for for light/dark themes, only for HC themes... I went with variants of the foreground-color. The contrast-ratio tool in devtools seems broken... @misolori Do you mind making more directly in this branch: https://github.com/microsoft/vscode/pull/151747


fixed "path too long" error on windows ci workflow target

Resolves issue #10
Checked the relay's ci workflow config, didn't find a similar solution, they're probably using some other way to implement the same fix.
Cargo internally uses libgit2 for git related workflows, and the library has open issues regarding this that haven't been fixed yet.
More info can be found here:- https://github.com/rust-lang/cargo/issues/13020
TL;DR:- Windows sucks, but made it work.

Love it!! Thank you! I'll review and merge tomorrow. Thank you so much for doing this. This will be part of the 0.1.1 release!

🎉  Love it, thank you!!


Contact not saving with emails, phones or postalAddresses set

Creating and saving a contact with only string fields set works but fails with any iterable/list value set such as with emails, phones and postaladdress.

I figured the data for the iterables must be passed as maps.


Fail always on internal error

Now tests pass even if application error is thrown instead of user error.
Imho internal error should never been expected in tests.

Do you have an example, pls?

What I could do is add an optional "expected" and/or "expected-code" file, with expected output and compare that with the actual output. That would allow you to test even for application errors if need be.

The current behavior is used in the wild btw:
processor-select-columns (master)
λ dcr dev /bin/bash
root@23a69e128b29:/code# php tests/run.php
Test /code/tests/csv-params
Test /code/tests/different-columns-order-in-different-files
Test /code/tests/escaped-and-newline
Test /code/tests/invalid-config-property
Failed as expected (1): Invalid configuration: Unrecognized option "columns_xxx" under "parameters"
Test /code/tests/missing-column
Failed as expected (1): Column doesnotexist not found.
Test /code/tests/missing-config-file
Failed as expected (2): Config file not found <-----------------------------------
Test /code/tests/missing-manifest
Failed as expected (1): Table sample1.csv does not have a manifest file.
Test /code/tests/missing-manifest-property
Failed as expected (1): Invalid configuration: The child node "columns" at path "parameters" must be configured.
Test /code/tests/multiple-columns
Test /code/tests/simple
Test /code/tests/sliced

I am not sure about testing internal errors.  But that expected-code could solve it too. Maybe with default expected-code set to 0.

+1 for expected code (i'd set default to 1, 0 is not needed (must have a result) and would be bwd compatible

sorry, i thought 1 as default


Placing certain blocks adjacent to bonsai plant crashes game/Causes weird issues (Buildcraft?)

bonsai tree 1.0.3-b67:
forge-<IP_ADDRESS>34:
I am not using Optifine:
crashlog: https://pastebin.com/YRRF7HF1
Screenshot:  https://imgur.com/a/DiVYJ
(Taken after loading back in immediately following crash)
Description of the problem including expected versus actual behavior: Certain blocks (only noticed with buildcraft thusfar) when placed adjacent to bonsai plant cause weird/bizarre behavior. For example, redstone engine placed right next to hopper bonsai with growing tree crashes the game. Placing a buildcraft pipe there causes it to malfunction, and then the block is lost (it remains, but when broken, it doesnt drop anything). Sometimes, the pipe becomes unbreakable as well. Not sure if this is a buildcraft or a bonsai tree issue, sorry if it's a buildcraft issue.
Steps to reproduce: Place certain blocks, like buildcraft pipes or buildcraft redstone engine adjacent to bonsai tree

Should i leave this open until the new version? Or should i just close it?

I'm not sure. Probably best to wait for @thraaawn's input on this.

Hopping bonsai pots crash with any kind of item transport it seems, including vanilla hoppers and buildcraft pipes.


Implement events

Implemented a decorator to flag functions as events
@event
def foo():  # defines the `foo` event, that's called without any arguments
    pass

Functions decorated with the event decorator won't be compiled. They're used only to define the event's signature.@event
def foo(a: int):  # defines the `foo` event, that is called with an int argument
    """
    The event's body is not compiled. This piece of code won't be checked.
    Even if there's something wrong written in the event's body, it will be ignored.
    If the body is not empty, the compiler will emit an unreached code warning
    """
    if a > 10:
        a = a % 10

@public
def example(bar: int)
    foo(bar)

Awesome 🤟


Feature: Added Modals, Added ability to add full detail of a model when has relationships

Voyager by default when a model have a relationship it adds only the field that's been added when making the bread. But this PR adds the ability to show a button beside those fields that have relationship and when clicked showing the complete form of that related bread. It's been tested all working well when adding filling the form it saves the data without leaving the page. what is missing is a javascript or ajax function to update the current row that have the button beside.

Hi @Xoshbin, can you provide a quick walkthrough on how to make this work? I tried using it but saw no buttons or modals.

Hi @acicovic , I just tested it on a new and clean project the only thing it need to change was on modals\create-blade.php where the save button was giving error. and I found out that it only works for generated breads so it's not working on posts bread which it has a custom view.

Hi,
For me the button located at line 76 of resources/views/bread/edit-add.blade.php never appears on forms. So for some reason I am not hitting it. Do I have to declare the relationships in the models or should the relationships declared in Voyager's interface work ?
Thanks!

The button works now.

@acicovic It looks like it's working for you now. Yes you have to make the relationships from the bread generator then it's going to display. Sorry for late reply.

"what is missing is a javascript or ajax function to update the current row that have the button beside".
First, thank you Xoshbin for the improvement.
To complete the dropdown's update:
1) \vendor\tcg\voyager\resources\views\bread\edit-add.blade.php
Add the javascript just after AddModel(column) function:
function saveModel(column, urlpath) {             if ($("#form-create-"+column).length > 0) {                 $.ajax({                         data: $('#form-create-'+column).serialize(),                         url: urlpath,                         type: "POST",                         dataType: 'json',                         success: function (data) {                             $('#form-create-'+column).trigger("reset");                             $('#modal-create-'+column).modal('hide');                             $('#modal-create-'+column).detach();                         },                         error: function (data) {                             console.log('Error:', data);                             $("#button-"+column).html('ERRO');                         }                     });             }         }
2) \vendor\tcg\voyager\src\Http\Controllers\VoyagerBaseController.php
Replace the div "panel-footer":
<div class="panel-footer">                             <button type="button"                                  onclick="saveModel('{{ $dataType->slug }}','{{ route('voyager.'.$dataType->slug.'.store') }}')"                                  id="button-{{ $dataType->slug }}"                                  class="btn btn-primary save"                                 tabindex="-1">                                 {{ __('voyager::generic.save') }}                             </button>                         </div>

Hey @tiagopimentelgomes Thank you so much I will test it out for sure.

Any update on this?


Markdown file iframe not rendering

Describe the bug
if you have a  in a markdown file, it will not display on the web page.
To Reproduce Steps to reproduce the behavior:

add  to a .md file

Expected behavior
iframe should display
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.

iframes render for me in v2 as well as v3.
Can you share a repro?

I integrated totally fine iframe copied from YouTube in Nextra 3

Share minimal reproduction, closing for now


⚠ Bofrost.be has degraded performance

In 268facd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1417 ms

Resolved: Bofrost.be performance has improved in 801d1c4.


Date Picker Implementation.

Currently I am working out how to implement a date picker.  I can see there is an add-on which I have already installed.  Do we have an example implementation of schema and form structure?
I tried to implement the example quoted on the date picker github but gives me an error.  For example.
{
"schema": {
"type": "object",
"title": "Comment",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"birthday":{
"birthdate": "birthDate",
"minDate": "1900-01-01",
"maxDate": "new Date()",
"format": "yyyy-mm-dd"
},
"email": {
"title": "Email",
"type": "string",
"pattern": "^\S+@\S+$",
"description": "Email will be used for evil."
},
"comment": {
"title": "Comment",
"type": "string",
"maxLength": 20,
"validationMessage": "Don't be greedy!"
}
},
"required": [
"name",
"email",
"comment"
]
},
"form": [
"name",
"email",
"birthday",
{
"key": "comment",
"type": "textarea",
"placeholder": "Make a comment"
},
{
"type": "submit",
"style": "btn-info",
"title": "OK"
}
]
}

Ok i read the example code on the readme, and it's not super, clear. I'm gonna update it now, but basically the code that is there is for the form part, here is an example:
Schema: (Note the type string and format date)
{
  "type": "object",
  "required": [
    "birthday"
  ],
  "properties": {
    "birthday": {
      "title": "Bday",
      "type": "string",
      "format": "date"
    }
  }
}

Form:
[
  {
    "key": "birthday",
    "minDate": "1900-01-01",
    "maxDate": new Date(),
    "format": "yyyy-mm-dd"
  }
]

In the form section, note no quotes around new date, this is when used in a JS environment and not in the tester.
Hope this helps.

Thanks for the update.  I have now installed the latest version of date picker and included the following file and updated the above script but with double quotes for new Date() as it's giving me an console run time error. if I include within double quotes then just a text box appears.
Included the following

Try removing the max date all together. You can see how it works here http://textalk.github.io/angular-schema-form/examples/bootstrap-example.html in the kitchen sink example.

The above link example looks great but but when I implement exactly in the same way nothing happens, no error and no date picker comes out just a text box displayed.  All the fields are populating perfectly all right except the date picker.
Am I missing something?
JSON DATA (.schema and .form will be extracted from REST API object)
{
"schema": {
"type": "object",
"title": "Comment",
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"email": {
"title": "Email",
"type": "string",
"pattern": "^\S+@\S+$",
"description": "Email will be used for evil."
},
"comment": {
"title": "Comment",
"type": "string",
"maxLength": 20,
"validationMessage": "Don't be greedy!"
},
"date1": {
"title": "Date of party",
"type": "string",
"format": "date"
}
},
"required": [
"name",
"email",
"comment"
]
},
"form":[
"name",
"email",
{
"key": "comment",
"type": "textarea",
"placeholder": "Make a comment"
},
{
"type": "submit",
"style": "btn-info",
"title": "OK"
},
{
"key": "date1",
"minDate": "2014-06-20"
}
]
}
JAVASCRIPT FILES (Along with angular and jquery).
bower_components/tv4/tv4
bower_components/objectpath/lib/ObjectPath
bower_components/pickadate/lib/picker
bower_components/pickadate/lib/picker.date
bower_components/pickadate/lib/translations/nl_NL
bower_components/angular-schema-form/dist/schema-form.min
bower_components/angular-schema-form/dist/bootstrap-decorator.min
bower_components/angular-schema-form-datepicker/bootstrap-datepicker.min

I put your schema and form in the editor i linked above and i get an error on this line:
"pattern": "^\S+@\S+$",
When i removed that line it rendered, please try that, and if it's not that i can look further.
Also please mark up your code in the future: https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting

Removed the pattern but still doesn't work.  I wonder am I missing to include any library which may be required?

I tried my level best to understand the issue but unable to get to the bottom of the issue.  In fact i downloaded the angular-schema-form-master through bower install and tried to access from localhost which hit more errors.  I am not sure whether I am missing anything which may be very basic?
This is a great library / tool which solves many of the manual works and increases the dynamic form building process at a greater extent and efficiently but without myself proving it's working in my local project I am not sure how I am going to implement this.

Downloaded the angular-schema-form-master and it's working fine locally now I need investigate what I am missing from my main project.

Finally it worked fine after i included jquery.js first and then angular.js, before it was other way around.
Thanks for all your prompt responses.

This works good for something current date as is.. Is there a way to select year for a Date Of Birth field?
Or would I have to use another date picker?

Thanks @sixstringer413  youre an angel!


Safari on iOS and macOS does weird things in the sidebar

When hovering an item on macOS Safari (or tapping it on iOS Safari), you get a weird artifact on the left side, that's not there on other browsers:

Caused by 08fdd525bfa56936189f0268d64923ce4f9b8604. Why can't we have nice things? :(

Fixed in fcd81025a8b1980a9a8ec6b79af8280a83638f21. Closing!


Filter_ap

Hey Zerb,
Very impressive work you've accomplished.
Quick question, i added a series of MAC addresses to a file that i tried using with rule1 (protection). However?  They still seem to get picked on. The addresses are in a plain *.txt file one on top of the other. Is the syntax right?
I've also seen your recommendation to create a BPF file. Could I create one with approximately 20 MACs? If so does the command append to the file or overwrites? Could I just enter all 20 in a single command?

Filter mode in combination with a filter list is only active in transmission branch.
The reception branch is not affected by this filters. If an AP transmit a PMKID or if a CLIENT and and AP doing a 4way handshake it is still recorded by hcxdumptool.
If only the AP is inside the filter list, a CLIENT will be still under attack and you will get a valid EAPOL M2 from it.
Running a BPF will prevent this:
$ hcxdumptool -m
$ tcpdump -i   not wlan addr2 11:22:33:44:55:66 and not wlan addr2 11:22:33:44:55:66 and not .... -ddd > protect.bpf
The only limit known to the user space is BPF_MAXINSNS (4096). It’s the maximum number of instructions that the unprivileged BPF code can have.
Please open a discussion, because it is not a bug and this is a bug tracker.
https://github.com/ZerBea/hcxdumptool/discussions


Typo in hyperlink of step 8

If you want to use server-side synchronization and/or Dynamics 365 for Outlook for the deployment, leave this box blank. More information:ntegrate your email system with Microsoft Dynamics 365

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

ID: b2383697-4067-35d4-e4f6-6be7e808c8a3
Version Independent ID: 2324cbe4-440b-2004-04dc-2846485576f7
Content: Upgrade Dynamics 365 Server
Content Source: ce/customerengagement/on-premises/deploy/upgrade-from-microsoft-dynamics-365-server.md
Product: crm-2016
GitHub Login: @Mattp123
Microsoft Alias: matp

@aecarr2 - thank you for your feedback. The link text has been fixed.
Closing issue.


grt: initialize global router in Rudy constructor

read_lef ../../OpenROAD-flow-scripts/flow/platforms/nangate45/lef/NangateOpenCellLibrary.tech.lef
read_lef ../../OpenROAD-flow-scripts/flow/platforms/nangate45/lef/NangateOpenCellLibrary.macro.mod.lef

read_def MegaBoom.def.gz
read_verilog MegaBoom.v.gz

openroad -gui megaboom.or
Switching from placement to RUDY heat map: coredump
OpenROAD v2.0-13198-g2f800bf11
....
[INFO ODB-0130]     Created 946 pins.
[INFO ODB-0131]     Created 1169425 components and 7397497 component-terminals.
[INFO ODB-0132]     Created 2 special nets and 2338850 connections.
[INFO ODB-0133]     Created 1689304 nets and 5058647 connections.
[INFO ODB-0134] Finished DEF file: MegaBoom.def.gz
[WARNING GRT-0300] Timing is not available, setting critical nets percentage to 0.
Signal 11 received
Stack trace:
 0# handler(int) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 1# _sigtramp in /usr/lib/system/libsystem_platform.dylib
 2# grt::GlobalRouter::calcLayerPitches(int) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 3# grt::GlobalRouter::initRoutingTracks(int) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 4# grt::GlobalRouter::initFastRoute(int, int) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 5# grt::Rudy::Rudy(odb::dbBlock*, grt::GlobalRouter*) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 6# grt::RUDYDataSource::populateMap() in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 7# gui::HeatMapDataSource::ensureMap() in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 8# gui::HeatMapRenderer::drawObjects(gui::Painter&) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
 9# gui::RenderThread::drawBlock(QPainter*, odb::dbBlock*, odb::Rect const&, int) in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
10# gui::RenderThread::draw(QImage&, QRect const&, std::__1::set<gui::Selected, std::__1::less<gui::Selected>, std::__1::allocator<gui::Selected>> const&, std::__1::array<std::__1::s
11# gui::RenderThread::run() in /Users/user/OpenROAD-flow-scripts/tools/install/OpenROAD/bin/openroad
12# QThread::qt_metacall(QMetaObject::Call, int, void**) in<EMAIL_ADDRESS>13# _pthread_start in /usr/lib/system/libsystem_pthread.dylib

@stefanottili This PR https://github.com/The-OpenROAD-Project/OpenROAD/pull/4935 should fix the crash. This fix was supposed to be here, too, but I probably did something wrong when adding the updates.


Is there a place within the project I can view example of different types of the agents?

Describe your question
I didn't find any relevant explanations for these.
What about adding "?" for additional explanations or links for references?
Additional context

The only info I can find is this, but a good question/request!
https://github.com/OpenDevin/OpenDevin/blob/main/agenthub/README.md

There isn't any explanation for all of these agents right now. It's been asked a few times and brought to the attention of maintainers. More are being added and some are being deprecated in favor of others. I'm guessing this dropdown will be changed a little in the future on how it works and probably will add descriptions.


What do index and dataIndex refer to?

My objective is to link the trash icon selection with the correspondent action in a redux store.
In order to understand how to map in a one-to-one fashion the row indexes in mui-datatables with the indexes in the redux store and reducers, I've put a console.log in onRowsDelete function within options
    const table_options = {
      filterType: 'checkbox',
      responsivel: 'vertical',
      onRowSelectionChange: onRowSelectionChange,
      selectableRows: 'single',
      onRowsDelete: (e) => {
        console.log(e);
      },
      customToolbar: () => {
        return (
          <CustomToolbar />
        );
      }
    }

   return (

          <MuiThemeProvider theme={theme}>
            <MUIDataTable
              title={"Information Pieces"}
              columns={columnsList}
              data={table_data}
              options={table_options}
            />
          </MuiThemeProvider>
   )

This is the output of the console.log :

What do index and dataIndex refer to?

The Index refer to your table_data data array object

Thank you very much @BabakYaghoobi . This information was very helpful


Access corresponding DOM element onClick() in v-repeat item

I got a list of users which are displayed with v-repeat.
HTML:

@{{ user.name }}

JavaScript:
new Vue({
    el: '#vue',

    data: {
        users: [
            { name: 'Berta' },
            { name: 'Delta' },
            { name: 'Anton' },
            { name: 'Echo' },
            { name: 'Charlie' }
        ]
    },

    methods: {
        onClick: function(user) {

            // Perform jQuery actions on DOM element like:
            // if($(this).hasClass('active')) { ... }
            // $(this).effect('shake)';

        }
    }
});

How can I access the corresponding DOM element to the clicked user? I want to perform some jQuery actions...
Thanks a lot! :-)

Please post questions to vuejs/Discussion.
v-on="onClick(user, $event) then in your function you can access event.target.

Merci beaucoup! And thanks for the tip with vuejs/Discussions!

I am having an weird problem with event.target.
Suppose i have an anchor like this,
details
when I click it the event.target is the anchor which is perfect.
But if I write the a tag with font-awesome like this,

then the event.target becomes the i tag from inside of a.
And again if I write like
 details
everything is as it is supposed to be, event.target becomes the a tag.
Not sure if this issue belongs to be this thread or a new thread.

Hello @potasiyam
This is a usage question, and we encourage you to ask it on forum or gitter. We try to use the issue tracker for bug reports and feature requests.
As for the question, use event.currentTarget when you need the node that has the listener on.

I hope solve someone problem. we can use the vue.$ref:

{{ user.name }}

and in your onClick function you can access it like this:
onClick: function(user) {
                  var element = this.$ref[user];
        }


History Engine: Buffer events in mutable state when DecisionTask is outstanding

History engine appends events to history irrespective of whether a decision is outstanding or not.  This introduces challenges on the client side where history events need to be reorder to guarantee determinism.
The idea is to buffer new events within mutable state and append to history once the outstanding decision either completes or times out.

this is done


Add percentile PPL function

Description
This PR implements the percentile PPL stats function
Issues Resolved
https://github.com/opensearch-project/opensearch-spark/issues/482
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Should we also add PERCENTILE_APPROX? Would be a nobrainer imho.

Am I right that the percentileAggFunction https://github.com/eliatra/opensearch-spark/blob/percentile/ppl-spark-integration/src/main/antlr4/OpenSearchPPLParser.g4#L244 is something out of scope with regards to this PR?

Seems I missed https://github.com/opensearch-project/sql/blob/main/ppl/src/main/antlr/OpenSearchPPLParser.g4#L241C1-L244C5  althoug not sure what "compression" refers to?

Regarding percentileAggFunction you are correct - this command is no longer in the SQL PPL antlr

Thanks please add sample usage in the README section

can you pls first comment on:

https://github.com/opensearch-project/opensearch-spark/pull/547#issuecomment-2278393281
https://github.com/opensearch-project/opensearch-spark/pull/547#issuecomment-2278397379


Setup react app with linters

Setup react app with linters

Project Status: INVALIDATED :red_circle:
Hi @sheezu900   ,
While you made a great effort in this project, I can't go ahead and review your code.

Invalid Code Review Request

This is because you have submitted a project, that already has changes requested from last week. Since you're repeating  this block and this project wasn't approved, kindly create a new pull request so it can be reviewed as a first review :+1:

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @NahnahAJ in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

Project Status: INVALIDATED :red_circle:
Hi @sheezu900 ,
While you made a great effort in this project, I can't go ahead and review your code.

Invalid Code Review Request

This is because you have submitted a project, that is missing some of the sections of the Microverse README Template. This makes your project incomplete as every section of the readme template is required except for the FAQ section which is optional. So please make sure to add all the missing headers/sections in the README template to your project and fill in all the necessary contents :+1:

Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers, and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me @NahnahAJ in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Searching for ansible in the 20.03 channel results in an error

Problem with the value at json.hits.hits[0]['_source']['package_maintainers'][2].email: null Expecting a STRING

Likewise when searching "zsh".


qa: remove a spurious remaining occurence of python-bitcoinlib

Makes the CI fails on Spend tests.

self-ack 1bfd9944d726d9e748214c18f19ec8f473099022 -- trivial fixup