Fix flaky TestIdAllocatorWorker unit tests

Use a virual clock (FlakeClock from k8s.io/apimachinery/pkg/util/clock)
to ensure test robustness even on slow machines, e.g. Github workflows
Windows worker VMs.
Fixes #2790
Signed-off-by: Antonin Bas<EMAIL_ADDRESS>

Codecov Report

Merging #2865 (2712568) into main (8f31b63) will decrease coverage by 20.63%.
The diff coverage is 85.71%.

@@             Coverage Diff             @@
##             main    #2865       +/-   ##
===========================================
- Coverage   61.54%   40.91%   -20.64%
===========================================
  Files         284      158      -126
  Lines       23493    19567     -3926
===========================================
- Hits        14458     8005     -6453
- Misses       7481    10804     +3323
+ Partials     1554      758      -796

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
40.91% <85.71%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


Urgent: Hate Symbol of alt-right used in dev tools examples

https://developers.google.com/web/updates/2017/10/devtools-release-notes
Pepe appears in multiple examples here. This needs removed, now.
https://en.m.wikipedia.org/wiki/Pepe_the_Frog

It's in both the first and second video

https://github.com/google/WebFundamentals/pull/5143

Fixed.

LMAO this is hilarious - it's a cartoon frog.


Specify channels in recipe.yaml

AFAIK, the only way to specify a custom channel for rattler-build is in the CLI using -c <custom-channel>.
It would be nice to be able to also specify this in the recipe.yaml.

Yeah, I guess we're not sure if recipe.yaml is the right place for this.
We could do it via variant_config.yaml, maybe?

Or some other global config file (like .condarc does).

In variant_config.yaml sounds good 👍🏻

Or in the extra section of the meta.yaml like conda-lock does.

Not sure I'd want this in .condarc unless there was a section specifically tailored for rattler-build.
I'd also like some way to specify this via config.  We have strictly internal packages that depend on other internal packages, so every recipe we build needs to be built with a custom channel.

How about specific channels for specific packages?
In pixi I can specify exactly where to search for a specific package
[tool.pixi.dependencies]
blast = {channel = "bioconda", version = ">=2.15.0"}

but when generating a recipe.yaml for this I need to add the -c bioconda flag to rattler-build and there is no information in the yaml file about where to get the dependency from.
requirements:
  run:
  - blast >=2.15.0

Probably it's just my internal need for symmetry, but are there maybe also cases where the explicit channel in pixi will lead to a different dependency than in rattler-build?
Or am I just missing some other way of doing this?


Captcha doesn't appear when verifying phone number

Is there an existing issue for this?

[X] I have searched the existing issues.

Which plugins are affected?
Auth
Which platforms are affected?
Web
Description
FirebaseAuth.instance.signInWithPhoneNumber won't show recaptcha and consequently it doesn't follow through with the signin.

Reproducing the issue
create firebase account
add phone as authentication method
add "localhost" on Athentication > settings > authorized Domains
create flutter project
add firebase libs
run flutterfire configure
add on main:
await Firebase.initializeApp(
    options: DefaultFirebaseOptions.currentPlatform,
  );

run code
FirebaseAuth auth = FirebaseAuth.instance;

ConfirmationResult confirmationResult = await auth.signInWithPhoneNumber('+[your phone number]');

Firebase Core version
2.28.0
Flutter Version
3.19.1
Relevant Log Output
No response
Flutter dependencies
name: phonetest
description: "A new Flutter project."
publish_to: 'none'
version: 1.0.0+1
environment:
sdk: '>=3.3.0 <4.0.0'
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.6
firebase_core: ^2.28.0
firebase_auth: ^4.19.0
firebase_auth_web: ^5.11.0
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^3.0.0
flutter:
uses-material-design: true
Additional context and comments
In the same project even though I can't validate a phone I'm able to use firebase's Google Login, so it's not something to do with Firebase authentication.

Hi @rsegecin, please add a title to your issue.

Hi @rsegecin, please add a title to your issue.

I'm sorry, thanks.

Thank you @rsegecin, I've reproduced this issue.
cc @Lyokone

Thanks for the report, I'm having a look @rsegecin

I'm reproducing the issue, but the recaptcha, even if not showing is actually properly created in the DOM 🤔

Yeah, everything appears to be loading correctly, but the captcha dialog isn't showing up.

@rsegecin This is normal we try to use an invisible catpcha by default
      parameters['size'] = 'invisible';

Found the issue, some types weren't properly transformed using the new dart:js_interop

When I grow up I wanna be like you. Actually I'm really curious on how you found this issue, do you work with this are you on a google team? DM me if you have the time. thanks. Ohh and how long do you think its going to take a release with a fix to come out?

I think I'll wait, lots of dependency issues, Thank you @Lyokone you're the best.

firebase_auth_web:
  git:
    url: https://github.com/firebase/flutterfire.git
    ref: master
    path: packages/firebase_auth/firebase_auth_web

It should work with that


MaterialEntity: why not refer to DwC and make the definition more precise?

Term Name
ods:MaterialEntity
Digital Object Name
MaterialEntity
Feedback
Current definition
Material Entities that are part of the Digital Specimen
Suggested Change to Definition
I suggest a change to the definition of this term to mirror dwc:MaterialEntity and make it much more clear as to what a "MaterialEntity" is. In addition, I don't think a material thing can be "part" of a digital thing, so instead of "part of" change to "associated with".

An entity that can be identified, exists for some period of time, and consists in whole or in part of physical matter while it exists that is associated with the Digital Specimen.

Dear Teresa,
Thanks for these very valuable comments. A solution could be to describe
the specimen as a whole also as a material entity associated with the
digital specimen. Then we can also get rid of the duplication in fields
there currently is between the digital specimen and materialEntity class.
Will discuss that further with the dev team. What I would like to avoid is
a hierarchy of material entities (other than describing this as an entity
relationship) but I think that is not necessary with this solution. We
should make sure though that a specimen can still be referenced in
literature though the digital specimen DOI.
Wouter
Op vr 6 sep. 2024 07:33 schreef Teresa Mayfield-Meyer <
@.***>:

Term Name
ods:MaterialEntity
Digital Object Name
MaterialEntity
Feedback Current definition
Material Entities that are part of the Digital Specimen
Suggested Change to Definition
I suggest a change to the definition of this term to mirror
dwc:MaterialEntity https://dwc.tdwg.org/terms/#materialentity and make
it much more clear as to what a "MaterialEntity" is. In addition, I don't
think a material thing can be "part" of a digital thing, so instead of
"part of" change to "associated with".
An entity that can be identified, exists for some period of time, and
consists in whole or in part of physical matter while it exists that is
associated with the Digital Specimen.
—
Reply to this email directly, view it on GitHub
https://github.com/DiSSCo/openDS/issues/139, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADAUXT4DPTJFHYDZEGOZN3ZVDL5LAVCNFSM6AAAAABNXNJR6WVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYDQOJRGI2DKOA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Globally customise generated values based on context

Consider the following:
class Foo {
  private String name;
}

class Bar {
  private String name;
}

I would like to customise how fields called name are generated, without having to specify, or even know about, all of the types that have a field called name.
At the moment, I would have to write this:
var field = field("name");
var generator = gen -> gen.string().mixedCase();

Foo foo = Instancio.of(Foo.class)
    .generate(field, generator)
    .create();

Bar bar = Instancio.of(Bar.class)
    .generate(field, generator)
    .create();

But I would like to be able to write:
Instancio customInstancio = Instancio.customise()
  .generate(matching(field -> field.getName().equals("name"), gen -> gen.string().mixedCase());

Foo foo = customIstancio.create(Foo.class);
Bar bar = customInstancio.create(Bar.class);

Equally, I might have this:
class Foo {
  @Id
  private String key;
}

class Bar {
  @Id
  private String id;
}

I would like to customise how fields annotated with Id are generated, without having to specify, or even know about, all of the types that have a field annotated with Id.
I would like to be able to write something like this:
Instancio customInstancio = Instancio.customise()
  .generate(matching(field -> hasAnnotation(field, Id.class), gen -> gen.string().mixedCase());

Foo foo = customIstancio.create(Foo.class);
Bar bar = customInstancio.create(Bar.class);

Thanks for the suggestion! That's an interesting idea. To summarise, we want to have more flexibility in selecting fields:

select fields by name, regardless of the type that declares the field
select fields annotated with certain annotation(s)

This does open up a potential issue where selected fields are of different types:
class Foo { String code; }
class Bar { Long code; }

or
class Foo {  @Id String key; }
class Bar {  @Id String id; }

In this case, we may also need to filter by field by type.
My first thought is to use a Predicate<Field>, maybe with some syntactic sugar around it. However I will need some time to experiment with the API.

@rupert-madden-abbott This should be coming in the next release (1.6.0). There are some examples in the tests in #215.

Closing as completed.


Fix pipeline errors

Type of PR (feature, enhancement, bug fix, etc.)
Description
Please include a summary of the change and which issue is fixed.
Fixes # (issue)
Why should this be added
Explain value.
Checklist

[ ] My code follows the style guidelines of this project
[ ] Checks (StandardRB & Prettier-Standard) are passing

@all-contributors please add @julianrubisch for code


Uptime in distro view keeps resetting

Debug info
Type help for instructions on how to use fish
[22:36:07] adam@Adam-Arch /home/adam
> fetchcord --debug
adam@Adam-Arch
--------------
OS: Arch Linux x86_64
Host: 20M50013UK ThinkPad L380
Kernel: 5.12.2-arch1-1
Uptime: 2 days, 37 mins
Packages: 2047 (pacman)
Shell: fish 3.2.1-5-gd79f86407
Resolution: 1920x1080
DE: xmonad
WM: LG3D
Theme: Breeze-Darker [GTK2/3]
Icons: breeze-dark [GTK2/3]
Terminal: konsole
CPU: Intel i5-8250U (8) @ 3.400GHz
GPU: Intel UHD Graphics 620
Memory: 2538MiB / 31866MiB
Battery0: 73% [Charging]
Disk (/): 75G / 259G (31%)
[KeyError]: 'Font:'[KeyError]: 'Font:'----run_rpc----

uptime in epoch:<PHONE_NUMBER>.0
cpuid:<PHONE_NUMBER>37650473
cpuappid:<PHONE_NUMBER>98926920
termappid:<PHONE_NUMBER>76553258
hostappid:<PHONE_NUMBER>12461630
2047 (pacman)
----out.py----

----DE/WM----
deid: xmonad
wmid: LG3D
wmline item 0: LG3D

----TERMINAL----

[KeyError]: 'Font:'
fontline: Font: N/A
termid:<PHONE_NUMBER>76553258                // I ran the command thru konsole cos xterm doesn't allow copying from the terminal
termline item 0: konsole
themeline: Breeze-Darker [GTK2/3]

----HOST INFO----

hostline: 20M50013UK ThinkPad L380
batteryline:  73% [Charging]
resline: 1920x1080

----GPU INFO----

gpuinfo: Intel UHD Graphics 620
gpuvendor: intel

----CPU INFO----

cpuvendor: intel
cpumodel: Intel i5
cpuinfo: Intel i5-8250U (8) @ 3.400GHz
cpuline item 0: Intel i5-8250U (8) @ 3.400GHz
memline: 2538MiB / 31866MiB

----OS INFO----

sysosline: Arch Linux x86_64
sysosid:<PHONE_NUMBER>37650473
diskline: /): 75G / 259G (31%)
packagesline item 0: 2047 (pacman)

----testing.py----
----DE/WM----

deid: xmonad
wmid: LG3D

----TERMINAL/SHELL----

termid:<PHONE_NUMBER>76553258
shellid: fish

----HOST INFO----

hostid:<PHONE_NUMBER>79197462

----GPU INFO----

gpuvendor: intel

----CPU INFO----

cpumodel: Intel i5

('DEFAULT', <Section: DEFAULT>)
('cycle_0', <Section: cycle_0>)
('cycle_1', <Section: cycle_1>)
('cycle_2', <Section: cycle_2>)
('cycle_3', <Section: cycle_3>)
{}
cycle0 not in : True
try_connect(key="cycle0") on <pypresence.presence.Presence object at 0x7f0f5cfb6460>
Unknown DE/WM, contact us on github to resolve this.                // This is because I have Xmonad set to rename itself as a WM to LG3D so Java apps & and Java IDE (Intellij Idea) can run on Xmonad. This is not an issue I want resolved.
cycle 0
try_update(key="cycle0") on <pypresence.presence.Presence object at 0x7f0f5cfb6460>
appid:<PHONE_NUMBER>37650473
^CClosing connection.
[22:36:19] adam@Adam-Arch /home/adam
> ```

(Posting here cos the debug info gitched out the original message)
Operating system & way of installation
OS: Arch Linux
Method of installing fetchcord: AUR
Error/issue
The uptime as shown in the actual rich presence resets itself roughly every 24 hours, since it runs on UNIX Epoch time.
Other notes(optional)
I am uncure of how this could be fixed....
Maybe see if the time can be stored in some C datetime format instead?

(Posting here cos the debug info gitched out the original message)
Operating system & way of installation
OS: Arch Linux Method of installing fetchcord: AUR
Error/issue
The uptime as shown in the actual rich presence resets itself roughly every 24 hours, since it runs on UNIX Epoch time.
Other notes(optional)
I am uncure of how this could be fixed.... Maybe see if the time can be stored in some C datetime format instead?

Mine does too on iMac, isn't it supposed to?

Mine does too on iMac, isn't it supposed to?
No, it isn't... I started to think it was an issue with Discord's RPC API but I saw it working with a custom RPC script I was using (with NodeJS as the backend). The script I was using stored the bootup time as a UNIX Epoch value, correct to the second (in seconds after the First of January 1970).

Mine does too on iMac, isn't it supposed to?

No, it isn't... I started to think it was an issue with Discord's RPC API but I saw it working with a custom RPC script I was using (with NodeJS as the backend). The script I was using stored the bootup time as a UNIX Epoch value, correct to the second (in seconds after the First of January 1970).

I do feel like I saw something in the code a week or so ago, but when looking for it again today, I could not find it. I'll look into this.

The only instance of a uptime (that I can find), being mentioned is found in this file: fetch_cord/computer/Computer.py.

I think that will have to be it... I'm 90% certain that psutil boot time should be given in Unix Epoch anyways so idk what could be causing the issue... I'll check the file myself and see.

Just checked, and it looks like it does, _pslinux.py (I think it is line 3574?).

Yep that does return it correctly according to the comment and the output of when I ran it...
Though I got thinking, that could be rduced to less lines of code, using the os module.
    def boot_time():
        #Return System boot time in seconds since the epoch.
        from os import popen
        stream = popen('stat -c %Z /proc/')
        return stream.read()

Could that work?

Yep that does return it correctly according to the comment and the output of when I ran it...
Though I got thinking, that could be rduced to less lines of code, using the os module.

def boot_time():

    """Return the system boot time expressed in seconds since the epoch."""

    from os import popen

    stream = popen('stat -c %Z /proc/')

    return stream.read()

Could that work?

I could try it, but that'd be tomorrow probably. I have to open up my raspberry pi now 😀

Just tested it, it works on all of my machines and virtual machines.

Just tested it, it works on all of my machines and virtual machines.

Edited the code to remove all whitespace outputted by that command.

Just tested it, it works on all of my machines and virtual machines.

Edited the code to remove all whitespace outputted by that command.

So did it fix FetchCord timing, or just psutil?

So did it fix FetchCord timing, or just psutil?

Seems like it did do that as well on my machine yeah. I'll make a pull request.

So did it fix FetchCord timing, or just psutil?

Seems like it did fix fetchcord as well on my machine yeah.

Nice! Any PR is accepted, especially ones that fix bugs :)

Nice! Any PR is accepted, especially ones that fix bugs :) (Although I would change the function name slightly, to avoid confusion between psutil and this)

If I make a PR there in the linked file it tried to make the PR for PSUTIL and not here on Fetchcord...

#186


fix: Add none value in document construction

Goals:
The None values in the column will cause errors in document construction.

...The following snippet can be executed

from docarray import Document, DocumentArray

DA_CONFIG = {
    "storage": "weaviate",
    "config": {
        "name": "Persisted",
        "host": "localhost",
        "port": 8080,
        "vector_cache_max_objects": 3000000,
        "columns": [("rank", "int"), ("year", "int")]
    }
}

da = DocumentArray(**DA_CONFIG)
docs = [Document(text="Some text here", rank=2, year=2020),
        Document(text="Another kind of text here", rank=1, year=2022),
        Document(text="This document is bad", rank=2, year=3)]

with da:
    da.clear()
    da.extend(docs)

da[:,'tags__rank']
But when we have a None value then we can't index to a Document containing a None in a column that was specified with a certain datatype.

from docarray import Document, DocumentArray

DA_CONFIG = {
    "storage": "weaviate",
    "config": {
        "name": "Persisted",
        "host": "localhost",
        "port": 8080,
        "vector_cache_max_objects": 3000000,
        "columns": [("rank", "int"), ("year", "int")]
    }
}

da = DocumentArray(**DA_CONFIG)
docs = [Document(text="Some text here", rank=2, year=2020),
        Document(text="Another kind of text here", rank=1, year=2022),
        Document(text="This document is bad", rank=None, year=3)]

with da:
    da.clear()
    da.extend(docs)

this will break
da[:,'tags__rank']

...
[ ] check and update documentation, if required. See guide

Because we need to switch to tasks with higher priority, this one is temporarily on hold.

Codecov Report
Base: 87.54% // Head: 88.12% // Increases project coverage by +0.57% :tada:

Coverage data is based on head (903d3f3) compared to base (02c7899).
Patch coverage: 66.66% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #699      +/-   ##
==========================================
+ Coverage   87.54%   88.12%   +0.57%
==========================================
  Files         133      133
  Lines        6649     6651       +2
==========================================
+ Hits         5821     5861      +40
+ Misses        828      790      -38

Flag
Coverage Δ

docarray
88.12% <66.66%> (+0.57%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

docarray/array/storage/base/backend.py
87.75% <66.66%> (-1.61%)
:arrow_down:

docarray/array/mixins/plot.py
67.96% <0.00%> (+0.86%)
:arrow_up:

docarray/array/mixins/parallel.py
71.66% <0.00%> (+3.33%)
:arrow_up:

docarray/document/mixins/sugar.py
80.00% <0.00%> (+15.00%)
:arrow_up:

docarray/array/mixins/post.py
95.12% <0.00%> (+78.04%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Here is the summary for backends and whether they are supporting the none value configs:

Redis:

When sending questions, it is not working because dataclass checking.

Elastic:

Support by default

qdrant:

not working because of the Qdrantic learning.

annlite: Support by default
sqlite:

No founding cases.

weaviate: has the room to improve

We closed this PR as we are not working on it anymore


[Proposal] Generate public static InputMap instead of adding [InputMap] attribute to every script.

Why? Because lets say I have a input called "dash", this would generate Dash field in the script I added [InputMap] to and would conflict with my Dash() method name.
I feel InputMap.Dash is much more readable than just Dash.
This would mean no more needing to add [InputMap] attribute to every script. All the inputs would be kept track of in
public static class InputMap
{
    public readonly static StringName Dash = "dash";
    // more inputs here
}

Ah.  I've always used [InputMap] on a separate class/node, so unfortunately didn't think of naming conflicts when used in a game script.
    [InputMap]
    public partial class MyInput : Node
    {
        ... // eg, Track mouse motion if needed outside of input handlers
    }

It can also be static if no node behaviour required:
    [InputMap]
    public static partial class MyInput {}

I had thought about making it an always present, generator defined class, but it's probably better to let the consumer decide what to name it since Godot.InputMap already exists (or if they want it at all!).

Thank you this is exactly what I wanted!
using Godot;

namespace Template;

[InputMap]
public static partial class InputActions
{
    // Source generator generates the inputs in different partial
    // Use like so: InputActions.MoveLeft, InputActions.MoveRight, etc
}

Cool, ta :)


TypeError: 'int' object is not iterable

When using this with Deoplete I get the following error

[deoplete] Traceback (most recent call last):
[deoplete]   File "/Users/matt/dotfiles/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 184, in merge_results
[deoplete]     context['candidates'] = f.filter(context)
[deoplete]   File "/Users/matt/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/filter/matcher_full_fuzzy.py", line 26, in filter
[deoplete]     return [x for x in context['candidates']
[deoplete] TypeError: 'int' object is not iterable
[deoplete] Could not filter using: <deoplete.filter.matcher_full_fuzzy.Filter object at 0x1021a2048>.  Use :messages for error details.

This error means that phpcd returns a int instead of a list to deoplete. Please offer more detail to recur this problem. Thanks.

Same problem.
My deoplete config:
let g:deoplete#enable_at_startup = 1
let g:deoplete#enable_smart_case = 0
let g:deoplete#complete_method = 'complete'
let g:deoplete#omni_patterns = get(g:,'deoplete#omni_patterns',{})
let g:deoplete#omni_patterns.php = '->\|::'
let g:deoplete#ignore_sources = get(g:, 'deoplete#ignore_sources', {})
let g:deoplete#ignore_sources.php = ['omni']
call deoplete#custom#set('phpcd', 'mark', '')
let g:deoplete#disable_auto_complete = 0

I m currently using Ubuntu 16.04, with php 7.1 with pcntl, json and msgpack extension.
The same config works fine my Mac OS X.

I changed the deoplete config to
let g:deoplete#ignore_sources.php = ['phpcd', 'omni']

and everything worked fine.

Hello @bfgasparin . Thanks for your patience.  But please offer the php code in which this problem occurs.

Even a very simple PHP file causes this error for me eg
<?php

$hello

The moment I start typing $hello the errors appeared but before that it was auto-completing PHP functions fine.

@codeinabox please update to the laste master codebase, and offer the content of ~/.phpcd.log.

I deleted the existing log file and induced the error but it doesn't seem to create a new log file.

I no longer have this issue, thanks for the help


Add note about changes to regex engine used

Fixes #6374
Selected Reviewer: @lig

please review

cc @empicano

Very neat! Thanks for the quick response and the possible workaround 👍

Note for future: it’d be interesting to have an API to let users override the default behavior eg if you want to interpret Field(pattern=…) to use Python’s regex module by default.


[BUG] Outdated development.md

Describe the bug
Following these instructions, both "yarn start" and "yarn build" fail with exit code 1.
To Reproduce
Steps to reproduce the behavior from .github/development.md:
"Navigate to the packages/altair-app directory, run yarn to install dependencies. Run yarn start for a dev server."
Expected behavior
Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
Screenshots
Maybe related to TypeScript requirements not being met:

Related to not being able to find files inside "altair-graphql-core/build/":

Desktop (please complete the following information):

OS: Ubuntu 22.04.1 LTS
Version 5.0.0

Additional context
This seems related to this issue, which, at the end of its discussion, states that "altair-graphql-core/" has been deleted.
Most possible scenario seems to be that the instructions in the Readme are outdated.

Run:
yarn
yarn start:app

This worked. Thank you!

I'll try to update development.md to at least include this as an alternative to what is already there.

Feel free to update it. Thanks!

I've updated development.md, so closing this


Issue #SB-11001 fix: Keyboard 1.1 assets online play

JIRA LINK

It has to as part of the hotfix, so closing this PR and create new PR against 1.14.6


Cotary Create: Install button improvements

This PR is for issue: #337

@Flash-Git @mrrobot16 it looks like this PR got left behind when we merged 246-new-mockups into dev. Should we re-target this into dev?

Ah I missed this. Not exactly sure what's going on here. Could you give some insight @mrrobot16 ?

Sorry for late response, @dOrgJelli since we went thru a refactoring we wanted to wait until fixing the issue before moving this InstallButton component.
We are gonna get this fix soon so that we can comply with the mockups.


Adding WebView

Adding webView bindings. I followed a lot of the patterns seen in View and Image bindings.
This adds support for all documented React Native props to WebView and has a super simple example of WebView in the RNTester app as well.
Screenshot from RNTester WebView example directing to https://example.com

Awesome, thank you @arnarthor


StarkScan compatibility

Copying from Discord

Starkscan has deployed https://devnet.starkscan.co/ to explorer the devnet [...]
you can neither scan ETH ERC20 contract, nor scan the 10 pre-deployed  accounts.
It could be useful if they are recorded in the first block, at launch.
Not checked, but also probably the deployer.

The current state of the task.


cdc: don't emit resolved timestamps before scan

Signed-off-by: qupeng<EMAIL_ADDRESS>Issue Number: Close https://github.com/pingcap/tiflow/issues/4782
CDC shouldn't emit resolved timestamps before incremental scan finished. https://github.com/tikv/tikv/pull/11098 tried to fix the problem but the implementation is wrong. This patch gives a correct solution.
cdc: don't emit resolved timestamps before scan

Related changes

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

Check List
Tests

Integration test

Side effects
Release note
None

/test

/test

/test

/merge


not support experimental syntax 'decorators'

Describe the bug

Reproduction
none
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (16) x64 AMD Ryzen 7 5700G with Radeon Graphics
    Memory: 6.70 GB / 15.87 GB
  Binaries:
    Node: 20.12.0 - ~\AppData\Local\nvs\default\node.EXE
    Yarn: 1.22.22 - ~\AppData\Local\nvs\default\yarn.CMD
    npm: 10.5.0 - ~\AppData\Local\nvs\default\npm.CMD
    pnpm: 9.12.3 - ~\AppData\Local\nvs\default\pnpm.CMD
  Browsers:
    Edge: Chromium (130.0.2849.56)
    Internet Explorer: 11.0.22621.3527

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

Contributions

[ ] I am willing to submit a PR to fix this issue
[ ] I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

We temporarily closed this due to the lack of enough information. We could not identify whether it was a bug or a userland misconfiguration with the given info.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

repo

I see. Feel free to PR to add that babel plugin


Add a max-height and scroll bar to code blocks above a certain height.

Sometimes it is useful to include really long code blocks (e.g. if you're programmatically generating output), but these take up a lot of vertical space.
Instead of showing the entire block, it might be useful to automatically cap the size of code blocks (to, say, 2/3 of the vertical space, or above a certain number of lines of code) and add overflow-y: auto so that scroll bars show up for really high code blocks.
References
GitHub has a similar UX with its code blocks, e.g.:

This makes sense from a user experience POV.
I also looked at any WCAG criteria that might trip this, but the only one I could think of would be the Reflow 1.4.10 criteria, but code blocks require two-dimensional layout.
Though something we might want to consider is giving the pre a tabindex="0 to ensure it is focusable/accessible through the keyboard (right now, the pre is not focusable)
See an example of a focusable pre component from gov.uk
https://user-images.githubusercontent.com/23552331/210860704-3ad04477-0f16-48bb-a065-a420e68d21a6.mp4
🤔  do let me know if this should be a separate issue, and we can fix this independently (probably best)

do let me know if this should be a separate issue, and we can fix this independently (probably best)

agree, making pre blocks focusable can be handled in a separate issue I think.

I don't know about this one. I systematically use the viewcode extention in my libs and it create this kind of pages: https://sepal-ui.readthedocs.io/en/latest/_modules/sepal_ui/aoi/aoi_model.html#AoiModel
let's imagine we effectively wrap things in a y-scrolled frame. I open this page on a small screen where the "max-height" cannot be displayed at once and I enter the classic phone nightmare where I need to scroll everything down to get the content at the bottom: i.e. no improvement with respect to the current implementation.
I don't know if it's clear but that's the same issue as when you have a full width map with touch screen activated, you never know if you zoomon the map or scroll the content.

Wouldn't it still be scrollable due to the gutters on each side of the code block? Eg on my mobile phone your link looks like this:

It would be scrollable still - but I also understand where that rationale is coming from. In a tablet and mobile the scrollable targets can be quite small and it's easy to end scrolling or zooming in the wrong place.
Could a workaround be adding breakpoints to add either different max heights for desktop and mobile? This might be useful also for readers who use zooms of 200 or 400 per cent?

@choldgraf the gutters exist but my fingers are clearly too big (or my screen too small) to make it fluid.
why would it change anything for people using bigger zoom ?

@12rambau makes sense - I'll concede that just relying on the gutters is not enough!


Add some UI build variants for cloudbuild smoke test

Allows more pre-build availability in cloudbuild integrations.

fast track because external integration, CI cannot validate this and it does not affect actual functionality.  UI builds are also already part of the regular CI.


Set up SAP HANA, express edition on Amazon Web Services (XS Advanced)

Tutorial URL: https://developers.sap.com/tutorials/hxe-xsa-aws-setup.html
Please specify the step you are referring to 1.
Amazon just notified me that a newer edition - 45 - rather than - 36 - is available on their Marketplace website.
Please update the screenshots to that effect.
Thank you, greg

thank you, we will update this screenshot

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Allow completion handlers to be registered before binding

Changes:

Completion handlers registered before binding are now queued instead of being silently dropped

To do:

[x] Tests

Getting this (or something with equivalent functionality) in is a prerequisite for the download-a-Realm-asynchronously API we're planning.

On hold until I can pull the test changes out.

I addressed @bdash's feedback. I want to see if I can get rid of wait_for_upload_completion_blocking() completely, since it is only used in one place and by a single test.

I've rebased onto master and updated this PR again, @bdash. There was also an issue with a changeset cooker variable assignment that I had to fix for things to compile.


Add dnskeyname parameter

This is an attempt to migrate some of the options currently available in theforeman-dhcp into the puppetlabs module.  This new parameter would at least ease the transition from theforeman-dhcp to puppetlabs-dhcp, which I believe is a goal of the Foreman developers.

Relates to theforeman/puppet-dhcp#21

Thank you for your contribution!
Before we can merge this, please submit a commit that updates the README with details on how dnskeyname works. Perhaps some details on how this relates to dnsupdatekey would be useful.
Thanks!

Also, please remember to squash your commits.
Thanks!

PR updated with changes to README

@cyberious I've fixed the private variable names and rebased.

@cmurphy I've updated PR with else condition

@hunner Updated PR to use $_dnskeyname instead of $dnskeyname_real

@treydock Thanks. So, this PR DOES add a parameter... I think it got dropped from the readme again.

@hunner I'm still seeing README change - https://github.com/puppetlabs/puppetlabs-dhcp/pull/58/files#diff-04c6e90faac2675aa89e2176d2eec7d8R23
Should the README be updated to something different?  Sorry if I'm missing something obvious, I keep getting the recent PRs mixed up

Oh you're right; my bad. I just saw that as manifest comment header or something...


Fix iconv bug (empty body when mail encoded in quoted-printable)

Hi !
I had some issue with emails resulting in empty ticket. I narrowed the problem to this state :

if the body containes any accentued character (é or à for example)
if the email has this in his header : "Content-Transfer-Encoding: quoted-printable"

Here are 2 samples of complete email.
The first one "mail.good" works nicely.
The second "mail.bad" gives an empty ticket.
mail.good:
Date: Thu, 7 Feb 2013 11:01:04 -0600
Delivered-To<EMAIL_ADDRESS>Subject: Testing
From: Peter Rotich<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Content-Type: text/plain; charset=ISO-8859-1

Testing testing.

mail.bad:
Date: Thu, 7 Feb 2013 11:01:04 -0600
Delivered-To<EMAIL_ADDRESS>Subject: Testing
From: Peter Rotich<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Testing testing =E9

The difference is "Content-Transfer-Encoding: quoted-printable" in the header and =E9 (encoded é) inside the email body.
To test them inside a container, I use the internal mail piping as :
php -q /data/upload/api/pipe.php < mail.good

To fix that, I used this fix and it's now OK for the 2 samples.
Hope it helps.

Hey, i've implemented your fix in my repo/pull request. I had to change the URL to the CDN (as in https://github.com/docker-library/php/issues/240#issuecomment-707664777 ) and put it in one line with the other RUNs for less layers. My tests where fine, so thanks 👍


issue #51: set up Maven multi-module project

this will allow compiling and releasing with one command from the
top-level directory.

changed version to 2.0.0-SNAPSHOT as per Maven convention
moved common settings into top-level pom.xml
tweaked artifactId's to match the directory name
use enforcer plugin to ensure we use the right JDK and Maven versions

Made the change here (I want to keep the java-saml name) , but there are 2 test that fails (related with date/times):

testParseDuration

testGetCurrentTimeStamp

@luuuis does the test also fail in your local?

Sorry about the missing dependency, I forgot to update the name in the jspsample pom as well.
I did have a single failure in testParseDuration @pitbulk but I ignored it since it was already failing before my changes (see build #2).

Yes, I know is a previous issue. Do you experience it as well in your local?

Yes, I get the failure locally. I just debugged it and the test assertion itself is incorrect as shown by this screenshot.

As you can see the expected date/time is off by 1 hour (the hour should be unchanged when adding P1Y1M). It could be that the original calculation did not take daylight saving into account? I think we can simply change the expected timestamp to<PHONE_NUMBER>L.

On my local works, so it should work on both machines :)
Maybe is related to the machine local time, but I thought I did the methods independent. I will need to review the duration method. A couple of extra eyes welcome :)

What is your timezone as output by System.out.println(TimeZone.getDefault());?

Im not right now with my laptop, I will reply in a couple of hours

Ok, guessing that your timezone is Europe/Madrid I was able to successfully run the test by passing -Duser.timezone=Europe/Madrid. The problem is that a org.joda.time.Period is relative to a date, time, and time zone so all "period arithmetic" will take the time zone into account.
Examples:

if you are about to enter DST in 1 minute then a period of PT1H is equal to a duration of 3600 seconds
the number of days in P1M is different depending on whether it's February or another month

Solutions:

testParseDuration() can be changed to use a specific time zone
Utils.parseDuration() can be changed to only accept time-based durations (e.g. PT*H*M*S) which are less susceptible to this problem (although you can still have leap seconds)

What does SAML have to say about how the duration should be interpreted in these cases?

Dates in SAML should be always consider as UTC

Ok fixed the issue with the time, now the Travis is ok. We can continue wth the rest of tasks.


SNOW-1272458:Behavior for not-found files / empty files should be identical across different file formats

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #SNOW-1272458

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

Hey guys, this PR meant to fix this JIRA, which includes behavior change. I have heard that there is a process to announce behavior change, can anyone tell me what is the process?


Remove configuration flags

I've been inspecting the use of flags throughout the code to find a better solution. Storing configurations in etcd seems like a good solution(that's what etcd does after all) as discussed in #1627. Is there anyone working on this? I would like to give it a shot.

@smarterclayton @thockin @bgrant0607

To the best of my knowledge no one is working on this.  However, a lot of work has been done so that etcd is not exposed to the nodes.  The nodes only talk to the api server (which obviously in turn stores in etcd, so yes, the node config could live indirectly in etcd).
As to master config, again, only part of it talks to etcd (the apiserver, the scheduler and controller-manager both can/should be insulated from etcd).
So this is a great goal, but most configs will need to be exposed by the apiserver, not directly by etcd.

So, creating a configuration object and exposing it through the API is a prerequisite. I'll start with the configuration objects then.

Yeah that issue should be updated to say "in API"
On Tue, Mar 17, 2015 at 8:45 PM, Eric Paris<EMAIL_ADDRESS>wrote:

To the best of my knowledge no one is working on this. However, a lot of
work has been done so that etcd is not exposed to the nodes. The nodes only
talk to the api server (which obviously in turn stores in etcd, so yes, the
node config could live indirectly in etcd).
As to master config, again, only part of it talks to etcd (the apiserver,
the scheduler and controller-manager both can/should be insulated from
etcd).
So this is a great goal, but most configs will need to be exposed by the
apiserver, not directly by etcd.
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/kubernetes/issues/5582#issuecomment-82727307
.

As per:
https://github.com/GoogleCloudPlatform/kubernetes/issues/1627#issuecomment-76296674
Take a look at the secret API:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/pkg/api/v1beta3/types.go#L1292
It makes a key-value map available via a volume to containers. A slight tweak on this plus tooling in kubectl could be used for general configuration.

Sorry about the delay, it's my exam period. I've done the initial implementation. Before proceeding any further, I wanted to ask if this is the direction we want to take. Please take a look @bgrant0607 @thockin @eparis at #6245

Another example problem: #10489
Flags are a horrible configuration mechanism:

They are neither versioned nor scoped.
They are not friendly to version skew (e.g., flags that don't exist in a particular version).
They can't be changed dynamically.
We don't really control the mechanism(s) by which they are specified on the command line: shell scripts, init scripts, unit files, ..
We don't control the mechanism(s) by which they are distributed: Salt, Ansible, Chef, Puppet, rsync, ...
Alternative values generally have poor test coverage.

We need to treat component configuration as a versioned API with a well defined schema, similarly to kubeconfig and the scheduler config. As with API fields, removal of fields or changing their semantics are non-backwards-compatible changes, which will break turnup scripts/configurations. Some fields might be more properly actual API fields.
We should also just remove as many knobs as possible. We're copying bad internal practices by proliferating flags. Not only do flags dilute code coverage, but requiring elaborate configurations for reasonable behavior is just asking for a high support burden. Alternatives include internal constants, receiver/interface parameters, plugins, dependency injection, factories, heuristics, and self-configuration/self-tuning.

/cc @mikedanese
Closing as a dupe of https://github.com/kubernetes/kubernetes/issues/12245.


Improve the Getting Started tutorial with more descriptive codes and information

Checklist

[x] I made sure that the feature I am proposing doesn't already exist

Use case / Problem

Proposal / Solution

Example Code

void main() {
}

Platforms

Affected Platforms:

Audio Files/URLs/Sources (optional)

Mockups (optional)

More information (optional)

Can you be a bit more descriptive, what is it that you think is missing from the getting started page? And does that information exist in the example app?

I mean , informing and emphasize that one need the audio cache when working
with local audio files
On Mon, Sep 5, 2022 at 8:01 PM Lukas Klingsbo @.***>
wrote:

Can you be a bit more descriptive, what is it that you think is missing
from the getting started page? And does that information exist in the
example app?
—
Reply to this email directly, view it on GitHub
https://github.com/bluefireteam/audioplayers/issues/1256#issuecomment-1237357818,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWNVVISQFR3XPDZ5PAGLXCDV4YYPBANCNFSM572QWZXA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I think that it is pretty clearly explained here that you need the audio cache when working with local files?
https://github.com/bluefireteam/audioplayers/blob/main/getting_started.md#audiocache

In order to play Local Assets, you must use the AudioCache class. AudioCache is not available for Flutter Web.
Flutter does not provide an easy way to play audio on your assets, but this class helps a lot. It actually copies the asset to a temporary folder in the device, where it is then played as a Local File.
It works as a cache because it keeps track of the copied files so that you can replay them without delay.

I agree it could be a bit more clear, for which sources you need to use the AudioCache, and what it cannot do. In fact it is only relevant for AssetSource.

Hi @Gustl22,
Why can't the use of AudioCache from the Getting Started tutorial be removed or rephrased as it's mentioned here in the Migration guide that it's dead and normally shouldn't be used by end users?
Because in the tutorial, it sounds like we must use it for local files("In order to play Local Assets, you must use the AudioCache class") which I think is misleading. Thanks

Yes, it is misleading, this could be adapted. Even web uses the AudioCache class, but differently ...


(BUG) User gets stuck after switching between pages / using functionality

Steps to reproduce:

Open the Home page
Switch between pages/ use functionality
Pag attention to the unresponsible page

Actual result: User gets stuck after switching between pages / using functionality
Expected result: User shouldn't be stuck after switching between pages / using functionality
Video: https://www.screencast.com/t/FBFIrADi9mox
Checked on PROD V1.3.1
LG V30+ // Android 8.0 // Google Chrome 85.0.4183.81
Desktop: Windows 10 // Google Chrome  85.0.4183.102

@yaroslav-fedyshyn-nordwhale It was reproduced at this morning also but now everything ok

@yaroslav-fedyshyn-nordwhale @sirpy I've checked this issue again - it hasn't been reproduced
Checked on PROD V1.4.0
LG V30+ // Android 8.0 // Google Chrome 85.0.4183.81
Desktop: Windows 10 // Google Chrome  85.0.4183.102
iPhone 8 //13.3.1


Add luvit implementations for echo & http servers

Since we are comparing nodejs and its uv bindings, it would be interesting to see how lua's libuv bindings compare.
If you're interested in this addition, I will try and update the dockerfile as well. Although I'm currently running into problems setting it up #5

Please do update the Dockerfile to build luvit properly.  There doesn't seem to be a .deb for 16.04.

I love how the tcp test uses luv directly.  Can we add another test using coro-http or weblit instead of the http library in luvit?  I could even write a minimal http sample using nothing more than http-codec on top of uv.  The luvit streams (modeled after node.js) are pretty heavy.  Also most new luvit code these days is using the coroutine bases stuff anyways.

@elprans dockerfile + benchmarks updated!
@creationix I'm happy to do it. Where can I find coro-http? weblit seems pretty straightforward. Are there any examples of using http-codec? I can't find any and it doesn't seem so simple.

@rgrinberg Weblit uses http-codec under the hood. As does luvit's http and coro-http
Between the 3 usages, you should have a good idea of how to use http-codec.  The basic idea is to transform a stream of raw tcp bytes into a stream of messages (one for headers and one for each body).  There is an empty body ("")to signify the end of body for keepalive support which is essential to winning these kinds of synthetic benchmarks.
Coro-net is used by weblit and coro-http where you basically just pass in an instance of the encoder/decoder pair as options and coro-net will automatically apply the codec and give you higher-level events in the read/write streams.

Also there is this which I wrote a while back when I was benchmarking luvit. https://github.com/luvit/luvit/tree/master/bench/http-cluster
I'm not sure if it still works, but the basic idea is to bind to the port in a parent process and launch n child processes who each inherit and share the file descriptor.  When connections come in, they will be load balanced by the kernel to whichever process is ready to accept them.  This gives near linear speedups if you launch a process per physical CPU core.

It appears that vmbench wants single-core comparisons.  That's fine, just combine worker and master into the same process (bind, listen, and accept all in one process) and otherwise the code would be about the same.


Is there support for performing random/partial write to a particular offset of a file?

I couldn't find documentation that supports this.
Basically, I have a file uploaded to google cloud and would like to write at a particular offset of the file and save it in gcloud. Is that possible? Something like microsoft azure page blob random write.
Please help thanks!

gcloud-java does not have support for random writes. @Capstan does GCS have/plan to add support for random writes?

Not in the near future, no.


Option to disable unwrapping model for generation in PPO/RLOO/OnlineDPO

Feature request
Add trainer option to disable unwrapping model (unwrap_model_for_generation()) in online methods.
Motivation
As discussed in #2250, when deepspeed stage 3 is used and policy model is bigger than single GPU VRAM, unwrap_model_for_generation() will cause OOM. The option to disable unwrapping will make such training scenarios possible (but slow).
Your contribution
I will likely create PR after it's discussed and approved.

same question,how to resolve thie?


Adds loading spinner using pf-empty-state

closes #1149
after

before

as per https://github.com/patternfly/patternfly-design/issues/466
I know this design doesn't use words.... but it costs us nothing to add them, and only adds further clarity

@AllenBW cool!  Can you change the text to just say "Loading" without any ellipses?

@serenamarie125 updated!

@miq-bot add_labels ux/approved

@miq-bot remove_labels ux/review

perfect, thank you @AllenBW 👏 👏


webhook: fix hardcoded types with the latest updates

Hey @rjeczalik,
I was having json encoding problems with pull requests events, i added new types into hardcoded types and also scrapped testdata  from github.

Yay, thanks @mehmetalisavas!


Extract base ImportsVerifier code for linter or other analyses

In writing a rule for dart-lang/linter, I am finding myself copying tons of code from ImportsVerifier. In particular, near copies of addImports and removeUsedElements, with different inner-most statements.
Can some core parts of ImportsVerifier be abstracted into a BaseImportsVerifier, for use by the linter, or for other analyses?
Examples

Unnecessary imports for Dart SDK (https://github.com/dart-lang/sdk/issues/26242)
Import of library in package A only used because members of package B are used
Import of library L1 in package A only used because members of publicly available library L2 in package A are used
Generally indirect imports: a member of library L2 is used, but is only available because L1 is imported, and L1 exports L2 (warning would say to also import L2) (kind of an "avoid exports" rule)
Import of L1 only used for simple members, like String constants, enums, etc, while L1 drags in many more imports (the rule would recommend a refactoring of L1, rather than "this" code, but an important rule nonetheless for large projects with many dependencies)

These examples may not be a good fit for analyzer, but if they are a good fit for linter, or other analyzer clients, then we would benefit from the core extraction.
BaseImportsVerifier specifics
I think the following would do it:

an addImports method, that does what it does today, except:

instead of handling _unusedImports, it calls an abstract _addImport method,
it does not do the bottom ~20 lines: sorting the _unusedImports list and filling a _duplicateImports list.

an abstract _allImportsAreHandled or similar method, used as the short-circuit exiting check in removeUsedElements.
a handleUsedElements method, that does mostly what removeUsedElements does today except:

the first inner for loop, looking at the prefixed imports, calls an abstract _handlePrefixedImport method,
the second for loop, looking at all of the elements and their respect import directives, after gathering the list of import directives, calls an abstract _handleSinglyImportedElement or an abstract _handleMultiplyImportedElement method.

the putIntoLibraryMap, _addAdditionalLibrariesForExports, and _computeNamespace methods, implying also the _prefixElementMap, _namespaceMap, and _libraryMap members.

I know there's a lot of specifics in here; just writing it down while I'm looking at it 😄 .

CC @bwilkerson @pq @scheglov

Closing this as stale. The linter rule I was writing, I am no longer writing.


tensorflow-gpu Importerror: DLL load failed: DLL initialization routine failed.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): windows 10 pro 1909
TensorFlow installed from (source or binary): https://files.pythonhosted.org/packages/
TensorFlow version:1.8.0
Python version:3.6.8
Installed using virtualenv? pip? conda?: pip
CUDA/cuDNN version:CUDA 9.0/cuDNN7.0(and cuDNN7.1)
GPU model and memory:GTX1050 (4GB)

Describe the problem
Import tensorflow error ,it reads  DLL initialization routine failed,i have changed  vc++ 2015  runtime libs(both x64 and x86) and using Nvidia display driver version 385.54(CUDA9.0 default)
If I use tensorflow-gpu 2.1.0 and import tensorflow, python will crash immediately, but if it is 1.8.0 or 1.7.0, python will run for a few seconds or so, and then the above error occurs
Any other info / logs
Provide the exact sequence of commands / steps that you executed before running into the problem
Traceback (most recent call last):
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
Importerror: DLL load failed: DLL initialization routine failed.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "f:/DL/1 hello world/index.py", line 1, in <module>
import tensorflow as tf
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\__init__.py", line 24, in <module>
from tensorflow.python import pywrap_tensorflow  # pylint: disable=unused-import
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\__init__.py", line 49, in <module>
from tensorflow.python import pywrap_tensorflow
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 74, in <module>
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow.py", line 58, in <module>
from tensorflow.python.pywrap_tensorflow_internal import *
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 18, in <module>
_pywrap_tensorflow_internal = swig_import_helper()
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py", line 17, in swig_import_helper
return importlib.import_module(mname)
File "C:\Users\Hasee\AppData\Local\Programs\Python\Python36\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
Importerror: DLL load failed: DLL initialization routine failed.
Failed to load the native TensorFlow runtime.
 DLL initialization routine failed

Please try to install the correct VisualC++ Redist. - depending on which version, you have installed, you need a newer one - see https://github.com/tensorflow/tensorflow/issues/35036#issuecomment-565605748

OK guys,i currently solved this problem,It is because of my CPU is Pentium G5420 and it doesnt support AVX2 instruction set. So do not install tensorflow by pip and download tensorflow for SSE2 at  https://github.com/fo40225/tensorflow-windows-wheel

@heyheyheyheyhey1
Please, see hardware requirements. Uninstall tensorflow using pip and reinstall using "conda install TensorFlow"  and check. Can we close this thread if your issue got resolved. Thanks!

@heyheyheyheyhey1
Please, see hardware requirements. Uninstall tensorflow using pip and reinstall using "conda install TensorFlow"  and check. Can we close this thread if your issue got resolved. Thanks!

Bro, is there any differences using conda or pip?(I am sure my problem originate from my CPU's dosent support AVX)

@heyheyheyheyhey1
Please, go through the article and # 23683.Can we close this thread as it looks like you already solved the problem. Thanks!

@heyheyheyheyhey1
Please, go through the article and #23683.Can we close this thread as it looks like you already solved the problem. Thanks!

yes,please


CLI Templates

Description
Adding the functionality of reading, deleting, attaching, editing CLI templates.

Creating unit tests for methods related to templates


information return in beta6.

In beta6, I can get below information:
{
BSSID = "00:00:00:00:00:00";
SSID = WLAN;
SSIDDATA = <574c414e>;
}
no nil return now. :)

@mmm2006  Are you still getting the issue now? I'm using iOS 13.1 beta1 and everything works fine.

HI, HackingGate, Do you mean there is no need to add permission checking in ios13.1, right? Thanks

@mmm2006
You need location permission to get wifi information on iOS 13 and iOS 13.1. Apple add this limitation to protect user's privacy. I don't think Apple is going to change it back someday.


404 while saving snippet

Am trying to added some code snippet, but everytime I save the snippet
it results in the following error and the snippet does not apear on the code editor even
I tried the ckeditor website for this kind of feature, but there works
"POST /static/ckeditor/ckeditor/ HTTP/1.1" 404 1772

Likely code snippets need some configuration as it tries to send some stuff to the backend doing that POST request.

Are there some configurations available, because the documentations don't show code-snippet configurations.

Am trying to added some code snippet, but everytime I save the snippet
it results in the following error and the snippet does not apear on the code editor even
I tried the ckeditor website for this kind of feature, but there works
"POST /static/ckeditor/ckeditor/ HTTP/1.1" 404 1772

Did you solve the issue ?? I'm facing it now (

In your app's models.py file, add the CKEditorPluginBase to your CKEditor fields (assuming your field is named content):
    from ckeditor.fields import RichTextField
    from ckeditor_uploader.fields import RichTextUploadingField
    from ckeditor_uploader.widgets import CKEditorUploadingWidget
    from ckeditor.plugins.base import CKEditorPluginBase

class CodeSnippetPlugin(CKEditorPluginBase):
    """
    A CKEditor plugin for adding code snippets that can be saved and displayed
    as a formatted code block.
    """

    # Define the JavaScript and CSS files required by the plugin.
    js = (
        '/path/to/your/staticfiles/folder/code_snippet.js',
    )
    css = {
        'all': ('/path/to/your/staticfiles/folder/code_snippet.css',)
    }

    # Define the plugin toolbar button.
    toolbar = {
        'name': 'Code Snippet',
        'icon': 'path/to/your/staticfiles/folder/code_snippet.png',
        'items': ['CodeSnippet'],
    }

    # Define the plugin dialog window.
    dialog = {
        'title': 'Insert Code Snippet',
        'command': 'codesnippet',
        'dialog': 'path/to/your/template/folder/code_snippet.html',
    }

    # Define the plugin initialization configuration.
    init_config = {
        'extraPlugins': 'codesnippet',
    }

    # Define the plugin CKEditor command.
    commands = [{
            'name': 'codesnippet',
            'label': _('Insert Code Snippet'),
            'icon': 'path/to/your/staticfiles/folder/code_snippet.png',
            'state': CKEditorPluginBase.STATE_OFF,
            'canUndo': True,
            'exec': """
                editor.openDialog('codesnippet');
            """
        }]

    class MyModel(models.Model):
        content = RichTextUploadingField(
            extra_plugins=[CodeSnippetPlugin],
            # Your other options here
        )

In your app's forms.py file, add the CKEditorUploadingWidget to your form field (assuming your field is named content):
    from django import forms
    from ckeditor_uploader.widgets import CKEditorUploadingWidget
    from .models import MyModel

    class MyModelForm(forms.ModelForm):
        content = forms.CharField(widget=CKEditorUploadingWidget())

        class Meta:
            model = MyModel
            fields = '__all__'

<script src="/path/to/ckeditor/ckeditor.js"></script>
<script>
  CKEDITOR.replace('editor', {
    extraPlugins: 'codesnippet',
    codeSnippet_theme: 'monokai_sublime',
    codeSnippet_languages: {
      python: 'Python',
      javascript: 'JavaScript',
      html: 'HTML',
      css: 'CSS'
    }
  });
</script>

<script>
  CKEDITOR.replace('editor', {
    toolbar: [
      // ...
      { name: 'codesnippet', items: ['CodeSnippet'] },
      // ...
    ]
  });
</script>


disable insight service in api key creation

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR modifies the handling of services in the Create component of the API keys settings. It filters out the insight service from the list of enabled services.
Detailed summary

Updated the comment to specify that all services are enabled except for insight.
Changed the services assignment to filter out the insight service using filter before mapping to the desired structure.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

#5632  👈 (View in Graphite)
main

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


Missing radar codes in OPERA database

Radars to be added to OPERA DB (see table below for more info):

[x] behel
[x] debln
[x] deflg (see #105)
[x] deham
[x] dehan
[x] demhp: not in coverage.csv
[x] demuc
[x] desna  (see #105)
[x] eesur (not eesyr)
[x] nlhrw (no space)
[x] seatv
[x] sebaa
[x] sehem
[x] sehud (see #103)
[x] sekaa
[x] sekrn
[x] sella
[x] seoer
[x] seosu (see #103)
[x] sevar

The following radar codes are in use (situation 11 sep 2019), but are not listed in the OPERA database:

radar
baltrad pvol
status
remarks
suggested action for OPERA

behel
2018-2019
active
enram/data-repository#92
add to DB

bgvar
-
?
flyway only
no action

ctcdv
-
?
flyway only
no action

ctpda
-
?
flyway only
no action

debln
2012-2014
inactive

add to DB

deflg
2012-2018
inactive
#2
add to DB

deham
2012-2014
inactive

add to DB

dehan
2012-2014
inactive

add to DB

demhp
2018-2018
inactive

add to DB

demuc
2013-2014
inactive

add to DB

desna
2014-2019
inactive
stopped in 2019-04-04 enram/data-repository#76
add to DB

eesur
2012-2019
active
eesyr exists in DB
update code in DB

frrem
2019
?
not much data, artefact?

istgb
-
?
found on ftp.baltrad.eu only

nlhrw
2017-2019
active
written with space in opera DB enram/data-repository#81
remove space in code

ptliz
-
?
flyway only, should probably be written as ptlis
no action

seatv
2019
active
replaces sevil enram/data-repository#79
add to DB

sebaa
2019
active
kinda replaces searl? enram/data-repository#79
add to DB

sehem
2017-2019
active
replaces sease enram/data-repository#79
add to DB

sehud
2012-2016
inactive
replaced by sehuv enram/data-repository#79
add to DB

sekaa
2018-2019
active
replaces sekkr enram/data-repository#79
add to DB

sekrn
-
?
supposedly replaces sekir enram/data-repository#79
add to DB

sella
2018-2019
active
replaces selul enram/data-repository#79
add to DB

seoer
2017-2019
active
replaces seovi enram/data-repository#79
add to DB

seosu
2012-2016
inactive
replaced by seosd enram/data-repository#79
add to DB

sevar
2012-2016
inactive
replaced by seosd enram/data-repository#79
add to DB

@leijnse how can we suggest changes to the OPERA database? Also, would it be possible to add the property replacedBy to the database, to indicate code changes (e.g. for Sweden)?

All the above issues are either resolved or reported in separate issues. Closing this issue.


Default build.Gradle mismatch

GestureLibrarySample is using Gradle 4.0.1 so sub projects all fail to compile until the Gradle is updated for each of them.  New to Gradle so might have a bad config.
ERROR:
Using multiple versions of the Android Gradle plugin in the same build is not allowed.
'E:\Glass\glass-enterprise-samples-master\QRCodeScannerSample\app' is using version 4.0.0
'E:\Glass\glass-enterprise-samples-master\GestureLibrarySample\main' is using version 4.0.1
Open File

Windows, Android Studio 4.0.1
Build #AI-193.69<IP_ADDRESS>26763, built on June 24, 2020
Runtime version: 1.8.0_242-release-1644-b01 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 1237M
Cores: 16

Hey @mikemorrison111 did you change the version to 4.0.1 (I think all our samples are set to 4.0.0)? Can you check that you didn't make any local changes?

I must have done exactly that somehow. doh!


Create addRestoreCaseException function

I use the pluralize library frequently and wanted to be able to pluralize promo ID => promo IDs
I can add a plural rule but the restoreCase function restores the case so that the result is promo IDS
I created a function addRestoreCaseException which takes a token argument and pushes it to an array of restoreCaseExceptions
If a token is found in the array of restoreCaseExceptions then the token's case is not restored.
I also added a test and updated the readme.

Coverage remained the same at 100.0% when pulling 184e7d0e68e89e53bb993d6215af97f34adc4e6a on umairda:master into abb399111aedd1d62dd418d7e0217d85f5bf22c9 on blakeembrey:master.


Document maxEditLength option

It's in the code, but not in the README.

Done by https://github.com/kpdecker/jsdiff/pull/466


Incorrect cell size for lue_translate to GeoTiff

gdal shows
Files: runoff/runofff.tif
Size is 300, 425
Origin =<PHONE_NUMBER>00000000000,4726000.000000000000000)
Pixel Size = (0.000992063492063,-0.000992063492063)

the LUE dataset holds the good coordinates
(0,0): 695500, 4.72175e+06, 698500, 4.726e+06

numer of rows and columns is fine, but cellsize should be 10

@OliverSchmitz Please update the priority label as you see fit.

Closing. Will be fixed as part of #34


Do not force return type of FormatterInterface::formatHttpResult

I am trying to use this package in an application where I would like to keep the possibility of implementing other database backends.
I was thinking of making my own Formatter that implements FormatterInterface such that I can make the return types of this custom formatter more abstract and independent of any database-specific package.
Unfortunately, the FormatterInterface currently forces me to return a CypherList (which is part of this package). This means that currently, I cannot write my application the way that I want to.
Describe the solution you'd like
Change the typing of FormatterInterface::formatHttpResult to be independent of this package, or remove the typing altogether.
Describe alternatives you've considered
I've thought of using the BasicFormatter and then making a wrapper around that which does not do much other that remove the CypherList.
This would be ugly code, and I would prefer having only one class instead of two.
Additional context
If the architecture of the app that I described is a bad idea in general, feel free to suggest other ideas.

Thank you for your quick and clear reply!

Remember that the CypherList is iterable, behaves like an array, is countable and can easily be cast to an array with the toArray method.

Thank you for the reminder, I will be able to work around it this way I think, and just use the basic formatter 😄

If you genuinely need to change database backends freely, it will be easiest to create your own client or wrapper object that uses this library.

That's indeed similar to what I am doing.

But this will be the start of your woes. Neo4j is a graph-based database and not a row and column-based one. Pretending they are interchangeable will quickly become a headache.

I hope the only other backends that I will have to implement are (other) graph-based databases (Or maybe only other Cypher-based databases). I agree that SQL-like databases will not work easily (although when someone really wants it, anything can be done).
Maybe some symmetry in the way the formatters work might be preferable (i.e. either let both formatters work on lists or let them both work on single responses), although I do understand why this is complicated.
I will close the issue for now, because I have found a workaround.


Fix: typo in remote address

as title

How did you spot this?

This should go to dev to so I cherrypicked it there.


feat(tutorial): complete step 5 - Dublin

https://carbon-tutorial-siboscol.eu-gb.mybluemix.net/

Looks like the IBM Cloud deploy is failing!


TypeError: Cannot set properties of undefined (setting 'hook')

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Framework version: 2.7.0
Browser: chrome<IP_ADDRESS>


Why does DistillationLoss use dot instead of kldiv?

Great job
But I have a small question here, for distillation losses, why not use kl dispersion but multiplication!
https://github.com/Piyush-555/GaussianDistillation/blob/974b9504b25c04392a9f270e40f80cbf11a8e486/utils/misc.py#L35-L44
My idea like that,
return nn.KLDivLoss(reduction="batchmean")(student, teacher) * (self.T ** 2)

The loss implemented is actually a cross-entropy loss. Since cross-entropy and KL divergence are the same optimization-wise, anyone would be acceptable to use.

Thanks for your reply. In my reproducing results, I found that using kl divergence would lead to slightly higher results. It's about two points. (python distill_gaussian.py CIFAR10 200 200 --compare True --model_student resnet18)
return nn.KLDivLoss(reduction="batchmean")(student, teacher) * (self.T ** 2)

And finally, great work, inspired me.

I might need to check that then. But thanks for the info!


Rewrite test after bd7366c

Coverage increased (+0.02%) to 67.66% when pulling 54a8681e797616ca84e665c52c24daa39f8ffcba on gotcha:develop into bd7366c09946d5bb6f442767e1cc08659d0afc62 on CounterpartyXCP:develop.


Replace ZiplineReference annotation with ZiplineService interface

Right now ZiplineReference exists so we can pass interface handles across the boundary and release them to terminate the link.
I’d like to replace this with a new type, ZiplineService with approximately this API:
interface ZiplineService {
  /**
   * Release any resources and remove the link to the
   * other runtime. It is an error to call any method on a
   * service after it has been closed.
   */
  fun close()
}

I can think of a couple Big Benefits here:

We will generate bigger stubs in each ZiplineService sub-interface, reducing the amount of generated code in Zipline.get() and Zipline.set(). Right now our incremental builds are broken because if you change an interface but not calls to Zipline.get(), those calls don’t rebuild. (This currently causes linking errors!)
We should be able to put ZiplineService instances inside other objects without the generics problems we had when doing that in Kotlin/Native with kotlinx.serialization. (restoring what was lost in https://github.com/cashapp/zipline/pull/341)

I think this might also be a bit more obvious. The biggest drawback of this approach is that it prevents Zipline from working with arbitrary interfaces like Runnable. I think this is a fine tradeoff.

Last step: https://github.com/cashapp/zipline/pull/424


⚠ Bofrost.be has degraded performance

In 786f805, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1223 ms

Resolved: Bofrost.be performance has improved in 9dfb4c7.


Added  _WIN32_WINNT guards

To allow compiling with any Windows SDK, not just SDK10 (Windows SDK8.1 for example).

Out of curiosity do you have many users on Windows 8?

Well, I am one.  I am still on 8.1 64 bits.  But I have users on 32-bit distros which are probably just as old.

Thanks for making the formatting changes, I like to keep the style consistent especially for core code.


Input max width problem

It looks like we need the maximum width for the input. Otherwise, the image will be distorted when it exceeds the area.

I can fix that issue btw.

Thanks @alpercun. I am waiting for your help.


Handle (ignore) missing BLAST results

Example: a FASTA sequence from MedicMine returns results from the Mt db but not the TAIR or Glyma dbs. Currently the job fails because two of the expected BLAST output files are blank. The correct behavior should be that the job continues, using only the Mt BLAST results.

Tentatively fixed - it now uses whichever BLAST output files are available, and fails only if none exist. Failure at this stage avoids continuing to the AHRD task, which requires at least one BLAST file as input.

Fixed in commit 64ddb53


Module not found: Error: Cannot resolve module 'csvtojson'

I am some how getting this issue any specific reason ...

Without seeing your code there's little we can do to help...

Close due to no activity


Make HttpHeaders more cacheable

Motivation:
Currently, HttpHeaders internally holds headers as string values.
An object set via shortcut methods is not cached and deserialized from
the string value. See #3711 for details.
Modifications:

Cache the original values which have shortcut methods in
HttpHeadersBase

HttpMethod
HttpStatus
MediaType for Content-Type
ContentDisposition
List<LanguageRange> for Accept-Language
Cookies for Set-Cookie and Cookie

Invalidate a cached value if a value associated with the cache value
is mutated.
Remove cached values from DefaultResponseHeaders and
DefaultRequestHeaders

Result:

HttpHeaders now properly caches well-known HTTP header value objects.
Closes #3711

accept-language and content-disposition are not used very often, so it may be worth caching other headers such as content-length instead.

Forgot to ask for the numbers. Any differences?


change version in 'poetry add pheval' so Pheval contains PhevalDiseaseResult

Currently when going though the documentation of Pheval to create a runner and adding pheval to poetry it adds version 0.2.0
❯ poetry add pheval
Creating virtualenv exomiser-rag-embedding-runner-rrKu6h-f-py3.11 in /Users/carlo/Library/Caches/pypoetry/virtualenvs
Using version ^0.2.0 for pheval

However this version does not contain the PhevalDiseaseResult class.
An import frompheval.post_processing.post_processing should contain PhevalDiseaseResult
The weird thing is that I checked with pheval.exomiser runner and its version is pheval 0.1.0 (https://github.com/monarch-initiative/pheval.exomiser). This contains the PhevalDiseaseResult via the same named import from pheval.post_processing.post_processing

Add PhEval with this command:
poetry add git+https://github.com/monarch-initiative/pheval.git
The PyPi release is not updated

@souzadevinicius is there a documentation page "How to create a new PhEval release" on pypi?
Better not be spreading the poetry add git+https://github.com/monarch-initiative/pheval.git for downstream repos..


Add REST API to retrieve the server URL from the deployment.yaml

Purpose
Add REST API to retrieve the server URL from the deployment.yaml

Fix https://github.com/wso2/analytics-apim/issues/681


Side by side reading mode NOT VR

Describe your suggested feature
What I'm asking is if it were posible to make a side by side reading mode but not vr, we're you show two picture of the same image side by side in the app, you would just need to put your reading mode on landscape sbs and just show the same picture twice side by side on landscape mode, and the control we'll it's already there since you could just use a mouse to scroll that way you could just buy one of those cheap "vr" set(they not really vr) were you put your phone in and be able to see it as if it were "vr". If this were to be made possible a simple adjustment control would be good were you just control how separated the images apper on the screen from each other.
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

No


Fix content inconsistencies

I did a content review of SimpleReport and found some inconsistencies and other minor issues. Next steps below.

[x] Change "Create New Person" to "Add New Person" on page to add new person
[x] Change "Create New Person" to "Add New Person" on breadcrumb (same page)
[x] Change "New Person" button on People page to "+ Add Person"
[x] Change "+ New Facility" button on Manage Facilities page to "+ Add Facility"
[x] Add space between "+" and "Add Device" on Manage Facilities page
[x] Change "Past Tests" to "Test History" in the Time of Test Modal
[x] Format phone numbers with area codes in parentheses and hyphens - e.g.<PHONE_NUMBER>. Phone numbers appear in (1) Person Profile, (2) Facility Information, and (3) Ordering Provider
[x] Change "Date of test" to "Test date" on Results table
[x] Change "Date of test" to "Test date" in Test History table within Profile
[ ] Change title case to sentence case capitalization: There are many instances throughout the app that need to change. I updated the Engineering-Ready prototype with the correct capitalization. Engineers, let me know if there is a better way to communicate this. I know it can be tedious!

The following are updated in https://github.com/CDCgov/prime-simplereport/pull/671/commits/648c2d133e3ead1ce4da921c1126234b1ba83656

Change "Create New Person" to "Add New Person" on page to add new person

Change "Create New Person" to "Add New Person" on breadcrumb (same page)

Change "New Person" button on People page to "+ Add Person"

Change "Past Tests" to "Test History" in the Time of Test Modal

Change "Date of test" to "Test date" on Results table

Change "Date of test" to "Test date" in Test History table within Profile

Change "+ New Facility" button on Manage Facilities page to "+ Add Facility"
updated in: https://github.com/CDCgov/prime-simplereport/pull/671/commits/be41744b525dc00d4820169daf296dccd5261255

Phone numbers appear to use the correct format on Profile pages, though not sure how to check the other pages.

Add space between "+" and "Add Device" on Manage Facilities page

done in https://github.com/CDCgov/prime-simplereport/pull/671/commits/fbacbb6883488245540e1e98431e300fc9f9a352

Phone numbers in the three places described use the correct formating, so will mark that as done:

For "Change title case to sentence case capitalization," this could be a good item to pair on with a designer + front-end person to go through the app together. Unless you'd prefer to ID all the items manually and post them.

We went through the engineering-ready prototype and reflected the proper capitalization throughout. Is that sufficient? If not, I can ID them or we can pair.

This issue is done! @katiealoisi feel free to open a new issue if you find new ones.

Looks like phone numbers aren't being formatted, but we should pull this out into its own issue.


phobos: Error: cannot directly load global variable constants with PIC or PIE code

ibuclaw (@ibuclaw) reported this on 2020-11-10T16:54:06Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=21375
CC List

ibuclaw (@ibuclaw)

Description
This happens when building phobos with DFLAGS="-fPIE".

Compiling with `-fPIC` works just fine (possibly because of issue 9378).

std/internal/digest/sha_SSSE3.d-mixin-739(739): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-739(740): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-747(777): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-749(779): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-751(781): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-753(783): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-755(774): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-758(776): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-760(778): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-762(780): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-764(782): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-766(784): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-769(790): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-771(792): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-773(794): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-775(796): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-777(798): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/digest/sha_SSSE3.d-mixin-780(792): Error: cannot directly load global variable constants with PIC or PIE code
std/internal/math/biguintx86.d-mixin-793(822): Error: cannot directly load global variable storagenopMulAdd with PIC or PIE code
std/internal/math/biguintcore.d(130): Error: template instance std.internal.math.biguintx86.multibyteMulAdd!'-' error instantiating

ibuclaw (@ibuclaw) commented on 2020-11-10T17:00:50Z
Adding relevant version(D_PIC) conditions, and dmd ICEs as per what was reported in issue 21374.


Does not work

If you run it as you wrote “npm build” in the instructions, it won’t work. After googling a little, I realized that the correct way would be “npm run build”, well, okay, I sort of figured it out. Now when I run "npm start", I get "Server is running at http://localhost:undefined"

I will add an answer for users in the future.
If anyone has the same problem with the port, then open the file "package.json" and change "start": "node dist/src/index.js" to "start": "set PORT=5000 && node dist/src/index .js".
Then feel free to run "npm start" and localhost:5000 will work

I will add an answer for users in the future. If anyone has the same problem with the port, then open the file "package.json" and change "start": "node dist/src/index.js" to "start": "set PORT=5000 && node dist/src/index .js". Then feel free to run "npm start" and localhost:5000 will work

Thank you @Roboxkin  for raising this. I forgot to include the initial instruction to create the .env file with PORT key value pair in the file contents but I also appreciate your solution which I will add in my next commit. Feel free to also raise a fix PR in case you want to contribute.

This has now been solved in this commit. Closing.


Parsing of Rotation/Flipping of Tiled map does not properly handle FlipY

Version

Phaser Version: 3.55.2
Operating system: Windows

Description
When loading a tilemap that was created in Tiled, you can flip and rotate tiles as you place them.  Phaser currently accounts for this visually (so that the sprite for the tile is properly flipped and rotated) but it does not account for this with any custom colliders (as was already mentioned in #4360).
The fix mentioned in the above issue is still not implemented in the latest beta version or the main dev branch.
More importantly, the fix above does not work in all cases.  If a tile only has 'flipY' on it, for some reason the tile that is created does not get its flipY properly set.  I haven't yet found the source of this but I suspect it is a bug inside the Matter world code that attempts to create tiles for the tilemap.
Example Test Code
(coming soon! I will update with a minimal example)
In Phaser Examples there is a flipped visual test map that is very handy for this!  Presently it does not have any custom colliders on it so I will add those, turn on Matter debugging, and show how the colliders do not match the outline.
Additional Information
(coming soon! I will update with screenshots soon)

Thank you for submitting this issue. We have fixed this and the fix has been pushed to the master branch. It will be part of the next release. If you get time to build and test it for yourself we would appreciate that.


Fix for k8 and k8 sanity

The change contains the following :

New k8 base boxes for both demo and sanity (contains built in guestadditions and basic tools)
Bug fixes for etcd flaps ,netplugin/netmaster bring up scenarios
fix to syncronize netplugin operations
timing issues in system test

@abhinandanpb: Please split this up into logical chunks. We should have one commit for the Kubernetes Vagrantfile and one for each set of changes. There are too many changes to put in a single commit.
Do we still need multiple boxes to run the k8s tests?

I would have split if my commits for each issue was huge . commits are inter dependent.
We need k8 boxes until Divya's kubeadm changes are going to be merged which will happen pretty soon.

I understand, but it's more difficult to understand which issue each change addresses. That's the reason why I've asked that question.

Looking at the code, there are three logical parts I think:

netplugin synchronization issues (majority of this PR)
etcd flap (small)
Pre-built vagrant boxes for k8s-centos to expedite k8s test setup. (small)

Maybe keeping 1 in this PR and moving 2 and 3 into another PR will clean up the confusion. Just a suggestion.

@abhinandanpb This needs to be rebased on master.

Fix the specific lines for this PR if any, and file an issue for cleanup for later please.
Thanks,

Himanshu
.:|:.:|:.

From: unclejack<EMAIL_ADDRESS>Reply-To: contiv/netplugin<EMAIL_ADDRESS>Date: Thursday, February 16, 2017 at 3:19 PM
To: contiv/netplugin<EMAIL_ADDRESS>Cc: "Himanshu Raj (himansh)"<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [contiv/netplugin] Fix for k8 and k8 sanity (#739)
@unclejack commented on this pull request.

In netplugin/agent/state_event.gohttps://github.com/contiv/netplugin/pull/739#discussion_r101652240:

@@ -323,8 +307,6 @@ func processServiceLBEvent(netPlugin *plugin.NetPlugin, svcLBCfg *mastercfg.CfgS

    portSpecList := []core.PortSpec{}

    portSpec := core.PortSpec{}

  netPlugin.Lock()

  defer func() { netPlugin.Unlock() }()

Can you change all of these to defer netplugin.Unlock(), please? The defer func() {} should be used only when there's more than one line of code to run in defer.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/contiv/netplugin/pull/739#discussion_r101652240, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMiMKTl8zV5lTwzRQjuF_Mg6Vn6zjt2Lks5rdNmZgaJpZM4L9i2Z.