WaveletMatrix

It would be nice if there was a WaveletMatrix implementation, as it would enable the most common succinct-datastructure applications in text-processing and databases.

I never used or worked with those, but from skimming the paper, it seems a lot less painful than my attempts at implementing succinct trees. Adding a feature that actually has use cases and is easier to implement definitely sounds more fun.
I am pretty tied up right now, but when I eventually have some free time again, I'll give it a shot.
Do sucds and cseq implement Wavelet Trees or Matrices?

Yeah, they are both implementing WaveletMatrices. I think the main insight for wavelet matrices comes from the fact that the total number of bits in each level stays constant for a balances wavelet tree (this invariant doesn't hold for compressed versions like huffman trees), which makes them also a lot easier to implement.
I'd be happy to also give an implementation a shot, but I'd probably aready try to build it with zerocopy deserializability in mind (#5) if that's ok with you. Because I need this for an on-disk db storage format.

Yeah feel free to. Zero copy deserializability is a feature that I'd like, so I don't think there is a reason to keep the two issues disjoint.

Implementing it with zero-copy deserializability in mind is obviously possible, but not really necessary. While it is true, that the data structures are immutable, they do not freely lend themselves to zero-copy (de)serialization.
Zero-copy deserialization has to mind the endianess of the backing system. That is, each zero copy data structure needs to have multiple versions which handle either endianness, with different numeric types. Mapping, for example, a big-endian encoded file into a little-endian machine works, but the data types must be handled differently because of the inverted byte order. In contrast, converting the big-endian structure into little-endian on the fly is also possible, but destroys the zero-copy property. We cannot just write a data structure that is already the archived version, which rkyv usually provides, because of that.
I started implementing a WaveletMatrix on the branch dev_wavelet. The data structure, just like the other data structures in this library is agnostic to zero-copy deserialization. If zero-copy serialization were to be implemented for it, more data types that represent either endianness (among other things like #[repr(C)]) need to be added. The only thing that is possible to already do here, is to add the functionality of the WaveletMatrix via a trait, to later reuse code for the zero copy versions.
Zero copy versions of other data structures, as outlined in #5, need these traits too, inducing potentially breaking changes.

That is unfortunately already true because of serde (I think). Changes that need to be made are collected in #9


⚠ Minecraft has degraded performance

In f1d3b64, Minecraft (https://www.minecraft.net) experienced degraded performance:

HTTP code: 200
Response time: 1133 ms

Resolved: Minecraft performance has improved in 666a0a5.


Full sample of how to load a PDF from a base64 string?

Hi @sayanee , let me thank you first for the awesome library!
Just wondering, do you have a complete - dummy like - sample to load a PDF from a base64 string?
Let's say I have something like:
const pdfAsBase64 = "data:application/pdf;base64,JVBEfghfgh..."; // shortened

@dennybiasiolli will be able to help more as he's the current maintainer 👏

Hi @mayacr86 , looking at this example you can render a pdf from a base64 string using PDFJS.getDocument({data: pdfDataEncoded}).
Now in the directive we accept only the PDF's url, but this feature will be considered in future releases, so the user can pass a base64 string instead of the url.
Thanks for the suggestion! 😃

Sorry @mayacr86, I gave you an incorrect answer.
We have a full working example at this url thanks to @johnjspiteri.
You can use in this way:
currentBlob = new Blob([result], {type: 'application/pdf'});
$scope.pdfUrl = URL.createObjectURL(currentBlob);

I hope it is ok to describe my problem with the provided method here.
I also get the pdf content as base64 and want to display it. Unfortunately our server is behind a proxy and the URL.createObjectURL returns an URL using the root of the webserver.
Example:
Our server: https://subdomain.domain.tld/company/project1/...
URL returned by URL.createObjectURL: https://subdomain.domain.tld/<object-URL>
I hope you understand my confusing explanation :sweat_smile:
Is there any other chance to load a base64-encoded pdf?

Than you @dennybiasiolli, for giving correct solution. can you please share how to display it.


Possible typo in generators.js

See
https://github.com/petkaantonov/bluebird/blob/master/src/generators.js#L48
here you test for this.promise == null. Did you mean this._promise instead?

Yes


The pod can't rejoin the mysql after failover happens.

https://github.com/presslabs/mysql-operator/blob/4d88be22e4b30c65c1a0fd60794533cbd4fe50e7/pkg/controller/orchestrator/orchestrator_controller.go#L231
If failover happened, and mysqlcluster stayed in failover-inprocess state. And orchestrator controller can't  be executed since there is no mysql cluster update.
So why not  add  timer to orchestrator controller, such as described below ?
return reconcile.Result{RequeueAfter: time.Duration(reconcileTime) * time.Second}, nil

That's already what happens, see the https://github.com/presslabs/mysql-operator/issues/574#issuecomment-664467501. The cluster is enqueued each 5s.


Page 404 on refresh

Hi,
Thanks for the repo and the article.
After we export and run the server with files from embed.FS, when I click on the links it does work but when I go to http://localhost:8080/foo/bar and refresh I get 404 page not found.

I think this one worked
https://github.com/shibukawa/spa-go-1.16/blob/master/notfound.go


IoT Data try again.

Has compilation errors, need to look into codegen.

Nothing appears to be a good fit for integration tests: http://docs.aws.amazon.com/iot/latest/apireference/API_Operations_AWS_IoT_Data_Plane.html .

I think this needs to be started over with the codegen changes.

I'm not going to be able to get to this in the foreseeable  future, closing for now.


Ability to add trackers and make torrent private

It would be useful for uploading to torrent sites

Hey @dieroboter, happy to implement it for you for $100.
I'm looking to add the same if you're keen :)


Could give an example of how to preview the report in the browser instead of downloading it

Could give an example of how to preview the report in the browser instead of downloading it. In my case I use Node js. Greetings and congratulations for approaching this tool.

try using /generate_html


Accomodate daily 'table_id'

https://github.com/pangeo-forge/cmip6-feedstock/issues/5 requires some changes to the logic here to accommodate daily time intervals.

Will be superseeded by #15


Error: Video Widget Addin is unable to download or open

The video widget addin is unusable.  Portal item(id=39138693205c4817a582597eaf70d525)

Same behaviour exists on internal production environment.  If you click on:

Source code posted here.

It gives you the option to download the source code.


keyInfoProvider.getKey should be async

(I'm on a roll, I know, but it's a good roll, right?)
The example for getKey in the README is using fs.readFileSync which is nice and all when you can actually use a sync version of a function - what I'm facing right now is a DER encoded key and so far - I haven't found a nice way to convert it to PEM (or use as is in crypto) other than by calling openssl -inform DER -outform PEM and doing that synchronously is really not an option.

Found a sync way to convert DER to PEM in node.js (not sure if it's best/shortest):
var forge = require("node-forge");
var derKey = forge.util.decode64(certs[0].childNodes[0].data);
var asnObj = forge.asn1.fromDer(derKey);
var asn1Cert = forge.pki.certificateFromAsn1(asnObj);
return forge.pki.certificateToPem(asn1Cert);

what i actually do in my apps based on xml-crypto is convert all keys to PEM format, on application start read the files with fs.readFile and keep the values in a shared module, and finally pass the result (Buffer) to my custom key info provider, with this way i don't read the key file every time and the keyInfoProvider.getKey method will never block my program because it is only retrieving what i have read before.

Oh, OK. I was thinking about preloading, except that I figured that you do have to read it out from keyInfo param - in my case, I do get an <X509Certificate/> (in base64 encoded DER) inside the keyInfo. There is a strong use case for both - CPU heavy ops and I/O inside this method, so async felt natural.
Anyways, this is not an issue for me anymore [for now], so feel free to close this, if you consider the async getKey unnecessary.

Ok, now i understand your use case :) i agree that async must be the way to go, it just would require to make some other methods async too.. I will leave this open until we implement this (after the module's author agree with this too)

@bjrmatos @dominykas , we'd love to have a PR with a test suite that addresses these concerns. Feel free to open one and we'll discuss.

No longer relevant: KeyInfoProviders have been removed from 4.x onwards, and will eventually be replaced by a new approach to retrieve keys, where responsibility for key retrieval is placed on the caller


Add swagger for api documentation

In this pull request I've added swagger for the APIs documentation and edited the cors file

STATUS: APPROVED 🟢 ✔
Hi @paulinagonzalezc  👋,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights 🎯
✔ Used GitFlow
✔ Good commit history
✔ No linter errors
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 in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.
Optional suggestions
_Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better


Are there plans to support Atom in (near future) as well?

I don't think we have that on the roadmap at the moment. @kylecarbs

We don't have plans for this.
If lots of interest is shown for Atom, we'd be happy to tackle it.


fix: NPE in BehaviorEditor when on multiplayer client

Contains
Fixes issue #3607  that was causing NPE in BehaviorEditorScreen when joining multiplayer worlds. The BehaviorSystem was not registered in these situation because it was registered with RegisterMode.AUTHORITY, which only registers for the host in multiplayer.
How to test
Join a mulitplayer world with WildAnimals enabled (not as a host). Spawn in some deer. Hit F5, and then try to open the dropdown menu in the top left of the screen. Game should now work as expected

@IsaiahBlanks I'm sorry to be that "bad cop" 👮♂  here - although this fix works in preventing the crash, it brings too many unknowns into the equation (essentially, code that is supposed to be run only in the authority system now also runs on each client). To quote @Cervator from Discord:

imho the ALWAYS can be a cheap and dirty fix that may appear to help (and may even fix limited things) but carries high risk of causing more subtle bugs. If you're making an ALWAYS system the right answer might actually be to reassess how the system is designed in the first place and if it should be split into two separate systems with better event-based communication. That's a lot more work tho 🙂
an example of an accidental fix could indeed involve opening a UI via some system. Could bug out before because it only triggers on an authority, even if that's a headless server. Switching to ALWAYS may "fix" it because now the UI also opens on a client (as well as on a headless server), but really the better fix is to split the logic to where the authoritative stuff happens in one system solely on a server (without any UI work as that makes no sense) and there's a separate client system that deals with initiating UI actions
in this specific case there's behavior logic in BehaviorSystem that would start running on clients that didn't before, including an update loop. That seems potentially problematic, but might by accident just be thrown away. Not sure without digging deeper

I guess we have to look out for a different approach to fix #3607.


updated the LoadOBJ usage documentation. the less than/greater than <…

updated the LoadOBJ usage documentation. the less than/greater than < … > signs now appear in the github pages

Cool! Merged


Can consumer and producer be created in the same process?

Description
I have a process created consumer and producer, the producer was using
var putRecordsResult = kafkaProducer.ProduceAsync(topicpartition, message).Result;
so we wait for the send return before we send the next.
the producer will send msg continuously, but what we encountered  is a ~30sec delay at the 3rd msg. If I disable the consumer, it won't show any delay.
I was wondering if any test has been done with producer + consumer and any problem like this has been reported.
Thanks,
Xu
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
1.1.0 the latest
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

more testing shows if we start the consumer before create the producer, there is no such delay in the producer sending loop. And if we start the producer, wait for 30sec then start the consumer, the delay will be around the time consumer started.
I will take out our app specific code and see if anything the datadog integration is causing trouble.

never mind, after taking out the datadog related stuff, the delay was gone.


SplitPane::setMaxSplitAmount Logic Error

I might be reading this wrong, but it seems off to me:

if (maxAmount > 1) throw new GdxRuntimeException("maxAmount has to be >= 0");

Probably a copy & paste error from setMinSplitAmount().


Is it possible to disable provisioning?

Issue Type

Question

Question
Is it possible to configure Molecule to skip the provisioning and teardown step? For example, I might have bare metal hosts that I want to run the playbook and tests against. I want to be able to give Molecule an inventory with the host IPs and Molecule just runs playbook.yml and the tests.

You can skip some default test steps overriding molecule.test.sequence, add to molecule.yml:
molecule:
  test:
    sequence:
      # - destroy # comment unneeded steps
      - dependency
      - syntax
      # - create
      - converge
      - idempotence
      - verify

But as i know, you cannot provision bare metal machine, see #778.

Thanks @popstas! This is great. I have two use cases in mind that seem to be possible by disabling thedestroy and create steps:

I have bare metal hosts I have provisioned myself somehow and I just want to run playbook.yml and tests against them.
My playbook.yml does not only apply the role I am testing, it first provisions the test VMs, for example using one of the Ansible Cloud modules like os_stack to provision with a Heat template (#798). I wonder though, if my playbook.yml provisions the test VMs, how will the verifier test framework get the IPs of the VMs? Can I use a dynamic inventory? I have not used Molecule in six months or so, so my Molecule knowledge is a bit rusty.

@clabu Molecule v2 should give you what you want or at least is on the right track to do so.  As you see you specify a playbook to manage your instances.
This is very similar to what you are doing now, however, it is native to Molecule v2.  I have not worked on Amazon or OpenStack drivers yet.  So I have not determined a clean interface between Ansible and Molecule as it relates to this.  However, you can see how we did something similar with Vagrant.
So, while Molecule doesn't support this yet.  It's something I'm working on.  A clean interface between Ansible modules and Molecule.

Thanks @retr0h! The option to use playbooks for test environment create and teardown sounds good.

@clabu see #778

comment out what you do not need in molecule.yml:
scenario:
name: default  # optional
create_sequence:
- dependency
- create
- prepare
check_sequence:
- dependency
- cleanup
- destroy
- create
- prepare
- converge
- check
- destroy
converge_sequence:
- dependency
- create
- prepare
- converge
destroy_sequence:
- dependency
- cleanup
- destroy
test_sequence:
- lint
- dependency
- cleanup
- destroy
- syntax
- create
- prepare
- converge
- idempotence
- side_effect
- verify
- cleanup
- destroy


A loaded risk model is not shown in the list of Models

When you loaded a new model, it does not appears in the list of Models, but it is in the platform because you can use it in the risk configurations

Added a "pager" in v.0.0.6 to support more than 15 models


Support HTTP '409 Conflict' Errors when updating a work item link category (#1317)

Just needed to verify the behaviour with a test ;)
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>

Codecov Report

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

@@            Coverage Diff             @@
##           master    #1318      +/-   ##
==========================================
- Coverage   60.24%   60.08%   -0.16%
==========================================
  Files         119      119
  Lines       10704    10704
==========================================
- Hits         6449     6432      -17
- Misses       3603     3617      +14
- Partials      652      655       +3

Impacted Files
Coverage Δ

remoteworkitem/github.go
77.14% <0%> (-22.86%)
:arrow_down:

models/transaction.go
50% <0%> (-20%)
:arrow_down:

remoteworkitem/scheduler.go
53.65% <0%> (-9.76%)
:arrow_down:

controller/workitem.go
79.51% <0%> (-0.67%)
:arrow_down:

Continue to review full report at Codecov.

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

[test]


Switch from codespan-reporting to annotate-snippets

This PR replaces codespan-reporting with annotate-snippets.
To actually use annotate-snippets in a nice manner and to make the switch easier,
a new module, rslint_errors, is introduced to provide an API similair to codespan-reporting
but build on top of annotate-snippets.
Resolves #29

A diagnostic struct with a lifetime is going to cause a myriad of issues, i pretty much rewrote half of the old linter because of it, so i would rather not do that

oops

What is the sense of the Applicability enum in your code in #29?

Its from rustc_errors https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/enum.Applicability.html

Do we really need the Applicability enum?

It does not affect error reporting but it does affect the LSP, since it needs to know what suggestions it can offer which dont have placeholders

Yes the LSP can provide autofix options based on the suggestions from the diagnostic, although im not sure how we are going to do this. Id like to have a fixer for rules, but then the parser cant use it. I think we will keep the fixer for rules but have other suggestions to.

So, I added all the basic structs and representations that now just need methods and logic to report.
I'm currently not sure if we should stay with SmolStr everywhere, or if we should use String.
I have no idea how much of a speed boost SmolStr would give us.

SmolStr wouldnt do much, most messages are > 22 chars

I think rslint_errors is ready to replace codespan now, except for suggestions, I have to fix some lifetime issues first, and I have to provide an immutable Diagnostic (or public methods to read the data) so that the LSP and other stuff can actually apply the suggestions. But other than that it should be ready.

I dont really see why the diagnostic's data should not be public

Yea that works too

annotate-snippets uses lifetimes everywhere. That's sooo annoying. It destroys everything I want to do :cry:

In what places does it cause issues?

I have a method convert which will convert a Diagnostic to a Snippet, but all the strings used in Snippet have to be a &str and thus a lifetime is required, so i can't create new strings in the convert method and use them in a Snippet. But I think a found a fix.

We could always fork annotate-snippets and include it all in rslint_errors 👀

First progress that actually shows diagnostic :tada:
(We just allocate 18KiB in 130 allocations for one Diagnostic, I hope this is fine)

Wow that looks amazing.
But why is it allocating 18 KiB? 😰

I have no idea. I will check if it's my code to convert diagnostic (because it's full of format and to_string) or if it's annotate-snippets

Once you get to the lsp, converting diagnostics should be done in the following way:

the first primary label defines the range of the diagnostic (all diagnostics should have one, any diagnostics which dont will be skipped)
Any notes get appended to the main text with a newline, e.g. if theres a note that says help: oh no :( and a main message of uh oh, then it would be:

uh oh
help: oh no

Any secondary (non-primary) labels get turned into diagnostic related info, lsp type docs here
Any suggestions will be turned into notes (and follow note rendering) with their main text

Im pretty sure this is how rustc does it

Then when we have indel based suggestions we can also turn those into commands

(the line number in the second example is fixed)
Here are some examples of the current state. I think now it's ready to replace codespan

Looks great!

You can have rslint_errors rely on rslint_rowan and impl Span for other things to make it more flexible, like syntax nodes and tokens as well as TextRange

Thank god you've used an extra ErrorBuilder in the parser :smile:
That saves me sooo much work.

The changes seem to work well, some of the rendering is wonky but we can fix that later, i think we can merge it now

I take that back, it seems we are suffering from the same issue as https://github.com/denoland/deno_lint/pull/391 which is a little odd

What issue are they suffering from?

The issues are super weird

Are you sure? it still seems to be a bit broke 🤔
error[SyntaxError]: expected `'('` but instead found `length`
  --> tests\main.js:20:7
   |
...
19 |
20 |   for length;
   |       ^^^^^^ unexpected
   |
error[SyntaxError]: Expected an expression, but found none
  --> tests\main.js:26:5
   |
...
25 |   // when jumpSize = √array.length.
26 |   const jumpSize = Math.floor(Math.sqrt(arraySize));
   |     ^^^^^ Expected an expression here
   |

Switching from annotate-snippets to codespan has solved all of the issues, essentially the rendering is the same as using codespan on its own but we have a cool new unified builder as well as suggestions, and with all of the nice codespan rendering 🎉


2.0.5 Not support Folia

server version: Folia 1.20.4 32ff12e
2.0.5
Seem the holograms not even save in file
I suspect that the save_on_changed feature added in version 2.0.5 is broken. it work well in 2.0.4

latest.log

Should be fixed in the latest dev build: https://fancyplugins.de/FancyHolograms/download/


issue when create AWSLexVoiceButton

Hi,
I'm currently working on this sample code. I'm trying to add AWSLexVoiceButton into the left bar container of JSQ input tool bar.
1. Create an extension and implement AWSLexVoiceButtonDelegate

extension ChatViewController: AWSLexVoiceButtonDelegate{

    func voiceButton(_ button: AWSLexVoiceButton, on response: AWSLexVoiceButtonResponse) {
        DispatchQueue.main.async(execute: {

            print("on text output \(response.outputText)")
            //self.output.text = response.outputText
        })
    }

    public func voiceButton(_ button: AWSLexVoiceButton, onError error: Error) {
        print("error \(error)")
    }

}

2. create AWSLexVoiceButton instance and assign the delegate

 let voiceButton = AWSLexVoiceButton()
 override func viewDidLoad() {
        super.viewDidLoad()
        count = 0
        self.interactionKit = AWSLexInteractionKit.init(forKey: "chatConfig")
        self.interactionKit?.interactionDelegate = self

        self.showLoadEarlierMessagesHeader = false
        self.collectionView?.collectionViewLayout.incomingAvatarViewSize = CGSize.zero
        self.collectionView?.collectionViewLayout.outgoingAvatarViewSize = CGSize.zero

        self.inputToolbar.contentView?.textView?.keyboardType = UIKeyboardType.default
        self.messages = [JSQMessage]()

        let bubbleFactory = JSQMessagesBubbleImageFactory()
        self.outgoingBubbleImageData = bubbleFactory?.outgoingMessagesBubbleImage(with: UIColor.jsq_messageBubbleLightGray())
        self.incomingBubbleImageData = bubbleFactory?.incomingMessagesBubbleImage(with: UIColor.jsq_messageBubbleGreen())

        self.inputToolbar.contentView?.leftBarButtonItem = nil;
        **(self.voiceButton as AWSLexVoiceButton).delegate = self**
    }

3.  Add to the input tool bar on ViewDidLayoutSubviews

 override func viewDidLayoutSubviews() {
       self.inputToolbar.contentView?.leftBarButtonItemWidth = 60
       self.inputToolbar.contentView?.leftBarButtonContainerView.addSubview(self.voiceButton)
    }

But, at the result, it show nothing. Any help please!
Huge thanks!

do you have some pic/diagram representation of what you are trying to do?

I'm gonna do something like this. Voice button on the left bar of input view.
In normal situation, I should create AWSLexVoiceButton programmatically and add like a subview onto self.inputToolbar.contentView?.leftBarButtonContainerView. But it doesnt work. Therefore, I have to create it by this way:
` override func viewDidLayoutSubviews() {
    // Drop the AWSLexVoiceButton into a nib file
    let testView = TestViewController(nibName: "TestViewController", bundle: nil)
    testView.view.frame =  CGRect(x: 0, y: -10, width: 35, height: 35)

    // Get the lex voice button from the testview
    let voiceButton = testView.voiceButton
    voiceButton?.frame =  CGRect(x: 0, y: -10, width: 35, height: 35)
    voiceButton?.delegate = self

    // Assign the voice button to navigation bar -> lef bar button item
    let leftBarButton = UIBarButtonItem(customView: voiceButton!)
    self.navigationItem.leftBarButtonItem = leftBarButton

    // Add the lefbarbutton.customview into the input tool bar
    self.inputToolbar.contentView.addSubview(leftBarButton.customView!)

    // Finally, it will bring the left bar button from the navigation bar to the input tool bar
}`

And please provide the way to resize this button. Thank you!

I think for your use case you are better off implementing your custom view and use the same source code as the voice button because your use case is very specific, that way you can also share the interaction client and switch between voice modes and text modes more easily.
Even if we do provide a way to resize you will still have issues with animation etc.


Can message looping on Teensy 3.6

Good morning,
I am new to the CAN community and was trying on a project with testing the CAN bus line.
I have a Teensy 3.6 in hand. With Teensy having 2 Can line available, I am trying to send a message from Can0, receive from Can1 and compare the message. I still did not receive the CAN Transceivers module yet, and hopefully they will arrive soon. However, to test out the code, I have solder 1k resistors between the Can0_TX and Can1_RX, Can0_RX and Can1_TX, I hope this will emulate the signal from the CAN Transceivers in-between.
I have complied successfully and download the sketch "CANTest.ino" into Teensy, I have measured and got some kind of pulse signals from the Can0_TX and Can1_RX. Signal generated from Can0_TX and reach to Can1_RX via the 1k resistor.
Problem:
It seems Can1_RX never reads the signal, Can1.available() always return 0.
Does the resistor linking between the Can TX and RX is valid? Is there some signal conditions, like pulling the line down or high to signal the line is available? do I need to make change to the sketch? or should I add another Teensy, so 1 transmit and another receive... etc
It will be great to have your advise and thought!

Does the resistor linking between the Can TX and RX is valid?

No it is not. Use proper CAN transceivers or at least http://www.cnblogs.com/shangdawei/p/4714957.html

Good Morning,
Hope your guys have a happy long weekend. (It is a long weekend in NZ)
Thank you for the reply. I was wondering does anyone done something similar, testing the code when there is not transceiver available in hand.
However, I have found out more over the weekend. And this maybe interested to you. The way I linking of resistors are definitely wrong. Because the nature of CAN bus, Can_L is the inverted signal of Can_H, and the outgoing & incoming Can message are appear on the same lines, then whatever that transmitted on the TX will be loop back on the RX line (because both TX and RX are sharing the same bus line). But whatever that received on both (Can_H & Can_L) line are only outputs on the RX, and will not be appear on the TX. In most of the Can enabled microcontroller, the RX and TX transmitting in the RX and TX are having an internal pull up resistor, which means, the RX, TX pin will be high impedance with signal 'High' and actively (electronically) pull low with signal 'Low'. This is very similar to the Can bus line, that, 'Recessive' is high impedance, and 'dominant' is actively pull high or low depending on the line.
Siemens have an application note for linking the Can bus RX and TX without the transceiver (attached below). In there, it seems since the Can_L and Can_H are 1 channel, therefore, the application note links both TX and RX in 1 line as well. And the TX and RX are linked with a diode, with this setup, the TX signal will be visible from RX, but the RX signal (from the other TX line!) will be isolated. From the problem I experienced above (the message is not picking up!), without the Ack in the line, or maybe without the loopback on the RX, the hardware level code will keep sending out the message until time_out is reached.
siemens_AP2921.pdf
The application note did comment that, without the transceiver, the total max line distance should not be over 1 Meter, (physical electrical connection) some comment did say that keep it under 10cm before the noise overrun the signal.
I will implement Siemens recommended setup and write a bit more on the result. Sorry, I keep you read for a long paragraph, but did not have any real life experience to confirm the situation yet.

Good Morning,
Hope your guys have a happy long weekend. (It is a long weekend in NZ)
Thank you pawelsky for the reply. I was wondering does anyone done something similar, testing the code when there is not transceiver available in hand.
It is very useful, especially the setup for the TX and RX line.

The Pin setup works great. thank you for the great help


jit/x86: emit endbr64 on anchors

This PR adds the (currently) no-op endbr64 to static anchors to begin the work on Indirect Branch Tracking (IBT).
This does not introduce any functional changes to the JIT compiler.
The bulk of the work to enable IBT, which involves adding endbr64s to code translated from SBF, is not implemented in this PR.
Relates to #287
Changes

Adds test-only JitCompiler::new_mock() and JitCompiler::get_text_result() methods to allow test case assertions on x86-compiled code.
Add emit_indirect_branch_target function to emit endbr64 per Intel CET.
Modify JitCompiler::set_anchor() to emit endbr64 instructions on anchors.

Another consideration is that crafted SBF code input can probably be used to create x86 ROP gadgets. Coupled with the ability to introduce valid branch targets in lots of places (by defining SBFv2 symbols), this would make IBT pretty much useless.

Why put the indirect_branch_target in JitCompiler::set_anchor()?
Aren't all anchors targeted by direct jumps (instead of register indirect ones)?

Why put the indirect_branch_target in JitCompiler::set_anchor()? Aren't all anchors targeted by direct jumps (instead of register indirect ones)?

You're right. Updated PR to omit this change.

Closing for now as we currently have no need for it and it got unresolved conflicts.


Replace claimHasTag relation with saysHasTag.

These are equivalent relations. saysHasTag is more aligned with authorization logic claims and we should just use that going forward.

I think you should now be able to get rid of claimHasTag in authorization_logic.dl. You might also want to look around for other uses of claimHasTag in rules in ../analyis/souffle/* to see if you can simplify them away now as well.

Can you remove claimHasTag from authorizaiton_logic.dl now? Maybe double check for other uses in analysis/souffle as well?
(sorry for the duplicate comment. this was just bad use of github on my part).

@aferr I don't see any references to claimHasTag in authorization_logic.dl. I searched all the code base too. Am I missing something?


Portfolio of titled images of 6 applications with links to application and GitHub repos

User Story
AS AN employer looking for candidates with experience building single-page applications,
I WANT to view a potential employee's deployed React portfolio of work samples,
SO THAT I can assess whether they're a good candidate for an open position.

Acceptance Criteria
GIVEN a single-page application portfolio for a web developer,
WHEN I am presented with the Portfolio section,
THEN I see titled images of six of the developer’s applications with links to both the deployed applications and the corresponding GitHub repositories.

Complete. See PR https://github.com/nestibry/portfolio/pull/25


Why do some colors have 8 hex digits?

In testing out the latest (Beta 2) I was going through changing colors again (since the fonts settings don't modify the Play/Episodes/... text) and noticed in multiple places that some color values have 8 hex digits rather than just the 6 (2 each for red, green blue).  I am GUESSING that at some point you did a search and replace and some digits were left or something.  (???)
Anyway, it appears that they are ignored when processed.  As far as I can tell they are anyway.
Here are the locations I have found:
fontsupport.brs (down at the end for the default font)
EpisodesListItemComponent.xml  (title, info, and description settings and I think rectangle color has extras too)

This is somewhat different, but a question about the fonts. . . .
Do you know if the font size setting has ZERO effect if the font is set to a system one (such at those listed here).
https://developer.roku.com/docs/references/scenegraph/typographic-nodes/font.md
**SmallestSystemFont
SmallestBoldSystemFont
SmallSystemFont
SmallBoldSystemFont
MediumSystemFont
MediumBoldSystemFont
LargeSystemFont
LargeBoldSystemFont**

I got rid of all the fonts except for the dot used in the videos extras info line and just put the system ones to save file space and since I'm OK with the system ones (well, and I don't like the italics one because it is too hard to read).
What is the massive sized (859K) NotoEmoji-Regular.ttf font used for?


LightAPI 2.0.2

Hello BeYkeRYkt,
When do you plan to release LightAPI 2.0.2 ?
Thanks.

I am waiting for that!

Where are problems in combination with ShinyItems. Using booth together makes entities disappear then entering a cave or holding a torch at night. Not sure where the problem is located by, LightAPI or ShinyItems. Tested with Spigot 1.9.4, LightAPI 2.0.2 (self-compiled from source) and ShinyItems 1.5.3

1.10 is here


EF Core 210 not including columns with default values in insert into query

Yes I know this looks like a duplicate from earlier versions of EF core, but it is clearly (to me at least) a bug.
If you have a SQL column of type bit having a default value of true and you model it in EF as a bool and configure the property in code-first  with .HasDefaultValue(true), the when you add a new instance o the entity the generated SQL ignores a vale of false in the class instance supplied. It is incorrectly comparing the value to the CLR default value and deciding there is no need to explicitly set the value to false.
It should be comparing the value to the MODEL DEFAULT not the clr and realising that it does indeed need to include the property in the generated SQL.

@martin-kelley We're not going to change this for 2.2, but we discussed in triage and I have opened #13224 to look at making this a better experience. Using the model default in some way may be something we could consider.

I got bitten by the exact same problem too. This behaviour is really astonishing.


CSS not exported from package

Hi,
I am trying to use shareon within a Webpack project, but I cannot import the styles, I get an error:
Package path ./dist/shareon.min.css is not exported from package /project/node_modules/shareon (see exports field in /project/node_modules/shareon/package.json)
My workaround is to import the styles from cdn, but I am wondering if the package exports can be updated in a future revision.
Thanks!

Hey Paul,
yeah, I haven't tested the CSS imports in non-browser environments...
I am currently working on a version 2.0 of share on, where I will introduce some breaking changes but, through this, improve the imports and exports. I will also try to fix this issue in v1.x until weekend, but I can't promise I can implement this without breaking anything 😅 I'll keep you updated

Hey, thanks for keeping track of this!
I’m not needing it on my current project, but will check it next time I need a share feature.
Cheers!
From: Nikita Karamov @.>
Date: Sunday, February 13, 2022 at 10:14 AM
To: kytta/shareon @.>
Cc: Paul Reynolds @.>, Mention @.>
Subject: Re: [kytta/shareon] CSS not exported from package (#35)
Hi again Paul,
I've tested it on a simple Vite-built website, and it seems to actually work! I have now released the v2; you don't need to use the beta version any more. If you still experience problems, don't hesitate to open a new issue or contact me personally 😄
—
Reply to this email directly, view it on GitHubhttps://github.com/kytta/shareon/issues/35#issuecomment-1038184817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAATS5CWU4D6N2CTEOF77T3U27C57ANCNFSM47SRAPVQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID: @.***>


Use the closest coordinate system bounds when re-parenting

Problem:
Re-parenting from a deep hierarchy to the canvas can offset the dragged element if the original parent doesn't provide the coordinate system bounds for the dragged element
Fix:
Find the closest coordinate system bounds (globalContentBox or coordinateSystemBounds) in the hierarchy above the old and new parents, and use those when calculating the offset to apply.

Do we know if we can trust closestOffsetParentPath? What if the real closest offset parent is in the middle of a component's internal hierarchy?
for the spike #2530 I did this:
  const elementOrContainingParent = providesBoundsForAbsoluteChildren
    ? element
    : (element.offsetParent as HTMLElement)

  const globalFrame = globalFrameForElement(elementOrContainingParent, scale, containerRectLazy)
  const globalContentBox = canvasRectangle({
    x: globalFrame.x + border.left,
    y: globalFrame.y + border.top,
    width: globalFrame.width - border.left - border.right,
    height: globalFrame.height - border.top - border.bottom,
  })

which uses the element.offsetParent and then dom measures that, so even if that is an element without a valid elementPath, we can still measure it

Good shout, done :+1:


NPSP Data Importer creating duplicate addresses?

one user reporting this problem.  haven't heard of it before, but in looking at tests, not sure we cover this scenario.  worth adding a test to ensure we don't have an issue.
https://powerofus.force.com/0D58000002KwQ6j

**lurch: add

Tracking W-008592

Included in beta release version 3.65 (Beta 1) and higher

Included in production release version 3.65


Update how-to-work-on-coding-challenges.md

[ ] I have read freeCodeCamp's contribution guidelines.
[ ] My pull request has a descriptive title (not a vague title like Update index.md)
[ ] My pull request targets the master branch of freeCodeCamp.
[ ] None of my changes are plagiarized from another source without proper attribution.
[ ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Seems pointless, but at least also fix item 1 in case others will disagree.

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

@tjjohny Any updates?
@RandellDawson Also can we close this PR as there has been no updates for two months?

Yes, it is a low effort change of questionable value.


memory-usage-limit shouldn't disturb users

Signed-off-by: qupeng<EMAIL_ADDRESS>What problem does this PR solve?
https://github.com/tikv/tikv/pull/10227 adds 2 new configurations into TiKV. It makes new learn cost for users.
What is changed and how it works?
This PR does 2 things:

make memory-usage-high-water be hidden for users, and default value changes to 0.9;
calculate memory-usage-limit based on block-cache.capacity:
so that users need only pay attation to the latter one.

With the change, memory quotas for different system memory capacity will be:

system=8G, block-cache=3.6G, memory-usage-limit=6G, high-water=5.4G, page-cache=2G.
system=16G, block-cache=7.2G, memory-usage-limit=12G, high-water=10.8G, page-cache=4G
system=32G, block-cache=14.4G, memory-usage-limit=24G, high-water=21.6G, page-cache=8G

This PR also adds a new panel for raft entry evicting. Here is the capture for it:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test

Release note
None

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/merge

/run-all-tests

/run-integration-tests

/merge

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/tests

/run-test

/run-test

/run-test

/run-test

/run-test

/run-test

/merge

/run-test


[BUG] PacketRusher crashes when UE has an MNC with 3 digits

Describe the bug
When the UE's IMSI is constructed with a 3-digit MNC, PacketRusher crashes.
To Reproduce
Steps to reproduce the behavior:

In the config.yml UE section, you can construct a UE with a 3-digit MNC. To accommodate the 3-digit MNC, the MSIN must be reduced by one digit (so the IMSI is a total of 15 digits). E.g.

ue:
msin: "123456789"
key: "00010203..."
opc: "00112233..."
amf: "8000"
sqn: "00000000"
dnn: "internet"
routingindicator: "0000"
hplmn:
mcc: "789"
mnc: "123"
snssai:

When running PacketRusher, the gNodeB is created properly with a 3-digit MNC (see bug fix 84). But in "func SimulateSingleUE" starting around line 113 in the file internal/common/tools/tools.go, it can be seen that the UE's MSIN is prepended with an extra '0'. For example, I added several "log.info" debug lines in tools.go as shown below. In the output from those, you can see that a zero is prepended to the MSIN for the UE only.

log.Info("[TESTER] TESTING REGISTRATION  - DEBUG 1", ueCfg, " xxx")
log.Info("[TESTER] TESTING REGISTRATION  - DEBUG 2", simConfig, " yyy")
log.Info("[TESTER] TESTING REGISTRATION  - DEBUG 3", simConfig.Gnbs[gnbIdGen(0)], " zzz")

with corresponding output of:

INFO[0001] [TESTER] TESTING REGISTRATION  - DEBUG 1 {{{xx.yy.zz.ww 9487} {xx.yy.zz.ww 2152} {789 123 0228BC 0F423c} {01 ffffff}} {0123456789 00010203... 00112233... 8000 00000000 internet 0000 {789 123} {1 } {false false true false} {true false true false} 2} {xx.yy.zz.qq 38412} {4}} xxx
INFO[0001] [TESTER] TESTING REGISTRATION  - DEBUG 2 {1 map[0F423c:0xc0001e6300] {{{xx.yy.zz.ww 9487} {xx.yy.zz.ww 2152} {789 123 0228BC 0F423c} {01 ffffff}} {123456789 00010203... 00112233... 8000 00000000 internet 0000 {789 123} {1 } {false false true false} {true false true false} 2} {xx.yy.zz.qq 38412} {4}} 0xc000306000 0 0 0 0 0 1} yyy
INFO[0001] [TESTER] TESTING REGISTRATION  - DEBUG 3 <nil> zzz

Note the two MSINs shown in bold for ueCfg and simConfig. The ueCfg MSIN has "10" digits (which is incorrect) and simConfig MSIN has "9" digits.

Consequently simConfig.Gnbs[gnbIdGen(0)] returns return a NULL pointer and the system crashes (see the nil in the 3rd debug line shown above).

Expected behavior
PacketRusher UE handling needs to be corrected to handle 3 digit MNCs (and 9 digit MSINs).

Hi @rjaksa,
Thanks a lot for the detailed report!
I'll take a look.
Cheers,
Valentin

Hi @rjaksa,
MSIN encoding issue when MNC has 3 digits has been fixed, and verified to be fixed by another party.
If you are still stumbling upon your NIL crash on the latest commit of master, please open another bug with pcap / logs.
Thanks a lot!
Cheers,
Valentin

Sounds good. I will re-check it soon. Thanks!

I found the problem that causes my NIL crash. It occurs when/if you use a gNodeB id with a hex digit (e.g. 00000F). I will collect information and open another bug report.


Add support for dark mode

Is your feature request related to a problem? Please describe.
The current UI is not very readable in low light conditions. It would be great if there was a dark mode option that would make the text and icons easier to see.
Describe the solution you'd like
It should change color when darkmode is enabled and also offer a toggle to manually switch
Describe alternatives you've considered
No alternatives
Additional context
No additional context

i want to make this dark mode feature.


Add collaborators to this repo

Comment below to be added as a collaborator
We will all be using this repository today. Even though it's public right now, you will not be able to make changes until you're given the correct permissions. We've automated this process via the GitHub API. Once you comment, we will add you as a collaborator.
You'll start to receive a lot of emails. (❗) You can slow these down immediately by clicking the Unwatch button at the top of the page and selecting either the Participating and @mentions or Ignore option.

kiusdjuhdff98asdfhjaskdfjh

🤯

!!!

☀

💯

😮

🏄♀

haii :nail_care:


fastlane spaceauth is failing with 2FA can only be performed in interactive mode

New Regression Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Regression Information

Breaking version: 2.172.0
Last working version: 2.170.0

Regression Description

We have a node program that update Apple session periodically using fastlane spaceauth. The 2FA code is written to the stdin of the child process. Thus the streams are not tty. This recent change: https://github.com/fastlane/fastlane/pull/17854 forces the command to run only in interactive shell which breaks our pipeline. As there are ways to send input to interactive program running in non-interactive shell and ways to check whether the shell is interactive or not before executing a program, it doesn't seem appropriate to force users to use spaceauth only in interactive shell.
Complete output when running fastlane, including the stack trace and command used

"/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/two_step_or_factor_client.rb:7:in `handle_two_step_or_factor': \u001b[31m[!] 2FA can only be performed in interactive mode\u001b[0m (RuntimeError)
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/client.rb:500:in `send_shared_login_request'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/tunes/tunes_client.rb:127:in `send_login_request'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/client.rb:793:in `do_login'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/client.rb:390:in `login'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/client.rb:352:in `login'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/tunes/spaceship.rb:24:in `login'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/spaceauth_runner.rb:18:in `run'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/commands_generator.rb:44:in `block (2 levels) in run'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/commands_generator.rb:50:in `run'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/spaceship/lib/spaceship/commands_generator.rb:14:in `start'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/fastlane/lib/fastlane/cli_tools_distributor.rb:114:in `take_off'
\tfrom /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.172.0/bin/fastlane:23:in `'
\tfrom /usr/local/bin/fastlane:23:in `load'
\tfrom /usr/local/bin/fastlane:23:in ``

Environment

🚫 fastlane environment 🚫
Stack

Key
Value

OS
debian_based 9.13

Ruby
2.5.7

Bundler?
false

Git
git version 2.11.0

Installation Source
/usr/local/bin/fastlane

Host
Debian GNU/Linux 9 debian_based 9.13 (4.19.121-linuxkit)

Ruby Lib Dir
/usr/local/lib

OpenSSL Version
OpenSSL 1.1.0l  10 Sep 2019

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.172.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.2.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.3

claide
1.0.3

colored2
3.1.2

nanaimo
0.3.0

xcodeproj
1.19.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.6.0

public_suffix
4.0.6

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

artifactory
3.0.15

babosa
1.0.4

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.78.1

faraday-net_http
1.0.1

ruby2_keywords
0.0.4

faraday
1.3.0

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.1

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.11.0

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.1

dotenv
2.7.6

bundler
2.2.6

naturally
2.2.1

simctl
1.6.8

jwt
2.2.2

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.1

googleauth
0.14.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rexml
3.2.4

webrick
1.4.2

google-apis-core
0.2.1

google-apis-iamcredentials_v1
0.1.0

google-apis-storage_v1
0.1.0

rake
12.3.0

digest-crc
0.6.3

google-cloud-storage
1.30.0

emoji_regex
3.2.1

jmespath
1.4.0

aws-partitions
1.418.0

aws-eventstream
1.1.0

aws-sigv4
1.2.2

aws-sdk-core
3.111.2

aws-sdk-kms
1.41.0

aws-sdk-s3
1.87.0

date
1.0.0

stringio
0.0.1

zlib
1.0.0

openssl
2.1.2

strscan
1.0.0

fileutils
1.0.2

etc
1.0.0

io-console
0.4.6

ipaddr
1.2.0

psych
3.0.2

generated on: 2021-02-02

Good catch, I think it's easier to just allow you to override this with an env variable. This PR should fix it https://github.com/fastlane/fastlane/pull/18109

I get the same error and need help

We're seeing the same issue in Azure DevOps Pipeline using the AppStoreRelease@1 task.
WE've configured our AppStore service connection in DevOps with a Fastlane Session following the instructions here: https://github.com/fastlane/fastlane/blob/master/spaceship/README.md#support-for-ci-machines

Is there any workaround until the PR is merged?

Same issue here in Azure DevOps with AppStoreRelease@1 task.

Same issue here on a local build machine set up with TeamCity.

Thanks @BenWolstencroft  that made my build work again!


[Feature Request]: Add Hover Effect on Chatbot Icon

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Requesting the addition of a hover effect on the chatbot icon to enhance user experience and provide visual feedback when the icon is interacted with.
Use Case
Adding a hover effect will make the chatbot icon more interactive and engaging, providing users with a clear indication that the icon is clickable and interactive.
Benefits
Benefits:

Improved user engagement and interaction with the chatbot.
Enhanced visual feedback indicating the icon's interactivity.
A more polished and professional look for the chatbot feature.

Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I'm a SSOC'24 contributor
[X] I want to work on this issue

This can be done in #464 only, no need for a separate issue to add a hover effect.


Change tap events to use PointerEventArgs rather than RoutedEventArgs

What does the pull request do?
Addresses issues #3756 and #3240 by passing a PointerEventArgs rather than RoutedEventArgs, allowing coordinate information to be preserved.
What is the current behavior?
Coordinate information is lost when a new RoutedEventArgs is sent, because the RoutedEventArgs class does not have the capability to store this information.
What is the updated/expected behavior with this PR?
A new PointerEventArgs instance is created and passed, allowing users to cast to PointerEventArgs and get the exact coordinates of their click.
How was the solution implemented (if it's not obvious)?
Checklist
Breaking changes
Fixed issues
Fixes #3756
Fixes #3240

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

How does it works with UWP? Their DoubleTappedRoutedEventArgs inherits from RoutedEventArgs

Ah, they have a separate GetPosition event.
In general we should stick with with UWP APIs when it comes to pointer event handling instead of inventing a new ones.

@kekekeks I could make a TappedRoutedEventArgs/DoubleTappedRoutedEventArgs class to be more in line with the UWP APIs, but PointerEventArgs also inherits from RoutedEventArgs, and already has the relevant functionality of the GetPosition method. No new API was invented, I simply took advantage of pre-existing APIs.

If the issue is the newly exposed members of PointerEventArgs, I could keep those members at their current private/protected levels, and add a constructor method that takes another PointerEventArgs and copies the information from it.

PointerEventArgs API isn't final. There will be a method grouping pointer points like in UWP. Said method will be useless for gesture events.

Yeah I agree that we should follow UWP's API for this. Though we should call the event args DoubleTappedEventArgs instead of  DoubleTappedRoutedEventArgs because we don't put the word Routed in our event arg class names anywhere else.

Closing this as there's been no movement on it for quite a while. Let us know if you intend to continue working on it.


add_index ensures that the undo stack and revision of the added index are consistent with the other indices in the database

add_index will modify the index undo stack as necessary (if possible) to commit up to the revision of the earliest undo state in the existing database and to add undo states as necessary to update its latest revision to that of the latest revision in the existing database. add_index will fail if the latest revision of the added index (which is already stored in the database) is higher than the latest revision in the existing database.

Code has been modified to be much stricter in its undo stack consistency checks. It will no longer ever call commit during add_index. If the index being added already exists in the DB, then the revision range must match exactly. If this is a brand new index, then chainbase will set the revision and create empty undo sessions to ensure the undo stack of the newly added index is consistent with the other indices already included in the database.
This means that a new index could be added in the middle of processing a blockchain. And of course, as before, an index can be excluded if it is no longer necessary (even though the prior data for that index will still be stored in the shared_memory.bin file). However, if an index that was originally added was then removed, and then after some number of revisions (i.e. blocks) later there is an attempt to re-add the index, chainbase will catch the inconsistency in the undo stack and throw an error from add_index.


test CLA bot

Description
test CLA bot
Motivation and Context
I'd like to test CLA bot and immediately decline.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue) labeled with bug
[ ] New feature (non-breaking change which adds functionality) labeled with enhancement
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

[x] My code follows the code standards of this project.
[ ] My change requires updating the documentation. I have updated the documentation accordingly.

I have read the Dynamic Solutions Individual Contributor License Agreement (CLA) Document and I hereby sign the CLA

recheck


Matrix Search Problem

Label this pull request  as hacktoberfest-accepted as per new rules of hacktoberfest  for refrence
go to this link :-https://hacktoberfest.digitalocean.com/hacktoberfest-update

@chandrikadeb7  now you can merge


Trouble with image_categorical, map_categorical for MiniGrid envs

Hi! I'm trying to use your codebase for various MiniGrid environments. Do you have any tips for setting the values for image_channels and map_channels?
If I just use the default config, I get an out-of-bounds error in the img_to_onehot function.

Hi! I'm trying to use your codebase for various MiniGrid environments. Do you have any tips for setting the values for image_channels and map_channels?
If I just use the default config, I get an out-of-bounds error in the img_to_onehot function.

Hi Steph, I got the same problem when I try to run on Mini-Grid environment about the map_channels. Have you fixed it?

@jiachengc could you provide more info on how you are installing the MiniGrid environment (which version?) and how you are launching the training (command line arguments), so I can try to reproduce? Thanks.


Rename signer property to account

Renames the signer reference to account – account is more abstract and encapsulates better the meaning behind this property i.e.: the signer was the one who might have triggered an action but does not necessarily mean that the email is to be associated to that signer (e.g.: signer can have permissions to associate the email to another account).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 5 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 89.815%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
5336

Relevant Lines:
5810

💛  - Coveralls

@safe-global/safe-client-gateway-maintainers Forgot to mention: the migration was edited directly. This was done because it hasn't been integrated with a live environment yet so it would not be worth it to create another migration until that happens.


Redirecting auth

This pull request extends (route pages)[https://github.com/IBM-Swift/Kitura-Sample/pull/91].

It adds redirecting Oauth2 routes for Facebook and Google
It adds a redirecting page and success pages for both routes

Please make sure this one gets squash-merged :grimacing:


Add travis-CI support

Note: This PR contains the unicode fix (PR #24), so best merge it after merging PR #24.

Thanks for this! I may want to use only the .travis.yml file. Did you confirm that this works?

It used to work at the time of the PR! I've since switched to using pyperclip.


[stable/redis-ha] Expose redis-exporter port on announced services

What this PR does / why we need it:
Expose redis-exporter 9121 port on announced services so metrics can be scrapped by specifying static targets in prometheus using stable service DNS names.
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

/ok-to-test

/retest

/lgtm


fix: assert on set auto refresh interval method

Description
Fix wrong assert on setAutoRefreshInterval
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[X] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

nice one, thanks @andriensis


[LeoFS] Added Retry on Overload Option

Description
LeoFS replies 503 when it cannot handle the request, added a retry option when user hope to make sure requests are handled.

@windkit
The code can be compact with closure as below.
%% make `Handler` retryable when RetryOnOL is true
retry_handler(Handler, RetryOnOL) ->
    case RetryOnOL of
        true ->
            io:format("Server Overloaded, Sleep ~pms and Retry~n", [?OL_SLEEP_INTERNVAL]),
            timer:sleep(?OL_SLEEP_INTERNVAL),
            Handler();
        false -> {error, {http_error, "503"}}
    end.

%% sample code for do_get_v4
do_get_v4(Url, RetryOnOL) ->
    % replace the code
    % {ok, "503", _Header, _Body} ->
    %     case RetryOnOL of
    %         true ->
    %             io:format("Server Overloaded, Sleep ~pms and Retry~n", [?OL_SLEEP_INTERNVAL]),
    %             timer:sleep(?OL_SLEEP_INTERNVAL),
    %             do_get_v4(Url, RetryOnOL);
    %         false -> {error, {http_error, "503"}}
    %     end;
    % with the below block
    {ok, "503", _Header, _Body} ->
        RetryHandler = fun() -> do_get_v4(Url, RetryOnOL) end,
        retry_handler(RetryHandler, RetryOnOL);

@mocchira Thanks for the suggestion, I have pushed the updated version.


Let the configuration cache execute tasks in parallel when storing the cache

Expected Behavior
Tasks are run in parallel by default when the configuration cache is enabled even when there's a cache miss.
This would also make all problems, the ones occurring when storing and the ones occurring when loading, surface on the first build. This would make things less confusing and limit the possibility to create problematic configuration cache entries.

Builds storing the configuration cache runs as regular builds, not isolating tasks and not running them all in parallel.

One option to implement this would be to start over once CC is stored on first build, with the potential side effect of releasing the memory used by heavyweight configuration objects such as Configuration instances.

@eskatos Why is running independent tasks of the same project in parallel only considered to be implemented with the configuration cache?
When being very strict and declaring all inputs/outputs/dependencies, then running tasks in parallel should be possible with or without using the configuration cache.

We did some benchmarking in this area, that might be helpful
With configuration caching & build cache on, we see a 90% speed gain in initialisation & configuration, a 84% gain in execution and 92% less time spent in garbage collection (vs cc off & bc off).

CC = configuration cache
BC = build cache
GC = garbage collection
control = the run used to create the % comparison

@SgtSilvio, the configuration cache isolates tasks thus guarantees that tasks can be safely run in parallel, without this strictness it would be very easy to shoot yourself in the foot and face hard to troubleshoot problems.

with the potential side effect of releasing the memory used by heavyweight configuration objects such as Configuration instances.

yes please!!

This will be addressed when the work in https://github.com/gradle/gradle/issues/21985 is merged.


brrohrer/6188 - Bypass RAG

Task: https://dev.azure.com/pubsecsolutions/Government/_boards/board/t/PS Information Assistant/Stories/?workitem=6212

Added in a new approach that allows you to query GPT directly and bypass RAG.
Refactored the Approach base class to re-use as much code as possible between approaches.
I could still use recommendations on the prompt template gpt_direct_approach.py from the team.

With Grounding:

Without Grounding:

HOLD on this until this is Merged > https://github.com/microsoft/PubSec-Info-Assistant/pull/448

@dayland what needs done here with the UI? Can you take a stab at it or at min let me know and I can start working on it.


Can't specify two function in story config

So, i tried to use custom items and specify a death passage, but i can't have both working at the same time.
so, if code look like this
window.config = {
	"items": [
        {
            "tag": "bow",
            "name": "Arc",
            "x": 3 , "y": 93
        },
		 {
            "tag": "hunt",
            "name": "Armure de chasseur",
            "x": 10, "y": 3
        },
			{
            "tag": "pirate",
            "name": "Armure de pirate",
            "x": 1, "y": 10
        },
		{
            "tag": "sabre",
            "name": "Sabre",
            "x": 15, "y": 108
        },
		{
            "tag": "stick",
            "name": "Bâton de shaman",
            "x": 3, "y": 110
        },
		{
            "tag": "shaman",
            "name": "Manteau de shaman",
            "x": 6, "y": 4
        },
			]
},
	{
		deadMessage: "Vous êtes mort"
		deathPassage: "mort",
};

story is loaded, custom items work but the deadMessage and deathPassage are not set to what i want them to be set.
I also tried to set it by calling it in the first passage with
<% story.config.deathPassage = "mort"; story.config.deadMessage = "Vous êtes mort" %>

but then that only made the deadMessage working.
I know that i am probably making a mistake, but i don't know where, can someone help me ?

It looks like you didn't format that window.config variable correctly. Try making it look like this:
window.config = {
    "items": [
        {
            "tag": "sword",
            "name": "Steel Sword",
            "x": 1, "y": 107
        },
        {
            "tag": "shield",
            "name": "Shield",
            "x": 2, "y": 71
        },
        {
            "tag": "red-potion",
            "name": "Health Potion",
            "x": 4, "y": 41
        }
    ]
    deadMessage: "Vous êtes mort",
    deathPassage: "mort"
}

deadMessage and deathMessage are just variables, not JSON. It looks like you put them into curly braces, which was causing the problem.
The documentation might also help with other questions you might have.


Add template for a login page

Expected Behavior
users will have a template of a login page.
Current Behavior
There is currently no template for it
Acceptance Criteria

Login page template should be added
Relevant routing for the template should be added
Small adjustments in the base.html should be done.
Relevant tests for the login mechanism should be added

I will close this manually since #75 got merged.


In place operation should be done with care and should not be default

We have some inplace operation to work with
for example
A - B(inplace...) - C
\
D - E,
If B is inplace, D isn't guaranteed to be correct.

:octocat: cibot: Thank you for posting issue #1211. The person in charge will reply soon.

in-place operations optimizations were not tested properly with graphs with tree based structures, and is a limitation of the current method.


require integer on price

require integer on price
prerequisite
none
description
require user to input an integer in the range 1-5 for the price section of the coffee card
Insert the steps to complete to fully implement this feature
could use a script to Madate it or create a drop down list

Now switched to use float value price


Great library, thanks. How do I hide the "Delete" button from the gallery view?

I haven't implemented the delegate method and the delete button has no use as of now.
Thank you!
~cesare

@CeceXX pass configuration item:
GalleryConfigurationItem.deleteButtonMode(.none)

Thanks so much!


Random nil pointer errors pcap

I am using gopacket with pcap to read live packets over an interface. I randomly keep getting nil pointer errors
Stack trace
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x20]

goroutine 1 [running]:
main.main
	/home/tapan/go/src/test.go:54

goroutine 5 [runnable]:
github_com_google_gopacket_pcap.ReadPacketData.pN38_github_com_google_gopacket_pcap.Handle
	/home/tapan/go/src/github.com/google/gopacket/pcap/pcap.go:295
github_com_google_gopacket.NextPacket.pN39_github_com_google_gopacket.PacketSource
	/home/tapan/go/src/github.com/google/gopacket/packet.go:787
github_com_google_gopacket.packetsToChannel.pN39_github_com_google_gopacket.PacketSource
	/home/tapan/go/src/github.com/google/gopacket/packet.go:804
created by github_com_google_gopacket.Packets.pN39_github_com_google_gopacket.PacketSource
	/home/tapan/go/src/github.com/google/gopacket/packet.go:827

Code:
handle, err = pcap.OpenLive("eth0", 1024, true, 1 * time.Second)
if err != nil {fmt.Println(err) }
defer handle.Close()
packetSource := gopacket.NewPacketSource(handle, handle.LinkType())
data:= make(map[gopacket.Flow]int)
for packet := range packetSource.Packets() {
    fmt.Println(packet)
}

I tried to look through the code but could not find anything.

It looks like you're checking the error, but then still using the handle?  If OpenLive returns a non-nil error, it'll return a nil handle, so calling handle.Anything() will result in a nil-pointer as you've described.
Try:
handle, err := pcap.OpenLive(...)
if err != nil {
  log.Fatal(err)  // Stops execution
}
... do more stuff ...

Sorry, I realized I did't make it clear enough. I see this while the packets are being captured. The packet capture suddenly stalls and then dies with the above error, though traffic is still going through the network.
PS: Thanks for pointing out that bug anyway

Just realised the error was occuring due to ARP packets coming in between which do not have a network layer at all.
Thanks


Use Gradle 2.6 and Android plugin 1.3.1

Version 1.3 makes running unit test from AS more reliable with multiple modules (e.g. two apps and a shared library).

Thanks!


[language] reorganize testing infrastructures

Summary
This creates a new directory language/testing and a moves a few crates into it:

language/functional-tests -> language/testing/functional-tests
language/tools/test-generation -> language/testing/test-generation
language/tools/utils -> language/testing/module-generation (with minor changes to its internal module/directory structure)
language/e2e-tests -> language/testing/e2e-tests & language/e2e-testsuite

e2e-tests contains all the library code and e2e-testsuite contains the actual tests.

The goal is to create a home for testing related libraries instead of having them scattered throughout language.
Test Plan
cargo test

One separation I would like to see as we reorg the tests is VM/bytecode verifier/source language tests vs Libra Framework tests. I think ideally, these tests should live in different directories and the VM etc tests should not depend on Libra Framework modules.

@sblackshear That will happen, at a later time though. My plan consists of building one or more pipelines that directly invokes the Move VM instead of the Libra Adapter.

Overall I'm very very very happy to see this move. The only question I have is the naming of the new directory. Perhaps something like testing-infra or testing-infrastructure, or a different name that makes it unambiguous that code under it should only hold testing libraries/infra and not tests themselves.

@tzakian will rename to "testing-infra".

/land


Add some simple Getting Started instructions

As a developer who wishes to contribute to this project, I would like to quickly be able to find the information necessary and perform the appropriate steps, to get up and running locally as quickly as possible.
These items include, but are not limited to:

Which configuration elements do I need to set or update
Twitch configuration and authentication setup (token, etc.)
How can I test this locally behind a private IP address (i.e.: using ngrok)

This issue can be assigned to me since I've started to do some work on this.


fq: 0.0.4 -> 0.0.6

Description of changes

Things done

Built on platform(s)

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

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

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 165213 run on aarch64-darwin 1

1 package failed to build:

fq

@wader build failure with log
Building subPackage ./dev
text/template/parse
text/template
github.com/wader/fq/dev
# github.com/wader/fq/dev
dev/tmpl.go:36:6: main redeclared in this block
        /private/tmp/nix-build-fq-0.0.6.drv-0/source/dev/fuzzbytes.go:12:6: previous declaration

@wader build failure with log
Building subPackage ./dev
text/template/parse
text/template
github.com/wader/fq/dev
# github.com/wader/fq/dev
dev/tmpl.go:36:6: main redeclared in this block
        /private/tmp/nix-build-fq-0.0.6.drv-0/source/dev/fuzzbytes.go:12:6: previous declaration

Could it be that nix builds packages ./... (all sub packages)? possible to change it to just build .? There are some go-files in dev and doc that are dev-time tools and example code so not used to at build-time. I guess in the current 0.0.4 build a dev binary will gets built also as there was only one go-file with a main function in the dev-directory?
Alternatively we could add ignore build tag somehow but could maybe be a bit inconvenient with IDE:s etc.
Any other possibilites?

And thanks for updating the nix package!

@wader fixed

Result of nixpkgs-review pr 165213 run on aarch64-darwin 1

1 package built:

fq

🥳   think . should be fine, don't think i will producing additional executables anytime soon :)


Compress VLM model components to int8_sym instead of int8_asym

What does this PR do?
As in the title. Preparation for DQ for ViTs in the next OV release.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

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.


feat: notifications now follow the theme

Solves #286
Notifications will look like this now:

Thanks @kevinjoshi46b for the PR and @damianmarti for the review !!

In the case where notification position is bottom, when the notification is about to disappear it moves up to somewhere in the middle of the screen and seems to look like a glitch (the screenshot bellow explains it better) (will fix this in my next commit)

Yeah this seemed to an issue, thanks for tackling it

One minor change which I noticed was the position of the "X" icon :
main branch :

this PR :

Was this intentional @kevinjoshi46b ? Both look fine to me but main branch seems a bit standardized with "X" at the top right not taking up space

Rest everything looks good to me, thanks @kevinjoshi46b 🙌

Was this intentional @kevinjoshi46b ? Both look fine to me but main branch seems a bit standardized with "X" at the top right not taking up space

I agree that position of "X" in the top right being standardized but I feel it looks like a standard only for models that have a lot of content in them.
What I have observed is for notifications that are meant to be just 1-2 lines having the "X" inline with the content looks more natural. That is also how MUI and many other libraries have implemented it.
But ya this is not that big of a deal if we want we can revert to the original positioning as well.

💯 agree, I just mentioned this because I noticed it while testing for long error messages because lol sometimes we get really big error messages check #301 but current looks good to me

Ya I am looking forward to that issue being resolved!
Those json notifications might get too overwhelming for non-dev users 🫠


format with Locale.US

format with Locale.US so that some of the build tests pass in Germany (this forces float numbers to be formatted with "." instead of ",")

If you accept this, then please decide on my other PR first, in the hope that this removes the 4 other commits. I didn't succeed in making a PR of one commit.


Dl 6861

DL-6861 & DL-6870
New feature

Initial setup to allow use of play-frontend-hmrc
created a layout.scala.html
uplift dependencies
migrate the /extend-contract page
create new components for yes/no radios, back link (just in case, shouldn;t need as this is handled by the layout) and submit button
Fixed it test relating to ExtendContractController
Updated all generic Viewspec behaviour traits so they can easily be used with migrated pages.

Checklist

[x]  I've made every effort to commit high quality, clean code and I have executed relevant static analyses to be sure
[x]  I've included appropriate tests with any code I've added (Unit, Integration, Acceptance etc.)
[x]  I've executed the acceptance test pack locally to ensure there are no functional regressions
[x]  I've added my code using logical, atomic commits, squashing as appropriate - including the JIRA issue number in the commit message
[x]  I've run a dependency check to ensure all dependencies are up to date

PR for acceptance tests which needs merging first: https://github.com/hmrc/off-payroll-acceptance-tests/pull/169

Applied a fix to the Back link due to a warning from Axe from inspecting the new page
In light of the Back link would it be worth while adding some test to check the presence of said link?


内部异常[BUG]

Bug 描述
简要描述您碰到的问题

系统环境:
Ehoney版本:
具体问题:

Bug 重现步骤
otice [If there is a coding problem during startup, Please install dos2unix and execute dos2unix quick-start.sh]
-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
-本次更新涉及数据库结构改变, 如果由老版本升级推荐删除文件夹/var/lib/ehoney-db-data
----Please select the IP address used by this machine---

0 <IP_ADDRESS>
1 <IP_ADDRESS>
Please select the IP address (serial number) to use: 1
The IP used by this machine is set to: <IP_ADDRESS>
上次元数据过期检查：0:55:19 前，执行于 2023年07月02日 星期日 14时46分56秒。
软件包 dos2unix-7.4.2-4.el9.x86_64 已安装。
依赖关系解决。
无需任何处理。
完毕！
dos2unix: 正在转换文件 /home/cent/Ehoney/configs/configs.toml 为Unix格式...
DB_Port: 3306
DB_User: root
DB_Database: sec_ehoneypot
DB_Password: Ehoney2021
[ start install soft [ gcc-c++ ]
[ start install soft [ kernel-devel-5.14.0-331.el9.x86_64 ]
docker version
docker.service is configured, skip!
docker version
docker service good
start deploying k3s >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
k3s is installed, skip!
end of k3s installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
start deploying falco >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
start setup falco
Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp [::1]:8080: connect: connection refused
falco pod not found, install falco!
find usr/bin result: /sbin:/bin:/usr/sbin:/usr/bin
"stable" already exists with the same configuration, skipping
"falcosecurity" already exists with the same configuration, skipping
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "stable" chart repository
...Successfully got an update from the "falcosecurity" chart repository
Update Complete. ⎈Happy Helming!⎈
Error: Kubernetes cluster unreachable: Get "https://<IP_ADDRESS>:6443/version?timeout=32s": dial tcp <IP_ADDRESS>:6443: connect: connection refused
259s/false/true/ /home/cent/Ehoney/tool/falco/values.yaml
260s/<IP_ADDRESS>/<IP_ADDRESS>/ /home/cent/Ehoney/tool/falco/values.yaml
Error: Kubernetes cluster unreachable: Get "https://<IP_ADDRESS>:6443/version?timeout=32s": dial tcp <IP_ADDRESS>:6443: connect: connection refused
end of falco installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
start installing the database container >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
ehoney-mysql
stop and rm docker container [ehoney-mysql]...
ehoney-mysql
ehoney-mysql
dos2unix: 正在转换文件 /home/cent/Ehoney/tool/mysql-docker/setup.sh 为Unix格式...
dos2unix: 正在转换文件 /home/cent/Ehoney/tool/mysql-docker/privileges.sql 为Unix格式...
[+] Building 2.3s (9/9) FINISHED
=> [internal] load build definition from Dockerfile                                                                                0.0s
=> => transferring dockerfile: 290B                                                                                0.0s
=> [internal] load .dockerignore                                                                                0.0s
=> => transferring context: 2B                                                                                0.0s
=> [internal] load metadata for docker.io/library/mysql:5.6                                                                             2.3s
=> [1/4] FROM docker.io/library/mysql:5.6@sha256:20575ecebe6216036d25dab5903808211f1e9ba63dc7825ac20cb975e34cfcae                       0.0s
=> [internal] load build context                                                                                0.0s
=> => transferring context: 1.01kB                                                                                0.0s
=> CACHED [2/4] COPY setup.sh /mysql/setup.sh                                                                                0.0s
=> CACHED [3/4] COPY schema.sql /mysql/schema.sql                                                                                0.0s
=> CACHED [4/4] COPY privileges.sql /mysql/privileges.sql                                                                               0.0s
=> exporting to image                                                                                0.0s
=> => exporting layers                                                                                0.0s
=> => writing image sha256:78793a24e918d274d59506383770181220a4dba3d28ebc563d3f62b35037e473                                             0.0s
=> => naming to docker.io/library/ehoney-mysql                                                                                0.0s
cf1c028bf1f3750d9a4685100da3c32abb191e62e0ae7fbd20321bc7534702ae
ehoney-mysql docker service start good
end of database container installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
start install ehoney server >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--------Start killing decept-defense process and its child processes---------
golang is installed, skip!
nohup: 重定向标准错误到标准输出
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100    46  100    46    0     0  46000      0 --:--:-- --:--:-- --:--:-- 46000
decept_defense service good
end of ehoney server installation >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

all the services are ready and happy to use!!!
please set the correct system time zone!!!!!!!!
please visit url: [ http://<IP_ADDRESS>:8082/decept-defense ]

i also same the problem with u did u fix it ?

老哥解决了吗

定位到是调度k3s部署蜜罐时出现的问题，我这边貌似是因为k3s还没起来，服务起来后等半个小时就能部署了。

定位到是调度k3s部署蜜罐时出现的问题，我这边貌似是因为k3s还没起来，服务起来后等半个小时就能部署了。

老哥K3s起不来是什么情况


[react-query] Respect typesPrefix

I noticed that typesPrefix was used for generated hook functions. That is not aligned with other plugins. Besides, that config entry should be applied by definition to types only, not to runtime things.

Thanks @FredyC . Can you please just rebase and i'll get this merged? :) thanks

@dotansimha Done


best strategy to handle named graphs in Neo4J

Do you have any suggestions what would be the best (most efficient) strategy to simulate named graphs in Neo4J? I was thinking to simply add a new property to all nodes and relations called 'graphName'. Is there a way to add this in the import time?

Hi Ali, that is a great question. Unfortunately, the current version of neosemantics does not support named graphs so it's not an option that can be passed as parameter.
It is however an interesting point that I add to the backlog,  both from the point of view of how to model it in a property graph and also to extend the RDF loading stored procs to support the ingestion.
Thanks,
And by all means feel free to contribute code if you have ideas. PRs are most welcome!
JB.


Should the "main" branch be "latest"

Quoting @henningkayser as this was his idea and I like it.

Google search is notoriously bad in figuring out what the latest content is, so it would keep pointing at Humble for years. With "main", this is not a problem anymore. Also, what do you think about "latest"?

Here are the steps for this:

Creating a latest branch from main with the same content
update branch settings in conf.py
add a redirect rule from main to latest to support existing links from old blog posts

The one I'm must unsure of how to do is the last one. I'm happy to include this in my current effort of preparing for world moveit day.

so.. I've looked into this a bit and haven't found a good way to do 301 redirects with Jekyll (this would have been the proper way). Most solutions use meta-refresh (jekyll-redirect, sphinx-redirect) which is really not a great as we would have to set all the redirect rules by hand for each directory, and SEO doesn't like it either. It's probably just not worth the effort.


Python module 'pyinstaller' wanted

The ticket ROBFW-169 is valid again.
I was able to install pyinstaller with pip on Windows and on Linux - without the problems mentioned in ROBFW-169.
Therefore I ask to add this Python module to the upcoming AIO distribution.

Hi Thong,
please look into this.
Thank you,
Thomas

Hi Thomas,
pyinstaller module was installed on AIO distribution at commit: c1ed4d2894991bf3c772f73f1e3151023f1921eb by Ngoan following log console on AIO
Build Linux package	Build	2023-08-18T12:46:06.8192927Z running install_scripts
Build Linux package	Build	2023-08-18T12:46:07.1550604Z 249 INFO: PyInstaller: 5.13.0
Build Linux package	Build	2023-08-18T12:46:07.1551675Z 249 INFO: Python: 3.9.2
Build Linux package	Build	2023-08-18T12:46:07.1578464Z 252 INFO: Platform: Linux-5.15.0-1042-azure-x86_64-with-glibc2.35
Build Linux package	Build	2023-08-18T12:46:07.1583114Z 252 INFO: wrote /home/runner/work/RobotFramework_AIO/robotframework-dbus/dbus_client_agent.spec
Build Linux package	Build	2023-08-18T12:46:07.2410572Z 335 INFO: UPX is available but is disabled on non-Windows due to known compatibility problems.
Build Linux package	Build	2023-08-18T12:46:07.2422332Z 336 INFO: Extending PYTHONPATH with paths

More details log, please refer here
This issues was resolved.  Please help me close this ticket.
Thank you and best regards,
Thong Hua

O.K. thank you for the analysis!


Advancing iterator in range loop invalidates previously dereferenced values for input iterators in C++

I have a user-defined class implementing C++ input iterator requirements. It skips an element in the beginning and prints last element twice when I iterate over it with Cython's range based loop. Looking into produced code, I realized iterator value is increased before the loop body gets executed. Incrementing is done right after dereferenced iterator value is copied into a temporary. However, incrementing the iterator invalidates previously dereferenced values for input iterators. In my case, it was trying to parse next node in a stream.
Here is a toy example for demonstration:
# distutils: language = c++

from cython.operator cimport dereference as deref, preincrement as preinc

cdef extern from *:
    """
    //#define PRINT() std::cout << __PRETTY_FUNCTION__ << std::endl
    #define PRINT()
    #include<iostream>
    struct CountDown {
        struct Iterator {
            CountDown* ptr;
            Iterator() = default;
            Iterator(CountDown* ptr) : ptr(ptr) {}
            Iterator& operator++() { PRINT(); ptr->count--; return *this; }
            Iterator& operator++(int) { PRINT(); ptr->count--; return *this; }
            const int* operator*() { return &ptr->count; }
            bool operator!=(const Iterator&) { PRINT(); return ptr->count > 0; }
        };
        int count;
        CountDown() = default;
        CountDown(int count) : count(count) {}
        Iterator begin() { PRINT(); return Iterator(this); }
        Iterator end() { PRINT(); return Iterator(); }
    };
    """
    cdef cppclass CountDown:
        cppclass Iterator:
            Iterator()
            Iterator operator++()
            Iterator operator++(int)
            const int* operator*()
            bint operator!=(Iterator)
        CountDown()
        CountDown(int count)
        Iterator begin()
        Iterator end()

cdef countdown_range():
    cdef CountDown cd = CountDown(5)
    cdef const int* num
    for num in cd:
        print(deref(num))

cdef countdown_expected():
    cdef CountDown cd = CountDown(5)
    cdef CountDown.Iterator it = cd.begin()
    while it != cd.end():
        print(deref(deref(it)))
        it = preinc(it)

print("Actual output:")
countdown_range()
print("Expected output:")
countdown_expected()

Output:
 ~/tmp/cyissue  python3 -c "import example"
Actual output:
4
3
2
1
0
Expected output:
5
4
3
2
1

Here is the related part in the produced code:
  /* "example.pyx":42
 *     cdef CountDown cd = CountDown(5)
 *     cdef const int* num
 *     for num in cd:             # <<<<<<<<<<<<<<
 *         print(deref(num))
 *
 */
  __pyx_t_1 = __pyx_v_cd.begin();
  for (;;) {
    if (!(__pyx_t_1 != __pyx_v_cd.end())) break;
    __pyx_t_2 = *__pyx_t_1;
    ++__pyx_t_1;
    __pyx_v_num = __pyx_t_2;

This isn't a crucial feature since it can be implemented without range-based loop as in the above example, yet this was quite surprising for me and it took some time to figure this out, so I decided to open this issue.

Below part is where this loop translation happens AFAICS:
https://github.com/cython/cython/blob/ac1c9fe47491d01fb80cdde3ccd3e61152a973c7/Cython/Compiler/Nodes.py#L6820-L6832
This translates  for s in seq: loop_body expression to something like:
it = iter(seq)
while True:
   s = next(it) or break loop
   loop_body

whereas correct interpretation for C++ should have been something like:
it = seq.begin()
while True:
   if it is seq.end() break loop
   s = *it
   loop_body
   ++it

So... It looks like this issue is caused by a subtle difference between semantics of python's next and C++'s iterators. In python next does what operator++ and operator* together do in C++. I'm not sure how this can be fixed (splitting NextNode into two pieces for C++? Perhaps introducing a ForNode to split C++ implementation altogether?). Given current implementation works fine for the vast majority of cases, it may not worth the effort though, but it may be useful to note this quirk somewhere in the documentation at least.

It turns out I misunderstood requirements of input iterator. It invalidates any copies of the iterator upon advancing it, not copies of values it points. value_type v = *it; it++; do_something_with(v); is perfectly valid. Hence, there is nothing wrong with cython's behavior. Closing this.


python311Packages.plexwebsocket: 0.0.13 -> 0.0.14

Diff: https://github.com/jjlawren/python-plexwebsocket/compare/v0.0.13...v0.0.14
Description of changes

Things done

Built on platform(s)

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

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

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 260158 run on x86_64-linux 1

7 packages built:

home-assistant-component-tests.cast
home-assistant-component-tests.plex
home-assistant-component-tests.sonos
python310Packages.plexwebsocket
python310Packages.plexwebsocket.dist
python311Packages.plexwebsocket
python311Packages.plexwebsocket.dist

Result of nixpkgs-review pr 260158 run on x86_64-linux 1

7 packages built:

home-assistant-component-tests.cast
home-assistant-component-tests.plex
home-assistant-component-tests.sonos
python310Packages.plexwebsocket
python310Packages.plexwebsocket.dist
python311Packages.plexwebsocket
python311Packages.plexwebsocket.dist


Revert Meson version bump to support Ubuntu 20.04

OpenSlide supports Meson down to 0.53, which is the version in Ubuntu 20.04.  OpenSlide disables libdicom's tests when falling back to the libdicom wrap, circumventing check's requirement for a newer Meson.
This reverts commit ec925f319136d74eadb8e4c2284511b4c4acda3f.

Ah OK. Yes, I was unsure about that change, but worried we shouldn't make check complain.


Implement 'rm' command to remove images

Should be noted that this command does not remove layers from cache. Is it okay?

dope i can add the cache :)


Add CITATION.cff file to repository

Github has a built-in support for citation. Can you please consider adding  CITATTION.cff file to your repository so we can easy cite your work?
Info:
https://citation-file-format.github.io/
https://twitter.com/natfriedman/status/1420122675813441540?lang=en

This might be slightly trickier than I had hoped. The CITATION.cff file requires a version parameter, which states "The version of the software". This would need to be updated for every release. It's not the end of the world, but it's not ideal either...

We already have to update the version in two places, so adding a third doesn't particularly bother me.