fft results are not always real

Greetings, Mika!
Thank you for implementing the FFT-based method to calculate Poisson Binomial distribution.  However, the fft does not always generate a real sequence. There may be some precision issues in this method. Could you please provide us with some suggestions to debug the problem?
Best,
Percy

I've also noticed this behavior. Here's an example:
PoiBin([0.0807254 , 0.00795338, 0.03428723, 0.90139239, 0.00823136]).pmf(0)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-394-e8543e44f2bf> in <module>()
----> 1 PoiBin([0.0807254 , 0.00795338, 0.03428723, 0.90139239, 0.00823136]).pmf(0)

~/poibin.py in __init__(self, probabilities)
     83         self.check_input_prob()
     84         self.omega = 2 * np.pi / (self.number_trials + 1)
---> 85         self.pmf_list = self.get_pmf_xi()
     86         self.cdf_list = self.get_cdf(self.pmf_list)
     87

~/poibin.py in get_pmf_xi(self)
    204             xi = xi.real
    205         else:
--> 206             raise TypeError("pmf / xi values have to be real.")
    207         xi += np.finfo(type(xi[0])).eps
    208         return xi

TypeError: pmf / xi values have to be real.

I think issue#3 is also closely related to this problem. @jgdwyer
Do you have any idea about this problem? Maybe the root is within the scipy.fftpack?

Dear all,
sorry for getting back to you so late, thank you for the feedback!
This is indeed a weird behavior and it could be a precision issue as @PercyLau suggested.
I tried to reproduce the example provided by @jgdwyer, but on my machine it seems to work out fine:
>>> from poibin import PoiBin
>>> PoiBin([0.0807254 , 0.00795338, 0.03428723, 0.90139239, 0.00823136]).pmf(0)
0.08612834873810515

Would you have another example in which you have encountered this problem?
Best,
Mika

Hi, Mika!
Could you please try this code?
import numpy as np from poibin import PoiBin a = np.hstack((np.zeros(500),np.ones(500))) b = PoiBin(a) print(b.pmf(10)) print(b.cdf(10))
Different python may behave differently. I have tried the newest python 2.7 and 3.4, and both give me the same error, e.i., TypeError: pmf / xi values have to be real. In contrast, Intel's python distribution  does not encounter this complex number issue otherwise b.cdf(10) is a negative number.
Best,
Percy

Hi Percy,
using Python 2.7.12 (not Intel) I get the same error.  Also when using a = np.ones(8), whereas values up to 8 work out fine.
My guess is that it has to do with the accumulation of imprecisions. Success probabilities p = 1 and p = 0 are limit cases and describe absolutely certain and impossible events. For definitions of a as above, the number of successful trials would be certain from the outset and using the Poisson Binomial may not be the best choice. In general, if the input vector contains uniform probabilities, the Poisson Binomial will reduce to the Binomial distribution. Maybe it would make sense to implement a check for these cases?
I had a quick look at the R package written by Hong to see how these cases are handled. Looks like there are some checks to avoid truncation errors in the Fourier transform.
It is curious though that Intel Python version doesn't encounter the same problem...

I have tried to remove the limit cases where success probabilities are ones or zeros. However, this issue still exists but rarely happen. Could you please tell me where the checks in Hong's R code? I am totally fresh to R. Thank you very much.

Supposed we had some checks to find truncation errors in the FFT, the precision issue may still exist? Am I right? Maybe this method has a scalability issue...

Hi everyone,
I also found this error while using the module.  I add a probability equal to one everytime the original module fails to initialize, and then I take into account that dummies probabilities, to get the values of the original distribution.
def __init__(self, probabilities):
    self.probabilities = np.array(probabilities)
    self.number_trials = self.probabilities.size
    self.count_plus_one = 0
    init_ok = False
    while (not init_ok):
        try:
            to_append = np.ones((self.count_plus_one))
            self.poibin = PoiBin(np.append(probabilities, to_append))
            init_ok = True
        except:
            self.count_plus_one = self.count_plus_one + 1

def pmf(self, number_successes):
    return self.poibin.pmf(number_successes + self.count_plus_one)

def cdf(self, number_successes):
    return self.poibin.cdf(number_successes + self.count_plus_one)

I know its not the best solution, but it works. @tsakim maybe I could create a pull request to implement this in the original module?

@tsakim @maxi-marufo
The error arises because of a check which in place to make sure that all the x_i values are real. This is done by the function check_xi_are_real() on line 261 of poibin.py. Due to instability in FFT, the imaginary parts don't turn out to be exactly 0. To ensure that these imaginary parts are indeed small, the following check has been placed in code:
xi_values.imag <= np.finfo(float).eps
On my machine, the value of eps turns out to be 2.220446049250313e-16
It turns out, this value is not enough to account for the instability in FFT. Increasing this slightly up to 1e-15 solves this problem.
I feel that making this change is a practical solution to the problem and will still not hurt accuracy.
I have created a PR. I hope @tsakim can verify it and accept the merge.


feat: Updated to the new AI PR description endpoint

What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[x] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[ ] 📦 Chore (Release)
[ ] ⏩ Revert

Description

This PR updates the AI PR description feature to use the new https://api.opensauced.pizza/v1/prs/description/generate endpoint.
The AI description page of the extension dropdown has been updated and the OpenAI token input has been removed.
The Description config types have been updated to reflect the new changes.
A new function
https://github.com/open-sauced/ai/blob/a5b7cddeec0d26e226aefcffd14e993dbb3b0b9b/src/utils/aiprdescription/cursorPositionInsert.ts#L2
has been added to emulate the typewriter effect from a string rather than a stream, since that's response from the API endpoint. The older function has been retained for future use.

Related Tickets & Documents
Resolves #85.
Mobile & Desktop Screenshots/Recordings

Added tests?

[ ] 👍 yes
[x] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help

Added to documentation?

[ ] 📜 README.md
[x] 📓 docs.opensauced.pizza
[ ] 🍕 dev.to/opensauced
[ ] 📕 storybook
[ ] 🙅 no documentation needed

I prefer "generated by OpenSauced"
"Content" is already vague and at least we can allure the reader to click the link.

Can we turn (power button) on the AI feature by default. We are hiding the feature by default and we should let them turn it off if needed.

Done. bc0f4a94af208dcf0d7eb3ab5ec61f3f5eb51e61.


Create impersonation_expensify.yml

Description
Recent increase in Expensify impersonation.
Associated samples

https://platform.sublime.security/messages/2beab4d019a0bc277b922b82672237c34e9cc0a689305f54dee7bdc0ce6b03e9

Associated hunts

https://platform.sublime.security/hunts/9f7dfdb2-70be-4113-b63a-d53f86860978

/update-test-rules

/update-test-rules


Android OS library

Request
I want to try using CLP on Android，for compressing log on Android
Possible implementation
provide a library like jar，or program for android 64bit os. tks

Thanks for the request. Could you share more details about your use case? Specifically:

Do you care more about compression efficiency (i.e., memory usage, speed), or compression ratio?
What's the use case of the logs? Are they being searched? Or mostly viewed on a per-file basis in a text editor?
Do you need any real-time alerting during compression (e.g., generate an alert if a certain pattern is encountered)?

We ask because we could have different designs of the compression library that explore different trade-offs.
We are happy to schedule a meeting to discuss further.

The current moderate increase in memory and CPU is acceptable, and how much can the compression ratio be improved?

I Have same need as well.
FOR ME

I care more about compression ratio
Logs are generally used for search and for developers to view and analyze textual data
I do not need any real-time alerting during compression

@diy1  like @chengquanzhao  said

I hope low memory and low cpu costs ,higher compression ratio is perfect.Because I need low-power consumption and saving more logs on devices.
I want searching log,
I don't care about any real-time alerting during compression.
tks.

How about we package CLP's compression into a logging library that provides the same APIs as the Android's standard logging libraries (android.util.Log)? That way app developers only need to import our logging library without changing the actual logging statements.
Ideally we’d implement CLP's compression as a plugin for the logging library, like what we did for Python, Go, and Log4j which were deployed at Uber. In those cases, applications don't even need to change the import, but it looks like ART's logging library doesn't support plugins (so we can't do it unless you're building Android yourself).
Or are you trying to compress raw log files that are already generated (which requires CLP as a standalone tool)?
A bit more background:
CLP started as a standalone tool that takes raw log files as input, compresses them into a compressed format that we call archive, and then the archives can be searched without full decompression. The compression ratio of CLP archives is about 2x compared to directly compressing logs using Gzip or Zstandard.
But one issue with CLP is that compression requires hundreds of MBs of memory (in order for it to buffer enough parsed logs before compressing them into a columnar format). This overhead may not be acceptable for resource-constrained environments, so we developed a new real-time, resource-efficient compression. It uses a streaming compression protocol to compress the logs into an intermediate format (IR) without any buffering—this streaming compression is what we implemented in the logging libraries mentioned above. The IR can later be aggregated into archives by CLP. The architecture is shown below.

The compressed IR (IR for short) has the following advantages over directly compressing logs using general-purpose compressors:

IR achieves moderate better compression compared to general purpose compressors (15% higher).

More importantly, the logs are parsed before being compressed into IR—it recognizes different fields like timestamp, verbosity, static text and variables. Logs in the IR form can be viewed by our log viewer, which provides log-specific support such as filtering by timestamp, verbosity, and hiding certain log types (static text).

We provide tools to "grep" through the IR for search.

Compressing IR into CLP archives is much faster than compressing raw log files, because the logs are already parsed.

So if we built an Android logging library that outputs compressed IR, you could use it to compress logs directly from your apps. Then, you could view those compressed logs in our log viewer, further compress them using CLP, and also search them using CLP.

Yeap，I am trying to compress logs on AOSP for my phone as a test.
If possible, I hope that the CPL library can be migrated to more Android based embedded devices.

hi diy，
Can you tell me your contact information? I would like to chat with you

Please contact us at<EMAIL_ADDRESS>


Only forward bytes on removal when we know we can handle it

Motivation:
398b950eeedb8215bfdafdc07ebf92a7e0722980 introduced a change which forwarded bytes that were buffered in HTTPDecoder after it was removed when an upgrade was detected. This may be risky if we dont know that the pipeline can handle it.
Modifications:

Add new initializer that allow us to configure if we should forward bytes or not.
Automatically use this if we know that we added an upgrader
Add unit tests.


Deleting imported Cert

Is it possible to delete (not just deactivate) an imported certificate? I can't find any way to do it, and can't find anything about it in the documentation.

There is no way to delete a certificate, the thought process behind that is once a certificate is issued you cannot un-issue the certificate and we didn't want a way to loose track of a certificate.


Mouse icon offset from mouse in Storybook

I am using rlayers alongside Storybook, and when I load the component in the storybook page, the mouse icon is offset from the actual mouse pointer location based on its distance from the top left corner of the map.
Two examples:

I am using RInteractions.RDraw to draw on this map, and the drawing functionality is working as expected except that the drawing begins where the blue circle icon is, not where the mouse pointer is. This functionality is also working as expected in a normal create-react-app setting outside of Storybook.
This is my component:
const Map = () => {

  const mapRef = useRef({} as RMap)
  return (
    <RMap
      className='example-map'
      width="200vw"
      height="100vw"
      initial={{ center: fromLonLat([-105.084629, 40.4357083]), zoom: 20 }}
      ref={mapRef}
    >
      <RLayerTile
        properties={{ label: 'Google Maps' }}
        url='http://mt1.google.com/vt/lyrs=s&x={x}&y={y}&z={z}'
        attributions=''
      />
      <RLayerVector>
        {/* This is the style used for the drawn polygons */}
        <RStyle.RStyle>
          <RStyle.RStroke color='#0000ff' width={3} />
          <RStyle.RFill color='rgba(0, 0, 0, 0.75)' />
        </RStyle.RStyle>
        <RInteraction.RDraw

          type="Polygon"
          condition={altKeyOnly}
          freehandCondition={shiftKeyOnly}
        />
      </RLayerVector>
      <RLayerVector />
    </RMap>
  )
}

I understand if the scope of this issue is outside of the responsibility of the app, but I thought I'd at least bring it to the developer's attention.

Storybook probably has some CSS transformation such as scale. There isn't much that can be done about it - try to keep the map canvas outside of this transformation.

I wasn't able to solve this issue, but rendering the component in my app fixed the issue. I also noticed that there was no problem when the component was added to new project and put into storybook. The problem is probably some library or hardware issue that I'm not able to discover. Sorry for whoever finds this in the future looking for a solution, I don't have it.


Assign a rhtap namespace for every devfile to avoid ArgoCD when delete applications

What does this PR do?:
Summarize the changes. Are any stacks or samples added or updated?
Which issue(s) this PR fixes:
Link to github issue(s)
PR acceptance criteria:

[ ] Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
[ ] Test automation
Does this repository's tests pass with your changes?
[ ] Documentation
Does any documentation need to be updated with your changes?
[ ] Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

How to test changes / Special notes to the reviewer:

/ok-to-test

Documentation
Does any documentation need to be updated with your changes?

N/A

Contributing guide
Have you read the devfile registry contributing guide and followed its instructions?
Test automation
Does this repository's tests pass with your changes?

Check Tools Provider
Have you tested the changes with existing tools, i.e. Odo, Che, Console? (See devfile registry contributing guide on how to test changes)

These should be checked off, only tool effected should be RHTAP.


Bugs in neuron.py

I was just trying to test the mlp_example.py . It was supposed  to be easy but ... when the program try to import pysnn/neuron.py at the beginning  of itself, it raised "ValueError(f"Unsupported trace type {update_type}")". It looks like this:
Traceback (most recent call last):
File "mlp_example.py", line 9, in
import pysnn.neuron
File "/home/hewh16/.local/lib/python3.5/site-packages/pysnn/neuron.py", line 57
raise ValueError(f"Unsupported trace type {update_type}")
^
SyntaxError: invalid syntax
However, in neuron.py, the update_type is already defined to be "linear". So it confused me a lot.  Thanks :)

This has to do with the version of Python you’re using, which should be 3.6 or above

Agreed, will make the adjustment in the readme and possibly in the setup.py file. Also closing the issue with that.

Thanks a lot! :)

On Oct 30, 2019, at 12:28 AM, Jesse<EMAIL_ADDRESS>wrote:
This has to do with the version of Python you’re using, which should be 3.6 or above
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/BasBuller/PySNN/issues/16?email_source=notifications&email_token=AKJDV5XYNFMEIM3AWPN4FLTQRBQB5A5CNFSM4JGLSAOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECRFUHA#issuecomment-547510812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKJDV5QCZWPQWMMTJUSX3NDQRBQB5ANCNFSM4JGLSAOA.


Examples not work?

I tried to use stream video example:
var WebTorrent = require('webtorrent')

var client = new WebTorrent()
var magnetUri = 'magnet:?xt=urn:btih:d2474e86c95b19b8bcfdb92bc12c9d44667cfa36'

client.add(magnetUri, function (torrent) {
  // Got torrent metadata!
  console.log('Torrent info hash:', torrent.infoHash)

  // Let's say the first file is a webm (vp8) or mp4 (h264) video...
  var file = torrent.files[0]

  // Create a video element
  var video = document.createElement('video')
  video.controls = true
  document.body.appendChild(video)

  // Stream the video into the video tag
  file.createReadStream().pipe(video)
})

but callback never execute. What's wrong?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11882992-examples-not-work?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F298985&utm_medium=issues&utm_source=github).

Please see: https://github.com/feross/webtorrent/wiki/FAQ#why-does-browser-downloading-not-work

Thanks!


Fix a hang for Pandas UDFs on DB 13.3[databricks]

fix #9493
The python runner uses two separate threads to write and read data with Python processes, however on DB13.3, it becomes single-threaded, which means reading and writing run on the same thread.
Now the first reading is always ahead of the first writing. But the original BatchQueue will wait on the first reading until the first writing is done. Then it will wait forever.
Change made:

Update the BatchQueue to support asking for a batch instead of waiting unitl one is inserted into the queue. This can eliminate the order requirement of reading and writing.
Introduce a new iterator named PeekListenerIterator to work with the new BatchQueue to support rows number peek on demand for the reading.
Apply this new BatchQueue to relevant plans.
Update GpuArrowPythonRunner to support writing one batch one time for the singled-threaded model.
Found an issue about PythonUDAF and RunningWindoFunctionExec, it may be a bug specific to DB 13.3, and add a test (test_window_aggregate_udf_on_cpu) for it.
Other small refactors

build

build

build

build

build

build

build

@revans2 Could you take a look again ?

retarget to 24.02

build


Autocuts  handles drifting pretrigger RMS poorly

Original report by Dan Becker (Bitbucket: danbek, GitHub: danbek).

I have some umux data where the pretrigger RMS is drifting during a data aquisition. I don't understand why this is happening, but it can cause autocuts to choose an upper bound for p_pretrigger_rms that excludes a large fraction of pulses.
Some example data that demonstrates this issue:
687kpac:/data/umux/2017/sep15/20170915_234416_chan5.noi
687kpac:/data/umux/2017/sep15/20170915_234954_chan5.ljh

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

As a work-around, I've added a new parameter to the the auto_cuts() call chain, pretrig_rms_percentile:
            pretrig_rms_percentile (float): Make upper limit for
                pretrig_rms at least as large as this percentile of the data. I.e.,
                if you pass in 99, then the upper limit for pretrig_rms will exclude
                no more than the 1 % largest values. This number is a percentage, *not*
                a fraction.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

Better docstring for pretrig_rms_percentile parameter to auto-cuts
See issue #131, pull request #34.

Original comment by Dan Becker (Bitbucket: danbek, GitHub: danbek).

In auto_cuts, support setting max pretrig_rms as percentile
See Issue #131 for the motivation for this change


gRPC get endpoint

Overview

What this PR does / why we need it

Special notes for your reviewer
Does this PR introduce a user-facing change?

This has been merged upstream so an upcoming rebase will pull it in 👍🏻


Stop using dashes in check name to see if it helps.

It seems that status checks completion events are missed. There is a
theory that dashes are involved.

Looks like it didn't work 😞
From build
[Pipeline] End of Pipeline
GitHub has been notified of this commit’s build result
Finished: SUCCESS

Hm, the last GH update call in the log does mention PENDING. Perhaps the final SUCCESS call is somehow internally tacked onto the last push step, but we're skipping that, so that never gets called. Let my try something else.

Closing in favor of https://github.com/mesosphere/dcos-commons/pull/3097


Update example and add docs

Update example to null safety with new firebase plugins and standards

Ready to merge


Updated spec naming scheme

What does this PR do?
Updated the names of some operation id's based on feedback from @jonahx
What ticket does this PR close?
Resolves #129
Relates to cyberark/conjur#[Relevant conjur issue number]
Checklists
Change log

[ ] The CHANGELOG has been updated, or
[ ] This PR does not include user-facing changes and doesn't require a CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR, and/or there is a follow-on issue to update docs, or
[ ] This PR does not require updating any documentation

@izgeri I think that we should try to keep the operation names unique, but try to overall minimize redundancy. So operation names that would be just show or get should have the noun attached to them, but in all other places if a more fitting non-redundant operation name can be attached we should leave the noun out. Looking through the current names I don't think it will create any truly confusing methods (except the ones just called get or show they all still make sense without the class name attached) and it will still minimize redundancy in languages where it matters.
So in the secrets endpoint get becomes getSecret and in the resources endpoint show becomes showResource, but the other method names stay the same

I met with @alexkalish yesterday and reviewed the state of this PR. We agreed that since:

the OpenAPI standard  has a constraint that no two paths can use the same operatorID
the operatorID values are used as anchors in generated documentation
we may eventually want to add other routes that naturally would use the verb show, and the current draft PR will make this more difficult

We'd like to change this PR so that all methods are explicit about the noun they are changing.
This means that:

The policy paths become loadPolicy, updatePolicy, and replacePolicy
The public keys path becomes showPublicKeys (showKeys is too generic)
The resources paths become showResourcesForAllAccounts, showResourcesForAccount, showResourcesForKind, and showResource
The role paths become showRole, addMemberToRole, removeMemberFromRole

As a side note, these last two paths are hard to understand from a consumer. I wonder if we should consider (in the future?) having some hardcoded paths for when kind is group and layer so you can addMemberToGroup and removeMemberFromGroup using a client, etc

The secrets paths become createSecret, getSecret, and getSecrets
The status paths become getServiceAuthenticatorStatus, getGCPAuthenticatorStatus, and getAuthenticators

Please lmk if you have any questions.


Added debug info for package version issue to Sphinx build

Note: This PR is on top of PR #40.
For details, see the commit message.
Ready for review and merge.

Coverage remained the same at 41.185% when pulling 490f20ed0ef5674ee05450d317ea8a20ba5e7a20 on andy/debug-builddoc-version into 1bcce405bdd35e4f32d08717df3468fe6e633ada on master.


Null derefernce guard in rcc read

Small refactor of the RCC xml read code that adds in some basic guards so things aren't crashy if a user decides to make changes in a save game file.

I like the organization on this one.


Remove dependency on anytree

The code currently has a hard dependency on the anytree library, which it uses primarily to implement the actual .parent & .children structure of the TreeNode class, through inheritance from anytree.NodeMixin.
We don't need this dependency - anytree is not a big project, and we can simply reimplement the classes we need within this project instead. We should give due credit in the code because anytree has an Apache 2.0 license (plus Scout's honor).
Reimplementing anytree's functionality would also allow us to change various parts of it. For example we don't need support for python 2, we can standardize the error types (e.g. to return KeyError instead of e.g. anytree.ResolverError), and get rid of the mis-spelled .anchestors property. We shouldn't need to worry about breaking the code because the tree functionality is already covered by the unit tests in test_treenode.py.

I think that for the __slots__ defined in DatasetArithmetic and other places in xarray to work then the whole chain of subclasses must define slots, but anytree.NodeMixin does not define it. Unless we can monkey-patch __slots__ onto anytree.NodeMixin then this would be another benefit of re-implementing NodeMixin ourselves.

Closed by #76


NextGen Software UK - the Our World - Next Gen World projects

https://circles.threefold.me/project/kristine-tf-foundation_ecosystem_partnerships/us/437?kanban-status=736
The "Our World / The OASIS" project (ourworldthegame.com)
WELCOME TO THE FUTURE
Let us introduce you to Our World, the game that will change the world. As well as helping to make the world a better place, this game will be pushing the boundaries of what is currently possible with technology. It will feature augmented reality, virtual reality, motion detection, voice recognition and real-time emotional feedback. Plus a lot more! It will use technology in ways that has not been done before and in areas where it has been done; it will innovate and take it to the next level...
The software industry has a morale & social responsibility to use technology to help create a better world rather than lead to further decline. It has the power to transform lives through engaging people with innovative products that help them to grow and develop. Recent popular examples include health apps, mindfulness apps and mind training games.
We wish to take this to the next level and help make the world a better place by using technology for good, by bringing people together and to support, guide and educate everyone on how we can all live happier, fulfilling lives and at the same time how we can help save our planet.
We will do this by creating a suite of nextgen apps & games using the latest cutting-edge technology such as Virtual Reality, Augmented Reality, Real-time emotional feedback, face/voice recognition, motion detection and so much more.
Our World is an exciting immersive next generation 3D XR/IR (Infinite Reality) educational game/platform/social network/ecosystem teaching people on how to look after themselves, each other and the planet using the latest cutting-edge technology. It teaches people the importance of real-life face to face connections with human beings and encourages them to get out into nature using Augmented Reality similar to Pokémon Go but on a much more evolved scale. This is our flagship product and is our top priority due to the massive positive impact it will make upon the world...
It is the XR/IR Gamification layer of the new interplanetary operating system & the new internet (Web 3.0), which is being built by the elite technical wizards stationed around the world. This will one day replace the current tech giants such as Google, Facebook, etc and act as the technical layer of the New Earth, which is birthing now.  Unlike the current tech giants who's only aim is to ruthlessly maximize profits at the expense of people and the planet (as well as spying, exploitation, censorship & social engineering), our technology is based on true love & unity consciousness where money and profits are not our aim or intention, our aim and intention is to heal the entire planet & human race so we can all live in harmony with each other.  It is a 5th dimensional and ascension training platform, teaching people vital life lessons as well as acting as a real-time simulation of the real world.
github.com/NextGenSoftwareUK/Our-World-OASIS-API-HoloNET-HoloUnity-And-.NET-HDK
drive.google.com/file/d/1nnhGpXcprr6kota1Y85HDDKsBfJHN6sn/view?usp=drivesdk
Contact: David Ellams
Telegram: @davidellams
Mobile: +44 7925 283223

Partner-Questionaire.docx
As requested by Sacha - there are still some items to clarify with David


[Snyk] Security upgrade storybook from 8.2.9 to 8.3.0

Snyk has created this PR to fix 6 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):

package.json
package-lock.json

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-PATHTOREGEXP-7925106
  738

Asymmetric Resource Consumption (Amplification) SNYK-JS-BODYPARSER-7926860
  696

Missing Release of Resource after Effective Lifetime SNYK-JS-INFLIGHT-6095116
  631

Cross-site Scripting SNYK-JS-EXPRESS-7926867
  541

Cross-site Scripting SNYK-JS-SEND-7926862
  391

Cross-site Scripting SNYK-JS-SERVESTATIC-7926865
  391

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Cross-site Scripting
🦉 Regular Expression Denial of Service (ReDoS)

Fixed in #374.


Add clearance to case for encoder and screw holes.

Changes

Add 0.4mm clearance around the opening of the screw holes
1.6mm clearance around encoder in the Y direction for the "bumps"

Notes

To make the screw holes print well I increased the radius of wider hole in the countersink, but didn't change the height. The angle isn't 45° anymore, however I believe the effect from the mismatched angle is better than the effect of changing the height.
The clearance around the encoder isn't symmetrical in practice, but in the model I assume it is. It should work fine, but may have the slightest gap between the case and the encoder body.

Thank you, I think this fixes #109


HCSR04 getDistance stuck in infinite loop.

I have been working with the hcsr04 ultrasonic sensor with the Intel Edison and have recently had some issues with calls to the getDistance function blocking indefinitely.  Specifically, execution is halting at the following point:
while (!m_doWork) {
        usleep (5);
    }

So m_doWork is never changing from zero and the execution never passes this point.  The issue was fixed briefly after replacing the sensor, but now I am seeing the same behavior.  This is my first time submitting an issue, so forgive me if I am doing something incorrectly.  Please let me know how I can improve future submissions.  Additionally, I can provide a stack trace if it will be helpful.
Thanks,
JJ

Hi JJ,
Try using the groveultrasonic library instead. Functionality is nearly the same but that driver will time-out in case it doesn't get a reply from the sensor instead of getting stuck. We plan to merge the two drivers in a future version.


redirect https to http

I have a special use case where I require HTTPS to be redirected to HTTP without displaying any missing certificate errors. Would this be possible?

I only need it for certain domains


Trying to trackdown mystery iob

A probably throw away branch with a test:
https://github.com/openaps/oref0/compare/dev...jasoncalabrese:wip/mystery-iob
Test with what I think is the exact pump history doesn't produce the same result, but somehow the bolus snooze of 0.005226074186666674 matches exactly.

IOB 0.04
2015-12-16T15:02:44-08:00
Tree: https://github.com/jasoncalabrese/indy/tree/f04d3b041086e7e0f45492e0320b9d788676fb84
IOB Result: https://raw.githubusercontent.com/jasoncalabrese/indy/f04d3b041086e7e0f45492e0320b9d788676fb84/predict/iob.json
Pump History: https://raw.githubusercontent.com/jasoncalabrese/indy/f04d3b041086e7e0f45492e0320b9d788676fb84/monitor/pump-history-zoned.json

IOB 0.80
2015-12-16T15:07:43-08:00
Tree: https://github.com/jasoncalabrese/indy/tree/daa04a8417d3875fd9cb18be90227e99bcf56f63
IOB Result: https://raw.githubusercontent.com/jasoncalabrese/indy/daa04a8417d3875fd9cb18be90227e99bcf56f63/predict/iob.json
Pump History: https://raw.githubusercontent.com/jasoncalabrese/indy/daa04a8417d3875fd9cb18be90227e99bcf56f63/monitor/pump-history-zoned.json

The IOB I'm seeing when running the test is
IOB: 0.197 vs 0.04
and
IOB: 0.177 vs 0.80

Updated test to use the correct profile and now can reproduce the same results, but can't explain the result.

Comparing https://raw.githubusercontent.com/jasoncalabrese/indy/f04d3b041086e7e0f45492e0320b9d788676fb84/monitor/pump-history-zoned.json to https://raw.githubusercontent.com/jasoncalabrese/indy/daa04a8417d3875fd9cb18be90227e99bcf56f63/monitor/pump-history-zoned.json
The diff is 1 recently started low temp to 0:
@@ -1,6 +1,25 @@
 [
   {
     "_type": "TempBasalDuration",
+    "_description": "TempBasalDuration 2015-12-16T15:06:45 head[2], body[0] op[0x16]",
+    "timestamp": "2015-12-16T15:06:45-08:00",
+    "_body": "",
+    "_head": "1601",
+    "duration (min)": 30,
+    "_date": "ed060f500f"
+  },
+  {
+    "_type": "TempBasal",
+    "temp": "absolute",
+    "_description": "TempBasal 2015-12-16T15:06:45 head[2], body[1] op[0x33]",
+    "timestamp": "2015-12-16T15:06:45-08:00",
+    "_body": "00",
+    "_head": "3300",
+    "rate": 0.0,
+    "_date": "ed060f500f"
+  },
+  {
+    "_type": "TempBasalDuration",
     "_description": "TempBasalDuration 2015-12-16T15:01:42 head[2], body[0] op[0x16]",
     "timestamp": "2015-12-16T15:01:42-08:00",
     "_body": "",


Info Sheets - Download 404 Issues

Download Links 404ing on many of the Info Sheet pages (about half of the ones I checked).
Examples below:
o	https://main--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/5-strategies-for-staying-secure-through-the-holidays
o	https://main--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/common-areas-of-risk-in-the-hospitality-industry
o	https://main--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/establishing-a-clean-desk-policy
o	https://main--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/glba-safeguards-rule-overview-how-shred-it-can-help
o	https://main--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/establishing-a-clean-desk-policy

@MarquiseRosier still getting a 404 on all these asset downloads

@colinvlasak Its not reproducible on the pages which you have mentioned. Can you please check once

@jindaliiita links looks to be working now! Can we set all downloads to open in a new tab?

@colinvlasak should be fixed at https://quick-fixes--shredit--stericycle.aem.live/en-us/resource-center/info-sheets/common-areas-of-risk-in-the-hospitality-industry

@MarquiseRosier looks like that works. Will these files be linked to the dam once moved up to main environment?


Rerender

Checklist

[ x] Used a personal fork of the feedstock to propose changes
[ x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Rerenders the feestock.  This is an attempt to get a new build that depends on a newer version of xorg-libx11.

This looks good, but for posterity, can you please write a couple of sentences about the motivation for the rerender here?

LIGO is updating a single conda environment that depends on the latest version of the "root_base" package.
"root_base" has moved on to newer version of xorg-libx11.  This is causing conflicts with a number of other packages in the environment that are built against older versions, including "xorg-libxp".   In every case so far, a re-render of the other packages has been enough to get a compatible build.

To be clear, the only manual change I made was to the build number.  All other changes are from the re-render.

Great, thanks for explaining!


Issue 4388 - Don't draw pulse Schedule name by default when plotting

…autogenerated title

Summary
Fixes #4388
Details and comments
Pulse schedule names are automatically generated, useless & drawn by default.
Added draw_title boolean with default value False
so only if draw_title is passed with value true, plot will have title.

Parent class qiskit-terra/qiskit/pulse/pulse_lib/Pulse

Schedule,ParametricPulse, SamplePulse are changed to be ready for new parameter

visualization.pulse_drawer is used to redirect matplotlib drawer SamplePulse & Schedule so it changed to accept new parameter.

at the end matplotlib class that contains ScheduleDrawer, SamplePulseDrawer modified to set plot title empty if draw_title is false.

Comments are updated each file contain method call.
following commands are run before pushing:
make style
make lint
make test

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

Looks good! One comment for the option name draw_title. We can change this to title because other parameter names are label, table, etc... and no explicit draw before the option.

updated draw_title to title

Looks good! One comment for the option name draw_title. We can change this to title because other parameter names are label, table, etc... and no explicit draw before the option.

I wonder if this is the right choice? The other flags do not conceivably need to be custom set. The title is currently implicitly the name of the Schedule. I could see the user wanting to override this. On the other hand, the user could always add a title to the plot manually if they disable it from being added. I'm fine with either decision @nkanazawa1989

@taalexander That's a good point. If we want to add draw_ to this, we need to update rest of option names. So reverting e50009e and making an another issue to update other option names?

I'm not sure if we need to change the other names as it is less likely we need to change these?

You guys tell me which direction should I go & I will follow, Also you can mention me other issues to solve if you wanted

@SeifMostafa Thanks. Let's use draw_title for now and see the feedback of users.

Resolved. I forgot calling with parameter in sample_pulse & parametric_pulses but was fixed in previous commit so I don't need reverting but adding new commit to revert title --> draw_title.
All should be good now.

Thank you! I think it's ready to go.

Thanks @SeifMostafa for the fix! Do you mind having a look to the merging conflicts? Merged as soon as the are solved!

resolved

Can we get the failing tests updated and then we can go ahead with a merge?

any pending on me?
tried to pull and do tests but it seems other changes committed with other imports and test result failed to reach 10/10 without searching and import those to solve errors.

Seems like imports have changed and are causing conflicts. I am ok to merge upon passing tests.

ping @SeifMostafa

I'm closing this PR as stalled. Please, @SeifMostafa reopen if you are back! (check #4388 first, just in case)

Hello,
sorry for being late. Any hints please to remember what's required please
Would you like to set enhancement4388 changes on master and retest & submit new PR?
Thanks

Hi! Welcome back!

sorry for being late.

No worries.

Any hints please to remember what's required please

I'm reopening. You can rebase and I think that would make it. Right @taalexander ?

rebase is challenged. 14 commits due changing parameter name many times. too many outdated codes. In my opinion, new, clear PR with clean, new branch to add draw_title boolean flag is good? Do you recommend that?

Sure! as you prefer.


Add typings for weeks on DurationInputObject

Fixes #3702
This bug was shadowed by a weird Typing bug:
When you initialize the moment.duration object, DurationInputArg1 could be a Duration object. Since the Duration object has a weeks attribute (more precisely, a method), the type weeks is allowed within the constructor. This should not happen (i.e. Duration objects should only be allowed if they are full Duration objects).

Merged in 238929d93477401f5604f3692801312b759e117b


BFV sec parameter and serialized ciphertext size

Hi,
I have three questions.
Pyfhel version 3.2.1

Why is the security level not set to 256 here? The same happens when I try sec=192 and different values on other parameters.

from Pyfhel import Pyfhel
HE = Pyfhel()
HE.contextGen(scheme='BFV', n=2**14, t_bits=20, sec=256)
print(HE)
>>> <bfv Pyfhel obj at 0x7f384edcb550, [pk:-, sk:-, rtk:-, rlk:-, contx(n=16384, t=786433, sec=128, qi=[], scale=1.0, )]>
print(HE.sec)
>>> 128

What determines the serialized ciphertext sizes? Why 32873 in the example below?

import numpy as np
from Pyfhel import Pyfhel
HE = Pyfhel()
HE.contextGen(scheme='BFV', n=2**11, t_bits=20, sec=128)
HE.keyGen()

a = np.array([10, 20, 30], dtype=np.int16)
c = HE.encrypt(a)
c_bytes = c.to_bytes()
print(len(c_bytes))
>>> 32873

What are the downsides of using larger t_bits?

That certainly looks like a bug, good catch!
The ciphertext is made up of two polynomials, each of which has n=2**11 coefficients, each of which is log2(q) bits wide.  So there's about 2**18 bits in there if you were to naively serialize. In practice, SEAL does several things, such as using the fact that while the ciphertext is indistinguishable from random in the mathematical structure it exists in, the binary representation has lots of redundancy and so they use compression. They can also sometimes store a seed that generates the second polynomial instead of the full polynomial. So the serialization size might be significantly smaller than the size one would expect.
A larger plaintext modulus requires a larger ciphertext modulus (the q I mentioned before), so to get the same security, you might have to use larger parameters which slows down operations.

Thanks for the explanation, much appreciated.
Is there a way to determine or print the ciphertext modulus q? Based on the parameters, you say that q < 2**6? Why 6? And why not equals?
From my understanding, it is based on the homomorphic encryption standard, but the standard lists much larger log2(q)?

Yes, my guess for q was based on the fact that for N=2*11, sec=128bit, Table 2 gives a max log(q) of only 53 bits. That's also why it's a "less than". I think there should be a way to query Pyfhel for the q that was chosen, but let me ping @ibarrond for that :)

@AlexanderViand, thanks.
I think HE.total_coeff_modulus_bit_count in Pyfhel should give q. When testing different values and comparing to the standard, I think Pyfhel uses Table 1 with distribution (-1, 1).
But the math does still not add up (at least for me at this time). Using N=2**11, sec=128 results in q=54 (not 53). If one would naively serialize, we would get (2**11)*54*2 = 221184 bits = 27648 bytes. However, using the serialization .to_bytes() with these parameters gives 32873 bytes (as per the code above).
The following adds up more, but assumes q=64.
(2**11)*64*2 = (2**18) = 262144 bits = 32768 bytes ~= 32873 serialized bytes
Note that my confusion not only occurs with N=2**11, sec=128, but with other parameters (and other q) as well. It seems like N=2**10 and to_bytes() gives 16489 bytes, while N=2**10 and to_bytes() results in 32873 bytes, regardless of the sec parameter and chosen q. Here it looks like the q is always set to 64?

It seems like to_bytes does things naively, without the serialization optimizations. Maybe it's because Pyfhel's version of SEAL is compiled without the compression library they use?
The "always 64 bits" thing seems easier to explain: SEAL's internal representation uses standard-sized types (like uint64_t) so I guess what you're seeing is just everything rounded up to multiples of 64 bits because that's how SEAL represents it in-memory.

@AlexanderViand, thanks, makes sense.
It looks like to_bytes() in Pyfhel takes an argument compr_mode and allows zlib and zstd compression. With zlib and zstd, the ciphertext size was reduced from 32873 to around 31007 and 30921, respectively. Not much, but atleast shows the compression functionality. What is interesting is that the ciphertext now varies a bit between runs.
From the comments in SEAL serialization.h file:

A type to describe the compression algorithm applied to serialized data. Ciphertext and key data consist of a large number of 64-bit words storing integers modulo prime numbers much smaller than the word size, resulting in a large number of zero bytes in the output. Any compression algorithm should be able to clean up these zero bytes and hence compress both ciphertext and key data.

I think this pretty much sums it up. Thanks again for the help.

A few quick answers here and there:

Well spotted bug! It is now corrected as per commit 5e0a456 (v3.3.0)
You can get the total modulus bitcount by running HE.total_coeff_modulus_bit_count(), which should correspond to the sum of bitcounts of each moduli qi sum(HE.qi_sizes). Alternatively, in v3.3.0+ you can get the actual modulus chain HE.qi and count the bits of each small modulus!
As mentioned in #134,  you can now get the size of serialized objects when saving/loading as return value of the respective functions.
save and load functions in Pyfhel are compressed by default (compr_mode='zstd'), whereas to_bytes and from_bytes functions are uncompressed by default (compr_mode="none"). In any case, Pyfhel fully supports compression!

Closing this question, feel free to reopen if more related questions pop up

After looking into this in more detail, there are some more related questions.
Given the same poly modulus degree n, a higher security level results in a lower q. This means that a higher security level leads to a (theoretical) smaller ciphertext size? How does this add up?
When looking at the speed of various operations, given the same n, it looks like a higher security level is faster than using a lower security level. Is this expected? Maybe it has to do with q in the previous question?
@ibarrond
@AlexanderViand


Having issues with Server Side Rendering with Typescript

I have a types definition for react-sticky-box that look like this:
declare module 'react-sticky-box' {
    interface StickyBoxProps {
        bottom?: boolean;
        style?: React.CSSProperties;
        className?: string;
    }

    export default class StickyBox extends React.Component<StickyBoxProps> {}
}

However, when I go to render it with React.createFactory and ReactDOM.renderToNodeStream I end up with a ReactElement where the type is undefined:
{ '$$typeof': Symbol(react.element),
  type: undefined,
  key: '.0',
  ref: null,
  props:
   { className: 'sideNav',
     children:
      { '$$typeof': Symbol(react.element),
        type: [Object],
        key: null,
        ref: null,
        props: [Object],
        _owner: null,
        _store: {} } },
  _owner: null,
  _store: {} }

This results in errors that look like:

Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

I'm not sure if this is an issue with this library yet or my typings / imports but I'm trying to work it out. The weird thing is that the existing typings and code work in a storybook: I can see react-sticky-box working fine.
Trying to debug this now and any help would be great. Cheers.

Hello,
I haven't tried react-sticky-box in a Typescript Project yet.
StickyBox is an ordinary React.Component so I'm quite surprised that typescript is acting weird.
https://github.com/codecks-io/react-sticky-box/blob/67600d1ed56dfc5432c1f10a9738367457c36278/src/index.js#L29
I not really sure how to help here, but my intuition is that it's probably not this library.
But then again, I'm probably somewhat biased 😅

Okay, closing this due to inactivity. Happy to re-open if it's still an issue!


Timezone doesn't handle daylight savings time well

All times and time zones were set correctly but pump history wasn't properly zoned so treatments were displayed in Nightscout as off by one hour (one hour into the future).

Looks like this is because initial device setup sets something like PST in the openaps.ini, which doesn't get updated automatically for DST, so you have to manually change it to PDT.  Need to make tz smarter about switching back and forth when appropriate, or using the system timezone at runtime instead of configure time.

+1

Just noticed this issue is in oref0.  It really should be in openaps/openaps instead.  We already have https://github.com/openaps/oref0/issues/83 open for oref0.

Oops! Just opened #86 in openaps so I'll close this one.


Searching "Intellisense selected item" in settings doesn't yield "editor.suggestSelection"

When I search for "intellisense selected item" I expect to find "editor.suggestSelection".
More generally, I consider "intellisense" and "intelli sense" synonyms for "suggest" and "suggest widget".

Merging with https://github.com/microsoft/vscode/issues/42692


NullReferenceException at InputManager.createDistinctStates

I couldn't make a small reproducing code but I'm pretty sure about the cause.
I'll try to fix this by rewriting createDistinctStates but I have a question.
Is there any reason of that InputManager.CurrentState.Mouse/Keyboard/JoyPad can be null? I think it can be initialized by default values.

Could you at very least include a call stack from the exception?


Recommended way to run $beforeInsert/$beforeUpdate in custom QueryBuilder

I have a Model using a custom QueryBuilder (which provides an custom DB-specific operation). My model looks roughly like this:
export default class MyModel extends Model {

  static get QueryBuilder() {
    return MyQueryBuilder;
  }

  static query<T>(this: { new (): T }, trx?: Transaction): MyQueryBuilder<T> {
    // To satisfy typescript compiler
    return (<any>super.query(trx)) as MyQueryBuilder<T>;
  }

  $beforeInsert() {
    console.log("[beforeInsert]");
  }

  $beforeUpdate() {
    console.log("[beforeUpdate]");
  }
}

And MyQueryBuilder is defined as:
export class MyQueryBuilder<T> extends QueryBuilder<T> {

  customOperation<T>(model: T[] | Partial<T>[]): Promise<T[]> {
    const knexInst = knex(dbConfig);
    const query = `UPDATE value .... <custom query here>`;

    return new Promise<T[]>((resolve, reject) => {
      knexInst
        .raw(query)
        .then((result: { rows: T[] }) => {
          resolve(result.rows);
        });
    });
  }
}

What I'm finding is that the $beforeInsert/$beforeUpdate hooks are not called when I call the custom function (MyModel.query().customOperation()). I'm assuming this is because people extending QueryBuilder are responsible for calling $beforeInsert/$beforeUpdate manually.
But what is the recommended way to do this? What are the best practices around providing a custom QueryBuilder?

You can simply call the hooks. They are nothing special. You can access the context argument the hooks take using QueryBuilder#context() method. You also probably need to convert your input into model instances so that you can call the hooks. QueryBuilder.fromJson and QueryBuilder.fromDatabaseJson can be used for that.
There are also couple of things I would change in your method:
1.
const knexInst = knex(dbConfig);

You always create a new knex instance when the method is called. This is a very bad idea. You can use this.knex() to get the query builder's knex instance.
2.
You don't need to wrap promises into new promises. You can change this:
    return new Promise<T[]>((resolve, reject) => {
      knexInst
        .raw(query)
        .then((result: { rows: T[] }) => {
          resolve(result.rows);
        });
    });

into this:
    return knexInst.raw(query);

Casting it to T[] is simply wrong since the result of an update is an array of numbers. Even if it was rows, you need to first create instances of T[] before casting to it.


Improve lexer and token coverage

Improve lexer and token coverage

Coverage increased (+0.4%) to 98.507% when pulling 5e3a22e67890d4ebea8c379c44bcea5b58775de9 on dota17:ImproveLexerAndTokenCoverage into 56b626f0d97b686a58d283238f55ef2a6fd34147 on apache:master.


text overflows when edited beyond excalidraw edge

i'm not sure if this is considered a bug . I can see that the horizontal scroll is showing at the bottom of the canvas for both text and shapes (see screenshots below).

I would feel like this is more of an enhancement because i think this what i naturally would think text would do in a div when it positioned further than it's 'max-width'. i'm making assumptions here and i could be wrong (haven't not seen much of the codebase)

@alexanderbrown21 since the canvas is scrollable the text shouldn't go outside the excalidraw container and instead should be clipped ad stay in the excalidraw container only and once the canvas is scrolled the content should be visible.
I am not sure if you saw the whole GIF, I am talking about the case when the text goes outside the container while editing.


PowerToys Run - Crash

Microsoft PowerToys version
<IP_ADDRESS>
Installation method
WinGet
Running as admin
No
Area(s) with issue?
PowerToys Run
Steps to reproduce
PowerToys Run crashed while querying for "mai"
Excerpt produced from the "Something went wrong." popup:

Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True
Date: 2023-01-27 5:32:08 PM
Exception:
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Excerpt from the log file:
System.InvalidOperationException: Dispatcher processing has been suspended, but messages are still being processed.
   Source: WindowsBase
   TargetAssembly: WindowsBase, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
   TargetModule: WindowsBase.dll
   TargetSite: IntPtr WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef)
   at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

Attached log file:
2023-01-27.txt
Might relate to:

#23616
#23615
#23576

✔ Expected Behavior
A search result for the Windows Mail application, or a browser open result for mail.
❌ Actual Behavior
PowerToys Run ran into an issue.
Other Software
ModernFlyouts-Community/ModernFlyouts <IP_ADDRESS>

Cannot reproduce by typing "mai" or "mail" anymore

Issue #23648 has a high chance to be related as well

writing here cause it seems to be the oldest, happens to me two after any letter (seems like any) is pressed to start searching
installed via Microsoft store

/dup https://github.com/microsoft/PowerToys/issues/18166

@crutkas  Are you sure the two issues related? The behavior presented in the issue thread does seem to correlate as for me it happened right after installing and for seemingly every search (or may I say letter) query

There is some type of race condition happening and we aren’t having the dispatcher called correctly. Issue we face is repo’ing with someone that has a debugger.
If you have VS 17.4 installed, would love to do set up a call.

For any users that are able to replicate this consistently, can you please update to 0.68.1 and disable thumbnail generation to verify if it fixes the issue? Please let us know on #18166!


Some examples

There are some screenshots from different games. If I have time, I'll take some from my PCW.
https://manillismo.blogspot.com/2014/11/lenslok-atari.html

Yeah, keep the images coming. It takes times to arrive at the point in the games where it uses Lenslok.
Incidentally, leave this open to add new examples.

I found it difficult to get the correct are :)
Let's see if I can help adding an 'OK' measurement, and an example. The copies I have from PC games, they used another anticopy method ^__^

It seems I can't crop the area to get the code :)

I think cropping is a valid point as there should be a built in way of dealing with that.
And keep the examples coming.

I've uploaded a new version. Please read the README for usage.

I will note that the Lenslok code from the ZX Spectrum version Colossal Adventure works with LensKey, but the screenshot above does not.

The same to me. I can't remember if it was working with the Windows implementation (it doesn't work on wine)

Lenskey by Simon Owen is only for the Spectrum too.

That answers my doubt :)

Just out of curiosity: http://www.habisoft.com/pcwwiki/doku.php?id=es:juegos:jewels_of_darkness_or&s[]=jewels
This is the one scanned :D


PR for ss3 branch

Hello,
Great module. We've recently used it for a ss3 project and for that we had to create a fork and a ss3 branch. Would you mind creating a branch for a ss3 version of this module? That way we can do a PR to that branch.
Our ss3 branch can be found here https://github.com/rasmniel/gridfield-rich-filter-header/tree/ss3

@sanderha
Hi,
thank you for your contribution :). I've created a SS3 branch here:
https://github.com/silverstripe-terraformers/gridfield-rich-filter-header/tree/SS3
Feel free to create a PR on that branch.


Minimum-model nuclear segmentation

Functions for minimum model nuclear segmentation and label image cleanup.

@cooperlab
This page shows how to instruct flake8 to ignore a whole file or a single line. You can also instruct it to ignore a specific error on a specific line.
The error code for cyclomatic complexity seems C901.  So in this line try replacing
def ISBF(Mask, XStart, YStart, MaxLength):
with
def ISBF(Mask, XStart, YStart, MaxLength):    # noqa: C901

Great thanks!
Lee Cooper, Ph.D.
Assistant Professor of Biomedical Informatics
Assistant Professor of Biomedical Engineering
Emory University School of Medicine - Georgia Institute of Technology
<EMAIL_ADDRESS>tel:<PHONE_NUMBER>

From: Deepak Roy Chittajallu<EMAIL_ADDRESS>Sent: Thursday, July 7, 2016 2:21:31 PM
To: DigitalSlideArchive/HistomicsTK
Cc: Cooper, Lee; Mention
Subject: Re: [DigitalSlideArchive/HistomicsTK] Minimum-model nuclear segmentation (#119)
@cooperlabhttps://github.com/cooperlab
This page shows how to instruct flake8 to ignore a whole file or a single line. You can also instruct it to ignore a specific error on a specific line.
The error code for cyclomatic complexity seems C901. So in this linehttps://github.com/DigitalSlideArchive/HistomicsTK/pull/119/files#diff-1bf3c88d1d8b11d968a6bb521b31d1ddR166 try replacing
def ISBF(Mask, XStart, YStart, MaxLength):
with
def ISBF(Mask, XStart, YStart, MaxLength): # noqa: C901

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/DigitalSlideArchive/HistomicsTK/pull/119#issuecomment-231164210, or mute the threadhttps://github.com/notifications/unsubscribe/ABXukTDyoB-eD_g2jD9MCIioafwKXx0Jks5qTUOrgaJpZM4JHRD0.

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.
If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).

Yes i think you need two spaces.

The pyflakes exceptions worked - all checks passed.

LGTM! We should plan on writing tests for all the major functions to uncover any bugs.


Only select Year

Hello,
How to only select year (without month and day)?
Thanks

@rifal89
$("#datepicker").datepicker( {
    format: " yyyy",
    viewMode: "years",
    minViewMode: "years"
});

And notice the space in format: " yyyy"

Okay, thanks


chore(image): rename image to longhorn-cli

Which issue(s) this PR fixes:

Issue #
What this PR does / why we need it:
Image name is better to be same as the name of its repo.
Special notes for your reviewer:
Additional documentation or context

@mergify backport v1.7.x


[proposal] Replace gulp with Webpack & add ESLint

Streamlines build process
Adds support for sourcemaps
Bundle profiler
Other dev tooling improvements
Adds eslint [disabled]

Resolves #216


🐛 BUG: Wrangler publish returning generic error: Authentication error [code: 10000]

What version of Wrangler are you using?
2.0.27
What operating system are you using?
Mac/Linux
Describe the Bug
I'm trying to build a CI/CD pipeline in CircleCI to publish a worker script to cloudflare, but it's failing in the pipeline.
It was working on my mac yesterday, but at the time of writing, it's not even working on my local.
(Side note: when it was working yesterday on my local, at times it was launching a browser window for me to login, even though I have been following https://developers.cloudflare.com/workers/wrangler/ci-cd/ )
my toml file looks like this
`name = "wrangler"
main = "src/index.js"
compatibility_date = "2022-08-22"
account_id = "xxxx"
[vars]
CLOUDFLARE_API_TOKEN = "xxx"
NAME = "CanaryProcessCookie"
DRUPAL_URL = "xxxx"
NEXT_JS_URL = "xxxx"
DRUPAL_COOKIE = "drupal"
NEXT_JS_COOKIE = "next"
NEXT_JS_CANARY_WEIGHT = 0.5`
(my api token has underscores in it, not sure if that's relevant)
My Api token has the following permissions

cloudflare pages - Edit
workers R2 storage - Edit
Workers Tail - Read
Workers KV Storage - Edit
Workers Scripts - Edit (initially i had just this, i thought this was all i needed)
Account Settings - Read

I have installed wrangler just within the scope of the project, so i am running the following command to publish:
npx wrangler publish src/index.js --name worker-preprod
and i get this output/error:
Your worker has access to the following bindings:

Vars:

CLOUDFLARE_API_TOKEN: "xxxx"
NAME: "CanaryProcessCookie"
DRUPAL_URL: "xxxx"
NEXT_JS_URL: "xxxx"
DRUPAL_COOKIE: "drupal"
NEXT_JS_COOKIE: "next"
NEXT_JS_CANARY_WEIGHT: "0.5"
Total Upload: 0.96 KiB / gzip: 0.46 KiB

✘ [ERROR] A request to the Cloudflare API (/accounts/xxxx/workers/scripts/worker-preprod) failed.
Authentication error [code: 10000]
How come i'm not able to publish? and what does this error mean?
Any help is appreciated :) Thanks

[vars] is for configuration that's available inside the worker itself. But CLOUDFLARE_API_TOKEN is a proper "environment variable" on the system that's read during builds and deploys. You need to pass CLOUDFLARE_API_TOKEN as an environment variable (For circle ci, I found these docs that show how to do so https://circleci.com/docs/env-vars)

ah understood, i'll take a look at that, thanks :)

maybe in the [vars] section of this doc https://developers.cloudflare.com/workers/wrangler/configuration/ , you could add a note saying it's for use within the worker logic itself rather than a system env variable, so others don't fall in the same trap as me

Hi again, so both on my mac and within circle ci, i have set environment variables at the system level (for circle CI, i have set it via the project settings area). But still i'm getting the same code 10000 error message
previously was also setting the CLOUDFLARE_API_TOKEN in the context environment variables (no. 6 in https://circleci.com/docs/env-vars#order-of-precedence )as part of some substitution logic in my pipeline, so theoretically i would've had the environment variable available on previous attempts.
How come it's still failing?
The command should come with some --debug or --verbose flag to return the entire stack trace, as the current error message is not helpful.

up until this morning, i never set my api token or any variable under the name CF_API_TOKEN.
Assuming that potentially this might fix it, this morning i have set CF_API_TOKEN= on my mac os .zshrc env. variables, and re-ran my publish command, but still i'm getting the same error.
I'm confident i have the correct account id, i have copied it from the same page that is displayed my workers in cloudflare dashboard
On a more positive note, i have been able to update the worker script when hitting the API directly in postman, as per these docs https://api.cloudflare.com/#worker-script-upload-worker , this endpoint requires me to use my global api key and email address in the auth headers
I'd still prefer to use wrangler CLI to run the CI/CD pipeline, perhaps if you could provide some docs on what the request/headers should be when using my custom token, i can do some more investigation on my side
Thanks,
Kashif

@threepointone FWIW, I've run into the exact same issue. The problem was a .env file in the current folder containing a CLOUDFLARE_API_TOKEN entry. The .env is used by local code calling the REST API.
After renaming the CLOUDFLARE_API_TOKEN token the problem went away.
I wasn't aware and didn't expect that wrangler consumes the .env file. Maybe an oversight? It should be documented at least.

I'm closing this issue as it seems the root issue is resolved. To tie together some of the notes from the thread though:

The [vars] section in wrangler.toml is for variables that will be exposed to your worker. Environment variables like CLOUDFLARE_API_TOKEN (CF_API_TOKEN is the depreciated version of this) should be set in your local environment so they're exposed to wrangler.
Wrangler will try to read local environment variables from a .env file in the root of your repo (for instance, you can set CLOUDFLARE_ACCOUNT_ID like this)
The documentation for running Wrangler in CI/CD is at https://developers.cloudflare.com/workers/wrangler/ci-cd/. It's admittedly quite bare, but it covers the main ground (setting the environment variable CLOUDFLARE_ACCOUNT_ID and specifying your account ID)
@gc-kismael As a specific point of help, when you create your API token at https://dash.cloudflare.com/profile/api-tokens there should be a curl command that'll let you test whether the token works.


Several queries running in parallel in the same session.

Is it possible to run several queries in parallel in the same session?
I am using the function answers to calculate the results of a query.
I'd like to be able to run 2 queries in parallel, and get the results of each query separately.
Here is an example:
session = pl.create();
session.consult(`numeral(0).
numeral(succ(X)) :- numeral(X).`);
session.query(`numeral(X).`);
session.answers(x=>console.log(pl.format_answer(x)), 5);
session.query(`numeral(0).`);
session.answers(x=>console.log(pl.format_answer(x)), 5);

It seems that the second call to answers is cancelling the first call to answers.

Thank you.
It works fine!


[Bug]: IT test instability

Contact Details
No response
Package name
core
Package version
8.*
Reproduction steps
Create a PR without code change (can be documentation in docs/)
Current result
Test_publish job is failing
Expected result
Test_publish job to pass
Additional comments
No response

Error still reproducing https://github.com/AmadeusITGroup/otter/actions/runs/4572801248/jobs/8072917126

maybe fixed by https://github.com/AmadeusITGroup/otter/commit/cccd1eaa37ef187d016fb8e29b4d576677ef0a4a

https://github.com/AmadeusITGroup/otter/actions/runs/5002768186/jobs/8963244512
random error on test-int

Closing this issue thanks to refactor of the IT on Otter v10


MBG Minigames bei Block Clicks

Added in https://github.com/BTE-Germany/Lobby-Plugin/commit/848fdc22a6cacfa2858537c677fe66e102a9b682


fix: animations broken in fivefold and witnesses

TL;DR
Added ability to disable animations on widgets through a new noAnimation prop.
What changed?

Added noAnimation prop to WidgetWrapper component and related widget components
Implemented conditional rendering of animation classes based on the noAnimation prop
Disabled animations on the fivefold page content sections and witnesses testimonials

How to test?

Navigate to the fivefold page and witnesses page
Verify that content sections no longer fade in on scroll
Check that other pages with animations still work as expected
Test with motion-safe and motion-reduce preferences to ensure proper behavior

Why make this change?
The fade-in animations can be distracting on content-heavy pages where users need to focus on reading and understanding the material. Disabling animations on specific sections improves readability and user experience for these content-focused pages while maintaining the animated effects where they enhance the presentation.

#158  👈
development

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Hessuew and the rest of your teammates on  Graphite

Merge activity

Oct 30, 3:16 PM EDT: A user merged this pull request with Graphite.


how to implement text and sprite(icon) mix show

I wang to implement text and sprite(icon) mix show label, order of text and sprite  how to process.
Such as:

Such as:

Such as:

If you are trying to add text to a feature drawn with a 'points' style, check the documentation for the 'text' parameter of the 'points' style here: https://mapzen.com/documentation/tangram/draw/#text. You can add text to a point and change its offset, font properties, etc.
Let me know if I have misunderstood or if you have more questions.

Is this sort of "info bubble" usually handled as the UX level outside of Tangram?

Thanks. I try to add text to a feature drawn with a 'points' style. It can show, but has a question occurring, the texts  show order is error, it shows on another sprite icon. Such as:

I am trying to let info bubble show on tangram map,  Don't handle as the UK level.

Looks like this issue got abandoned - sorry about that. Unfortunately, the overlapping labels you see is the expected behavior. I can think of two approaches to resolving this:

Configure these labels with collision priority, so that they do not overlap (this is the strategy we use for basemaps)
Use the UI utilities of your target platform (Android or iOS) to generate an image of the entire label, including text, and then use that as the sprite for these points.

I'm closing this issue due to its age, but can re-open if needed.


Review blockstack transaction generation API and plans for integration

As implemented, the method signatures for transaction generation in blockstack.js look like:
function makePreorder(fullyQualifiedName: string,
                      destinationAddress: string,
                      paymentKey: bitcoinjs.ECPair,
                      network: BlockstackNetwork): Promise<bitcoinjs.Transaction>

function makeRegister(fullyQualifiedName: string,
                             registerAddress: string,
                             paymentKey: bitcoinjs.ECPair,
                             zonefile: string = null,
                             network: BlockstackNetwork): Promise<bitcoinjs.Transaction>

There's a couple immediate issues here --

Parameters are tied to implementation detail (bitcoinjs objects) -- they should accept either WIFs or private-key hexes (I prefer WIFs, as they are somewhat standardized in the ecosystem, while private-key hex strings aren't)
All this does is generate a transaction -- browser currently just performs an API call which generates the transactions and performs the broadcast. This means that the integration would have to change somewhat significantly.
blockstack-core will coerce given addresses (and responses) to mainnet addresses / testnet addresses, depending on which network it is running on. Should blockstack.js do the same?
the network option comes from the classes defined here: https://github.com/blockstack/blockstack.js/blob/feature/blockstack-operations/src/operations/network.js and there's some supplied constants for default configuration. Is this the best way to configure and pass the network configuration?

Based on the answers to the above, we can discuss how this should be integrated into blockstack-browser, which will have to (1) broadcast transactions (2) maintain the network configuration settings and (3) potentially use a transaction broadcast service to broadcast the REGISTER operation.

This is already integrated -- the option remains to simplify the network interface quite a bit by redirecting calls like:
bsk.network.getNameInfo(...)

to
bsk.config.network.getNameInfo(...)


tree-wide: use top-level cctools

Description of changes
This PR is the first follow-up to https://github.com/NixOS/nixpkgs/pull/307880. It finishes moving darwin.cctools to the top-level by adding darwin.cctools and darwin.cctools-port to darwin-aliases.nix.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks! Once ofborg confirms evaluation, I’ll merge.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/darwin-updates-news/42249/16


gap in support for deprecated Nordic board names

Something seems to be failing with the deprecated Nordic board names.
samples/subsys/shell/fs/CMakeLists.txt looks at the board name to determine whether the mpu.conf overlay is required.  The file was updated to use the new board names, and the addition is not performed for the deprecated name.
tirzah[346]$ rm -rf build && west build -b nrf52840dk_nrf52840 samples/subsys/shell/fs >/dev/null && grep CONFIG_MPU_ALLOW build/zephyr/.config
Including boilerplate (Zephyr base): /mnt/nordic/zp/zephyr/cmake/app/boilerplate.cmake
CONFIG_MPU_ALLOW_FLASH_WRITE=y

tirzah[347]$ rm -rf build && west build -b nrf52840_pca10056 samples/subsys/shell/fs >/dev/null && grep CONFIG_MPU_ALLOW build/zephyr/.config
Including boilerplate (Zephyr base): /mnt/nordic/zp/zephyr/cmake/app/boilerplate.cmake
CMake Warning at /mnt/nordic/zp/zephyr/cmake/app/boilerplate.cmake:200 (message):
  Deprecated BOARD=nrf52840_pca10056 name specified, board automatically
  changed to: nrf52840dk_nrf52840.
Call Stack (most recent call first):
  /mnt/nordic/zp/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
  /mnt/nordic/zp/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
  CMakeLists.txt:17 (find_package)

# CONFIG_MPU_ALLOW_FLASH_WRITE is not set

@carlescufi This is the underlying cause of #24145.

@tejlmand can you take a look please?
@pabigot thanks for the analysis

This happens because the sample CMakeLists.txt itself tests the board name BEFORE renaming is done.
Hence, it doesn't know anything about deprecated boards.
Secondly, it also happens before boilerplate is sourced, making things trickier.
Of course the easy fix is to just update to test both new and deprecated boards, but as this also affect aliases, it should be considered if we can do something else.
https://github.com/zephyrproject-rtos/zephyr/blob/master/samples/subsys/shell/fs/CMakeLists.txt#L5-L8

actually, the CMake code in the linked file will never work as intended, cause APPLICATION_SOURCE_DIR is a variable being defined in boilerplate, and hence not available in code at that time it is used.


Polish translation and new Kodi option

Woo hoo

I review all strings. A lot of them been very tricky, but its better than the one from translator - but it was a good base to start!

What is the new Kodi option.
I also notice that you have commented out quite a lot of TvDB code etc, so it will take me a while to review it before I merge it

The Kodi option is to report the number of episodes that you have locally of a show, rather than the total that is reported by AniDB

Yes @da3dsoul is right. and also yes @jmediamanager you are right about commenting this - in feb I started to cleaning not used code because I planed to replace every not needed code with something that would work, aparantly it was not merge then and sticked with my other work. I will hope you will have time to review my changes and leave function you think will be needed (because some of them were already implemented in v2 of same class).

that why my code worked with the code it had ;-) good you fixd the system bug ;-) but then, you commit again without validating it

I'm pretty bad about that. I use commits as a point to restore from if things get too messed up, but it will automatically add them to PRs even if there are not tested. Then over the next hour or day(s), I find an issue and recommit over it.

Also, do you mind if (for now) we comment out all of the WIP character code? It sends a lot of data, slowing things down for lists.

characters are not WIP. It just didnt show up on Kodi 15.1 because it wasnt supported in easy way, 16 didnt change anything. Maybe 17 API will change this. I know it is a "hog" but I dont want to later add it and see people complain. For now let it be; I plan to implement a JMM side implementation to turn it off/on but that would need to be also implented on both sites.

When you refer to WIP i was thinking about options for trakt etc, but I would like to leave characters. There shouldn't be a big boost in term of speed because JMM will send that data anyway, it was scary the first time I implemented it when each episode had it own characters ;-) bleach was 30mb XML ;-) that was scary, now its not that bad

Yeah, no kidding. We need an Extended info context menu item then. As far as I'm aware, that should work with cast without scraping. The current gamepad settings don't make it easy to open extended info.

Could you explain a bit about the need of Extended Info context menu ? We talking about right click menu? and You want to insert what in there?

Character info extended because that was missing

This is my finaly fix till 3.5 release or if there is any bug that was introduce with those changes

That is assuming 3.5 is ever released :laughing:


Publish to Open VSX

Hello,
As VSCodium user, could we have this awesome extension published to the Open VSX marketplace ?
Context
Unfortunately, as Microsoft prohibits usages of the Microsoft marketplace by any other products or redistribution of .vsix files from it, in order to use VS Code extensions in non-Microsoft products, we kindly ask that you take ownership of the VS Code extension namespace in Open VSX and publish this extension on Open VSX.
What is Open VSX? Why does it exist?
Open VSX is a vendor neutral alternative to the MS marketplace used by most other derivatives of VS Code like VSCodium, Gitpod, OpenVSCode, Theia-based IDEs, and so on.
You can read on about Open VSX at the Eclipse Foundation's Open VSX FAQ.
How can you publish to Open VSX?
The docs to publish an extension can be found here. This process is straightforward and shouldn't take too long. Essentially, you need an authentication token and to execute the ovsx publish command to publish your extension. There's also a doc explaining the whole process with an example GitHub Action workflow.

Thanks.

Never heard about Open VSX, I'll look into publishing there sometime next week


flutter: Another exception was thrown: NoSuchMethodError: The getter 'pasteButtonLabel' was called on null.

stable, v1.5.4-hotfix.2.
iPhone .
No long press.
When switching to the next TextField, this TextField is simulated and long pressed and eventually stuck.

this problem is still relevant for localization on IOS for 'ru'


Refresh definition file (d.ts) after build on linked project

From @moshfeu on March 14, 2018 7:54

VSCode Version: Version 1.21.0 (1.21.0)
OS Version: OS X 10.11.6 (15G17023)

Steps to Reproduce:

Open a project folder with link (npm link) to another local project.
The another project has d.ts file. So verify that you can go to definition of the project. (Click on F12 on a function from the another project.  (You should be moved to the d.ts file in the node_modules/another_project/dist/d.ts)
Update the d.ts file (for example: change the code and let webpack to update the d.ts).

Expected result:
VScode will refresh its intellisense and errors detection.
Actual result
It didn't. Even if I close and open the file. I need to close the vscode instance of my current project and open it again. Only then it count the updated d.ts.

Does this issue occur when all extensions are disabled?: Yes
Thanks!
Copied from original issue: Microsoft/vscode#45738

Repo:

git clone https://github.com/mjbvz/vscode-issue-45738
Open b and a in separate vs code windows
In b, run npm link ../a
In b, open index.js
In a/index.d.ts, change the type of abc to something other than string
Switch back to b

Bug
No update of errors in b/index.js

There is no "index.js" in b folder.. I tried that in index.ts and it seems to work correctly (I used latest master build (nightly wont be out yet))

Yes it should be index.ts. I'll try again once there is a new nightly out. Did you also test on MacOS?

No checked on windows.. Let me know if it repros on mac os and if possible tsserver log from both vscode sessions with verbose would be best.

@mjbvz were you able to repro this? Also i am assuming in step 5 the change is saved as without that the change wont be visible to other vscode window right?

Yes, the file has to be edited outside of the current vscode window too. The change is picked up when you open the d.ts file in vscode

Closing this since its no repro. Please reopen if you have repro and more info. Thanks.


minor typo fix for firehose

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

Fixes #
Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

@ksdpmx Thanks for the contribution, you'll need to sign your commit by:
git commit -s --amend
git push -f

Thanks for reminding. This commit has been amended.

Thanks for reminding. This commit has been amended.

The commit is still not signed

done.. it's caused by multiple email settings.


Add an arm64 version of this image

The dockerfile could be simplified as a result of a few packages existing in the Ubuntu repositories:

docker.io
docker-compose
gosu

Because of qemu-aarch64-static not being able to run some go binaries, I removed docker --version, gosu --version and friends to avoid having the build process crash since we build on Travis and there are no native builders for aarch64 there.

LGTM, we should switch to the stable version in apt.dockerproject.org when there is an arm64 build.


Update adot image digest

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve


General Grievance: Watch hybridmediaworks.net

General Grievance requests the watch of the watch_keyword hybridmediaworks\.net. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

hybridmediaworks\.net has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Added drop support for navigationbar

As requested in #634, you can drop files/folders in navigationbar items to move that file/folder to that path. Demo:

Currently, after I drop on an item the item is highlighted, I am working on a fix for it. May be related to #1052.

When moving file to the same directory it create a new file with the same name with added '- copy". I think this operation should not be available.

Fixed that, already existing items are skipped.

I am still able to drop item to last navigation bar path item

I am still able to drop item to last navigation bar path item

Does dropping create a duplicate file as you stated before??

No, it is doing nothing. But text "Move to" still exists, so it could mislead user.

No, it is doing nothing. But text "Move to" still exists, so it could mislead user.

That is the default Windows Explorer behavior, when you drag items to any path items it displays the move to text.

May be I should add a dialog to user explaining the move operation cannot complete.

Or just remove this operation from last path item? If it is not possible, add a dialog.

Or just remove this operation from last path item?

The reason I am deciding against that is because user might want to drop files to the pathitems from another instance or another app in case if their gridview is blocked by another window. This is the default behavior in Windows Explorer.

If it is not possible or too hard, add a dialog.

I tried to add a dialog but the method failed with RPC_E_WRONG_THREAD exception. Queuing the task in ui thread using dispatcher also failed. Similar behavior implemented for dragging a parent folder to child folder also fails. So I have disabled both methods for now until a solution is found.
Currently, I have implemented to check if item already exist in the folder in DragOver method.

If check of an item already exist in the folder now implemented, user dialog is no longer needed. Please, remove it.

I have commented out the dialog part, if any workaround for the issue is found, then it can be reenabled.


Copy code block

I have literally no clue how hard it would be to add a "copy code" button to each code block à la Documenter?

https://franklinjl.org/demos/#010_clipboard_button_for_code_blocks ;-)

Awesome, thanks! Btw, do you want me to switch to Xranklin to battle-test it?


Inserting code snippet causes auto scroll to placeholder / top line of snippet

Issue Type: Bug
Like what the heading says, inserting a code snippet anywhere in the code file causes an autoscroll. This is a slight inconvenience, as while inserting snippets, viewing code above it is desirable, causing us to rescroll into view. So adding an option to revert to the functionality in the stable release would be preferred
VS Code version: Code - Insiders 1.46.0-insider (d487078dc7fc1c276657cadb61b4f63833a8df55, 2020-05-07T16:36:39.681Z)
OS version: Linux x64 5.4.38-1-MANJARO

System Info

Item
Value

CPUs
Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz (4 x 1744)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_renderer: disabled_off_okvideo_decode: unavailable_offviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
0, 0, 0

Memory (System)
5.71GB (1.21GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
deepin

XDG_CURRENT_DESKTOP
Deepin

XDG_SESSION_DESKTOP
deepin

XDG_SESSION_TYPE
x11

Extensions (4)

Extension
Author (truncated)
Version

cpptools
ms-
0.27.1

Go
ms-
0.14.1

material-icon-theme
PKi
4.1.0

material-theme
zhu
3.5.0

(1 theme extensions excluded)

Yeah - that's a regression from a recent change to keep the position stable when additional edits are inserted...

https://github.com/microsoft/vscode/issues/94173

fixed via c4e781b

Yep, it works fine now.
Thanks a lot!

/verified


Update dependencies

PR Description
The following dependencies have later milestone versions:

com.diffplug.spotless:com.diffplug.spotless.gradle.plugin [6.15.0 -> 6.16.0]
com.github.ben-manes.versions:com.github.ben-manes.versions.gradle.plugin [0.45.0 -> 0.46.0]

Updated

com.launchdarkly:okhttp-eventsource [3.0.0 -> 4.1.0]
https://github.com/launchdarkly/okhttp-eventsource

Breaking changes, created separate issue #6890

com.squareup.okhttp3:mockwebserver [4.9.3 -> 5.0.0-alpha.11]
https://square.github.io/okhttp/
com.squareup.okhttp3:okhttp [4.9.3 -> 5.0.0-alpha.11]
https://square.github.io/okhttp/

5.x all alphas, using latest stable instead

io.github.classgraph:classgraph [4.8.154 -> 4.8.155]
https://github.com/classgraph/classgraph

Updated

io.prometheus:simpleclient [0.9.0 -> 0.16.0]
http://github.com/prometheus/client_java

Matching Besu's metrics-core

io.vertx:vertx-core [4.3.8 -> 4.4.0]
io.vertx:vertx-web [4.3.8 -> 4.4.0]

Updated

org.apache.logging.log4j:log4j-api [2.19.0 -> 2.20.0]
https://logging.apache.org/log4j/2.x/
org.apache.logging.log4j:log4j-core [2.19.0 -> 2.20.0]
https://logging.apache.org/log4j/2.x/
org.apache.logging.log4j:log4j-slf4j-impl [2.19.0 -> 2.20.0]
https://logging.apache.org/log4j/2.x/
org.apache.logging.log4j:log4j-slf4j2-impl [2.19.0 -> 2.20.0]
https://logging.apache.org/log4j/2.x/

Updated

org.jetbrains.kotlin:kotlin-stdlib [1.8.10 -> 1.8.20-Beta]
https://kotlinlang.org/

We have latest stable

org.web3j:core [4.9.6 -> 5.0.0]
https://web3j.io

We have latest stable, 5.0.0 old error version

org.webjars:swagger-ui [4.15.5 -> 4.16.0-alpha.1]
http://webjars.org

We have latest stable

Failed to determine the latest version for the following dependencies (use --info for details):

org.hyperledger.besu:besu-datatypes
org.hyperledger.besu:evm
org.hyperledger.besu:plugin-api
23.1.1-RC1
org.hyperledger.besu.internal:config
org.hyperledger.besu.internal:core
org.hyperledger.besu.internal:metrics-core
23.1.1-RC1

Updated to 22.10.4, 23.1.0 looks like the latest stable but breaks on Java version compatibility. Errors like this:
No matching variant of org.hyperledger.besu.internal:core:23.1.0 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, preferably optimized for standard JVMs, and its dependencies declared externally but:
        - Variant 'apiElements' capability org.hyperledger.besu.internal:core:23.1.0 declares a library, packaged as a jar, and its dependencies declared externally:
            - Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11

Gradle release-candidate updates:

Gradle: [7.6 -> 8.0.1]

Release candidate, updated to the latest stable 7.6.1
Fixed Issue(s)

Documentation

[x] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[x] I thought about adding a changelog entry, and added one if I deemed necessary.

Mostly ok. Just need to get the checksum for gradle wrapper fixed.

@StefanBratanov @lucassaldanha
Actually it was tricky to make it check the checksum, so I added instructions to our internal documentation


Update 'GetBuildGraph' to understand VS2017 solutions

Updates the topological sort to find dependencies and packages from VS 2017 solutions.
TODO: Update KoreBuild dev branch to install the MSBuild variant of dotnet-cli.
Resolves #463

:up: :date:

Not very familiar with this area, but looks alright to me.

@Eilon can you think of anyone else that would be okay to sign off while Pranav is out?

Btw, for anyone trying to verify, this is the batching that Universe should use:
Building repositories in batches:
1 - PlatformAbstractions
2 - Common
3 - Testing
4 - JsonPatch, FileSystem, DependencyInjection, Microsoft.Data.Sqlite
5 - Configuration, EventNotification
6 - Options, Logging
7 - DotNetTools, HtmlAbstractions, HttpAbstractions, Caching
8 - Razor
9 - RazorTooling, Hosting
10 - DataProtection, EntityFramework, WebListener, KestrelHttpServer, BrowserLink
11 - EntityFramework.Tools, BasicMiddleware, Scaffolding
12 - IISIntegration
13 - AzureIntegration, ServerTests, ResponseCaching, Session, CORS, Routing, StaticFiles, Proxy
14 - Diagnostics, Security, Antiforgery, Localization
15 - WebSockets, Mvc, MetaPackages
16 - MvcPrecompilation, Identity
17 - SignalR, Entropy, MusicStore

You can inspect these changes work by checking out the feature/msbuild branch of DotNetTools and running build show-build-graph

@natemcmaster I think between you, @BrennanConroy , and perhaps @anurse , we should be good. And ultimately, either it works, or it doesn't 😄


Adding protection around building necessary dependences on groups inventorying

Coverage decreased (-0.3%) to 70.367% when pulling e9f69d4259f80027620c57567826cb044d9da372 on groups-fix into b0b20372512a54f09f01771bdcab53d18ca4685d on master.

Coverage decreased (-0.3%) to 70.367% when pulling 78301ea951bbe47ca8c8a71cec02a41ecd033e45 on groups-fix into 7c77553c7877b464ce14ac52589384bd0fff2709 on master.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


Access the mode property from inside a plugin?

Is this possible? I'd like to check if the build is running in spa mode inside /plugins/.
And also, would it make a difference if mode is set via nuxt.config.js or via cli argument?
// nuxt.config.js

module.exports = {
  mode: 'spa' // or 'universal'
}

vs
// package.json
...

"scripts" : {
   "build" : "nuxt build --spa"
}

...

And then in a plugin (ie: /plugins/my-plugin.js
// my-plugin.js

// not working, but example
const mode = options.mode  // 'spa' or 'universal'

Hi @stursby
Actually it does not change anything, when using --spa, we only overwrite the mode key from nuxt.config.js (https://github.com/nuxt/nuxt.js/blob/dev/bin/nuxt-dev#L117).
What would be your example to know the mode? Actually you can use process.server and process.client to know where the plugin is run from.

@Atinux so I have to separate builds, stage and prod. I would like to build stage in --spa mode and have it continue to hit a live API to power the page data. And the prod build will generate the JSON files and only use those to power the pages via the /data/ folder.

I just added process.mode with https://github.com/nuxt/nuxt.js/commit/04d05de9067bd9fcddb0c0300dc87265e58360a3, it will be accessible in next release.
It can be useful for plugins as well to have a different behavior depending of the mode.
Actually you can already use env to set your stage:
nuxt.config.js:
module.exports = {
  env: {
    stage: process.env.STAGE || 'dev'
  }
}

And in your package.json:
"scripts": {
  "dev": "nuxt",
  "build:stage": "STAGE=staging nuxt build --spa",
  "build:prod": "STAGE=prod nuxt generate"
}

And then you can use process.env.stage into your plugins :)


[Compatability Issue] Ernie's Modern UI - Compact Mode

Just wanted to report an compatibility issue with the Ernie's Modern UI Module.
When using the compact mode provided by said module, the edit buttons are no longer shown.
In case you're in the mood to take a look at why this occurs (hopefully some simple css conflict), I would highly appreciate a compatability patch :).
Feel free to dismiss this request, if you don't want to open Pandora's box by providing support for other modules that mess with the UI.

Ty for the clear explanation
It should be fixed in version 0.5.4
You can pre-download it here (via foundry manifest url)
https://github.com/ClipplerBlood/journal-improvements/releases/download/0.5.4/module.json
If it works fine I'll publish the release 😄

https://github.com/ClipplerBlood/journal-improvements/releases/download/0.5.4/module.json

Fixed! Thank you so much!