Example repo?

Hello, capsule looks great and we're looking to adopt it in our open-source project.
Any chance you could share an example repo using capsule + capsule_ecto + capsule_supplement? This would go a long way to help with adoption given the minimal docs ;)

Thought about this, even started building out a repo, but I realized I had no idea what to add that is not already in tests for the various libraries. Can you explain a bit more what you expect to see in this kind of demo?


More convenient conversion

First off, thanks for all the effort you've put into this package! It's been wonderfully useful, and the integration with CondaPkg is just :ok_hand:.
Unfortunately, at the moment, it feels like whenever I want to write functions that work with python, or (even worse) python and julia I have to engage in a somewhat annoying dance with pyconvert.
I can't help but feel that the situation could be much nicer.
On pyconvert and convert
As an example consider if I want to write an MSE function that works with data from python and Julia. At the moment, I'd need to do something like this:
function mse(y, ŷ)
    native_y = if y isa Py
        pyconvert(Vector, y)
    else y end
    native_ŷ = if ŷ isa Py
        pyconvert(Vector, ŷ)
    else ŷ end
    sum((native_y .- native_ŷ).^2)
end

I find myself regularly writing convert on instinct, getting method errors, and feeling tricked! — as that's the muscle memory I have in julia for "I want type X, I have y". From what I can tell, defining Base.convert(T::Type, obj::Py) wouldn't cause any issues, so I'm confused by why pyconvert actually exists?
Furthermore, since convert(::Type{T}, t::T) just returns t, it would allow for equivalent but much simpler code in quite a few places I think. Returning to the earlier example, the mse function could be rewritten as:
mse(y, ŷ) = sum((convert(Vector, y) .- convert(Vector, ŷ).^2)

I imagine this change could be made in a straightforward backwards compatible way like so:
Base.convert(T::Type, obj::Py) = pyconvert(T, obj)

On type information
Currently, Py is a struct a single field and no parameters. I feel like it would be nice to expose python type information. Short of constructing a python type tree, perhaps it would be possible to cheaply encode some type information in a type parameter? Just as an example, say Py was changed to:
mutable struct Py{pytype}
    ptr :: C.PyPtr
    Py(::Val{:new}, ptr::C.PyPtr) = finalizer(py_finalizer, new(ptr))
end

From a quick benchmark, pytype seems very fast to run (10ns on my machine), perhaps it one could use this to populate pytype information? E.g. Py{:list}? There's likely a better way of doing this, it just occurs to me that something along these lines could be helpful. This definitely needs more thought.
On automatic conversion
The fact that PythonCall does not eagerly make best-guess conversions from Python to Julia types has been quite good from a performance perspective, but I feel like there is still room for a convenience function to "just give me X in pure Julia form", say via a pynative function or similar.
It occurs to me that should Py have type annotations, as proposed earlier, then this might be able to be done quite cleanly with multiple dispatch.
pynative(juliatype::Any) = juliatype
pynative(::Py{T}) where {T} = throw(MethodError(pynative, Tuple{Py{T}}))
pynative(list::Py{:list}) = map(pynative, convert(Vector, list))
...

On type promotion
I imagine guessing when it would make sense to convert to Julia would be a bit fraught, so while this would be nice theoretically, I have no particular ideas here.

Rest assured the same thoughts have crossed my mind!
Many of your points can be addressed with a single design decision: Python objects are their own type of thing with their own semantics, totally disjoint from any existing Julia semantics. This means for example that the Python int value 1 is not considered to be equal in any Julia sense to the Julia Int value 1.
This already explains your first point: since Python 1 and Julia 1 are not equal, you should not be able to convert between them. On the other hand, pyconvert is explicitly for converting a Python value to its Julia equivalent and has its own documented semantics.
One practical difference is that convert(Any, x) always returns x whereas pyconvert(Any, x) does not. PyCall gets around this by introducing a new type PyAny, but this is a weird hack IMO.
PythonCall did in fact used to have the generic convert method that you suggest, but it has big performance issues because it invalidates pretty much all other methods for convert.
You can of course define your own one-line function which does convert or pyconvert depending on the input.
The same argument rules out type promotion with Julia types - since promote relies on convert.
The above design decision also explains why we don't do automatic conversion back to Julia types - they just aren't the same thing. In particular, automatic conversion gets in the way of doing lots of Pythonic things in a row. For example x.my_list.append(12) would fail if x.my_list were converted to a Vector. A secondary concern is that such behaviour is type-unstable and slow.
I have considered including type information in Py too but again this would be type-unstable and slow. It's also not clear how it would even be useful - to be useful we'd need to know the full inheritance hierarchy of the Python types (so for example we know if something is a subtype of list) but if you want to use this for dispatch it's difficult because Python has multiple inheritance so its types cannot be faithfully represented as Julia types. The alternative is to treat Python type information as a runtime property, which is what PythonCall does.

As for converting back to Julia native types, this has been a common request. I am currently rewriting the conversion internals, and one thing it will allow is flags to control the conversion. Soon you will be able to do pyconvert(Any, x; copy=true) to get a copying conversion, so that a list is copied to a Vector instead of wrapped as a PyList.

Thanks for the detailed reply. One thing I'm not sure of though is

PythonCall did in fact used to have the generic convert method that you suggest, but it has big performance issues because it invalidates pretty much all other methods for convert.

Would Base.convert(T::Type, obj::Py) = pyconvert(T, obj) actually cause many method invalidations? If you might explain this a bit more that would be appreciated.

My memory about the invalidations is hazy - I'm no expert on that stuff. But I followed the SnoopCompile tutorial and at some point found a huge pile of stuff (invalidations maybe) connected to convert. After I removed that method, the pile of stuff disappeared and the package import time went up by about a second.
If you're interested, you could modify PythonCall yourself and investigate the effect.


Performance improvements

Changes from https://github.com/auth0/java-jwt/pull/194 plus various minor improvements.

crypto helper is more application-specific to JWT in taking in header and payload as different arguments.
passing ObjectReader around where it might be used
directly generate json in PayloadSerializer
default HashMap sizes

Stats:
Current:
Benchmark                        Mode  Cnt      Score      Error  Units
JavaJwtFromAuth0Bench.claim     thrpt    5  14174 ±  297,734  ops/s
JavaJwtFromAuth0Bench.parse     thrpt    5  63936 ± 1605,433  ops/s
JavaJwtFromAuth0Bench.validate  thrpt    5  14085 ±  189,359  ops/s
Optimized:
Benchmark                        Mode  Cnt       Score       Error  Units
JavaJwtFromAuth0Bench.claim     thrpt    5   17962 ±  1126,980  ops/s
JavaJwtFromAuth0Bench.parse     thrpt    5  311501 ± 12945,965  ops/s
JavaJwtFromAuth0Bench.validate  thrpt    5   18152 ±   755,550  ops/s
See also
https://github.com/skjolber/java-jwt-benchmark

@lbalmaceda any hope for merging this? Also the build fail on java 7 due to some connection reset and code coverage seems to be not working either(?).

@skjolber I forgot to ask you that the other day. Thanks! 💥


Carthage Support?

Hi,
What do you think about add option to install this kit via Carthage? I would like to use it this way. Thanks

There is (was?) #19 which did exactly that, sadly no one seems to care for it anymore.


fix status filter, typo

Related Issue: https://github.com/open-cluster-management/backlog/issues/14674
Signed-off-by<EMAIL_ADDRESS><EMAIL_ADDRESS>

/cc @jamestalton

/cc @KevinFCormier
Was able to get green tests locally,  hoping automated results are the same

/retest

/retest


getchar is not wrapped in the CMakeLists.txt

Getchar is in the library stdio.h,so add #include <stdio.h> first.

not what i meant

using cmake -G "MinGW Makefiles" ..? @kilograham

i know what i mean - this is a reminder to me; don't worry about it.

actually it does seem to be!


Classes with multiple methods are printed wrongly in the Hoogle output

Given:
module Test where
class MyClass a where
    (+++++), (//////) :: a -> a -> a
    (****), logBase :: a -> a -> a
    foo, bar :: a -> a -> a

Using the GHC 7.10 release of Haddock, if I run haddock --hoogle Test.hs --package-name=test --package-version=1 I get the output:
module Test
class MyClass a
(+++++, //////) :: MyClass a => a -> a -> a
(****, logBase) :: MyClass a => a -> a -> a
foo, bar :: MyClass a => a -> a -> a

The final line is fine, but the other lines have incorrect operator brackets.

Another one that is probably fixed.  Would be great to get a test added as per #377 (since this has broken and been fixed at least once before).

A test for this was added in https://github.com/haskell/haddock/pull/438.


Bug/labels and things

Fixes #202

Clarifies contributions and expenditures supporting/opposing
Removes extra margin on the footer
Removes TODO that was fixed\

cc @KyleW

Here's a screen shot


[Small annoyance] Rightclick -> edit on node script fields enters new sub inspector

Godot version:

3.2.4.rc4.mono.official
OS/device including version:

Win10
Issue description:

As displayed in this video:
https://user-images.githubusercontent.com/8841352/109840883-d05a4b00-7c48-11eb-8cce-125067d12291.mp4
Rightclick -> edit on script fields for nodes does correctly open the script in the external editor, but additionall opens the script resource in a new sub-inspector with nothing really to edit and even though the Script type is not listed for that in the editor settings.
Steps to reproduce:
Follow the steps in the clip

Also you can just click on script icon in scene tab or scene tree.


anatomy and morphology trait (TO:0000017)

current def'n: This category belongs to traits associated with changes in the anatomy or structure of the plant at organ, tissue or cellular level.
Propose revised def'n:
A plant trait (TO:0000387) which is associated with the anatomy or morphology of a plant anatomical entity (PO:0000003) or one or more constituent cellular components (GO:0005575) contained therein.
Reported by: cooperl09
Original Ticket: obo/plant-trait-ontology-to-requests/53

revised term morphology trait (TO:0000017) and def'n: A plant trait (TO:0000387) which is a morphological quality of a plant anatomical entity (PO:0025131) or one or more constituent cellular components (GO:0005575) contained therein.
added xref (TO_GIT:54) to morphology trait (TO:0000017)

This looks wrong.
a) need 'of' before 'one or more'
b) we do not want to allow qualities of pluralities of cellular components;
only single entities can have qualities
c) cellular components in GO's terms are parts of cells; the definition
would imply that a morphology trait could be either a quality of plant
structures (always bigger than cells) or of entities at the level of
cellular components (always small than cells) but not of cells taken singly
BS
On Mon, Nov 2, 2015 at 7:06 PM, ejohnson1<EMAIL_ADDRESS>wrote:

revised term morphology trait (TO:0000017) and def'n: A plant trait
(TO:0000387) which is a morphological quality of a plant anatomical entity
(PO:0025131) or one or more constituent cellular components (GO:0005575)
contained therein.
added xref (TO_GIT:54) to morphology trait (TO:0000017)
—
Reply to this email directly or view it on GitHub
https://github.com/Planteome/plant-trait-ontology/issues/54#issuecomment-153198258
.

Revised name and def'n:
was: morphology trait (TO:0000017) and def'n: A plant trait (TO:0000387) which is a morphological quality of a plant anatomical entity(PO:0025131) or one or more constituent cellular components (GO:0005575) contained therein.
Revised:
plant morphology trait (TO:0000017):  A plant trait (TO:0000387) which is a morphological quality of a plant anatomical entity (PO:0025131) or a constituent cellular component (GO:0005575) contained therein.
This definition includes plant cell.
plant cell (PO:0009002):  A cell which is a plant structure (PO:0009011). [source: GO:0005623, POC:curators]
This has been part of the PO since the early days.   There are about 40 plant cells in the PO.


Make Ameland and IABR scenarios available in the start menu

See quintel/etengine#835
Comment by @grdw:

The production scenarios are:
IABR: https://pro.energytransitionmodel.com/scenarios/291793
Ameland: https://pro.energytransitionmodel.com/scenarios/291787
Both scenarios belong to Alex's user.

including @AlexanderWirtz, @jorisberkhout

I think it makes sense to create a new header there called 'regional scenarios'

Just to be clear, you mean in here?

Yes, in the menu! I Looking at it now, I think you can put them in the
'Features' menu. Two scenario's: Ameland & the IABR 2035 please. :)
On Fri, May 20, 2016 at 9:45 AM, Gerard<EMAIL_ADDRESS>wrote:

[image: screen shot 2016-05-20 at 09 44 53]
https://cloud.githubusercontent.com/assets/2676542/15420907/87706302-1e6f-11e6-868b-63be7c8e09bb.png
Just to be clear, you mean in here?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/quintel/etmodel/issues/2115#issuecomment-220539732

--
Dennis Schoenmakers, Partner
Quintel IntelligenceAtrium - Strawinskylaan 3051
1077 ZX  Amsterdam
The Netherlands
Visiting Address:
Keizersgracht 639
1017 DT Amsterdam
T  : +31 (0)20 301 22 69
F  : +31 (0)20 301 22 02
M : +31 (0)6 109 65 293
E<EMAIL_ADDRESS>I  : www.quintel.com and www.energytransitionmodel.com
This message (including any attachments) is confidential and may be
privileged. Any review, retransmission, dissemination or other use of, or
taking any action with reference to this information by persons other than
the intended recipient is strictly prohibited. If you have received it by
mistake please notify the sender by return e-mail and delete this message
from your system. Please note that e-mails are susceptible to change. The
sender will not accept liability for the improper or incomplete
transmission of the information contained in this message.

If I understand correctly the scenarios in that menu are presets from ETEngine right? ( @antw ). So in order for me to create two new one's I have to create two new presets in etsource in order to add them to the menu.

See also https://github.com/quintel/etsource/issues/1109

See also quintel/etsource#1109

@dennisschoenmakers makers famous last words indeed ...
I could create the presets but not scaled. Can't we just create a simple link to these scenarios in that part of the menu? Or would that be a little against the purpose of existing scenarios?

I could create the presets but not scaled. Can't we just create a simple link to these scenarios in that part of the menu? Or would that be a little against the purpose of existing scenarios?

I think that is the most logical choice here. Let's deal with creating scaled presets later in quintel/etengine#842.

Could we give this some priority @grdw ?
cc @DorinevanderVlies

Well yes I could, but I have a strong preference to first fix https://github.com/quintel/etengine/issues/842 before starting to create a really hack a link in a menu.

I manage to find a way:
  def scenario_groups(groups)
    groups.map do |group|
      group[:scenarios] += (custom_links(group[:name]) || [])
      group
    end
  end

  def custom_links(name)
    [
      Api::Scenario.new(title: 'Custom link', name: 'Custom link', id: 515515, display_group: "Actueel"),
      Api::Scenario.new(title: 'Custom link 2', name: 'Custom link 2, id: 515515, display_group: "Actueel")
    ].group_by(&:display_group)[name]
  end

*I do know that you can also do: Api::Scenario.find(<scenario_id>), however I can't set the display_group attribute, that's why I'm creating new scenario Objects and fake the scenario id.
With these two helpers I am able to create custom links for scaled scenarios in the ETModel interface. Maybe we could wrap it in a *.yml configuration file? Also in order to create title for both en and nl? Something like:
custom_sidebar_links.yml
---
custom_sidebar_links:
  - title: Custom link
    id: 515515
    display_group: "Actueel"
    key: "custom_link"
  - title: Custom link #2
    id: 515515
    display_group: "Actueel #2"
    key: "custom_link_2"

And use a translations file for the custom_links + the key attributes to initiate some custom description?
We could also turn it in a database table but I don't know how many custom links there will be created.

@dennisschoenmakers @antw does this sound like an ok solution?

does this sound like an ok solution?

I think so.
I'll take a look at etengine#842 to see how easy it would be; it would be a pity to implement this temporary fix if that issue turns out to be simple. I'll get back to your ASAP.

The code is pushed and I have the two presets made and ready-to-go. However, the scenarios have the following validations errors:

ameland_2020_obv_2013_v9

contains inputs belonging to the district_heating_buildings_present share group, but the values sum to 0.0, not 100
contains inputs belonging to the district_heating_buildings share group, but the values sum to 0.0, not 100

iabr_2035_stad_en_regio_groningen

contains input keys which don't exist:

industry_chemicals_other_burner_coal
transport_ship_using_biodiesel_share
transport_ship_using_diesel_share
transport_ship_using_heavy_fuel_oil_share

I'm guessing the IABR messages are to be expected (#2251), and those inputs can be removed?
Ameland... I'm not sure about. It looks like both district heating share groups are missing a "heat network connection" input. Is it safe to set this value to 100?

district_heating_buildings:

buildings_chp_engine_biogas_share = 0.0
buildings_collective_chp_network_gas_share = 0.0
buildings_collective_chp_wood_pellets_share = 0.0
buildings_collective_geothermal_share = 0.0
buildings_heat_network_connection_steam_hot_water_share = MISSING

district_heating_buildings_present

buildings_chp_engine_biogas_share_present = 0.0
buildings_collective_chp_network_gas_share_present = 0.0
buildings_collective_chp_wood_pellets_share_present = 0.0
buildings_collective_geothermal_share_present = 0.0
buildings_heat_network_connection_steam_hot_water_share_present = MISSING

--
Ping: @AlexanderWirtz @ChaelKruip.

On Ameland: ping @DorinevdVlies

I meant @DorinevanderVlies

@ChaelKruip re-assign at will. I think somebody needs to look at those presets but I think that might already be done though.

@ChaelKruip re-assign at will. I think somebody needs to look at those presets but I think that might already be done though.

I think @AlexanderWirtz and myself should have a look before we publish these presets.

What is the status of this? Close?

@AlexanderWirtz this is the moment to put this live. It looks as if only the points mentioned in https://github.com/quintel/etmodel/issues/2115#issuecomment-251443332 are keeping this from being deployed. Right @antw?

Ameland... I'm not sure about. It looks like both district heating share groups are missing a "heat network connection" input. Is it safe to set this value to 100?

For Ameland the heat network is geothermal. So the input will be:
buildings_chp_engine_biogas_share = 0.0
buildings_collective_chp_network_gas_share = 0.0
buildings_collective_chp_wood_pellets_share = 0.0
buildings_collective_geothermal_share = 100.0
buildings_heat_network_connection_steam_hot_water_share = 0.0

district_heating_buildings_present

buildings_chp_engine_biogas_share_present = 0.0
buildings_collective_chp_network_gas_share_present = 0.0
buildings_collective_chp_wood_pellets_share_present = 0.0
buildings_collective_geothermal_share_present = 100.0
buildings_heat_network_connection_steam_hot_water_share_present = 0.0

Thanks @DorinevanderVlies.
I suspect the Ameland preset I created may be out-of-date. It came from production and was labelled as "v9", but production also has one labelled "1.0". Beta has versions of Ameland which are newer than the one on production:

I think there are some things we should discuss here.
This Ameland project ran before we were able to make local dataset. So, there is no local dataset for Ameland.
We made a "scenario" that serves as a local dataset with end-year 2020.
We used that as a starting point to make 4 scenario's in total.
@dennisschoenmakers, what to which scenario do we want to link this preset? The current link is to the scenario that serves as a local dataset.
Two options:

Link to the "scenario" that serves as a dataset? (Not my preference, in that case we should make a local dataset for Ameland) In that case I would link to scenario ID 545739 on the beta server. If this becomes a preset I have to change the title and description)
Link to one of the 4 scenario's we made for Ameland (I would link to scenario ID 554943 on the beta server, "Ameland jaargemiddeld hernieuwbaar")


Time series with Length of 1 not rendering.

Me Again!
Possibly abit of an edge case but unavoidable for the type of data we are working with.
The mapping of data to 'enriched' time series within the panel is reliant on there being more than 1 value in the returned dataset. If there is only a single value 'valuesIndex' gets set to Null rather than 0 and the data fails to render:

Working longer time series:

(Not actual Data im trying to use above but using it to create an example)

thanks for pointing out. will get that fixed.

Fix for this has been pushed to main and will get built into a release next week.

Great, thanks for confirming


Compatibility with 1.18.2

I need this mod in 1.18.2 indeed! I'v tried and found the problem of its 1.0.0 with MC1.18.2.

1.18 support isn't planned. I'm open to pull requests, but I'm not interested in backporting the mod


Backend authentication using JWT

Features

Close #15.  Authors now require email and password to sign in (Email and password are required in author table).
Use Argon2 to hash password in the database
/login, /logout, /register routes
Use JWT to sign tokens on login, and store tokens as cookies (expiry set to 7 days currently)
Close #27.  Add authentication checker middleware to routes that require the user to be logged in (currently only on create/update/delete posts, create comments)

Fixes

ESLint recognizes Jest
Upsert only the parameters that exist when creating a new user

Passwords now use Argon2 hashing


Installing fails with "opencollective-postinstall: command not found"

Just tried to install node-cron from npm, but couldn't. Here's the complete console output:
npm i node-cron
><EMAIL_ADDRESS>postinstall /Users/johndoe/dev/home/home-server-nodejs/node_modules/node-cron
> opencollective-postinstall

sh: opencollective-postinstall: command not found

npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>postinstall: `opencollective-postinstall`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/johndoe/.npm/_logs/2018-10-09T20_27_48_949Z-debug.log

Oh hey, and I was able to reproduce it on MacOS and Raspbian, if that helps.

Been able to work around it by manually installing opencollective-postinstall first. So I guess it's just missing in your dependencies.

+1

opencollective-postinstall should be in dependencies, not in devDependencies.
https://github.com/node-cron/node-cron/blob/f451a8df8974407c1ff1e80378a32854502de911/package.json#L32-L40

Thanks for fix that @chrisEff
I just released a new version (2.0.3) with this bugfix.

Still seems to be an issue in v2.0.3
npm ERR<EMAIL_ADDRESS>postinstall: opencollective-postinstallnpm ERR! spawn ENOENT npm ERR! npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.

@merencia Apparently, this bus is in version 2.0.3 too

+1

Have hit this error in 2.0.3 on Windows.

having this error in ubuntu on google cloud

error of opencollective-postinstall

having this error in ubuntu on google cloud
npm ERR! code ELIFECYCLE npm ERR! errno 126 npm ERR<EMAIL_ADDRESS>postinstall: opencollective-postinstall npm ERR! Exit status 126 npm ERR! npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.

Facing the same issue. Is there a way to bypass this error?

Facing the same issue. Is there a way to bypass this error?

It works for me if I include opencollective-postinstall in my own dependencies

Yup, installed opencollective-postinstall first and then the node-cron package. It worked like a charm.

I just wasted an entire day on this "closed" bug.

My CI system had 2.0.3 version with the  opencollective-postinstall  as a dependency.  Perhaps code was push twice with the same version number.  Now CI is poisoned.

+1

Currently, this error still occurs for windows.
node: 12.10.0
npm: 6.11.3

No more of these errors now with node-cron 3.0.0.


⚠ Samsung has degraded performance

In 5da4135, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1800 ms

Resolved: Samsung performance has improved in 334dc32.


Undefined symbol: _rebind_symbols in new commit 'aadc161ac3b80db07a9908851839a17ba63a9eb1'

I pod install fishhook from github, but an error was reported at building:
Undefined symbols for architecture arm64:
"_rebind_symbols", referenced from:
_main in main.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I found out why is it not compiling successfully.
At the head of rebind_symbols() function there is a macro definition of FISHHOOK_VISIBILITY.
The FISHHOOK_VISIBILITY depends on the FISHHOOK_EXPORT macro definition.
But the FISHHOOK_EXPORT macro definition is not defined.
Thus the state of the rebind_symbols() function is hidden.
You can comment out FISHHOOK_VISIBILITY and it will compile successfully.


Since new version it stops working on vscode dev tunnels.

Since new version it stops working on vscode dev tunnels.

Copilot Chat Extension Version:
VS Code Version:
OS Version:
Logs:

Steps to Reproduce:

Enter to a dev tunnel
Install github copilot chat
Not work github copilot chat

Logs of Github Copilot on dev tunnel
2024-12-19 18:30:56.014 [info] Can't use the Electron fetcher in this environment.
2024-12-19 18:30:56.014 [info] Using the Node fetch fetcher.
2024-12-19 18:30:56.014 [info] Initializing Git extension service.
2024-12-19 18:30:56.014 [info] Successfully activated the vscode.git extension.
2024-12-19 18:30:56.014 [info] Enablement state of the vscode.git extension: true.
2024-12-19 18:30:56.014 [info] Successfully registered Git commit message provider.
2024-12-19 18:30:58.586 [info] Logged in as aleleba
2024-12-19 18:31:10.324 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023): Failed to get copilot token
2024-12-19 18:31:10.324 [error] GitHub Copilot could not connect to server. Extension activation failed: "fetch failed"
2024-12-19 18:31:10.324 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-19 18:31:10.324 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023)
2024-12-19 18:31:10.324 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-19 18:31:10.324 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023)
2024-12-19 18:31:10.324 [info] activationBlocker from 'languageModelAccess' took for 10068ms

@digitarald any idea? It start failing since yesterday, thank you in advance

Can you do F1 -> GitHub Copilot Chat diagnostics

This still an issue, I use the paid version, please take it as an priority, thank you in advance.

The information was provided

## GitHub Copilot Chat

- Extension Version: 0.23.2 (prod)
- VS Code: vscode/1.96.2
- OS: Linux
- Remote Name: tunnel

## Network

User Settings:
```json
  "github.copilot.advanced.debug.useElectronFetcher": true,
  "github.copilot.advanced.debug.useNodeFetcher": false,
  "github.copilot.advanced.debug.useNodeFetchFetcher": true

Connecting to https://api.github.com:

DNS ipv4 Lookup: <IP_ADDRESS> (4001 ms)
DNS ipv6 Lookup: Error (4003 ms): getaddrinfo ENOTFOUND api.github.com
Proxy URL: None (1 ms)
Electron fetch: Unavailable
Node.js https: HTTP 200 (4236 ms)
Node.js fetch (configured): HTTP 200 (4308 ms)
Helix fetch: HTTP 200 (4492 ms)

Connecting to https://api.githubcopilot.com/_ping:

DNS ipv4 Lookup: <IP_ADDRESS> (4083 ms)
DNS ipv6 Lookup: Error (4003 ms): getaddrinfo ENOTFOUND api.githubcopilot.com
Proxy URL: None (1 ms)
Electron fetch: Unavailable
Node.js https: HTTP 200 (4242 ms)
Node.js fetch (configured): HTTP 200 (4267 ms)
Helix fetch: HTTP 200 (4271 ms)

Documentation
In corporate networks: Troubleshooting firewall settings for GitHub Copilot.

I have provided the 8nformation needed, please let me know if you found the issue, thank you in advance 😁

wsl can not use node-fetch, you should add this settings:
    "github.copilot.advanced": {
        "debug.useElectronFetcher": false,
        "debug.useNodeFetcher": true,
        "debug.useNodeFetchFetcher": false,
    },

I am not using wsl, I am running it on a container on a linux OS.

I am using vscode.dev and still failing:
2024-12-20 14:39:39.466 [info] Can't use the Electron fetcher in this environment.
2024-12-20 14:39:39.466 [info] Using the Node fetch fetcher.
2024-12-20 14:39:39.466 [info] Initializing Git extension service.
2024-12-20 14:39:39.466 [info] Successfully activated the vscode.git extension.
2024-12-20 14:39:39.466 [info] Enablement state of the vscode.git extension: true.
2024-12-20 14:39:39.466 [info] Successfully registered Git commit message provider.
2024-12-20 14:39:44.423 [error] Timed out waiting for authentication provider to register: Failed to get copilot token
2024-12-20 14:39:44.423 [error] GitHub Copilot could not connect to server. Extension activation failed: "Timed out waiting for authentication provider to register"
2024-12-20 14:39:44.423 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-20 14:39:44.423 [error] Timed out waiting for authentication provider to register
2024-12-20 14:39:44.423 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-20 14:39:44.423 [error] Timed out waiting for authentication provider to register
2024-12-20 14:39:44.423 [error] Error getting a session: Timed out waiting for authentication provider to register
2024-12-20 14:39:44.423 [error] Error getting a session: Timed out waiting for authentication provider to register
2024-12-20 14:39:44.423 [info] activationBlocker from 'languageModelAccess' took for 1367ms
2024-12-20 14:40:21.453 [info] Logged in as aleleba
2024-12-20 14:40:32.366 [info] copilot token chat_enabled: undefined, sku:
2024-12-20 14:40:33.464 [info] Logged in as aleleba
2024-12-20 14:40:43.850 [error] GitHub Copilot could not connect to server. Extension activation failed: "fetch failed"
2024-12-20 14:40:43.850 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-20 14:40:43.850 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023)
2024-12-20 14:40:43.850 [warning] [LanguageModelAccess] LanguageModel/Embeddings are not available without auth token
2024-12-20 14:40:43.850 [error] TypeError: fetch failed
    at node:internal/deps/undici/undici:13392:13
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at ek._fetch (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:763:5811)
    at B0.fetchCopilotToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:23966)
    at B0.authFromGitHubToken (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:334:21634)
    at B0._auth (/home/aleleba/.vscode-server/extensions/github.copilot-chat-0.23.2/dist/extension.js:446:3023)
2024-12-20 14:40:50.563 [info] Logged in as aleleba

Any update?, thank you in advance

Do you find a fix @chrmarti @digitarald  ?

Do you need more information?

Any update @digitarald @chrmarti ?

@aleleba Could you try adding the following to your user settings JSON (F1 > Preference: Open User Settings (JSON)):
"github.copilot.advanced.debug.useNodeFetchFetcher": false

The restart VS Code and retry with the tunnel.

seems to have fixed it for me.

Alex Leykin

On Sun, Dec 22, 2024 at 6:01 AM Christof Marti @.***>
wrote:

@aleleba https://github.com/aleleba Could you try adding the following
to your user settings JSON (F1 > Preference: Open User Settings (JSON)):
"github.copilot.advanced.debug.useNodeFetchFetcher": false
Then restart VS Code and retry with the tunnel.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-copilot-release/issues/3411#issuecomment-2558415835,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIWAHY6O4LN5W7STOSNYNL2G2LXJAVCNFSM6AAAAABT5RXGLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJYGQYTKOBTGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I tried and still failing, Im using vscodedev:

For give context I run vscode tunnel on a container, since I delete container and rerun it and change the configuration, it start working again. I think you can close the issue.


Provide fast Object2ObjectOpenCustomHashMap.computeIfAbsent and friends

Now Strategy.hashCode is called from both get and put via the default implementation, but it could be called only once. By "friends" I mean similar default methods in Map that both read and update the map.

Yes, there are billions of methods that could be implemented better. It's just too much work.


Exercise 2.11: Vectorised function - Possible solution failing PyBryt checks

I have the following possible solution for the 2.11 exercise depicted here:
import pybryt
import math
import numbers
import numpy as np
from lecture import pybryt_reference

A33 = np.array([[0, 12, -1], [-1, -1, -1], [11, 5, 5]])

def f_cubic(A):
    res = np.zeros(A.shape)
    for idx, x in np.ndenumerate(A):
        res[idx] = x**3 + x * math.e**(x) + 1.
    return res

# Assertion Checks
assert isinstance(A33, np.ndarray)
assert all([isinstance(i, numbers.Real) for i in A33.flatten()])
assert A33.shape == f_cubic(A33).shape == (3, 3)
assert np.isclose(np.sum(A33), 29)
assert callable(f_cubic)
assert np.allclose(f_cubic(A33), np.power(A33, 3) + np.multiply(A33, np.exp(A33)) + 1)
assert all([isinstance(i, numbers.Real) for i in f_cubic(A33).flatten()])
assert np.allclose(f_cubic(np.array([0])), 1)

# PyBryt Checks
with pybryt.check(pybryt_reference(2, 11)):
    f_cubic(np.array([[1, 2, -6], [2, 2, -5]])), A33

Assertions pass, but PyBryt errors out with the following message:
REFERENCE: exercise-2_11
SATISFIED: False
MESSAGES:
  - ERROR: You are not populating resulting vector correctly.
  - SUCCESS: You created a zero-matrix before looping.
  - ERROR: Hmmm... The result of your function is wrong.
  - SUCCESS: Your matrix A33 is correct.

While I recognize that the same issue was reported in #72, I'd still be interested in knowing what causes two correct solutions to yield errors with PyBryt. Would a floating-point precision/tolerance be the issue here? Since we don't have access to the reference solutions, it's not possible to explore the issue. So I would appreciate it if you could depict a possible reason for this issue.
Note: I experienced a similar problem with another exercise (do not remember which anymore). Assertions were passing, but PyBryt was not. After inspecting, I noticed that my code was wrong and assertions were not covering all the scenarios.

Adding to that, I'd like to add a more pythonic way in which I personally completed the exercise so that it's also added to PyBryt.
A33 = np.array([[0,12,-1],[-1,-1,-1],[11,5,5]])

def f_cubic(A):
    def f(x):
        return x**3+x*math.e**x+1
    return np.vectorize(f)(A)

print(A33**3 + A33*math.e**A33+1)
print(f_cubic(A33))

PyBryt output is:
REFERENCE: exercise-2_11
SATISFIED: False
MESSAGES:
  - ERROR: You are not populating resulting vector correctly.
  - ERROR: You have not created a zero-matrix before looping..
  - ERROR: Hmmm... The result of your function is wrong.
  - SUCCESS: Your matrix A33 is correct.

My simple code and output here, but can't pass the PyBryt as well.
import numpy as np

A33 = np.array([[0, 12, -1],[-1, -1, -1],[11, 5, 5]])

def f_cubic(A):
  return A**3 + A*np.exp(A) + 1

f_cubic(A33)

Outputs:
array([[ 1.00000000e+00,  1.95478650e+06, -3.67879441e-01],
       [-3.67879441e-01, -3.67879441e-01, -3.67879441e-01],
       [ 6.59947559e+05,  8.68065796e+02,  8.68065796e+02]])

Hi @acse-js3623 and @acse-5d697a4f, thank you very much for raising this issue. We have investigated this and the reason you were getting an error was a mistake in our reference solution.
To create a zero-matrix before populating it, we used np.zeros_like(A), where A is the input matrix, instead of np.zeros(A.shape). Since the input matrix is a matrix of integers, the created zero matrix will have the same dtype as matrix A - integer. Therefore, even though the formula results in a float, the fractional part was chopped and only an integer was placed into the results matrix.
We have modified our reference solution and both of your proposed solutions now pass PyBryt tests.


Enable Kani to verify the standard library crates

As we experiment with verifying the standard library, it might be helpful to enable users to verify the standard library crates directly, instead of having to create wrappers. Those wrappers can also only be used to verify public components.
There are a few things that need to be done in order to do that:

[ ] Create a #[no_core] Kani library.
[ ] Instrument contracts in core without proc_macros.
[ ] Build std fork with cargo build -Z build-std.
[ ] Run verification together with cargo build -Z build-std.

See https://github.com/rust-lang/wg-cargo-std-aware/issues/7 for workarounds on how to build a modified std library.

We have added a sub-command to Kani (verify-std) that is able to verify the std library implementation.


Add binstall configuration

This adds support for installation via binstall. It's simply a set of configuration settings that allows the binstall tool to locate precompiled binaries in the existing GitHub releases. This allows users of binstall to skip the compilation step if a prebuilt binary is available.

Thanks!


Newexample

Could you tell me what you are trying to do?
Please re-open once you add that.

Im sorry. Im trying to upload a new example folder "with-johnnyFive", but
it seems i cant.
Could you help me ?
El 25 may. 2017 11:44 p. m., "Arunoda Susiripala"<EMAIL_ADDRESS>escribió:

Could you tell me what you are trying to do?
Please re-open once you add that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/next.js/pull/2070#issuecomment-304176450, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYaZwC8OvZULdap_7JIP2o7jwCKYj_gQks5r9jyIgaJpZM4NnD1i
.


Insufficient support for multisound sirens (Zipatto PSE02, Philio PH-PSE02 and devolo MT02758)

Checklist

[X]  I am not using Home Assistant. Or: a developer has told me to come here.
[X] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Zwavejs2Mqtt version
6.4.1
ZwaveJS version
8.11.1
Describe the bug
Missing the ability to play different sounds.
zwave_js_dump.zip
Device documentaion:
devolo MT02758 (see chapter "play sound", page 3):
MT02758_manual.pdf
Zipato PH-PSE02 (front page, right lower corner):
Zipato_Siren-UserManual.pdf
device config in zwave2jsmqtt:

device config in HA:

To Reproduce
static, permanent
Expected behavior
ability to select the different tones, as described in the device description
Additional context
yesterday i discussed the problem in HA discord, and a user (AlCalzone) give me the advise to open here an issue.
What i researched about that problem until now:
1.)
In a forum of another software (domoticz) a user seems to got a "workaround" for it: sending a raw message to the siren node.
He mentioned: MQTT.publish and "zwaveJS2mqtt api/service "sendCommand" for each different sound.
2.)
the devolo device and the zipato device are integrated in zwavejf(2mqtt) as the "same" device. But are they really equal? See the device descriptions: in Zipato is mentioned "SWITCH_MULTILEVEL SET" for playing differnt tones, in the devolo documentation not. See chapter "Z-WAVE COMMAND CLASSES" in both documentations - they differ. I don't now if thats importent for integration in zwaveJS(2mqtt) or HA.
Sorry i am a absolut beginer, amateur (created my github account today) - no computer expert and with limited abilities in the english language (using g... translate). So i am not able to implement the mentioned "workaround".

@robertsLando I might need you for the HA -> MQTT part once we've figured out what to send here.

@Frank-D-HB both devices identify the same, so I'm not sure why there are different descriptions in their manuals. Nonetheless, this should allow you to send the notification reports mentioned in the MT02758 manual.
For example, the payload for the Door chime would be (remove the //s and everything after it in each line)
{
  "args": [
    {
      "nodeId": 23, // <- your node ID here
      "commandClass": 113
    },
    "sendReport",
    [
      {
        "notificationType": 6, // <- notification type from the first column, converted from hexadecimal (0x06) to decimal (6)
        "notificationEvent": 22 // <- notification event from the second column, converted from hexadecimal (0x16) to decimal (22)
      }
    ]
  ]
}

Notification type and event are taken from

Note that they are in hexadecimal and have to be converted to decimal here. There are plently of calculators that can do that if you're not able to.

You're not seeing specific controls for this in the UI because the devices are using Z-Wave features in a non-standard way. There is a specific CC for Sirens/Sound but for some reason they are not using them.

Thank you for all the support - i will try to implement the workaround as described.
I contacted the origin device designer (in Taiwan) of that siren and ask him "Why did you realised that device in a such "complicated" manner?"
Now i understand the idea/clue behind that siren device design.
The designer of that siren expect a) in the case of burglar activities, that their first step of "work" will be disconnecting the building from electric power
b) that the most fires are motivated by defect electric devices, which will also lead to the loss of elektric power,
and c) that the loss of electric power will shutdown the most of the zwave-controlers.
The clue of that siren device design is, that it is able  to "act" independendly of electric power (battery backup) and of a controler, by "listening" to that "notification reports",
which will/should send out by battery powered devices like smoke detectors, door/window detectors, despite of the absence of an acting controler.

The clue of that siren device design is, that it is able to "act" independendly of electric power (battery backup) and of a controler, by "listening" to that "notification reports",
which will/should send out by battery powered devices like smoke detectors, door/window detectors, despite of the absence of an acting controler.

Ok, I get that. But implementing the Sound Switch CC for easily using the device in non-emergency situations, which should be more common, seems like a no-brainer to me. 🤷🏻♂

@AlCalzone : After contacting the origin device designer again, and submitting him your hint about "Sound Switch CC", he replies to me (suprise!): He totaly agrees with your statement, but the design of that device begun in 2014 and the "Sound Switch CC" was (stable) specified in 2016. On my question "There is the ability of "firmware update". Is that functionality not exactly for such changes designed?" He replies: devlopement is stopped on that device, may be some oems do. And he isnt still working for that company". :-( So it seems that i bought old rubbish?!? :-(
Means "seems like a no-brainer to you", that you are able to implement the "Sound Switch CC" to that device(s)? ;-)

The workaround solution is implemented and tested :-):
MT02758_PH-PSE02_playsound_scripts.zip
see 0_README.txt in the zip-file.
Now it is possible to trigger each individual sound by executing one of the scripts.
@robertsLando , @AlCalzone : What comes next? (keep in mind, that was my first issue and my first published peace of code).
Closing the issue? Where to place the the scripts? (may be at device-related docs or HA-templates...?)

There has been an idea of collecting such device-specific scripts somewhere, but it hasn't been fleshed out really.
I'd still like to have a place to link users to, like "your problem has been solved there: ...".

I think the best we can do is to leave it there or move to discussions. What do you think @AlCalzone ?

I'm thinking about a more general collection of such solutions and examples. Maybe a wiki in the repo is easiest actually.


chore: added a link to supabase-flutter repository

Added a link to supabase-flutter repository

@thorwebdev Could you merge this? I don't have write access to this repo.


Listener or GestureDetector is not responding at the status bar location.

Steps to reproduce
After hiding the status bar, place the Widget in the original status bar position and add a Listener or GestureDetector to the Widget. You will find that the Listener or GestureDetector does not receive events. Is this a Flutter bug?
Expected results
Listener or GestureDetector can respond normally
Actual results
Listener or GestureDetector can  not respond normally
Code sample
Code sample

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

class YZExamplePage extends StatefulWidget {
  const YZExamplePage({Key? key}) : super(key: key);

  @override
  State<YZExamplePage> createState() => _YZExamplePageState();
}

class _YZExamplePageState extends State<YZExamplePage> {

  @override
  void initState() {
    super.initState();
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);

  }

  @override
  void dispose() {
    SystemChrome.restoreSystemUIOverlays();

    super.dispose();
  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
        body: Center(
          child: Column(
            crossAxisAlignment: CrossAxisAlignment.start,
            children: [
              // SizedBox(height: 44,),
              TextButton(
                  onPressed: () {
                    print('Click me me me me!');
                  },
                  child: const Text('Click me me me me!')),  ],
          ),
        ));
  }
}

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.0.4, on macOS 13.2 22D49 darwin-x64, locale zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.83.0)
[✓] VS Code (version 1.71.2)
[✓] Connected device (3 available)
    ! Error: 鱼iPhone12 is not connected. Xcode will continue when 鱼iPhone12 is connected and unlocked. (code
      -13)
[✓] HTTP Host Availability

• No issues found!

Hello @fisherjoe. Tested this across platforms on the latest master and stable channels but can’t seem to reproduce this. I see you are on a much older version of flutter, can you upgrade to the latest versions to confirm that this issue no longer persists?

Hello @fisherjoe. Tested this across platforms on the latest master and stable channels but can’t seem to reproduce this. I see you are on a much older version of flutter, can you upgrade to the latest versions to confirm that this issue no longer persists?

I update my flutter sdk to 3.16, but the issue is also here. I recorded a video to reproduce this problem.
https://github.com/flutter/flutter/assets/751419/a71f71f6-ea7a-42dc-896f-bbc2345f9847

Thanks for your response @fisherjoe.
Running this on Android with the exact sample provided, I have the behaviour as shown in the video below
https://github.com/flutter/flutter/assets/53122008/ed3e7463-d249-44b6-bde6-aad6178e5aea
On iOS Simulator (iPhone 15), the dynamic Island feature blocks the text, then I wrapped the entire scaffold widget with a SafeArea and here is the behaviour I can reproduce
https://github.com/flutter/flutter/assets/53122008/ae213231-a2a4-4fdd-8192-f174244f6654
Code Sample Used

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MaterialApp(
    home: YZExamplePage(),
  ));
}

class YZExamplePage extends StatefulWidget {
  const YZExamplePage({Key? key}) : super(key: key);

  @override
  State<YZExamplePage> createState() => _YZExamplePageState();
}

class _YZExamplePageState extends State<YZExamplePage> {
  @override
  void initState() {
    super.initState();
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
  }

  @override
  void dispose() {
    SystemChrome.restoreSystemUIOverlays();

    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          // SizedBox(height: 44,),
          TextButton(
              onPressed: () {
                print('Click me me me me!');
              },
              child: const Text('Click me me me me!')),
        ],
      ),
    ));
  }
}

flutter doctor -v

[!] Flutter (Channel stable, 3.16.6, on macOS 14.2.1 23C71 darwin-arm64, locale
    en-NG)
    • Flutter version 3.16.6 on channel stable at
      /Users/damilolaalimi/sdks/flutter
    ! Warning: `dart` on your path resolves to
      /opt/homebrew/Cellar/dart/3.1.5/libexec/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/damilolaalimi/sdks/flutter.
      Consider adding /Users/damilolaalimi/sdks/flutter/bin to the front of your
      path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 46787ee49c (32 hours ago), 2024-01-09 14:36:07 -0800
    • Engine revision 3f3e560236
    • Dart version 3.2.3
    • DevTools version 2.28.4
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/damilolaalimi/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/damilolaalimi/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15C65
    • CocoaPods version 1.14.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2022.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      17.0.6+0-17.0.6b802.4-9586694)

[!] Android Studio (version unknown)
    • Android Studio at /Users/damilolaalimi/Downloads/Android Studio
      Preview.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    ✗ Unable to determine Android Studio version.
    • Java version OpenJDK Runtime Environment (build
      17.0.7+0-17.0.7b1000.6-10550314)

[✓] VS Code (version 1.85.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] VS Code (version 1.83.1)
    • VS Code at /Users/damilolaalimi/Downloads/Visual Studio Code.app/Contents
    • Flutter extension version 3.78.0

[✓] Connected device (5 available)
    • sdk gphone64 arm64 (mobile) • emulator-5554                        •
      android-arm64  • Android 14 (API 34) (emulator)
    • Damilola’s iPhone (mobile)  • 00008110-001964480AE1801E            • ios
      • iOS 17.1.1 21B91
    • iPhone 15 (mobile)          • F17D2919-6D61-4295-8408-1719692FE958 • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-17-0 (simulator)
    • macOS (desktop)             • macos                                •
      darwin-arm64   • macOS 14.2.1 23C71 darwin-arm64
    • Chrome (web)                • chrome                               •
      web-javascript • Google Chrome 120.0.6099.216

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

Thanks for your response @fisherjoe. Running this on Android with the exact sample provided, I have the behaviour as shown in the video below
Video
Screen.Recording.2024-01-11.at.07.33.50.mov
On iOS Simulator (iPhone 15), the dynamic Island feature blocks the text, then I wrapped the entire scaffold widget with a SafeArea and here is the behaviour I can reproduce
Video
Screen.Recording.2024-01-11.at.07.39.50.mov
Code Sample Used
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(const MaterialApp(
    home: YZExamplePage(),
  ));
}

class YZExamplePage extends StatefulWidget {
  const YZExamplePage({Key? key}) : super(key: key);

  @override
  State<YZExamplePage> createState() => _YZExamplePageState();
}

class _YZExamplePageState extends State<YZExamplePage> {
  @override
  void initState() {
    super.initState();
    SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);
  }

  @override
  void dispose() {
    SystemChrome.restoreSystemUIOverlays();

    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          // SizedBox(height: 44,),
          TextButton(
              onPressed: () {
                print('Click me me me me!');
              },
              child: const Text('Click me me me me!')),
        ],
      ),
    ));
  }
}

flutter doctor -v

You can remove the center tag in the Scaffold to avoid being blocked by the smart island.

Thanks for your response. This seems to be device-specific. I'm unable to reproduce this on my Android devices at all but on iOS, I can reproduce this only on devices with the smart island (see video of test on two iOS devices).

iPhone SE
iPhone 15

I'll be labelling this for more insights. Thank you!

Worth trying out if native apps respond to the status bar area.

The problem here is likely that Scaffold is introducing its own gesture detector to implement the scroll-to-top feature. This one is likely preventing anything else from receiving touch events in that area. You could work around this by not using a Scaffold in your app.
We'd need to investigate if we want to change the hittestbehavior of that build-in gesture detector or provide another way to disable it.

Worth trying out if native apps respond to the status bar area.

Yes, native apps is ok!

same problem, working only on android


Default port in browser environment for relative urls

I have a lib for querying an API from both node and browser which uses hyperquest.
Right now I'm updating from a very old version and having an issue related to https://github.com/substack/hyperquest/commit/1b6050b5831a9340d2f7d947dcc5e159edc1ae42 this change. It changes the default port in browser environment to 80 even for relative urls.
Currently the question is in which place to fix it.
What would you suggest, @substack? :)

:+1: I'm having the same problem


Reading malformed DDS file is a panic instead of an error result

Bevy version
0.13.1
What you did
Loading a DDS file for rendering that happens to be malformed.
What went wrong

https://github.com/bevyengine/bevy/blob/de08fb2afa5e8da1d910ed6be424649b6fbe9f0e/crates/bevy_image/src/dds.rs#L19
As use cases might involve loading DDS files specified by the user, this behavior makes it hard to properly handle an incorrect input from the caller's side.
Or if I'm not using this the correct way?

I'll put this on my to-do.


bug: abnormal markdown preview

see file_server.ts#L78

I found the same bug in vscode markdown preview

@zhmushan I see your opened issue on VSCode was incorrectly labeled as a duplicate of an unrelated issue and closed. Have you opened a new issue there?

It has been fixed in v10 of highlight.js https://github.com/highlightjs/highlight.js/pull/2380

@zhmushan Can this still be reproduced, or can this be closed?

@lucacasonato Thanks for reminding, this has been fixed


The attribute "server_url" is required, but no definition was found

Terraform Version
v0.14.2
Affected Resource(s)
All.
Terraform Configuration Files
terraform {
  required_providers {
    powerdns = {
      source = "pan-net/powerdns"
    }
  }
}

provider "powerdns" {
  server_url = "http://example.com/"
}

Expected Behavior
When API key isn't defined (and therefore, Terraform asks for it interactively) but the PowerDNS server URL is defined in the configuration, the provider sees the server URL parameter and talks to it.
Actual Behavior
% terraform plan
Acquiring state lock. This may take a few moments...
provider.powerdns.api_key
  REST API authentication key

  Enter a value: 1234

Releasing state lock. This may take a few moments...

Error: Missing required attribute

  on <input-prompt> line 1:
  (source code not available)

The attribute "server_url" is required, but no definition was found.

Wrong tab.


[release] Update version to 0.14.0 on main branch

Update version to 0.14.0 on main branch

cc @Hzfengsy

In the previous practice, we didn't change tags into the release version on the main branch.
Pros: It will make the release branch a commit on the main branch, rather than diverging from the commit line
Cons: There might be commits after v0.14 but before we change it to v0.15dev
Happy to hear voices from the community

Pros: downstream companies won't conflict because of version number

Here, let me explan why do first version modification to v0.14.0 on main branch.
Considering downstream companies need regularly do code merge with release code, each time version modification is after cut branch. In other words, each version modification commit is not on git main tree (and after branch cut we do version modification on main, two branch divergence), which results in code conflict such as version number between codebase of downstream companies and latest upstream release.

In the previous practice, we didn't change tags into the release version on the main branch.
Pros: It will make the release branch a commit on the main branch, rather than diverging from the commit line Cons: There might be commits after v0.14 but before we change it to v0.15dev
Happy to hear voices from the community

Besides, for Pros point exists both in the previous and this proposed release process.

There may be a better solution: we make a PR with 2 commits (one is Modify version to v0.14.0 on main branch, the other is Modify version to v0.14.dev0 on main branch), and merge without squash. And do branch cut on first commit.

Hi all, I found only one commit left:
commit 13b487fa2d3c06a12cd9d76ec2e5a392b5eeb778 (HEAD -> main, origin/main, origin/HEAD)
Author: Tlopex<EMAIL_ADDRESS>Date:   Wed Oct 11 23:21:50 2023 +0800

    [TFLite][Frontend] Support quantized ELU (#15821)

    * add quantized elu

    * add tests for quantized elu

commit 9f562b0c728eff347b27afbf14d5c2137b7e8e4d
Author: ysh329<EMAIL_ADDRESS>Date:   Wed Oct 11 21:51:45 2023 +0800

    [release] Update version to 0.14.0 and 0.15.0.dev on main branch (#15847)

    * [release] Update version to 0.14.0 on main branch

    * [Release] Update version to 0.15.dev0 on main branch

commit 4e9866fef2e4553dd7614bea0afd8ac401c557fe
Author: Honglin Zhu<EMAIL_ADDRESS>Date:   Wed Oct 11 17:16:44 2023 +0800

    [TIR] Fix the error example in the documentation for pad_einsum (#15906)

    fix the error example in pad_einsum documentation


How to make sure email has been sent?

Hello,
in my use-case I need to keep a trace of all emails sent by the user (title, content etc..) using this lib one can open mail app, but how can I make sure the email has been correctly sent? That the user did not cancel or otherwise the mail was not sent because of connectivity problems?
Edit: Is there a way to programmatically send the email immediately through my own custom form?
Thank you.

Unfortunately, I do not believe this is possible for this package. It is a tiny wrapper around the Linking API which is limited in the functionality it can provide.


Add pagination of cheeps (User interface for Chirp)

As a user it would be preferable to read cheeps from a user interface, so it is easier to interact with the application.

All cheeps should be accessible as an HTML file from the root '/'
It should be implemented using razor

The issue has been closed and is currently committed to the razor-pagination branch


Support of Asset Map in addition to the Path Parameters to Define the list of Files

Do you want to request a feature or report a bug?
What is the current behavior?
Bundle Size supports only path parameter. Would be great to be able to provide the asset map file instead so that we can detect change in size per entry point for a better granularity.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information.

node version
npm version
Operating system
bundlesize version
CI you are using

That sounds like a really good idea. I think the best way to implement would be as a "input" plugin.
When this plugin is used, it feeds an array of file paths instead of reading from the config.
(bundlesize doesn't support plugins yet, but it's on the roadmap)
What do you think?

Hey thanks so much for the feedback.
I was thinking about implanting an additional parameter that would override the path parameter. What would be an input plugin ? I'm just not completely sure I understand the concept.

@siddharthkp let me know what you think

I was thinking about implementing an additional parameter that would override the path parameter.

I'm a little resistant to adding more flags.

What would be an input plugin ? I'm just not completely sure I understand the concept.

It's not implemented yet so I don't blame you 😋 I'm working on a plugin system for bundlesize where you should be able to introduce code that's run before (input) or after (output) the main script in bundlesize. I'll make sure I document it properly once before I merge it 👍


:package: updating dependencies, using apcu instead of apc

Q
A

Fixed issues
#3

Updated lock files
distribution-bundle switched to require-dev (not available when deploying prod)
switched prod doctrine config to acpu instead of acp

Checklist:

CHANGELOG not updated: no added functionality

Thanks for this PR! Some parts are too specific to your app. The clever cloud part is interesting and need that we test it.

Thanks for this PR but it is too specific to your project


[BUG] Names dont show in light mode

Describe the bug
A clear and concise description of what the bug is.
The names of your friends and the things they listened to don't change when going into light mode
To Reproduce
Steps to reproduce the behavior:
Have Facebook friends on
turn on light mode
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

OS: [e.g. iOS] Windows
Version [e.g. 22] 1.1.72

Logs
Add logs from console. To do that

Run spicetify enable-devtools in terminal
Spotify will be restarted
Hit Ctrl + Shift + I to open DevTools window
Navigate to tab Console
Copy console window content.

(Please paste here console logs or attach a screenshot)

Probably an issue with spicetify css map? It's ok now


gildas: 20240401_a -> 20240901_a and fix build on darwin

Description of changes

Update to the latest upstream
Fix build on Darwin (see #340997)

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

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

1 package built:

gildas

Result of nixpkgs-review pr 341026 run on aarch64-linux 1

1 package built:

gildas

Result of nixpkgs-review pr 341026 run on x86_64-darwin 1

1 package built:

gildas

Thanks for the quick review @mattpolzin !


⚠ ClamAV has degraded performance

In aba9ae9, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 280 ms

Resolved: ClamAV performance has improved in 0f7f0bf after 5 minutes.


CSS transform: translate support

I have several images that stack on top of each other, and are positioned absolutely. They are centered in the browser window by using:
top:50%;
left:50%;
transform: translate(-50%, -50%);
I want to capture the div they are positioned inside of, but it appears html2canvas does not support the transform: translate property. The rendering has all of the images positioned outside of the window, and are cut off.
See site here: http://www.shallowsportx3.com
Is it possible to add support for this property?

how did you fixed it ?


Awkward formatting in README.md

I noticed that the contents in toc.insert look a bit "off" but they look fine in the .verb.md file...
README.md:
### toc.insert

Insert a table of contents immediately after an _opening_ `

` code comment, or replace an existing TOC if both an _opening_ comment and a _closing_ comment (`

`) are found.

.verb.md:
### toc.insert

Insert a table of contents immediately after an _opening_ `<!-- toc -->` code comment, or replace an existing TOC if both an _opening_ comment and a _closing_ comment (`<!-- tocstop -->`) are found.

Looks like somewhere in the verb->readme formatting, the HTML comments are getting parsed and stripped.

Good catch, thanks! looks like I added an extra backtick somewhere, or one too few...

fixed thanks!


Scope Manager Logs

Add logs to the scope manager that are accessible via the web interface. Primarily, we need to be able to see the last time the Scope Manager was reloaded, and any time a cycle is complete.

https://github.com/natlas/natlas/blob/95921796262a9f52580dd34fee07d58b6334d187/natlas-server/app/cyclicprng.py#L85-L87


WIP: gcloud pubsub indexing service

Fixes #5773.

Description

This PR has:

[ ] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

@aditya-r-m , any chance this PR would be merged or released soon? Would really like to try out this extension as our data ingestion pipeline is using google pubsub.

@marklu2018 Hi Mark, we have got the core structure down & need to implement & test how the tasks scale. The development got a bit delayed in the recent weeks but I'll try to pick it up again from this weekend.
It may take a month or two to reach a serious state.
I'd recommend you to setup an intermediate kafka cluster for your immediate needs. KafkaIO.writeWithEOS works nicely on Cloud Dataflow & Druid-Kafka supervisors are already stable.
If this extension works for you, the migration should not be tricky & hopefully will save you half of the machines.

@aditya-r-m Is this still an active branch? I am really looking forward to using this feature 😄

@kentakozuka thank you for your interest in the feature. The branch isn't stale, but turning it from an extremely crude prototype to a proper ingestion mechanism has a few blockers.
I've been unable to prioritize this work due to some stretch projects last quarter, but will try to push in the coming weekends.

@aditya-r-m Hi!
I would like to know if there are any plans to merge this by this year?
This PR would cut half of my current costs :(

Hi @cre8ivejp
thank you for your interest in the feature. I've almost completed an at-least once ingestion mechanism with basic task count/duration management (off & on development for some reasons, sorry).
Can you share the key elements in your ingestion spec that you'd like to use? We can potentially test your use case before even merging this. More concretely, I'd like to know how much duplication can you tolerate and the parameters you need to tweak apart from basic io-config such as subscription, task duration, task counts.
Also, I will add a design doc detailing my findings & approach by this weekend - any form of contributions in terms of design improvements, development & testing are highly appreciated.

@aditya-r-m thank you for your response.
I really appreciate your help on this.
I will prepare all information and send it to you.
I will look at the design doc when you add it and help you as much as I can.

Hello @aditya-r-m, Any update on this branch. We would love to use druid if it comes with PubSub indexing.

@smit-aterlo @cre8ivejp please take a look at the following doc :
https://docs.google.com/document/d/1lDt15Eo4dudH2y2TmPcSd5E7VQP-Boc_UEZnXPRIrQE
It captures the ideas behind the prototype I've built. please request commenter access for review if needed.
I will also get some feedback from core committers, but would very much appreciate any feedback on requirements side. Also, any design/code contributions are very much welcome, regardless of whether the contributions extend this CL or take the basic ideas from my findings & move in a completely separate direction.

Hey @aditya-r-m, any update on this?

Hi @smit-aterlo, the prioritization (& next steps) for pushing this feature further are unclear to me.
It would be great if some core committer in druid can take over this prototype & design doc as I'm unable to fully commit here.
cc @suneet-s @jihoonson @gianm

@aditya-r-m - are you not planning to work on this? This seems like a useful feature.

Thank you for your interest @abhishekagarwal87.
I was able to get the implementation it to the point where ingestion with at-least-once semantics was functional.
But I could not build sufficient momentum on getting design/code reviewed & polishing the implementation.
Due to time constraints on my end, I can't contribute more here.
Since this feature is technically feasible & useful, requesting repository owners to take over the change & push through the remaining processes.
@gianm  @vogievetsky PTAL if this can be prioritized.


Added note about installing avconv for Mac users

As per #8622, ffmpeg is recommended over libav. Does homebrew provide ffmpeg?

I have no idea, but I found that command immediately and it worked.
On Tue, Jun 14, 2016 at 12:32 AM, Yen Chi Hsuan<EMAIL_ADDRESS>wrote:
As per #8622 [https://github.com/rg3/youtube-dl/issues/8622] , ffmpeg is recommended over libav. Does homebrew provide ffmpeg?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [https://github.com/rg3/youtube-dl/pull/9781#issuecomment-225777435] , or mute the thread [https://github.com/notifications/unsubscribe/ABOopBABeY0MM-mW-07_EMiBKcwiG_0hks5qLi7OgaJpZM4I08zr] .

Seems they have ffmpeg: https://github.com/Homebrew/homebrew-core/blob/master/Formula/ffmpeg.rb


Clean CSV Data:  Populate Ordering Provider NPI with Facility Default Value when NPI is Blank

Assumptions

Just a setting on the element in the schema to make the mapper run
Write the mapper to do this
We don't have to do anything hackish
We may need to do work to combine mappers

Problem Statement
As an Experity EMR platform user, the platform does not force me to select an ordering provider in the user interface when ordering a COVID-19 lab test so I need the value populated for me based on my Facility's default value so that I can report this required information to my PHD.
Acceptance Criteria

Given I

Am logged into ReportStream as a user with Sender permissions
Am a Sender who is using the Experity schema

When I

Log into ReportStream
Upload a CSV file

Then

The System, prior to submitting the file to ReportStream for processing, checks the value for the NPI Number and, if blank, populates it with the Facility's default NPI number

Refer to the vbScript for more specific criteria: https://cdc.sharepoint.com/:u:/r/teams/USDSatCDC/Shared%20Documents/PRIME%20ReportStream/Team%20Documents/Sender%20Automation%20Team/vbScript%20for%20Data%20Cleansing%20Epic/PRIME-Sender-CUC-v2%20(2).vbs?csf=1&web=1&e=kNMv7G

Dev Notes

ReportStream shall replace a blank NPI field with a default NPI value looked up from provided lookup data using the sender name (client name) and facility name.
The lookup table needs to be stored in a database for easy updates.
If the sender name and facility name combination is not found then the NPI value is left blank.

@loripusey This line in the acceptance criteria, "The System, prior to submitting the file to ReportStream for processing, checks the value for the NPI Number and, if blank, populates it with the Facility's default NPI number" needs to be changed to
"The System, prior to submitting the file to ReportStream for processing, checks the value for the NPI Number and, if blank, populates it with the Facility's default Provider NPI number and Provider Name.

@rhood23699 I've update the AC

This should hopefully be an application of the new database-based table lookups.    Its not clear to me whether you need to implement this as a new mapper, to cover the subtlety that it should only run if the NPI is blank.  @carlosfelix2 is the expert.
Seems like we should be able to handle this with a single Lookup table that contains the mapping from Facility -> Provider NPI, Provider Name (may need to split further into Last and First names?)
Until you have a UI to allow clinics to update themselves, you will have to think about the operational aspects of this:  how will you find out when the NPI/Provider data needs to be updated, and who will do the updating.   It requires an Okta auth.

@loripusey @TomNUSDS KevinH and I have started work on the Lookup Table for Tests Performed, so I'm ready to discuss the table definition and mapper functionality whenever you are.  We can pull @kevinhaube or @ahay-agile6 in if needed to make sure that I don't get anything wrong. :)

@rhood23699 I'm helping Tom out on this ticket. Let's grab some time this week and go over the details of the lookup table needs. :)

I'll add this to the AC on the ticket because I'm sure it is not there.  I put in an invalid NPI, not a blank NPI, and I get the error shown below.  If the lookup doesn't return a Row, then the NPI, First Name and Last Name should default to what is in the CSV file.  Do not clear them.
Loaded schema and receivers
Opened: C:\users\rick.hood\prime-data-hub\prime-router\result_files\CUC-TestPerformed-TestFile.csv
Exception in thread "main" java.lang.IllegalStateException: No ordering_provider_first_name was found with your filters.

@rhood23699 This presents a problem. The way a schema is parsed is as follows; if an element (defined by a name) is populated by the input data, a mapper will not run unless mapperOverridesValue: true is set on that element. If the input data does not populate the element (i.e. no value was given in the input and we have a blank field) the mapper runs to replace the blank value. This means you can either always replace it or only lookup blanks.
I thought, "what if we did this in the NpiLookupMapper itself?" Unfortunately, Mapper.apply() (where the logic for our custom mappers are contained, does not have access to the value of the element it's looking up a value for (lookup element) therefor we cannot just return the original value, we can only return a value we lookup. I'm also firmly of the logic that this is not a concern of the mapper but rather the way a schema is parsed.
Additionally, after checking the criteria for #2244, it appears we are currently meeting the expectations by not returning a value:
Acceptance criteria:
1. ReportStream is capable of using a provided NPI number to set a provider last name.
2. ReportStream is capable of using a provided NPI number to set a provider first name.
3. If the NPI number cannot be found then the last and first name are set to blank.

To negate the error, set default: "" on the element in the schema.

Not needed for standard CSV schema, but it is almost done, so I wouldn't stop it.


Can not edit character information

Describe the bug
When trying to update a character name it does not save.
To Reproduce
Steps to reproduce the behaviour:

Go to 'any character'
Update the name, click "Update Character"
Refresh
Nothing changes

Is this an issue with every character?

Yes

Could you show the error you are getting?

I wasn't getting an error. Nothing happens. Nuzi was saying he got an error though

I need the error.

I'm still not getting any errors yet it is not working. Is there anything else I can do to help? Screenshare?

Issue is most likely due to a change in the database structure.

No error anymore, it just doesn't save

@milan60 can you confirm this issue?

Seems to be related to #101

Fixed by new PR.


Add support for arm64

Add support for the linux/arm64 architecture. This is needed to make the image compatible with Apple Silicon (M1) Mac's.

@castlemock ping :)

@castlemock pretty please

ping


Added side by side results comparison

I don't want to review this... Can you please provide final output line?

Side by side report comparison looks like this
./report_compare -v -m sbs_recv_pkts -i ./2018-05-18T15꞉50꞉40-05꞉00/report.json -i ./2018-05-18T15꞉49꞉45-05꞉00/report.json
Test perf_light_empty_off_64: pkts: 13323, mbits: 8, cores: 5
Test report from 2018-05-18T15:50:40-05:00:     perf_light_empty_off_64: packets 13323, megabits: 8, cores: 5

Test perf_light_empty_off_64: pkts: 9652, mbits: 4, cores: 5
Test report from 2018-05-18T15:49:45-05:00:     perf_light_empty_off_64: packets 9652, megabits: 4, cores: 5

                        | 2018-05-18T15:50:40-05:00 | 2018-05-18T15:49:45-05:00
                        |    pkts/s       Mbit/s    |    pkts/s       Mbit/s    |   pkts/s    Mbit/s
perf_light_empty_off_64 |        13323            8 |         9652            4 |  -27.55%   -50.00%
New report 2018-05-18T15:49:45-05:00 is worse than base report 2018-05-18T15:50:40-05:00


Disabled dsl marker insertions are still emitted when disabled.

A bug was introduced where dsl insertions are still being generated even when the flag is disabled. This issue was reported originally on the Kotlin kroto+ slack channel by minisu link.
This primarily effects maven users

A fix for this has been included in the v0.6.1 release


The tagging system is too complex

As a Django newbie, after having read the documents and demo site source for several times, I just can't understand it (and the 'django-taggit' and 'django-modelcluster' stuff, especially when binding these two together).
But I love Wagtail for it's beautiful interface and neat design(except for the tagging part of course). As a production built on Django, I think the tagging system should be as easy as possible, just like the other components of it.
What do you think?

Well, that's my own problem :-)

I don't understand your point.

Hi @kidlj, sorry we didn't have a more helpful answer. We have just merged a contributed fix to multi-word tags: https://github.com/torchbox/wagtail/pull/825
I'm very interested to see your clone of freebsd.org. Are you proposing to use Wagtail for that site? Email my first name at torchbox.com.
Thanks
Tom


live_view error

Using the example of "seve_image.py", we tried to implement live_view by adding the code at the bottom while leaving the camera call and the session open, but the stream invalid EdsObject 0x000001D3DD765DE0 error occurs in the edsdk.CreateEvfImageRef(stream).
print(edsdk.GetPropertyData(cam, PropID.Evf_OutputDevice,0))
edsdk.SetPropertyData(cam, PropID.Evf_OutputDevice, 0, EvfOutputDevice.PC | EvfOutputDevice.TFT)
stream = edsdk.CreateMemoryStream(0),
evfimage = edsdk.CreateEvfImageRef(stream)
edsdk.DownloadEvfImage(cam, evfimage)
I think the memory is allocated to the stream and I put the image in the memory allocated from CreateEvfImageRef(), did anyone implement live?

Do you know how to import images in memory from Python?


Loading data from multi-line json file.

Not sure if it's an issue but i'd got an Error when i tried load the Json file below using op.load.json("file-path.json"):
[{"Id":1, "Nome":"Item 1"}
,{"Id":2, "Nome":"Item 2"}
,{"Id":3, "Nome":"Item 3"}
]

But works when i change the file structure to one-line.

What's the error you are getting?

I am working on this right now. I was able to replicate this error referred here https://stackoverflow.com/questions/49427623/could-not-read-data-from-json-using-pyspark.
@GabrielOrAnder can you confirm this?

Apparently the issue can be fixed using multiLine=True. Maybe we can add a **kwargs for making this option available.

@argenisleon, here is the Error i'd received:
Py4JJavaError: An error occurred while calling o49.collectToPython.
: org.apache.spark.sql.AnalysisException: Since Spark 2.3, the queries from raw JSON/CSV files are disallowed when the
referenced columns only include the internal corrupt record column
(named _corrupt_record by default). For example:
spark.read.schema(schema).json(file).filter($"_corrupt_record".isNotNull).count()
and spark.read.schema(schema).json(file).select("_corrupt_record").show().
Instead, you can cache or save the parsed results and then send the same query.
For example, val df = spark.read.schema(schema).json(file).cache() and then
df.filter($"_corrupt_record".isNotNull).count().;


Uncaught Error: Components could not be loaded (AEM 6.2, ACS 3.1.0)

Hi ACS team,
After I install the ACS Common 3.1.0 to AEM 6.2, and go to the editor.html page, it show the error follow:

granite.js:233 GET http://localhost:4502/libs/wcm/core/content/components.1464762778429.html 500 (Server Error)XMLHttpRequest.send @ granite.js:233send @ jquery.js:9659jQuery.extend.ajax @ jquery.js:9210(anonymous function) @ core.js:27245(anonymous function) @ jquery.js:3300fire @ jquery.js:3143self.fireWith @ jquery.js:3255(anonymous function) @ jquery.js:3307fire @ jquery.js:3143self.fireWith @ jquery.js:3255done @ jquery.js:9309callback @ jquery.js:9713
core.js:27272 Uncaught Error: Components could not be loaded

I am receiving the similar error in AEM 6.2.  http://localhost:4502/libs/wcm/core/content/components.1473281136083.html showing 500 error.
core.js:27272 Uncaught Error: Components could not be loaded .
How to solve this problem?
Thanks
Uma

I'm not sure this is an ACS AEM Commons issue. Is there anything in the error log file?

Thanks for the reply . I am able to solve it by using other thread.  Its because of the too  many calls. I have updated the "Number of Calls per Request" in sling mail servlet.

Hi,
Please can you share the thread. I am facing same issue.

Hi, Issue is resolved. Servlet is "sling main servlet"

Hi, I am also facing the same issue. what count you have givem. By default, its 1000

Change it to 1200


flclash: init at 0.8.66

Init flclash, A multi-platform proxy client based on ClashMeta,simple and easy to use, open-source and ad-free, https://github.com/chen08209/FlClash
Fixes #317413

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4749


unix,win: expose UV_PATH_MAX_BYTES

This commit exposes a cross-platform constant, UV_PATH_MAX_BYTES, representing the maximum number of bytes needed to store a file path.
I've seen a need for this in multiple projects, and thought it would make sense to just expose this as a constant.

CI: https://ci.nodejs.org/view/libuv/job/libuv-test-commit/1457/

Should this have docs on the intended meaning and purpose of this value?

Should this have docs on the intended meaning and purpose of this value?

Good point. I think so.

The maximum is (32k * 4) bytes (4x char count to fit ucs-2 expansion into utf-8)

I think I'd rather close this than expose the constant. It's prohibitively large for stack allocating buffers.

Yeah, that was my concern too. It seems anyways too that the recommended pattern for using most libuv APIs is to start with a small buffer, then repeatedly expand it until it succeeds. Since most of these are syscalls, I'd guess it's probably a premature optimization to avoid just using the heap anyways.


Add GitHub Actions scripts for CI, deploy and report-coverage

Does what it says on the tin.

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1205522639319327

I'll note that these actions make use of actions/checkout@v2 and actions/cache@v2, which throw warnings on every build about a node 12 dependency. The origin for these workflows still does that, so I've left it here, but I think it would be a good idea to consider upgrading our actions scripts to use the latest versions, actions/checkout@v4 and actions/cache@v3.
cc @paulswartz

The test failure happening here should be fixed in #2.

@nihonjinrxs thanks for letting us know! You should feel free to update the versions here.

This is ready for review, but we'll hold on merging it until the Terraform stuff happening here to create the deploy environments is done.


OSLCode node round 2

This reimplements the prototype OSLCode node from #1843 based on our discussion there. It is now focussed totally on making little OSL utility shaders/snippets, and parameter creation is handled through the UI rather than the code. The full shader is synthesized by taking the body of the code as entered by the user and inserting it into an autogenerated template containing the parameter definitions generated from the UI. It looks a lot like Andrew's mockup :

I haven't added the "see the full shader" tab as showing the guts of the generated code seemed a bit at odds with the "make snippets feel easy" goal, but instead I've provided a menu item in the tool menu to export the full .osl source code.
This PR also contains minor improvements to code editors (why we haven't used a monospaced font until now I don't know), a bunch of UI fixes to deal with the new problems thrown up by the OSLCode node, and a basic tutorial in the documentation.

Looks like Clang has caught a conflict between the new ShaderView::plugDirtied() method and a virtual version defined on the base class. I'd actually like to just remove the base class version since it appears that none of the other views are implementing it, so it doesn't seem appropriate to enshrine it in the base class interface. This would mean the OSLCode node would push the major version to 0.29 - is that OK? I can deal with it another way if you'd prefer, or manage a 0.28 maintenance branch...

I think 0.29 will be fine

needs a rebase

Rebased.

If you have a syntax error in your code because an input variable is not yet defined, you can't correct the mistake without deleting the offending code first. You can use the + button to add a new input, but the widget never draws so you can't rename it to match the variable.

Fixed in a5905a7.

I was kind of hoping we'd have the magic variable re-naming in the code when the inputs/outputs are renamed (like we have in expressions) .

 I still cringe when thinking about the fragility of the approach in the expression node though (plug names inside strings are a point of weakness for a start). I was hoping to get a version out with a minimum of text hackery (see other "please let me defer") comments above, and see how things went. It's certainly not as bad as expressions, because you're right there editing the code when renaming, so the error is immediately apparent (perhaps expected even).
 I sometimes ponder making a proposal for extensions to improve the "OSL as expression language" stuff, but it needs quite a lot of thought.

StringPlug crash: Create an OSLCode and let the (Appleseed) ShaderView start. Add a string input and string output. Boom. I was just testing the empty red error shader really, I wasn't trying to do anything particularly sensible. Actually, I seem to get the crash quite often when adding strings. I was recreating the oslNoise shader one input at at time, and it was running fine with p and scale, but as soon as I tried to add type I got a crash.

This has the look of an Appleseed bug about it, but I've added a workaround/fix in 94414b7.

Its quite confusing that the (Arnold) ShaderView doesn't function for these nodes, but you still get a ShaderView with a grey ball. I found myself sliding plug values and re-writing the code over and over trying to figure out why my grey ball never changed... Is it possible to de-register the ShaderView for a single node type?

That's not really possible right now, but I'm hoping we'll have what we need to do this properly in Arnold in a reasonable timescale.

I'm having some trouble with regular OSLShader nodes now. Not sure if its about this branch or the current master, but using the revertToDefaults tool menu seems to break OSLShaders a bit (the IPR is non-functional) and when I hit Reload all plugs disappear entirely. On <IP_ADDRESS> revertToDefaults is not working well either (is it resetting the "name" plug and invalidating the shader?), but the plugs don't disappear using that tag at least... Though maybe if the shader really has been invalidated its better that they disappear now?

I noticed this the other day too. The revert has always reset the name/type plugs which has broken the shader (but looked like it might be ok, until you actually render). But 964317a530279cd0a26916be91a98bf0ca53e071 now makes the reload button make the problem more apparent. That was merged in a separate PR already though, and I think the right approach is to just fix revert to defaults for shaders. Can we make a separate ticket for that?

This has the look of an Appleseed bug about it, but I've added a workaround/fix in 94414b7

I'd like to fix this. How can I reproduce it?

This has the look of an Appleseed bug about it, but I've added a workaround/fix in 94414b7

I'd like to fix this. How can I reproduce it?

@est77 I'll merge this PR soon, so then just build from master, drop down an OSLCode node, wait a moment for the ShaderView to startup, then start adding StringPlug inputs and outputs. It should crash fairly quickly.

Should adding/removing/renaming plugs be triggering a recompile of the code? https://github.com/ImageEngine/gaffer/commit/a5905a7ac3c6b81700ff61f850dbca2cc0a4fdca gets me passed "add the plug I forgot to add and rename it to match the code" but that renamed doesn't clear the error in the code (nor does an extraneous ctrl+enter in the code widget)... I have to actually change the code (e.g. add whitespace) to get the recompile and clear the error.

Adding and removing does trigger a recompile, yes. But renaming doesn't as of yet - should I add that now?

I think it would be nice, yeah. Is it hard?

I think it would be nice, yeah. Is it hard?

Turned out pretty straightforward - 86de852.


Update nebari_jupyterhub_theme to 2024.7.1

Reference Issues or PRs

What does this implement/fix?
Put a x in the boxes that apply

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[ ] Did you test the pull request locally?
[ ] Did you add new tests?

Documentation

Access-centered content checklist
Text styling

[ ] The content is written with plain language (where relevant).
[ ] If there are headers, they use the proper header tags (with only one level-one header: H1 or # in markdown).
[ ] All links describe where they link to (for example, check the Nebari website).
[ ] This content adheres to the Nebari style guides.

Non-text content

[ ] All content is represented as text (for example, images need alt text, and videos need captions or descriptive transcripts).
[ ] If there are emojis, there are not more than three in a row.
[ ] Don't use flashing GIFs or videos.
[ ] If the content were to be read as plain text, it still makes sense, and no information is missing.

Any other comments?

This will lead to issues, as the newest versions of the theme have the jupytehrub>=5 dependency. As suggested, to address the broken link for the keycloak user management dashboard, it seems to be easier to set a traefik middleware. I am testing how straightforward that would be