Force-directed graph

Proof of concept using render transforms:
https://github.com/observablehq/plot/assets/230541/4799d063-20e6-4f2c-b91a-3ccb110f754f
https://observablehq.com/d/200ed525020b8df1
Still to figure out:

[ ] Use identity scale for x and y?
[ ] Drag behavior
[ ] Terminate the simulation on disconnect
[ ] Smarter default forces?

Nice! It would be great also to allow using other marks than dot & link? e.g. if you want images, or labels, to follow the dots, and links to be directed (and bent) arrows? The simulation and drag would be unchanged, but the display would be different.

For a long while I've wanted a declarative way to generate d3 force graphs, so I'm really excited to see this get proposed / prototyped.
My desires for declarative d3 force graphs fall into 3 categories:

Abilities that are in line with the current plot model, just applied to force graphs

the representation of the nodes (dots, images, arbitrary svg/html, etc.)
the representation of the edges (arrow/line, color, arc, etc.)
every aspect of the simulation (what forces are included, whether it has alpha decay, etc.)

Abilities that fit the north-star design goals of Plot but are not yet implemented

Hovering nodes to see more info / trigger functions
dragging nodes around (either with other forces on or off)
panning and zooming on the force graph

Abilities that probably have no place in Plot as currently designed

adding/removing nodes/edges from the graph itself, while the rest of the nodes/edges remain in position and react to the change in forces.

I'm curious how you see d3 force graphs in plot evolving, and where in this ability progression we might see a cutoff.
Relatedly, I wonder if force graphs (which don't fit the standards regarding x and y that all other marks do) would be treated as a different base level primitive, or whether you could have a marks array with a force graph mark and a bar mark coexisting.


roctracer + rocprof --hsa_trace does not work unless soft links are created manually

After installing roctracer, I expected rocprof --hsa-trace to work.
However, that failed with these errors:
Tool lib "/opt/rocm/rocprofiler/lib/libroctracer64.so" failed to load.
Tool lib "/opt/rocm/rocprofiler/tool/libtracer_tool.so" failed to load.
Creating these soft links made things work:
ln -s /opt/rocm/roctracer/lib/libroctracer64.so /opt/rocm/rocprofiler/lib/libroctracer64.so
ln -s /opt/rocm/roctracer/tool/libtracer_tool.so /opt/rocm/rocprofiler/tool/libtracer_tool.so

I can confirm this issue. Both roctracer-dev and rcoprof-dev are installed but links are not set up as part of the installation. Creating the links (as above) fixes the errors.

Will be fixed in the next ROCm release.
Will put the workaround in ROCm release documentation.


Lazy continuation of fenced code-blocks

This bugged out with me. Remove the \ for the actual code. It causes the code block to not end when it should.
1. foo
2. bar
\`\`\`sh
$ foo bar
\`\`\`
- [some](link)

Thanks!

Yeah, GH doesn’t like nested code :/
Thanks, agreed!

Thanks for reporting, I fixed it but I’ll delay the release a bit. Probably later this week!

heaps rad, thanks! :D


Update Copyright

Update Copyright

@johnsonw Can you give some back ground details about this copyright change?

Hi @devaraj-kavali, sure. This repo is no longer part of intel-hpdd and is now under whamcloud, which is owned by DDN. I have updated all whamcloud repos to reflect this in the copyright of each source file. Please let me know if you have any further questions.

Thanks @johnsonw for the details.


Unable to request restful APIs

My application is using restful APIs therefore GET/POST/PUT/DELETE are the common operations. I m using HttpClient of angular/common/http.
The application is working fine on web platform without any issue but when I run on electron client I am get an error message "Message: Http failure response for https://myapi"
I also tried the @capacitor-community/http but again it is not working and I m getting the following error
TypeError: Failed to fetch
at zone.js:1523
at proto. (zone.js:1015)
at request.js:98
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3)
at _next (asyncToGenerator.js:25)
at asyncToGenerator.js:32
at new ZoneAwarePromise (zone.js:1340)
at asyncToGenerator.js:21
at request (request.js:94)
I also tried to use electron remote but it is also null.

Yeah, this is a known issue, the http lib does not have electron support but I do have some plans moving forward

I have faced this issue as well. My temporary appoach until it is solved is defining a class of helper methods (get, post etc) selecting axios if platform is PWA or electron, otherwise using the http plugin.

Looks like there may be a fix in http coming at some point
https://github.com/capacitor-community/http/pull/218


Pico Simple Test Not Working

When I tried to save the image captured by simpletest.py for the Raspberry Pi Pico, I received a corrupted image. Additionally, setting the colorspace to jpeg mode doesn't return a memoryview object. Has anyone successfully captured an image on the Pi Pico?

FYI -- I have been playing with the new PICOWBELL OV5640 board on a PicoW and I have found that for JPEG images, the captured image is often larger than the computed buffer so increasing the buffer size allows me to capture JPEG images.
With a too small buffer the EOI is not found int he buffer and the image is rejected.


Built Executable?

Hello, I believe it was mentioned during the QIF Coffee Chat on DMSC Open Source Tools that built executables would be available on github, in particular for the QIF Rules Editor.  Is this still a possibility?  Thanks, Cole

Hi Cole,
If you click here:

...and then open the "Assets" box:

You will see a ZIP file containing binaries. Let me know if this works okay.

Thanks Daniel!


[FEAT]: Add the username on project hover

Is your feature request related to a problem? Please describe.
I would like to know who created a project from the home page. I like the rollover behaviour that shows the description. Would be neat to add the username of the project creator there too.

Neil has new designs for this


Pkg.add("OutlierDetection") issues

Hi  - Just a heads up, I've got a new, fairly crisp, installation of julia 1.7.2,
It looks like there is no way to install Turing and OutlierDetection side by side - the dependencies for OutlierDetection leave no viable version for the Turing install.
Nick

Hi! Unfortunately I cannot reproduce the issue, the following code does not lead to dependecy conflicts for me. Maybe another package is to blame here?
import Pkg
Pkg.activate(temp=true)

Pkg.add([
    "Turing",
    "OutlierDetection",
    "OutlierDetectionData",
    "OutlierDetectionPython",
    "OutlierDetectionNetworks",
    "OutlierDetectionNeighbors"
])

Closing because of inactivity.


Update p2-es to v1.1.5

Update p2-es to v1.1.5

Major version update, includes typescript conversion

Remove Duplet type used by character controls, use p2-es Vec2 type instead
Change useSpring hook to use LinearSpring instead of abstract class Spring, which shouldn't be used directly

In a future change this hook could be renamed to useLinearSpring, and a useRotationalSpring hook could be created?

Add MaterialOptions type, as a MaterialOptions type does not exist in p2

The Material class does not take any constructor arguments

Replace CannonCollideEvent type with ImpactEvent type

Marking this as ready for review!
The deployed examples look ok to me.
It might also be good to put together some benchmarks comparing the original and typescript versions of p2 to make sure there aren't performance regressions.

Removed the accidental yarn.lock files (whoops)

@joergjaeckel are you happy for me to merge? LMK if you'd like to review, or if you're happy for me to go ahead and merge + release.


Why custom scripts and not webpack for building styles?

Currently the npm run watch takes at least 1 second with minimal setup and only on package. So my questions is why custom scripts runner?
yarn run v1.12.3
$ ./scripts/build-styling.sh
Processing packages/core/scss/switch-base.scss
Processing packages/core/scss/button-base.scss
Processing packages/core/scss/range-base.scss
Processing packages/core/scss/progress-base.scss
Processing packages/core/scss/checkbox-base.scss
Done in 1.18s.

watcher build complete!

That's a good point. I agree the existing setup should be improved, while keeping the overall idea of compiling CSS. One idea which came to my mind is using the following tools:

lit-css-loader for Storybook and visual tests
rollup-plugin-lit-css for preparing files to run Pack when building a "dist" output

I would be glad to accept a PR in case someone is willing to help with that setup.

We have a project that we have been building for some time now. I used your other package https://github.com/web-padawan/lit-components and have customized this for our current needs.
The project now uses
scss with import styles from './component-name.scss'; in each of our LitElement components.
scss mixins imported with webpack using sass-resources-loader
Storybook playing nice (with our custom rules set copied to .storybook/webpack.config.js
Custom vaadin styles with adding compiled scss to head.
I think the current process is similar what lit-css-loader allows to do but we are importing scss directly, the webpack converts it to css on the fly and the raw-loader allows importing css to lit component.
Complete webpack rules
test: /\.scss$/,
      use: [
        {
          loader: 'raw-loader'
        },
        {
          loader: 'sass-loader'
        },
        {
          loader: 'sass-resources-loader',
          options: {
            resources: [require.resolve('../src/styles/mixins.scss'), require.resolve('../src/styles/inject.scss')]
          }
        }
      ]
    },

module.exports = {
  env: {
    development: {
      presets: [
        [
          '@babel/preset-env',
          {
            exclude: ['transform-classes'],
            modules: false,
            targets: {
              ie: 11
            }
          }
        ]
      ],
      plugins: [
        [
          '@babel/plugin-transform-runtime',
          {
            corejs: false,
            helpers: false,
            regenerator: true,
            useESModules: false
          }
        ]
      ]
    },
    regressions: {
      presets: [
        [
          '@babel/preset-env',
          {
            modules: false,
            targets: {
              chrome: 69
            }
          }
        ]
      ]
    }
  }
};

I can talk about my setup more in detail if interested/needed. I also created a sample setup just after giving some edits to your lit-components package. https://github.com/chanar/lit-scss-vaadin

Thanks for sharing, I will evaluate the options.
I would still prefer not to import .scss files directly in the codebase and keep it "pure" ES modules, in order to avoid using webpack as the only tool, but instead continue with current approach: webpack for storybook, pack (effectively, rollup under the hood) for publishing to npm.

lit-css-loader for Storybook and visual tests
rollup-plugin-lit-css for preparing files to run Pack when building a "dist" output

lit-css-loader for Storybook and visual tests.. What is your idea for running styles in development without the need to generate build/dist?

Thanks for sharing, I will evaluate the options.
I would still prefer not to import .scss files directly in the codebase and keep it "pure" ES modules, in order to avoid using webpack as the only tool, but instead continue with current approach: webpack for storybook, pack (effectively, rollup under the hood) for publishing to npm.

By this did you mean that when building for production, you would generate .css and have components importing .css instead of .scss. Which would mean using scss compilation with whatever tool (although needs to be certainly rollup, webpack etc) in development mode and only when building for production, -style.js files would be generated similar to your scripts folder functionality.
if (env === 'dev') {
import styles from './styles/component.scss';
} else {
import styles from './styles/component.js'; // generated when production build called
}

By this did you mean that when building for production, you would generate .css and have components importing .css instead of .scss.

The generated CSS is always wrapped into /styles/component.js and I would like to keep the .scss an implementation detail, and avoid any environment checks in the source code while possible (as I'm not sure whether Rollup can recognise and remove them or not).

Based on https://github.com/web-padawan/aybolit/pull/15 we learned a few things

node-sass is currently not an option (rgb() function fails)
dart-sass should be a working alternative, but we just recently discovered this, and will attempt integration tomorrow
scripts/build-styling.sh is massively unoptimal as-is, since builds all components on every CSS change - should it perhaps become incrementally smarter towards a smaller rebuild surface (only rebuild in the same directory as changes made), or is pursuing this a waste of effort anyway? Maybe more advanced toolchains, like discussed above, should be attempted right away.

I understand one of Aybolit goals is "tool-agnostic", which makes sense, but I'm not very confident in estimating what's the next logical step here.
Can scripts/build-styling.sh become smarter, or will it soon run into next problems, such as "can it handle modifying a shared dependency", or is each package always living its own isolated life?
@web-padawan your thoughts, please?

is each package always living its own isolated life?

Yes, that's the current state of things. In the Aybolit setup, each package is a separate library. I agree this might not be optimal for more common case where each package is a component.

scripts/build-styling.sh is massively unoptimal as-is, since builds all components on every CSS change

I do understand that, and the current setup was meant to deliver an MVP. As I mentioned above, I will evaluate the options and try using dart-sass, as Ruby Sass reached its end of life.
Unfortunately, I haven't had any time to work on this project for more than 2 weeks due to personal reasons. Hope to get back on track this week and continue on this subject, as well as #11

Is HMR possible with anything other than Webpack? It'd be useful to be able to hot-reload at least style changes in the browser, without needing full page reload.
https://medium.com/webpack/webpack-and-rollup-the-same-but-different-a41ad427058c and https://github.com/rollup/rollup/issues/50 seem to point to "no".

Is HMR possible with anything other than Webpack?

AFAIK, using HMR is unlikely to work properly with web components because of duplicate Custom Element definitions. So I usually have to restart Storybook after doing a bunch of changes.

@chanar @web-padawan perhaps #18 also resolves this issue now.
As HMR is unlikely to work w/ custom elements, I see no specific reason to aim for further root level Webpack integration. Do you?

We still need to turn the whole pack into x.bundle.js with minifications and so on. Webpack has perfect toolset for this. Also, what browsers we need to consider? So probably @web-padawan has had in mind to configure build script. But it usually is a thing to do depending on individual build needs.

I think our bundling should happen at theme (already Webpacking via Laravel Mix) and app level (whatever your conversionxl/cxl-app repo does, or wants to do), but bundling is probably not needed in conversionxl/aybolit components monorepo.

Regarding building minified output, there is a pika-plugin-minify which I have tried, but so far it looks like that plugin only covers index.js and not the separate  files under dist-src.
I'm not inclined to use webpack for preparing dist of the Aybolit at the moment. Pack which I'm using is based on Rollup under the hood, which is a great tool to output ES modules.
Once webpack 5 with first-class ES modules support (as a compile target) is out, we can probably reconsider using it but right now it doesn't seem a proper choice.
Of course in your projects you can use webpack, Parcel or anything (and Rollup, too).

Closing issue as building styles now works properly


Whether the pie chart can add data labels？

When we use chart-driven, whether the pie chart can add data tags, not only the category, but also the proportion or value？

Please give an example to describe this feature.

Please give an example to describe this feature.


Command handling

Altogether improved the command handling in the plugin manager.
This mostly aims to implement support for the Aliases plugin, as well as fix bugs in the support code.

C++ code looks good, but I can't comment on the lua.

2000!!! :tada:

Not long till we hit a nice round 0x800 :)

Yeah :)

0o4000


admin event mainupulation

Fixes #43

Description:  Compelteed the Event manipulation feature!
Checklist

[x] I've followed the Contributing guidelines provided in the repository.
[x] I've made the changes which were demanded in the linked issue.
[ ] I've tested my code on a Chromium based browser.
[x] I've tested my code on Mozilla Firefox.
[x] My code gave a clean console on debugging. (no warnings/errors)

Testimonial
visit /admin
Thorough checking is required for finding bugs if any!

Anyone please open an issue for fixing some of the styles that I was not able to perfectly implement!


Adding a new Reference top-level section

Adds the new Framework reference docs to the new Reference section
moved some topics from Build to Reference
added a temp navconfig for the Reference section

I merged this into another PR, closing


Fixed step 1 and 2 on change-the-default-language-for-greetings-and-emails.md

https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/4383

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@dstrome PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Fix: Only send Clear-Site-Data for the root document (HTML)

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

Short description of the change(s)
After fixing the Clear-Site-Data header issue of unquoted string values
in https://github.com/webhintio/webhint.io/pull/856, a new console error has surfaced:

While I don't believe this causes any real issues, to get rid of the console error, either:

add crossorigin="use-credentials" to the manifest link relation
only send the header in text/html responses to begin with.

This PR introduces the latter approach, which I think is more appropriate. The spec says the various data types ("cookie", "storage" etc.) are "associated with the origin of a particular response’s url", which I think implies that sending this header for sub-resources is unnecessary, and is the reason for this console error.
Edit: I should also mention that I tested this locally, sending Clear-Site-Data: "cache" for the document text/html forced the client to fetch all sub-resources from the server, whereas otherwise 304s were returned.

@molant - did you mean to merge this into patch-1 as opposed to master?

did you mean to merge this into patch-1 as opposed to master?

🤦♂


LeapHybridSampler works only in dwave-cloud-client==0.6.3.

I ran the code on the following page and tested some versions of dwave-cloud-client to work LeapHybridSampler.
https://docs.ocean.dwavesys.com/projects/system/en/stable/reference/samplers.html#leaphybridsampler
version 0.7.0:
Traceback (most recent call last):
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/cloud/client.py", line 1079, in get_solver
    return self.get_solvers(refresh=refresh, **filters)[0]
IndexError: list index out of range

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "example.py", line 19, in <module>
    sampler = LeapHybridSampler(solver=solver, endpoint=endpoint, token=token)
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/system/samplers/leap_hybrid_sampler.py", line 98, in __init__
    self.solver = self.client.get_solver()
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/cloud/client.py", line 1081, in get_solver
    raise SolverNotFoundError("Solver with the requested features not available")
dwave.cloud.exceptions.SolverNotFoundError: Solver with the requested features not available

version 0.6.2:
Traceback (most recent call last):
  File "example.py", line 20, in <module>
    response = sampler.sample(bqm) # please limit the time to 20 mins or less
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/system/samplers/leap_hybrid_sampler.py", line 200, in sample
    sapi_problem_id = self.solver.upload_bqm(fv).result()
  File "/Users/maruzhang/.pyenv/versions/anaconda3-5.3.1/lib/python3.7/concurrent/futures/_base.py", line 432, in result
    return self.__get_result()
  File "/Users/maruzhang/.pyenv/versions/anaconda3-5.3.1/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
  File "/Users/maruzhang/.pyenv/versions/anaconda3-5.3.1/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/cloud/client.py", line 1729, in _upload_problem_worker
    chunks = ChunkedData(problem, chunk_size=self._UPLOAD_PART_SIZE_BYTES)
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/cloud/upload.py", line 373, in __init__
    self.view = FileView(GettableFile(data))
  File "/Users/maruzhang/.local/share/virtualenvs/test-ddFr6xNl/lib/python3.7/site-packages/dwave/cloud/upload.py", line 164, in __init__
    raise TypeError("expected file-like, seekable, readable object")
TypeError: expected file-like, seekable, readable object

I confirmed LeapHybridSampler works in the following versions.
$ pip list
Package            Version
------------------ ----------
certifi            2019.11.28
chardet            3.0.4
click              7.1.1
decorator          4.4.2
dimod              0.9.0
dwave-cloud-client 0.6.3
dwave-hybrid       0.4.2
dwave-inspector    0.1.3
dwave-neal         0.5.3
dwave-networkx     0.8.4
dwave-ocean-sdk    2.0.1
dwave-qbsolv       0.3.0
dwave-system       0.9.1
dwave-tabu         0.2.2
dwavebinarycsp     0.1.1
Flask              1.1.1
homebase           1.0.1
idna               2.9
itsdangerous       1.1.0
Jinja2             2.11.1
MarkupSafe         1.1.1
minorminer         0.1.9
networkx           2.4
numpy              1.18.1
ortools            7.5.7466
penaltymodel       0.16.3
penaltymodel-cache 0.4.1
penaltymodel-lp    0.1.3
penaltymodel-mip   0.2.2
pip                20.0.2
plucky             0.4.3
protobuf           3.11.3
pyqubo             0.4.0
PySocks            1.7.1
python-dateutil    2.8.1
requests           2.23.0
scipy              1.4.1
setuptools         46.0.0
six                1.14.0
urllib3            1.25.8
Werkzeug           1.0.0
wheel              0.34.2

I installed them by the command as below. dwave-cloud-client is downgraded from 0.7.0 to 0.6.3.
$ pip install dwave-ocean-sdk
$ pip install dwave-cloud-client==0.6.3

@maruzhang, LeapHybridSampler should work with the cloud client 0.7.0.
Can you please share your code that's not working (a reduced, minimal example), together with dwave.conf, if you have created on? Please omit your token and other sensitive details. Thanks.

Thank you, @randomir. My dwave.conf has a problem. By commenting out client = qpu, I confirmed the hybrid sampler works with the cloud client 0.7.0.
I referenced the following issue:
https://github.com/dwavesystems/dwave-cloud-client/issues/371


Add ESP test assets

This doesn't affect any running code. Only review necessary is that test suite passes, which is provided by CI. (Side note - maybe it would be worthwhile to have an assets-only label or something, so things like this can get fast-tracked?)


allowed_species/use_species consistency

In the CLI tool, the flag for narrowing down species is --use_spcies=human while in the Python package, the corresponding argument is allowed_species in the run_anarci and anarci functions.
The code also breaks when you specify a species;
ANARCI -i EVQLQQSGAEVVRSGASVKLSCTASGFNIKDYYIHWVKQRPEKGLEWIGWIDPEIGDTEYVPKFQGKATMTADTSSNTAYLQLSSLTSEDTAVYYCNAGHDYDRGRFPYWGQGTLVTVSA --assign_germline --use_species=human | head -n 10
# Input sequence
# ANARCI numbered
# Domain 1 of 1
# Most significant HMM hit
#|species|chain_type|e-value|score|seqstart_index|seqend_index|
#|mouse|H|2e-54|174.1|0|119|
# Most sequence-identical germlines
#|species|v_gene|v_identity|j_gene|j_identity|
#|human|IGHV1-69-2*01|0.65|IGHJ4*01|0.86|

However, this is what I see when I run the Python package
>>> anarci([(1,"EVQLQQSGAEVVRSGASVKLSCTASGFNIKDYYIHWVKQRPEKGLEWIGWIDPEIGDTEYVPKFQGKATMTADTSSNTAYLQLSSLTSEDTAVYYCNAGHDYDRGRFPYWGQGTLVTVSA")], allowed_species='human', assign_germline=True)[1]

# [[{'id': 'mouse_H',
   'description': '',
   'evalue': 2e-54,
   'bitscore': 174.1,
   'bias': 0.3,
   'query_start': 0,
   'query_end': 120,
   'species': 'mouse',
   'chain_type': 'H',
   'scheme': 'imgt',
   'query_name': 1,
   'germlines': {}}]]

Discovered why this behaviour is happening. It would help users if you have types in the function declarations to avoid confusions, e.g.
def anarci(sequences: Union[str, List[Tuple[Any, str]]], ... allowed_species: Optional[List[str]] = None ...):

It would be even nicer to have the output signature defined because the ANARCI output is a little difficult to parse for non-experts.

I wrote a helper class to align a text file of sequences and pull out the useful info.
class Aligner:
    def __init__(self, path):
        self.path = path

    def read_seqs(self):
        f = open(self.path)
        return [(str(i), line.rstrip()) for i, line in enumerate(f) if not line.startswith('>')]

    def align_seqs(self):
        seqs = self.read_seqs()
        self.results = anarci(
            seqs,
            scheme='aho',
            output=False,
            assign_germline=True,
            allowed_species=['human'])

    def reformat_seq(self, seq):
        return ''.join(o[1] for o in seq[0][0])

    def get_metadata(self, data):
        chain_type = data[0]['chain_type']
        v_gene = data[0]['germlines']['v_gene'][0][1]
        alignment_score = data[0]['germlines']['v_gene'][1]
        return chain_type, v_gene, alignment_score

    def get_alignments(self):
        for res in zip(*self.results):
            seq, data, _ = res
            seq = self.reformat_seq(seq)
            chain_type, v_gene, alignment_score = self.get_metadata(data)
            yield seq, {'chain': chain_type,
                        'v_gene': v_gene,
                        'alignment_score': alignment_score}

test = Alignment('test97.fasta')
test.align_seqs()

feel free to use if it helps

Thanks, very useful for others who haven't used/developed ANARCI before! In fact, may I suggest using BioPython? e.g.
from Bio.SeqIO import SeqIO

for record in SeqIO.parse(open('/path/to/file'), 'fasta'):
    seq = str(record.seq)

My issue was more surrounding inconsistencies in the CLI vs API though.


README Translation

Hello, my name is kerubin and I saw that you didn't have documentation in other languages so decide to translate it into mine, I'm from Brazil and I hope you like the documentation, anything you need to change just let me know

Hey @KerubinDev, thanks for opening the PR, but I think we shouldn't go ahead with this PR because:

For better or for worse, MUI is English-centric: translating only the README doesn't add much value when the rest of the codebase and docs are only in English.
Maintaining translations for the README, the docs, or any other material is not a priority for us today. If we add something to the repo/docs, we want to be 100% sure we'll maintain it.

@samuelsycamore feel free to reopen if you think otherwise.

For more context: We used to provide the docs translated into Mandarin and Portuguese, but our English-language docs get updated so frequently that the translations were always out of sync and led to a much worse user experience. So we removed them, and we currently have no plans to reintroduce them.

Understood, well I don't bother doing the translation every time the readme is updated, I won't charge anything, I just want to help the community in some way.
If you think it's a good idea for me to translate the readm, just contact me via gmail
<EMAIL_ADDRESS>This way, every time you make an update to the readme, just let me know and I'll change the Portuguese version, but of course, only if you agree

For now, we won't be adding any translations. Thanks for getting in touch and contributing, @KerubinDev.


dotnet Core (NetStandard Support)

Is there a roadmap anywhere ? Where is unity at today?

No one is maintain it mate.

It certainly appears that way.
For anyone else looking for a a dot net core, net standard ready IOC tool.
see Stack overflow for more details:
http://stackoverflow.com/questions/42722926/unity-container-and-support-for-dotnet-core-netstandard
there are also several comparisons of IOC containers out there.

No that has too limited functionality. Only basic things.

I have ported Unity to .NET Core and got the standard MVC starter project working
Requires ASP.NET Core 1.1.1
Happy to update my fork and put in a pull request.  BUT I have removed support for IServiceLocator - hate that concept with a passion and it's not required with Microsoft's new DI

here Unity.Extensions.DependencyInjection implementation of the interfaces in Microsoft.Extensions.DependencyInjection.Abstractions, passes 45/46 specifications tests, but you need full unity and target net451+

no. and given the other MS tool and 3rd party tools  it is unlikely.  I
have abandoned my unity code.
On Aug 16, 2017 09:47, "Stephen Chung"<EMAIL_ADDRESS>wrote:

@slaneyrw https://github.com/slaneyrw any good news on making a .NET
Core (or Standard) compatible Unity?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unitycontainer/unity/issues/81#issuecomment-322693116,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALVqIF-NWaP0xzSSGzGY8_6oEfW0vDmVks5sYp6bgaJpZM4MZi8a
.

same here. switched to autofac

Got it done locally.  In addition I have got a full working MVC reference sample using a Unity IServiceProvider, but there are issues with making Unity compatible with Microsoft's default constructor selection, they are going to really weird stuff to disambiguate.
Working on getting Unity.Interception migrated.

@slaneyrw Any chance to share your work?  I have a project based on Unity which is hoping to move to .Net Standard.  Everything else seem doable, except the Unity part...

@slaneyrw you can look my ConstructorResolver
https://github.com/DaniilSokolyuk/DS.Unity.Extensions.DependencyInjection/blob/master/src/DS.Unity.Extensions.DependencyInjection/UnityExtensions/ConstructorSelectionUnityExtension.cs
It works fine now.
Now i add netstandard2.0 support, its works but some specification test is failed.

that was my point. MS is now using SO and autodiscover.  Rather move to a
full Container tool with more than 1million downloads with full core and
netstandard support. e.g. simpleinjector or autofac to name just 2.
On Apr 7, 2017 11:50 PM, "slaneyrw"<EMAIL_ADDRESS>wrote:

I have ported Unity to .NET Core and got the standard MVC starter project
working
Requires ASP.NET Core 1.1.1
Happy to update my fork and put in a pull request. BUT I have removed
support for IServiceLocator - hate that concept with a passion and it's not
required with Microsoft's new DI
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unitycontainer/unity/issues/81#issuecomment-292660599,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALVqIFBcJXUG5iujix6fOBNjL6j-qjtYks5rtq-qgaJpZM4MZi8a
.

I'm going to check into my Fork soon.  I have migrated Unity.Interception now, and included native support for Task method interception.
A few of the interception interfaces and classes have now been enhanced with Async versions for native async/await
eg
public interface InterceptionBehaviorPipeline
{
   public async Task<IMethodReturn> InvokeAsync(
     IMethodInvocation input,
     InvokeInterceptionBehaviorAsyncDelegate target
   ) {...}
}

public delegate Task<IMethodReturn> InvokeInterceptionBehaviorAsyncDelegate(IMethodInvocation input, NextInterceptionBehaviorAsyncDelegate next);
public delegate InvokeInterceptionBehaviorAsyncDelegate NextInterceptionBehaviorAsyncDelegate();

public interface IInterceptionBehavior
{
    Task<IMethodReturn> InvokeAsync(IMethodInvocation input, NextInterceptionBehaviorAsyncDelegate next);
}

public interface ICallHandler
{
    Task<IMethodReturn> InvokeAsync(IMethodInvocation input, NextHandlerAsyncDelegate next);
}

public delegate Task<IMethodReturn> InvokeNextHandlerAsyncDelegate(IMethodInvocation input, NextHandlerAsyncDelegate next);
public delegate InvokeNextHandlerAsyncDelegate NextHandlerAsyncDelegate();

The interface for ICallHandler now has an async version and will be called for any Task or Task result.
@soadyp I'm glad you have the luxury of selecting an inferior DI library, some of us have too much invested in Unity to be able to migrate ;)

@DaniilSokolyuk
Code looks almost identity to my constructor selector... but I noticed the following code in your UnityContainerUserExtensions class
    internal static bool CanResolve(this IUnityContainer container, Type type)
    {
        if (type.IsClass)
        {
            return true;
        }

        if (type.IsGenericType)
        {
            var gerericType = type.GetGenericTypeDefinition();
            if ((gerericType == typeof(IEnumerable<>)) ||
                gerericType.IsClass ||
                container.IsRegistered(gerericType))
            {
                return true;
            }
        }

        return container.IsRegistered(type);
    }

If the parameter is an abstract class, then it will return true, you need to check ...
type.IsClass && !type.IsAbstract
You should also check if the generic is registered, not just checking or the open generic registration.
I'm also explicitly checking for Array as well.


pub.dartlang.org/packages should show version on all pages not just the first

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
1.
Open url pub.dartlang.org in browser (version column is shown)
2.
Click more packages
3.
What is the expected output? What do you see instead?
version column should be shown on pub.dartlang.org/packages too, not just pub.dartlang.org
What version of the product are you using? On what operating system?
Please provide any additional information below.

This issue has been moved to dart-lang/pub-dartlang#330.


Restore not working when search guard is enabled

Im trying to restore a snapshot, Im getting below error:
curl -u admin:password -XPOST "localhost:9200/_snapshot/backup_16OCT2016/snapshot_1/_restore" -d '{
"indices": "search",
"ignore_unavailable": true,
"include_global_state": false
}
{"error":{"root_cause":[{"type":"security_exception","reason":"no permissions for cluster:admin/snapshot/restore"}]
,"type":"security_exception","reason":"no permissions for cluster:admin/snapshot/restore"},"status":403}
Seeing below error in syslog:
elasticsearch[19411]: [2016-10-18 12:41:24,291][WARN ][com.floragunn.searchguard.configuration.PrivilegesEvaluator] cluste
r:admin/snapshot/restore is not allowed for a regular user.
Tried role mappings, but no luck? Any help is appreciated

duplicate of https://github.com/floragunncom/search-guard/issues/116

docs moved to https://github.com/floragunncom/search-guard-docs/blob/master/snapshots.md


cataclysm dda 2018-07-15

Motivation for this change
Considering this game's propensity towards segfault, a easy debug flag seemed useful.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build cataclysm-dda-git

Success on x86_64-linux (full log)
Attempted: cataclysm-dda-git
Partial log (click to expand)
mkdir -p /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15/share/locale
LOCALE_DIR=/nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15/share/locale lang/compile_mo.sh all
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15
shrinking /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15/bin/cataclysm-tiles
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15/bin
patching script interpreter paths in /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15
checking for references to /build in /nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15...
/nix/store/fbjwzhzznqi3ysa00bfnwmmwn14qjmw3-cataclysm-dda-git-2018-07-15

Success on x86_64-darwin (full log)
Attempted: cataclysm-dda-git
Partial log (click to expand)
install --mode=644 data/changelog.txt data/cataicon.ico data/fontdata.json \
                   LICENSE.txt -t /nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15/share/cataclysm-dda/
mkdir -p /nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15/share/locale
LOCALE_DIR=/nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15/share/locale lang/compile_mo.sh all
post-installation fixup
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15/bin
patching script interpreter paths in /nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15
/nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15/Applications/Cataclysm.app/Contents/MacOS/Cataclysm.sh: interpreter directive changed from "/bin/sh" to "/nix/store/q2wqq1k20v8kc3vckapqf5nws30brnni-bash-4.4-p23/bin/sh"
/nix/store/fyv2gk95zm21jfjrmlgk1g1yr852rd85-cataclysm-dda-git-2018-07-15

Success on aarch64-linux (full log)
Attempted: cataclysm-dda-git
Partial log (click to expand)
mkdir -p /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15/share/locale
LOCALE_DIR=/nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15/share/locale lang/compile_mo.sh all
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15
shrinking /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15/bin/cataclysm-tiles
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15/bin
patching script interpreter paths in /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15
checking for references to /build in /nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15...
/nix/store/85l1kga62c5wxhzcs82ry2nwfj0qi36g-cataclysm-dda-git-2018-07-15


REQUEST - option for appcenter release-react to exclude bundling assets (only js)

Hi I know that it is possible to bundle without assets using the vanilla command. But as per the docs the preferred method to deploy for react-native is through react-release (and I fully agree).
Can we have an option please to only bundle JS and exclude assets, this is helpful for making smaller deployment packages when you know the assets have not changed.
Thanks,
Matthew

Source - https://docs.microsoft.com/en-us/appcenter/distribution/codepush/cli#releasing-updates-general


AWS SDK Requests being recorded on every request

Description
Pollyjs doesn't seem to replay requests made with the node aws-sdk whenever I run my jest test, the aws request entry inside the recording still seems to be modified. While reviewing the diff between requests the following aws request headers seem to always get updated x-amz-date, date and x-amzn-requestid.
We use AWS Secrets Manager to get API keys, database passwords, and so on. I am sure that it is the aws request because the requests were saved and then replayed successfully when I hardcoded the retrieved secrets and bypassed the request to aws.
Shareable Source
JEST Test
const {
  someAPIRequest,
} = require('../some-api-request');

describe('SomeAPITest', () => {
  it('someEndPoint', async () => {
    const res = await someAPIRequest('someId');

    expect(res).toHaveProperty(['someProperty']);
  });
});

someAPIRequest

async function someAPIRequest(someId){
 // uses aws sdk to retrieve secrets
  const secret = await getSecrets('/some/secret');

  headers.authenticationToken = secret.auth_token;

  return fetch(`some-endpoint`, {
    headers,
  })
    .then(result => result.json())
    .then(result => {
	 // perform some business logic on result
	 return result;
	})
    .catch(err => {
      console.log(err);
    });
}

module.exports = someAPIRequest;

Jest test setup file
This will run prior to every test.
const setupPolly = require('../lib/setup-polly');

const context = setupPolly();

beforeEach(() => {
  context.polly.server.any().on('beforePersist', (req, recording) => {
		//scrub some headers from requests prior to saving the recordings
    });
  });
});

Error Message & Stack Trace
Whenever I run pollyjs with the option 'recordIfMissing' set to false I see the error 'node-http-adapter' as follows:
=[Polly] [adapter:node-http] Recording for the following request is not found and `recordIfMissing` is `false`.
That makes sense because the file is being changed every time so Pollyjs tries to look for it but it doesn't fit the one that was saved previously.
Config
const path = require('path');
const NodeHttpAdapter = require('@pollyjs/adapter-node-http');
const { Polly } = require('@pollyjs/core');
const FSPersister = require('@pollyjs/persister-fs');
const { MODES } = require('@pollyjs/utils');
const { setupPolly } = require('setup-polly-jest');

Polly.register(NodeHttpAdapter);
Polly.register(FSPersister);

module.exports = () =>
  setupPolly({
    mode: MODES.REPLAY,
    recordIfMissing: process.env.POLLY_RECORD || false,
    adapters: ['node-http'],
    persister: 'fs',
    persisterOptions: {
      disableSortingHarEntries: true,
      fs: {
        recordingsDir: path.resolve(__dirname, '../__recordings__'),
      },
    },
    matchRequestsBy: {
      method: true,
      headers: true,
      body: true,
      order: true,
      url: {
        protocol: true,
        username: false,
        password: false,
        hostname: true,
        port: false,
        pathname: true,
        query: true,
        hash: true,
      },
    },
  });

Dependencies
{

	"dependencies": {
    	"aws-sdk": "2.612.0",
		"node-fetch": "2.6.0"
	},
	"devDependencies": {
	    "@pollyjs/adapter-node-http": "5.0.0",
	    "@pollyjs/core": "5.0.0",
	    "@pollyjs/persister-fs": "5.0.0",
	    "@pollyjs/utils": "5.0.0",
		"jest": "24.8.0",
		"setup-polly-jest": "0.9.1"
	}
}

Environment
Node.js v10.15.0
darwin 19.6.0
npm 6.4.1

@offirgolan This worked! But unsure why? I was expecting those headers to be removed from the .har file but they are still there. What does this option do? There isn't much information in the documentation other than:
Type: Boolean | Function | Object Default: true

The request headers.

The matchRequestsBy config determines how Polly generates the request's unique id so that it can be matched when replayed. The above config tells Polly to ignore those headers when generating the GUID.


Added option to run activity for each tests method.

Added option to run activity for each tests method. It is needed for UI tests (Espresso).
Change is backward compatible.

Could you document the enum RunMode, and what SPECIFICATION and METHOD do?
I'm working on updating snap so the tests can run.

I'm seeing "java.lang.IllegalStateException: failed to find target android-22" could this be with the update to the build tools? I have android-22 installed. I'm thinking maybe we should bump the compileSdkVersion to 23?

I will do documentation for this change.
Previous builds also failed with the same error, so this is not problem with build tools version.
More likely sdk v22 is missing on build agent. I do not know how fix, I have never build project on Snap CI.

Documentation added.

Regarding failed build check this link:
https://docs.snap-ci.com/the-ci-environment/languages/android/
You should execute this to download sdk 22:
$ echo y | android update sdk --no-ui --filter android-22

Example shell scripts:
https://github.com/snap-ci-examples/android-emulator

I have echo y | android update sdk --no-ui --filter android-22 in the setup. Not sure what changed. I'm going to try and updated everything to 23 today see if that will flush out some of the problems.

Thanks for this addition!

@dbacinski Just released to bintray/artifactory and central as 1.2.2. Still can't figure out what's wrong with circle...


Limit Pip version

Starting with version 10, Pip does not allow updating packages that were installed with the distro's package manager.

Demo
With master: https://ocd.appscale.com:8080/job/Create-Eucalyptus-Image/6319/
With branch: https://ocd.appscale.com:8080/job/Create-Eucalyptus-Image/6321/ (still fails, but installs google-api-python-client successfully)


Removing players

Hey is there anyway to remove a player from there room without there name
Because you should be able to do /ht room (hotel) kick (number)
So you can kick people out without knowing there names this would be great clearing out my server rooms

Project has been moved to GitLab.


Support cross-TS-project navigation

Currently, lsif-typescript emits local symbols for cross-TS-project navigation. We already have a minimized reproduction in the snapshot tests
https://github.com/sourcegraph/lsif-typescript/blob/5f847b4cb6c79b227c977c9f51d8e8fcd570d500/snapshots/output/multi-project/packages/b/src/b.ts#L2
The expected behavior is that the symbol should be global and match this symbol here
https://github.com/sourcegraph/lsif-typescript/blob/5f847b4cb6c79b227c977c9f51d8e8fcd570d500/snapshots/output/multi-project/packages/a/src/a.ts#L1-L2

Turns out this was not a bug after all, the project just had a compile error. I opened https://github.com/sourcegraph/lsif-typescript/pull/47 adding a test case to demonstrate that lsif-typescript already works as expected for multi-project codebases


Instances of inner class can't be load back with ConfigFile

Operating system or device - Godot version:
Godot 3.0 alpha1 on Windows 10
Issue description:

There is a class named MyClass.gd. Instance of this class can be save and load back with ConfigFile but something wrong with the member subObj  which is an Instance of the inner class SubClass.
var name = "boy"
var age = 2
var subObj = SubClass.new()

class SubClass:
    var sex = "male"

Steps to reproduce:

Download the project below
Click "Save" button to save an instance of MyClass with ConfigFile
Click "Load" button to load the saved instance back from the saved file.

Link to minimal example project:
ConfigFileBug.zip

Related to #6533?

In fact the ConfigFile doesn't requires the GDScript module.
So it would be better if inst2dict and dict2inst could be seprate from GDScript language and make them virtual with different script languages.

@Geequlim Can you still reproduce this bug in Godot 3.2.1 or 3.2.2beta4?

Still reproducible in 3.2.3 RC 1.

This is still reproducible on 4.3 stable.
What I noticed is even the properties of SubClass are properly stored in the config file, the problem seems to be that because SubClass is an inner class Godot is not able to properly "identify" the object script and due to that the SubClass type. So when the object is loaded from the file, the properties are filled with the values from the file, but not the type.
I tried to see if I was able to identify an issue in VariantWriter and VariantParser which are the classes that ConfigFile uses to serialize data, but due to my lack of knowledge on the relation between Object and scripts I couldn't.
What I found is a way to get it working: making subObj typed. That let Godot set the type properly and everything works as expected.
MyClass.gd should be:
var name = "boy"
var age = 2
var subObj:SubClass = SubClass.new()
var anotherObj = preload("AnothorClass.gd").new()

class SubClass:
	var sex = "male"


failed build podfile ios : CocoaPods could not find compatible versions for pod "GoogleDataTransport"

pub dev dependecies :
firebase_analytics: ^11.2.0
firebase_core: ^3.2.0
firebase_messaging: ^15.0.3
firebase_crashlytics: ^4.0.3
firebase_in_app_messaging: ^0.8.0+3
mobile_scanner: ^5.2.3

Analyzing dependencies
firebase_analytics: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_core: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_in_app_messaging: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
firebase_messaging: Using Firebase SDK version '11.0.0' defined in 'firebase_core'
[!] CocoaPods could not find compatible versions for pod "GoogleDataTransport":
  In Podfile:
    firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.1.0, which depends on
      Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
        FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
          GoogleDataTransport (~> 10.0)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
      GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
        GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
          MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
            GoogleDataTransport (< 10.0, >= 9.4.1)

I have also same error
Analyzing dependencies cloud_firestore: Using Firebase SDK version '11.0.0' defined in 'firebase_core' firebase_auth: Using Firebase SDK version '11.0.0' defined in 'firebase_core' firebase_core: Using Firebase SDK version '11.0.0' defined in 'firebase_core' firebase_messaging: Using Firebase SDK version '11.0.0' defined in 'firebase_core' [!] CocoaPods could not find compatible versions for pod "GoogleDataTransport":   In Podfile:     firebase_messaging (from .symlinks/plugins/firebase_messaging/ios`) was resolved to 15.0.0, which depends on
Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleDataTransport (~> 10.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
  GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
    GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
      MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
        GoogleDataTransport (< 10.0, >= 9.4.1)

`

Same .... GoogleDataTransport must be > 10.0
Temporary solution is to downgrade firebase_core from ^3 to ^2.32.0 and match all other firebase dependencies...

`[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults":
In snapshot (Podfile.lock):
GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)
  In Podfile:
    firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.1.2, which depends on

`
almost same here

mostly same issue but other tool "GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)"
`
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults":
In snapshot (Podfile.lock):
GoogleUtilities/UserDefaults (= 8.0.2, ~> 8.0)
  In Podfile:
    firebase_messaging (from `.symlinks/plugins/firebase_messaging/ios`) was resolved to 15.1.2, which depends on
      Firebase/Messaging (= 11.0.0) was resolved to 11.0.0, which depends on
        FirebaseMessaging (~> 11.0.0) was resolved to 11.0.0, which depends on
          GoogleUtilities/UserDefaults (~> 8.0)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
      GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
        MLKitBarcodeScanning (~> 5.0.0) was resolved to 5.0.0, which depends on
          MLKitCommon (~> 11.0) was resolved to 11.0.0, which depends on
            GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0)

`

I have the exact same problem.. is there any solution?

Including mine since it goes one step deeper in the stack:
[!] CocoaPods could not find compatible versions for pod "nanopb":
  In Podfile:
    firebase_analytics (from `.symlinks/plugins/firebase_analytics/ios`) was resolved to 11.3.0, which depends on
      Firebase/Analytics (= 11.0.0) was resolved to 11.0.0, which depends on
        Firebase/Core (= 11.0.0) was resolved to 11.0.0, which depends on
          FirebaseAnalytics (~> 11.0.0) was resolved to 11.0.0, which depends on
            nanopb (~> 3.30910.0)

    mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
      GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
        GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
          MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
            GoogleDataTransport (< 10.0, >= 9.4.1) was resolved to 9.4.1, which depends on
              nanopb (< 2.30911.0, >= 2.30908.0)

+1

[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/UserDefaults":
In Podfile:
firebase_app_check (from .symlinks/plugins/firebase_app_check/ios) was resolved to 0.3.1-2, which depends on
FirebaseAppCheck (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/UserDefaults (~> 8.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
  GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
    GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
      MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
        GoogleUtilities/UserDefaults (< 8.0, >= 7.13.0)

+1

any news?
[!] CocoaPods could not find compatible versions for pod "GoogleUtilities/Environment":   In Podfile:     firebase_remote_config (from .symlinks/plugins/firebase_remote_config/ios`) was resolved to 5.1.2, which depends on
Firebase/RemoteConfig (= 11.0.0) was resolved to 11.0.0, which depends on
FirebaseRemoteConfig (~> 11.0.0) was resolved to 11.0.0, which depends on
GoogleUtilities/Environment (~> 8.0)
mobile_scanner (from `.symlinks/plugins/mobile_scanner/ios`) was resolved to 5.2.3, which depends on
  GoogleMLKit/BarcodeScanning (~> 6.0.0) was resolved to 6.0.0, which depends on
    GoogleMLKit/MLKitCore (= 6.0.0) was resolved to 6.0.0, which depends on
      MLKitCommon (~> 11.0.0) was resolved to 11.0.0, which depends on
        GoogleDataTransport (< 10.0, >= 9.4.1) was resolved to 9.4.1, which depends on
          GoogleUtilities/Environment (~> 7.7)`

ML Kit must be first updated, issue tracker: https://issuetracker.google.com/issues/362452861
It's just been reassigned internally at google yesterday...
Downgrade firebase_core to 2.32.0 and the rest matching ... this might take a while

+1

@Mortando Thank you for linking the issue, I confirm downgrading works.
The correct Flutter dependency is
firebase_core: 3.3.0

(Note the missing ^)
Then the usual and I was able to build:
rm podfile.lock
pod install --repo-update

Firebase has problems in Xcode16 iOS18. So we have to upgrade firebase.

This is a duplicate of https://github.com/juliansteenbakker/mobile_scanner/issues/1165
Unfortunately, MLKit also depends on GoogleDataTransport, and there is no new release for MLKit just yet.

Same issue

+1

+1

+1

+1

With MacOs Sequoia 15 I can not downgrade. It won't work for iOS.
Google is currently not seeming to update the GoogleMLKit/BarcodeScanning.
Is there any possibility so switch to different scanning library (for iOS)?

@malte1989 See this comment

It is fixed:
https://pub.dev/packages/mobile_scanner in version 6.0.0
flutter clean && flutter pub get
pod repo update
flutter build ipa

Change dependencies to these versions:
firebase_messaging: ^14.9.2
firebase_core: ^2.31.0
mobile_scanner: ^5.2.3
It will work.


Router problem (/university/id)

Even if the id does not match in the /university/id url, the user comments on a university that does not exist.

[fix]


Environment variables for smee

Add environment variables for smee for /ghbot and /crud. Make necessary changes to run docker with them.

Added the env, have edited the files necessary. The edits for /ghbot are made on different branch as the one on /crud only make sense together with other updates made on crud_dev branch.

Will need to change Github Bot smee link to prevent any future security problems. And make necessary changes for it to work.


allow adding a marker on the line between two established markers

Sometimes users would like to add granularity to a profile trace.  Allowing new markers to be placed between established markers would be very helpful.

This feature is now supported in v0.4.0


fix(fonts): Fix scaling of inline code and some component preview text

I noticed when working on #130 that inline code wasn't scaling on mobile the same way surrounding text was. This fixes that and a couple of other instances of the same thing in the component previews.
Before

After

Nice, yes I can see that the descender was clashing. Nice work.


math: docs omit mention of IEEE 754 endianness

What version of Go are you using (go version)?
1.11 (but N/A)
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
amd64 (but N/A)
What did you do?
Read pkg/math's documentation.
What did you expect to see?
Enough information to determine what bits to expect from Float64bits and/or Float32bits (and the bits going the other way, too).
What did you see instead?
Just enough information to guess that it's almost certainly either little-endian or big-endian, and may or may not depend on the host architecture.
What I'd like to know is, to a first approximation: Will the sign bit be 0x80, 0x1, or 0x8000000? Probably! My default guess would be that byte order would be the same as it is for ints, thus, 0x80000000. But it'd be nice to have that explicit. If I weren't used to Intel, I'd expect the sign bit to be the first bit "in memory", meaning that out of a 64-bit float, it would be the bit in the byte with the same address as the whole float, which would be 0x80. It's not, apparently, according to go playground. And that makes sense for Intel CPUs, but I don't know whether it's portable to non-x86 (don't have a go arm64 handy to test on), and I don't know whether it's actually specified or just happens to work out that way.

The sign bit of the floating point number should be the high bit of the integer.  This playground program shows that it is: https://play.golang.org/p/znPKas85NPk .  What program are you running that suggests that it isn't?

Sorry, I don't think I explained my confusion well. I haven't seen anything suggesting that we don't get the sign bit in the high bit of the integer; that seems to be what happens on the system I can test on. But I don't see anything specifying that, and I believe there have existed been machines where the sign bit of a float was the highest bit of the lowest-addressed byte, but where integers were little-endian. (And possibly the other way around, for that matter.) So if go were implemented on such a machine, I don't know whether I would have to watch out for that.
Basically: If I had a 64-bit hunk of memory, and the first bit were the sign bit of a float, and I memcpyd the bits over an int64, the sign bit would be 0x80. That isn't what happens on x86 with go, luckily for me. :)

The intent is that the sign bit of the floating point number should correspond to the most significant bit of the integer.  I agree that this should be documented.


docs: add pixeltilt and tilt-avatars links

Hello @milas, @chimney42,
Please review the following commits I made in branch nicks/examples:
902b111c8aae27ac7077da6ccb0c4f08d77506f8 (2021-11-12 14:58:35 -0500)
docs: add pixeltilt and tilt-avatars links
Code review reminders, by giving a LGTM you attest that:

Commits are adequately tested
Code is easy to understand and conforms to style guides
Incomplete code is marked with TODOs
Code is suitably instrumented with logging and metrics

this is mainly to make things show up in search. I wonder if we'll eventually need something like
https://nextjs.org/examples
for people to do a quick lookup of the framework they're using


Performance analysis

Analyze the performance of Kitura on Linux versus Mac, and also its position relative to alternative implementations (in Swift or similar popular languages).  Identify performance issues and interop issues with popular community benchmarking tools / frameworks.

@djones6 Does having this issue add value? We can't keep it open indefinitely, and performance is always going to be important. Can we just track specific issues?

@ianpartridge I do want a way to keep track of performance issues (past and present) but you're probably right that an indefinite epic isn't the right way to do it.  I'll investigate dashboards.


Refresh profile inspector documentation images

This change updates the documentation images to match the new UI for the profile inspectors. It also makes some minor changes to the configuration guide article.

/azp run mrtk_docs


Add test for Speech Commands dataset

Adds a test for the speechcommands dataset and checks to see that the dataset loads the samples in the correct order.
Relates to #821.
To test
pytest test/datasets/speechcommands_test.py

SpeechCommand test in test/datasets/dataests_test.py must be removed too.

Looks good. Can you resolve the conflict?


ui: Add project switch to the Kubernetes tab

Description
This PR adds the project switch to view k8s / CKS clusters created within a project.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Feature/Enhancement Scale or Bug Severity
Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[X] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

@blueorangutan ui


Improved Navbar Links Design to Make it Responsive issue#35 resolved

From this :

To this:

issue#35 resolved !
Please check it and merged my PR.

We prefer the existing white background, so I won't be merging it. If there is any other improvements, please go ahead.
Thank you!


i can not run examples with downloadPredictFloat16ModelFile

Thank you for submitting a TensorFlow documentation issue. Per our GitHub
policy, we only address code/doc bugs, performance issues, feature requests, and
build/installation issues on GitHub.
The TensorFlow docs are open source! To get involved, read the documentation
contributor guide: https://www.tensorflow.org/community/contribute/docs
URL(s) with the issue:
https://github.com/tensorflow/examples/tree/master/lite/examples/style_transfer/android
Description of issue (what needs changing):
i follow the description
then run this project
log
> Task :app:downloadPredictFloat16ModelFile
Unable to get progress logger. Download progress will not be displayed.

> Task :app:downloadPredictFloat16ModelFile FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:downloadPredictFloat16ModelFile'.
> org.apache.http.conn.HttpHostConnectException: Connect to tfhub.dev:443 [tfhub.dev/<IP_ADDRESS>] failed: Connection timed out: connect

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.1.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 24s
7 actionable tasks: 1 executed, 6 up-to-date

@cowcomic
Please share the tensorflow version and simple stand alone code for us to replicate the issue faced.

it solved.
i use a proxy for gradle
then everything is ok

so how to use proxy for gradle please? For the result of China Government, we normal Chinese cant use Google at random!

I try to deal with this question more than 4h, but I couldn't find a suitable way to solve it!

so how to use proxy for gradle please? For the result of China Government, we normal Chinese cant use Google at random!

hi brother,could you solve this problem


Remove smallvec

smallvec was used for a small optimization that avoided
allocations when deduplicating nodes.
This is replaced by a manually-written "ArrayVec"

Thank you! Good progress for #6, tinyvec would have taken some work as well I think since it requires Default.

Thank you! Good progress for #6, tinyvec would have taken some work as well I think since it requires Default.


Files changed shows up twice

Extension version: v0.93.2024070904 (pre-release)
VSCode Version: Version: 1.92.0-insider (user setup) b23e791eb5afbd95f05aa24da7693ce89344a079
OS: Windows 11
Repository Clone Configuration (single repository/fork of an upstream repository): microsoft/vscode
Github Product (Github.com/Github Enterprise version x.x.x): N/A

Steps to Reproduce:

Bump distro
See that package.json shows up twice in the PR

I've added logging to track this down as I'm unable to repro or see what could cause this. @rzhao271, starting with Thursday's pre-release could you set the default log level  of GitHub Pull Request to "Debug" and then share logs when you see this again?

Closing because no further info was provided.


Problem installing trident with conda (MacOS)

I created an environment and tried to install it on a Mac M1 with:
conda create -n poseidon -c bioconda poseidon-trident
I didn't receive any error messages.
I then typed trident and got:
❯ trident
[1]    24251 segmentation fault  trident

❯ trident --help
[1]    24259 segmentation fault  trident --help

❯ which trident
/Users/judith_ballesteros/miniconda3/envs/poseidon/bin/trident

In the same environment, I installed xerxes with:
❯ conda install -c bioconda poseidon-xerxes
It functioned properly.
I tried removing trident and reinstalling it. Also with the previous version (<IP_ADDRESS>), and got the same error.
Downloading the executable for MacOS functioned properly.

Thanks for reporting this!
I thought this could be related to #247, but if the static executable works, then can probably not be it. But we also have a version mismatch: The trident version in conda is still the older <IP_ADDRESS>, whereas I assume @jbv2 downloaded the executable <IP_ADDRESS> when she installed it without conda.
I'm trying to piece together if we need the Apple Silicon build and whether it would help to solve this issue. The conda recipe for trident is super simple: It just wraps the pre-built executable. For linux we need a special executable, but for macOS we just take the normal one. Why does it not work through conda?
@jbv2 Does other software work if you install it through conda?  I think conda only added Apple Silicon support last year. Could you also quickly check if the old trident executable <IP_ADDRESS> works, if you download it directly from here?
@TCLamnidis Could you quickly confirm or deny if conda create -n poseidon -c bioconda poseidon-trident works for you on macOS? You don't have Apple Silicon, right?

Thanks for raising this, @jbv2. I will try it out, too, I have an M2-Chip.

Hmm... I'm really not a conda-user, so I can't really figure out what's going on here, but for me it doesn't even find the packages:
stephan_schiffels@BIONB100-2 ~ % conda create -n poseidon -c bioconda poseidon-trident
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - poseidon-trident

Current channels:

  - https://conda.anaconda.org/bioconda/osx-arm64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

the same for xerxes. @TCLamnidis any hints?

I had no issue finding/installing both trident and xerxes with conda and they ran fine.
I think the issue is that bioconda is working on implementing package recipes for ARM chips (osx-arm64 vs the older osx-64 channel). It seems that your conda picks up your chipset and tries to pull recipes from the new channel, which is empty afaik.
Current channels:

  - https://conda.anaconda.org/bioconda/osx-arm64
  - https://conda.anaconda.org/bioconda/noarch
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/main/noarch
  - https://repo.anaconda.com/pkgs/r/osx-arm64
  - https://repo.anaconda.com/pkgs/r/noarch

You can try to specifically pull from the osx-64 channel by enabling that subdirectory.
CONDA_SUBDIR=osx-64 conda create -n poseidon -c bioconda poseidon-trident poseidon-xerxes

See further discussions here

Nice! Thanks for investigating!
What would it cost to make our executable(s) available for the osx-arm64 channel? So that users don't have to consider this?

I don't think it is possible to add things to the osx-arm64 channel yet. It's upcoming: https://github.com/bioconda/bioconda-recipes/pull/40550
However, if the pre-compiled binaries are usable in both chipsets, it should be as easy as publishing them to both channels instead of just one. To be don once the new channel is live

Ah - ok!
I'll pin this issue then for future reference.

The new bioconda channel seems to be available now. That means we can try to place our macOS ARM64 executable there. I'll try to remember this for the next trident release.

The ARM64 executable is online now for the new trident release v<IP_ADDRESS>: https://anaconda.org/bioconda/poseidon-trident

Please give it a try, @jbv2! Because I'm pathologically optimistic about these builds I'll close this issue now. Please reopen, if that was premature!


feat: Introduce admin users

Addresses CX-1647
Description

Adds admin users to replace the ADMIN and CATALOGUERS consts.
Adds admin users interface for CRUD actions.

Follow Ups

Run bundle exec rake admin_users:create
Remove config/initializers/global_constants.rb

https://github.com/artsy/convection/blob/olerichter00/CX-1647/add-admin-model/app/views/admin/submissions/show.html.erb#L115
I think it needs to be changed from
<% options = [['Please select one']] + CATALOGUERS.collect { |grav_id, name| [name, grav_id] } %>
to
<% options = [['Please select one']] + AdminUser.cataloguers.map { |cataloguer| [cataloguer.name, cataloguer.gravity_user_id] } %>

https://github.com/artsy/convection/blob/olerichter00/CX-1647/add-admin-model/app/views/admin/submissions/show.html.erb#L115
I think it needs to be changed from
<% options = [['Please select one']] + CATALOGUERS.collect { |grav_id, name| [name, grav_id] } %>
to
<% options = [['Please select one']] + AdminUser.cataloguers.map { |cataloguer| [cataloguer.name, cataloguer.gravity_user_id] } %>

Is it possible to leave comments on unchanged code on github? I do not understand😅

Good catch, @Gon4ar5 ! I forgot to update the cataloguers. I updated all appearances  of CATALOGUERS

And also (purely from my visual point of view😁 ) it would be better to make the buttons of the same size and "align: center" on some elements, something like this

And also (purely from my visual point of view😁 ) it would be better to make the buttons of the same size and "align: center" on some elements, something like this

@Gon4ar5 Yes, that looks way better. Can you push these changes? I just kept it as simple and didn't pay too much attention to how things look...


ERROR: get_user_email failed: No user account detected after initial Bootstrapping

I am working on building the Grab N Go app into my school district's loaner system, and working through the steps, I have reached the end of Step 2 and have built the app. I am receiving the error in the bottom of the screen, below the "Login" button, when going to opening the AppSpot page.
ERROR: get_user_email failed: No user account detected.
I have verified that group permissions are accurate and verified that my client-secret.json file is fresh. I am rather new to this process, and have been working through the process of building this with an outside company, so any additional information I can provide, please let me know. Thank you everyone.
Edit 9/24: Also, while trying to figure out the error, I determined that I did not see the step anywhere in the previous step about the technical-admins group. I created a superuser group, but wanted to make sure I have the right permissions.

It was a group that should have been made to dictate  the apps "Admins"  and the users that will be able to Bootstrap. Superadmin_Group is the technical-admins you could have named it something else. However its a group that should be created and have at least one member with that Super Admin Role you created.

It was a group that should have been made to dictate the apps "Admins" and the users that will be able to Bootstrap. Superadmin_Group is the technical-admins you could have named it something else. However its a group that should be created and have at least one member with that Super Admin Role you created.

Thanks for your reply. I did have the Super admin group permissions set up with the service account, as well as Google Admin API settings. Are there any logs I can provide to help figure out where the error might be coming from? Thanks.

The error is coming from the backend taking in the user that authenticated against it during the log in process. Is your script a timed script or does it only run when there is a locked device?

Sorry, I was probably unclear in my original description. The issue is on the backend, when going to the page [app name].appspot.com. This is the screen that I am met with

In the steps, I am at this part. As you can see in the URL, it looks like it's trying to do the bootstrapping step. Thanks!

Ok, yes i was a bit confused. I do apologize. So, lets backstep a moment. Did you manually put that bootstrap url in or id it redirect you to the bootstrap page?

Not a problem, thanks so much for looking into this.
The URL comes from the App Engine>Versions. When I select the link, it redirects to that site with the "bootstrap" part in the URL.

awesome. So this is not something you are forcing. Now back to your Constants file. You filled in your Domains, and other variables you were suppose to fill in correct? and you downloaded the Alpha version of the app and now the master branch correct?

I would also check your config.ts file as well to verify that all variables are configured properly. You successfully uploaded the app. However, it seems there is an issue with a variable somewhere.

We haven't heard back from your or others on this issue in a while so I'm going to resolve. Let us know if you're still having issues.


Debian plugin has 2 aliases for ag

alias ag='apt-get' and alias ag='sudo $apt_pref upgrade'

Looks like this is fixed?
Please close if not needed any more.

Ah - I hadn't noticed the rewritten plugin - closing


Fix typo in smith.md

accomodate -> accommodate

Thank you, typo fixes are always appreciated! :)


Practice Problems: Kotlin Basics

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-intro-kotlin-practice-problems?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-1-pathway-1%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-intro-kotlin-practice-problems#11
In which task and step of the codelab can this issue be found?

Describe the problem
"The code contained two compilation errors:
The string should end with a double quotation mark rather than a single quotation mark.
The function argument should end with a parenthesis rather than a curly bracket."
.............which code???? the two codes were perfectly fine?
Steps to reproduce?
no need to reproduce, its not code error
Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

the whole page is confusing please read it


Rewrite how we determine if a node is at the top level

Closes #1072
Relates to #1088
Summary
Update the isTopLevel to consider more statements and expression to be part of the top level, similar to BlockStatement, so that expression are "automatically" considered top-level if they appear in said expressions or statements. This change was suggested by @pallymore who deserves full credit for this idea, I merely did the engineering work of refactoring to code.
Apart from resolving #1072, this should not change too much how the plugin behaves (except for some minor changes to the ranges of reported errors). The only thing that should have changes, if at all, is more accurate reports of top-level side effects (e.g. inside an object).

Thanks for the update!


overrideInternal and texture dimension

Need confirmation before starting a new PR.
There is no way to set texture dimension when using
uintptr_t overrideInternal(TextureHandle _handle, uintptr_t _ptr)

This leads to issue when rendering to that texture with OpenGL where the glViewport call use the texture height https://github.com/bkaradzic/bgfx/blob/c776c2eaaa5aaab8c4bcd97eb886ca5f0a4f9e31/src/renderer_gl.cpp#L6603
What do you prefer?

Add a new overrideInternal with width/height parameter
Add parameters to the existing function
Call glGetTexLevelParameteriv when overriding the texture handle to get the texture size (and do the equivalent to the other API when available)

I prefer you destroy texture, then create it again with correct size parameters, and then when you overrideInternal everything matches.
That's actual correct use of API. overideInternal is just to swap internal handle of texture, not to update all internal state of texture.

Sounds good! Thanks!


add equalityToInequality plugin

Golfs
x%10==0

to
x%10<1

It seems something is going wrong when compiling polygolf to other langs,
$a:1..10 <- 5;
$a != 1;

currently compiles to Python as
a=5
a>2

It seems something is going wrong when compiling polygolf to other langs,
$a:1..10 <- 5;
$a != 1;

currently compiles to Python as
a=5
a>2

Hmm, yeah and my test for != didn't catch it because it's wrong...

This is likely related to how the mod operator affects int ranges but I'd say
$a:4..5 <- 4;
($a mod 3) != 1;
($a mod 3) != 2;

ought compile to Python as
a=4
a%3>1
a%3<2

rather than
a=4
a%3!=1
a%3<2
``` as it should recognize `($a mod 3)` is of type `1..2`

as it should recognize ($a mod 3) is of type 1..2

Yes, this should be a different issue/PR.


Support changing the content-type of a file.

I want to be able to quickly create a file in VSCode that is hosted on Azure and can immediately be referenced from a web app.  The Create Empty Text Blob almost does the trick, except that it sets the content-type of the file to text/plain.  This is a fine/reasonable default, but I need a way to change that to text/html; charset=utf-8 or application/javascript so that I can quickly hack on a text file in the cloud, hosted in a place that can be referenced by other text files.
Use case: I'm trying to test cross-origin functionality of a locally hosted web app, so I need to quickly host a number of different simple files anywhere other than localhost while I'm testing so that I can see cross-origin functionality.  I want something that is quick, simple, and fully inside of VSCode (I don't want to have to switch out to another application to do file management).

Hmm, maybe this is actually addressed in the not-yet-released https://github.com/microsoft/vscode-azurestorage/pull/392?

@MicahZoltu As a work-around, you can use the cross-platform storage explorer (https://storageexplorer.com) to do this.

@StephenWeatherford Am I correct that this is addressed in #392 and just waiting for a release, or am I misunderstanding that change set?  If it is in the pipe, I can just wait.  If it isn't, then I'll look for another solution to my problem as I don't want to have to use a separate desktop app for this.

Hi @MicahZoltu, unfortunately there's no native service support for renaming files in the storage extension. If you don't want to use a desktop app, you can try using the portal.

This issue has become stale and is at risk of being closed. The community has 60 days to upvote the issue. If it receives 5 upvotes we will keep it open and take another look. If not, we will close it. To learn more about how we handle issues, please see our documentation.
Happy Coding!

:slightly_frowning_face: In the last 60 days, this issue has received less than 5 community upvotes and we closed it. Still a big Thank You to you for taking the time to create it! To learn more about how we handle issues, please see our documentation.
Happy Coding!


Upgrade testem - includes qunit 1.20

Temporary fix for https://github.com/orbitjs/orbit.js/issues/234
This includes the qunit upgrade that's in testem master. @dgeb seems fine for now, we can leave the issue open as a reminder to upgrade to the full release when it's available.

According to @rwjblue's suggestion have updated dependency to point to ^1.0.0-rc.1.

Thanks @opsb and @rwjblue!


Terraform variables should be in their own file

The end user shouldn't have to dig around through files to edit values. All of the values the user must edit to deploy should all be in the same file.

This was fixed in #12 for AWS and it's fixed in an upcoming PR for Azure.

Azure PR in


quality testing switch to H.265

zero delay? bit rates

What is our plans with this issue and how are we going to measure the quality ?
@RichLogan  do you plan to provide a toggle for quality team to compare the score ?

We already have a toggle by means of a different config profile. The plan is to run some A/B testing against the quality suite and see what happens.


fix: fix esbuild break when importRe matches multiline import

Description
when importsRE of scan.ts matches multiline import statement, that breaks esbuild. this pr solve the problem issue #4027 presented through removing linebreaks. according to comments about the importsRE, it doesn't have to be bullet proof. so i choose not to change the importsRE, maybe there is better approach, i'm open to suggestions.

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x]Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

original issue doesn't relate to normal way of importing a package (since
we usually dont break package name into multiline),it's the edge case which
described in the test case that caused the problem，cause it accident ally
captured by the importsRE regex.
patak @.***>于2021年7月1日 周四01:57写道：

@.**** commented on this pull request.
In packages/playground/vue/ScanDep.vue
https://github.com/vitejs/vite/pull/4054#discussion_r661697044:

+let body = ""
+function testMultiline(a, b) {

body = b.body
+}
+testMultiline("import", {
+body: "ok" });

Could we get a test case with a proper import statement that fails without
this PR?
IIUC, it should be something like:
import { something } from
'package'
Or something based on the issue this is fixing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vitejs/vite/pull/4054#pullrequestreview-696466544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABXDV3F4HAW3AVPBLKNE5MDTVNLJTANCNFSM47SMZCPQ
.

Ok, then I misinterpreted the issue. I don't understand how this fixes it though then. Looks to me that as you described in the first comment of the PR a better fix will be to modify the regex to avoid interpreting this case as an import statement:
<script lang="ts">
	fetch("import", {
		body: "" });
</script>

I think it is worth checking what can be modified in importsRe

so after some looking, adding $ to the regex to indicate end of match seems like a better approach. also, i had the  test remained to verify it works against the edge case.


Upgrade of GraphQL libs to the latest

Summary
GraphQl is at 8.2.1 however Wiremock.net brings transitively the version 7.5. This is halting our upgrade of graphql
References
No response

Hi, you might get a faster reponse if you post this issue on the WireMock.Net repo.  It isn't officially part of the WireMock github org so we don't control dependencies in that project - https://github.com/WireMock-Net/WireMock.Net


Use lead paragraph component in Collections title

This depends on https://github.com/alphagov/static/pull/1168 being merged and deployed.
Before:

After:

@vanitabarrett the new lead paragraph component includes spacing that the previous class did not include, is there a chance that this description could be empty?

Example of it in action: https://govuk-collections-pr-393.herokuapp.com/education/funding-and-finance-for-students

The scoped CSS on the page seems to be conflicting with this component, and is why it is rendering so small.

@nickcolley @vanitabarrett After #394 is merged this PR will need a rebase and will also more easily avoid the scoped style problems.

@nickcolley @fofr Looks like https://github.com/alphagov/collections/pull/394 has resolved the style scoping issues (see updated screenshots above).

Spacing between title and paragraph components are tighter now.

Agreed, custom spacing would make this easier.
Alternative is we have spacing consistent with short text (government frontend), would be good to get design opinion.
Current

After

Short text

Hard to tell from those screen shots, is there a url where I see these changes in context?
I'm not sure about adding the space below the heading, but we do need to be consistent.

@alextea
Link to the original page: https://www.gov.uk/education/funding-and-finance-for-students
Link to the change in this PR: https://govuk-collections-pr-393.herokuapp.com/education/funding-and-finance-for-students

@alextea Sorry, think I misunderstood what you were after. Updated links:
Original page: https://www.gov.uk/education/funding-and-finance-for-students
Title with smaller spacing (this PR): https://govuk-collections-pr-393.herokuapp.com/education/funding-and-finance-for-students
Title with larger spacing (Nick's suggestion): https://govuk-collections-pr-395.herokuapp.com/education/funding-and-finance-for-students

Following discussion with Mia, we've decided to make this in line with government-frontend in terms of spacing, i.e: the slightly larger spacing. We can iterate this later when we have custom spacing for components.


Chore/update nx

Updated nx and angular dependencies via nx migrate
#58
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/effects/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[x] Dependency updates for nx and angular

What is the current behavior?

Issue Number: N/A
What is the new behavior?

updated nx to angular 16
updated nx workspace to 16.2.2
bumped up nodejs version in github actions to 18.10.0 due to dropped support of

angular (https://angular.io/guide/versions)
angular-eslint (https://github.com/angular-eslint/angular-eslint/releases/tag/v16.0.0)

Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

Could you describe how did you update nx and angular? I still see the migration file in the codebase.

Sure,
Step 1: I've ran nx migrate latest, but faced the problem, that nx didn't manged to update all angular dependencies automatically, so I've used nx migrate latest<EMAIL_ADDRESS>Step 2: To resolve npm install errors occurred by a unresolvable peer dependency caused by @angular-devkit/build-angular, I've manually updated jest and jest-environment-jsdom to v29.5.0 to be able to run npm i without errors.
Step 3: To run (eventually) necessary migrations I've also ran nx migrate --run-migrations --create-commits, but nx said, that no migrations are necessary.

I face an error about unresolvable peer dependency every time. I just use  --legacy-peer-deps. I tried it and 3rd step passed properly.

@EricPoul Ok, I've discovered the root cause of the problem: The pipeline used an outdated nodejs version (v14), which is now unsupported by angular and eslint. The PR should be now ready for review. 🙂


fix: usage of DOM types

resolves #66
typescript will augment empty crypto interface with appropriate methods in user uses DOM

maybe we just use :any


Rename /static/icons to /static/images/social

Pull request for the issue #47
I moved icons from /static/icons to /static/images/social and changed the path is the impacted partial

Thanks for the PR! A few notes:

[ ] There's this /icons/chevron-left.svg, which is not a social icon. Could you move it to /images/?
[ ] Please help us update the README.md, more specifically the section on how to add new social icons.

Here it is!

This looks great to me. Can we merge this? @jakewies

Yup looks good!

@all-contributors please add @pyvain for code, doc


P1 : 002 - Update Arch Generator to support following Kind of apps:

[x] SSG: Next.js based static site generation.
[x] SSR: Next.js based server side rendered application.
[x] Micro App: Plain React Micro App
[ ] ~Initialise a git Repo (Optional)~
[x] Way to update existing setup with new features
[x] Way to warn user on possible overwrite
[x] Way to choose optional features
[x] Copy VSCode Settings to generated App (Optional?)

The generator will give above 3 options for Arch type question.
Update the templates/* directory structure accordingly.
Create a templates/common directory to keep common code of each arch type.
Ensure generator is able to copy and merge relevant directories while generating new app.

Assignee: Deepanjan

"Initialise a git Repo (Optional)" to be created as a seperate P2 Task.


Revisit the cronjob frequency

Description
We have a cronjob to deploy the UI for every 15 minutes.
And since our static page is quite huge (3.1K+ 💪), the build process on GitHub Action takes 12-13 minutes to be done. See the screenshot.
I think we need to increase the frequency.

Implementation Model
Update the cronjob string, you can use https://crontab.guru to check the string.

Do you think every 30 minutes is enough, Mas @mazipan ?

For now yes, just increase incrementally.
But maybe for some time range, like in the midnight, we can decrease the frequency (idk it's possible or not 😂)

We can set multiple cronjob, e.g:
on:
  schedule:
    - cron: 0 4-6 * * *
    - cron: 2,10 4,5 * * *

Read on: https://github.community/t/multiple-schedules-for-workflow/154811
I think we can set some hour, like: https://crontab.guru/#/15_8,9,10,11,12,13,14_**


Issue with Angular 4 + AOT + Firebasestore

Version info

**Angular:4.0.0
**Firebase: 4.3.1
**AngularFire: 4.0.0-rc.2
node_modules/angularfire2/firestore/firestore.d.ts (9,64): Namespace 'firebase' has no exported member 'firestore'.
/node_modules/angularfire2/firestore/collection/collection.d.ts (8,105): Namespace 'firebase' has no exported member 'firestore'.
node_modules/angularfire2/firestore/interfaces.d.ts (17,21): Namespace 'firebase' has no exported member 'firestore'.
While creating build with Angular 4 CLI +  AOT

I think you Need to upgrade your Firebase

npm install<EMAIL_ADDRESS>--save

@KrGyan Upgrade to AngularFire 5.0 and you'll have access to Firestore.


Reenables sending all of jsState to Android

Depends on https://github.com/ello/bender/pull/39
Finishes #144237677

          1 Message

:book:
Nice, more deletions than insertions :red_circle:

  Generated by :no_entry_sign: danger


Functions for managing spectra for v1.0

[ ] finalize functions to align and concatenate spectra required by #124
[ ] add test routines
[ ] update docs
[ ] check if everything works as expected

Merging so that I can work on one PR


Templated group on accessControlModal

nanopaySide : https://github.com/nanoPayinc/NANOPAY/pull/10176
https://nanopay.atlassian.net/browse/NP-1545
using templated groups not hard coding on AccessControlModal

close this since decided not to use group.template property


fix: Embed CSS files into templates

There are two changes:

Small bugfix for the bug I did in gateway code. Redirecting to index.html does not require trailing slash
Accessing files thought subdomain paths makes impossible to use paths like /style.css for loading resources. I mitigated it by embedding CSS into templates. Original files are left here intentionally for easier development in the future.

So this removes the assets from ../assets/style.css and ../assets/icons.css and includes them in the dir_list and 404 page.
Not sure if this is an improvement. It simplifies the routes for sure, but now you have to "recompile" the css and icons to html whenever you want to do a change.

It is not an improvement but a required fix. If you are requesting file through subdomain handler by url https://bafy<...>.ipfs.localhost:8080/style.css, request is routed to bafy<...>/style.css, not to custom handler in gateway.

How does Kubo do this currently?

Kubo embeds all assets.
I though about putting assets to a separate subdomain but it would lead to all kinds of CORS issues on loading.

Kubo embeds all assets. I thought about putting assets to a separate subdomain but it would lead to all kinds of CORS issues on loading.

In general css & images loads are not subject to SOP restrictions so you should not need CORS. But it should also be possible to serve them from roo_url/static/xxx and set the CORS headers on all of /static/

You mean second-level domain by root_url? We need to embed JS snippet for detecting root url then, is it ok?

I think the base url is part of the config, so you could use it to generate the css url without needing a script.

@fabricedesre Thanks for idea, done. However there is still small regression: by default, public_url_base is empty and users will have to set it manually for development environment

I've also fixed a bug here with index.html.
Before, it merely pushed index.html to the end of path, without reloading of path_metadata and other attributes. It led to inconsistency and erratic behaviour. Now path_metadata is reloaded.

Let's review and merge?


Finalize scripts

Get the code from .ipynb notebooks and turn them into .py or .R scripts, where necessary

Fixed with commit: https://github.com/UBC-MDS/522-Workflows-Group-414/commit/65af895c11c7c0b500fb6ba71aff284c25c904e7