Otokarev

Input tags style changed
Forms now are in top-left corner but without adaptivity yet
Handlers work fine but without csv function yet

Codecov Report

Merging #25 (3703a3f) into main (32aa05c) will increase coverage by 0.73%.
The diff coverage is 30.55%.

@@            Coverage Diff             @@
##             main      #25      +/-   ##
==========================================
+ Coverage   82.42%   83.16%   +0.73%
==========================================
  Files          16       16
  Lines         848      885      +37
==========================================
+ Hits          699      736      +37
  Misses        149      149

Impacted Files
Coverage Δ

webapp/repositories.py
90.82% <20.00%> (-1.76%)
:arrow_down:

webapp/views.py
47.61% <32.25%> (-6.09%)
:arrow_down:

webapp/app.py
71.69% <0.00%> (+1.10%)
:arrow_up:

webapp/managers.py
78.18% <0.00%> (+7.87%)
:arrow_up:

webapp/dto.py
94.73% <0.00%> (+13.15%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


docs: mention TrustKit enforcing a minimum of two pins

This docs addition would have saved me some time :)

Totally agree that we should have this note in the docs. Thanks for the contribution! 😊


⚠ Faculté génie website (prod) has degraded performance

In 5d1f474, Faculté génie website (prod) (https://www.usherbrooke.ca/genie/) experienced degraded performance:

HTTP code: 200
Response time: 834 ms

Resolved: Faculté génie website (prod) performance has improved in 33923b8.


Add Dark Mode support [Feature Request]

What problem does the feature solve?
Blog with dark mode supported (have dark/light mode switcher as well) is really fascinating.
Proposed solution
A dark/light mode switcher look like this may be good:

Additional context
I've found some other blog theme plug-in which have Dark Mode:

vuepress-theme-ktquez
vuepress-theme-ououe

Sorry for delay. Working on vuepress-next these days. New features may be supported in next major version with vuepress-next

Don't mind, the new vuepress-next will be good.


0.33 compat followup

Addressing @melekes review comments as part of https://github.com/informalsystems/tendermint-rs/issues/211.
Note that there is one comment still unaddressed but it is tracked separately already and the code might change due the ongoing light client refactoring.

[ ] Referenced an issue explaining the need for the change
[ ] Updated all relevant documentation in docs
[ ] Updated all code comments where relevant
[ ] Wrote tests
[ ] Updated CHANGES.md

Codecov Report

Merging #296 into master will not change coverage.
The diff coverage is 0.0%.

@@          Coverage Diff           @@
##           master    #296   +/-   ##
======================================
  Coverage    30.8%   30.8%
======================================
  Files         129     129
  Lines        4893    4893
  Branches     1549    1549
======================================
  Hits         1511    1511
  Misses       2297    2297
  Partials     1085    1085

Impacted Files
Coverage Δ

tendermint/src/block/commit_sig.rs
48.3% <0.0%> (ø)

tendermint/src/lite_impl/signed_header.rs
62.9% <0.0%> (ø)

tendermint/src/serializers/raw_commit_sig.rs
21.0% <ø> (ø)

Continue to review full report at Codecov.

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


libftdi1: 1.4 -> 1.5

Motivation for this change
Extracted from #116826. It was an optional dependency for the packages there and I bumped it because I noticed a newer version, but the amount of rebuilds it caused was too much for my taste. I don't really use any of the packages/functionalities this bump affects but no point in throwing this away either, so here you go.
Things done

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

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

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

Result of nixpkgs-review pr 117242 at a877d65d run on x86_64-linux 1

23 packages skipped due to time constraints:

dvdstyler
glasgow (python38Packages.glasgow)
kodi (kodiPackages.kodi)
kodi-gbm
kodi-wayland
kodiPackages.inputstream-adaptive
kodiPackages.joystick
kodiPackages.kodi-platform
kodiPackages.netflix
kodiPackages.pvr-hdhomerun
...

38 packages built successfully:

arachne-pnr
audacious (audaciousQt5)
avrdude
avrdudess
blackmagic
cadence
collectd
collectd-data
fbida
fgallery
flashrom
fujprog
geeqie
gjay
icestorm
indi-3rdparty
indi-full
ino
libftdi1
libsigrok
libsigrok-0-3-0
libsigrokdecode
lirc (python38Packages.lirc)
openfpgaloader
openocd
paprefs
phd2
pulseaudio-hsphfpd
pulseaudio-modules-bt
pulseaudioFull
pulseview
python38Packages.pylibftdi
python39Packages.lirc
python39Packages.pylibftdi
sd-mux-ctrl
sigrok-cli
urjtag
xineUI

2 suggestions:

warning: build-tools-in-build-inputs
swig is a build tool so it likely goes to nativeBuildInputs, not buildInputs.
Near pkgs/development/libraries/libftdi/1.x.nix:35:3:
   |
35 |   buildInputs = [ libconfuse ]
   |   ^

warning: missing-phase-hooks
buildPhase should probably contain runHook preBuild and runHook postBuild.
Near pkgs/development/tools/misc/blackmagic/default.nix:52:3:
   |
52 |   buildPhase = "${stdenv.shell} ${./helper.sh}";
   |   ^

I've added the bot's suggestion for swig -> nativeBuildInputs and fixed another instance of the includedir path being wrong.

Oh, I've just finished testing the earlier push, macos 10.14, linux x86_64 and the failures are all pre-existing.
Also builds happily with python disabled & cpp disabled.


Support cross-window hint rendering

We're working on a new feature for Playroom where you can detach the code editor from the main window and open it in a new window. This has highlighted an issue in the show-hint addon.
Currently, show-hint references the globals window and document to make layout calculations and add elements to the page. In our case, the code is executing in the parent window, so these global references are actually pointing at the wrong window. When writing code in the popup window, the suggestions are instead rendered to the parent window (video link).
To fix this, we ensure that references to document and window are scoped to the window that contains the textarea. We achieve this by calling cm.getInputField().ownerDocument, which is supported across all browsers. We then get a reference to the parent window via ownerDocument.defaultView || ownerDocument.parentWindow, which ensures backwards compatibility with older versions of IE since it doesn't support defaultView, instead providing its own proprietary parentWindow property.

Thanks for fixing that! Merged.


Recent Zig versions do not detect WinMain.

Zig version: 0.12.0-dev.2341+92211135f
Build target: x86-windows-gnu
Executing zig build now fails with:
error: lld-link: undefined symbol: _main

Seems to be a fairly recent regression. Workaround for now is replacing WinMain with main instead, and passing the necessary Windows parameters.

Closed by https://github.com/ziglang/zig/pull/19399
Builds successful again on Zig version: 0.12.0-dev.3493+3661133f9


GUI

a GUI for this.
If we do add it. it should be added after we impl the entire CPU.
the GUI would have

the game
hex viewer
potential Debugging tools.

potential GUI  framework to look into
https://gitlab.com/sciter-engine/sciter-js-sdk


[#github_4182] Makes each PinpointServer has its own ServerMessageLis…

…tener

change setMessageListener -> setMessageListenerFactory
change test code

Codecov Report

Merging #4185 into master will decrease coverage by 0.07%.
The diff coverage is 42.2%.

@@            Coverage Diff            @@
##           master   #4185      +/-   ##
=========================================
- Coverage   41.17%   41.1%   -0.08%
=========================================
  Files        2365    2369       +4
  Lines       74343   74369      +26
  Branches    10064   10065       +1
=========================================
- Hits        30614   30568      -46
- Misses      40903   40978      +75
+ Partials     2826    2823       -3

Impacted Files
Coverage Δ

.../collector/receiver/tcp/AgentBaseDataReceiver.java
0% <0%> (-39.4%)
:arrow_down:

...onnection/ClusterServerMessageListenerFactory.java
0% <0%> (ø)

...tBaseDataReceiverServerMessageListenerFactory.java
0% <0%> (ø)

...r/cluster/connection/CollectorClusterAcceptor.java
0% <0%> (ø)
:arrow_up:

...p/pinpoint/collector/receiver/tcp/TCPReceiver.java
80.76% <100%> (-4.6%)
:arrow_down:

...npoint/web/cluster/connection/ClusterAcceptor.java
76.19% <100%> (+3.11%)
:arrow_up:

...rp/pinpoint/rpc/server/PinpointServerAcceptor.java
83.67% <100%> (-6.2%)
:arrow_down:

...nection/ClusterAcceptorMessageListenerFactory.java
71.42% <71.42%> (ø)

...pc/server/LoggingServerMessageListenerFactory.java
90% <90%> (ø)

...r/tcp/TCPReceiverServerMessageListenerFactory.java
94.73% <94.73%> (ø)

... and 21 more

Continue to review full report at Codecov.

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


fix: support eslint-plugin-perfectionist@3

PR Checklist

[x] Addresses an existing open issue: fixes #1588
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview
Bumps to eslint-plugin-perfection@3 and runs pnpm lint --fix for all its behavior differences.
💖

Blocked on https://github.com/azat-io/eslint-plugin-perfectionist/pull/186.

Lint failures aren't the fault of this PR. I'll file a separate issue.


Added an Extensibility Provider sample

This Extensibility provider allows us to provisioning Publishing Pages from the XML template. I guess it's not covering all the scenarios, but it's a good starting point.
Considering all the people that is asking for Publishing support in the Provisioning framework, my suggestion is that we re-use part of this code to update the Provisioning framework adding support to provisioning Publishing pages. I'm agreed that PnP provisioning framework is not a "migration content tool", but we should provide some support for provisioning Publishing pages, as it's always needed to provisioning pages with some pre-configured webparts (like a home page, or custom search pages).
I'd be very happy to help to do that if I can get some leadership/help from PnP team, as this is not a small change, and surely we will need to change the PnP Schema as well.
/cc: @VesaJuvonen @erwinvanhunen @PaoloPia

Hi @luismanez, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi Luis,
we are just looking into getting this same capability included natively in the engine for the January release. If however there will be timing issues, we'll get this one included. We'll absolutely get you credits on this contributions, since most likely we'll use some of the code from this on in the engine implementation as well. Thx for your input.

This is also though great sample of the extensibility provider, so it could provide value even if the functionality is partly overlapping with the native engine setup. Having this as a sample is though good for the community to learn how the extensibility providers work.

Thanks Vesa. Let me know if you need help with that. From my experience with the Provider, was pretty hard the part when provisioning the List View WP, and how it can have issues with JSLink and BaseViewID. I'm looking forward to see if there's a better way to do that :)

Hi Luis, we are looking into getting this processed in upcoming weeks for the February release. Sorry for the delay.

no problem @VesaJuvonen just let me know if I can help with whatever.
Thanks for the update!

Hi @VesaJuvonen any news on this? not in Feb release either. Anything I can help with?
Cheers!

Hi @luismanez - sorry for the delay on this and we did indeed miss the Feb release with it. Should be though processed soon. Good sample on how to build extensibility providers.

Hi Luis, sorry for the delay on this one. We are absolutely looking to get this in for the March master merge.

Hi Vesa. No need to apologise! I know this is a hard one.Thanks for the update and happy to help if I can.

Hi Luis,
I'm testing your PR right now. I'm having some issues building the two projects because the referenced assemblies are missing. Could you please update them, by referencing the latest NuGet packages, and can you provide a solution to group the two projects together, for better and easier building/testing? Then, I will be more than happy to test it and merge it. Thanks a lot for your commitment!

Hi Luis,
Sorry for stressing, but I would really like to include your PR in the next master merge, which will be tomorrow afternoon. Have you any feedback? Or can I update your project directly? Thanks.

Hi Paolo,
sorry not getting back to you yesterday but I'm pretty busy these days. Please, go ahead and update my project directly. Honestly I don't know why there's no a solution file, but I guess I missed it in the PR, as I'm still learning git! :)
Thanks for your help Paolo, and sorry about that.
Cheers.

Hi again Paolo, I've updated the PR finally. Please, let me know if is OK, as I'm not sure if I've done it correctly. If something is wrong and you wanna fix it, feel free please :)
Many thanks!!

Thank Luis,
We really appreciate your efforts. I've merged the solution. Thanks again.


BitmapData#draw disregards matrix in OpenFL 4.0

How I found the problem: http://stackoverflow.com/questions/38643283/drawing-sprite-onto-bitmapdata-without-padding
Create a clear project, and use the following code:
package;

import openfl.display.Sprite;

class Main extends Sprite {

	public function new () {
		super ();

		var a = new Sprite();
		a.graphics.beginFill(0xFF0000);
		a.graphics.drawRect(0, 0, 200, 100);
		a.graphics.endFill();
		a.x = 100;
		a.y = 100;
		a.rotation = 45;

		addChild(a);

		var bitmapData = new openfl.display.BitmapData(500, 500, false, 0x00000000);

		var matrix = a.transform.concatenatedMatrix;
		matrix.rotate(Math.PI / 16);
		bitmapData.draw(a, matrix);

		var bitmap = new openfl.display.Bitmap(bitmapData);
		bitmap.x = 500;
		bitmap.y = 100;
		addChild(bitmap);
	}
}

Set the OpenFL to 3.6.1, compile, and run. You'll see

Set OpenFL to 4.0.0, compile and run. You'll see

Expected: Rotated image in the bitmap.
Result: No change
The main difference I see, is that in 3.9.1 if you didn't provide sprite.transformation.concatenatedMatrix, the rectangle will be straight at the top of the bitmap, without any rotation. But in 4.0.0 transformation matrix is preserved even without passing the matrix argument, and it's moved away from the border and rotated as the original matrix tells it.
Tried with neko, cpp and html5, so it's not a cairo specific issue.
I hope it's an issue with my code, but still I'd rather report it here.

Not sure if this changes anything, but in CairoGraphics#render, there was this change https://github.com/openfl/openfl/commit/e3505856c075b258dd987dbf641373eb383e638f#diff-876d5cc61d96532e2b1bfff05da06502R984 - however parameter parentTransform is not used at all.

I fiddled around in openFL internals, and I found one weird thing. Changing https://github.com/openfl/openfl/blob/4f5c42375f3215dc3e077f5fe7f748cf616899a8/openfl/display/Graphics.hx#L820  to var parentTransform = new Matrix(); results in

Now I'm running git version of both Lime and OpenFL (4.0.3 with few more commits I think)

There's another issue. Here's failing test repo: https://github.com/Misiur/OpenFLFixer/blob/master/Source/Main.hx
(requires my both #1225 and #1214 fixes to show results as provied with screenshots)
This is BitmapData#draw without applied matrix

Here it is with applied matrix

There's some cutoff for negative start of image, and I can't place my finger where exactly. I'll try to look further, just leaving it here for future reference.

Ok, so the culprit is color transformation (This to be exact):

However I can't get the whole image, because it would require concatenatedMatrix (and metric shitton of reflected properties), and then we again run into double transformation matrix application... Any ideas?


Update AddressBookController with option to sync on network changes

AddressBookController manages the set of addresses that users see in MetaMask, namely, a mapping of recipient addresses to their nicknames. As this mapping is kept per chain id, when you change the chain id of a network in your network, we have to update the AddressBookController state. This happens currently in PreferencesController, but as we are moving network management code out of PreferencesController and since it's not the responsibility of the PreferencesController to maintain address book state, this code really ought to live in AddressBookController.
To prepare for this, we need to:

Add onNetworkStateChange to AddressBookController
Add a new option (syncWhenNetworkChanges) which would be false by default (extension would set it to true, mobile wouldn't)
Copy code in extension's PreferencesController around updating address book (indirectly) to AddressBookController

We've determined that we no longer need to do this, and can remove the address book migration code entirely from the extension PreferencesController. See this comment for more context: https://github.com/MetaMask/controllers/pull/1011#discussion_r1044838666


[1.2] Commissioning issues with chip-tool with Linux based lighting-app wifi.

Reproduction steps
Build the Lighting-app for the linux and running on the ubuntu machine and having a chip-tool on other linux machine.
But while commissioning I think issues is related to operational discovery.
Logs :
Device_logs.txt
chip-tool.txt
How to resolve the above issue.
Bug prevalence
everytime
GitHub hash of the SDK that was being used
.
Platform
other
Platform Version(s)
No response
Type
Platform Issue
Anything else?
No response

Commissioner is commissioning node id 2, but device never advertises that (it advertises node id 9 and node id 19).  The AddNOC in the device log is definitely for node id 9.
So either something is very broken here, or these logs don't have anything to do with each other.

Oohoo i am so sorry i have posted the worng one . below are the logs of Device and chip-tool.
Logs_device.txt
chip-tool.txt
I am using mobile hotspot as Access Point.

Is it necessary for a WiFi device to be connected to WiFi or Ethernet before commissioning on same network as chip-tool is on?

Is it necessary for a WiFi device to be connected to WiFi or Ethernet before commissioning on same network as chip-tool is on?

If it's wifi-only and has not BLE, then yes.

Those last logs look like the device not joining "the network" properly.... where "the network" should be the network chip-tool is on.

As i am using Mobile hotspot. do i have to change the network?

After the commissioning fails after some time device joins the network and then pairing is been done.

any idea how to resolve this issue.

What is the issue?  That the device takes longer to join the network than the commissioner waits for it?
What does the device claim about the time it will take it to join networks?  How does that compare to the actual time it takes?

Looks like the device is taking time to join the network and mean while the chip_tool closed it's commissioning window.
Attaching the logs contain the fails and success logs.
chip_tool_logs.txt
device_logs.txt

Initially when we start the commissioning and run on other terminal -> avahi-browse -a
IT doesn't show Matter operational advertisements (_matter._tcp).
when it fails and we wait for the device to come back to its commissioning stage.Now when we start recommissioning Now it shows the (_matter._tcp) advertisments  and commissioning gets success full.

Sounds like a buggy device, if it's responding "success" to the "join a network" command before it's actually done that?

I experienced the same bug.
On the initial commissioning, the app gets to the point of connecting to the Wi-Fi and starting the operational Advertisement. But the Device is not able to advertise on the Wi-Fi interface because it isn't marked as active (connected to the Wi-Fi), when the advertisement is started.
On the second try the Device is already connected to the Wi-Fi (interface is marked as active) so there is no Problem to start the operational advertisement.
For me the fix to the issue is to add
app::DnssdServer::Instance().StartServer();

on line 82 in "src\app\server\CommissioningWindowManager.cpp".
This "reloads" the active Interfaces, so the operational advertisement is started on the Wi-Fi interface. Then BLE commissioning should work now.
It also looks like the "NetworkCommissioning::Status::kSuccess" Response is sent prematurely in "\src\platform\Linux\ConnectivityManagerImpl.cpp" on Line 489, when the check for assigned addresses is done in PostNetworkConnect() (line 492) after the Response is sent.

No. "OperationalNetworkEnabled"

@rlux-bluezone line numbers should come along with a SHA, otherwise people end up looking at different code that happens to be on the same line.
So you're saying changing the AdvertiseOperational() there to StartServer() makes things work?

Sorry for the confusion(im on https://github.com/project-chip/connectedhomeip/commit/181b0cb14ff007ec912f2ba6627e05dfb066c008.)
I added StartServer() above the AdvertiseOperational() call (i guess just changing it will work as well because StartServer calls AdvertiseOperational()). After that BLE-commissioning works again.
If i understand it correctly, then the interfaces are added in the Listen() function in "src/lib/dnssd/minimal_mdns/Server.cpp" on Line 248 with the mEndpoints.CreateObject(...) call.
Listen(...) is called via StartServer() but not in AdvertiseOperational().

@rlux-bluezone Thank you for digging through that.
@andy31415 should probably think about the minimal mdns case here, but he's out until Monday next week...

My understanding of expectations was that devices should listen for changes to connectivity and restart relevant events. For example https://github.com/project-chip/connectedhomeip/blob/master/examples/chef/esp32/main/main.cpp#L75
although a quick grep for kInternetConnectivityChange seems to only show some subset of examples doing that.

@andy31415 Well, what are the semantics around kInternetConnectivityChange vs kOperationalNetworkEnabled (not to be confused with kOperationalNetworkStarted, apparently)?
There is no documentation for kOperationalNetworkEnabled.  And "communicate with the Internet" (documentation for kInternetConnectivityChange) has nothing to do with Matter operation, right?  Matter devices should work fine without being able to "communicate with the internet".
Also, right now kInternetConnectivityChange is dispatched for things like "we are on Linux and have an IPv4 address" (but not IPv6, note), so it clearly seems like the wrong thing....

But the bigger question, @andy31415 is that the DNS-SD APIs need to clearly define when you need to "restart" vs just "AdvertiseOperational".  The fact that AdvertiseOperational is the wrong thing to use for changes to the set of network interfaces is not documented in the API, and seems like a quirk of the min-mdns implementation....

what is happening is that the https://github.com/project-chip/connectedhomeip/blob/master/src/lib/dnssd/MinimalMdnsServer.cpp#L67 in StartServer is what passes in a list of endpoints to listen on. So anything that changes that list needs to re-start the server.
Currently the SDK does not seem to have a mechanism to determine what changes the available endpoints. Some examples use kInternetConnectivityChange (which seems to be more IP changed than actual internet ... not sure) however overall minmdns does not keep track of networking state and I am not sure we have documented way to watch for the state of inet.

Just interface IDs are not enough either: https://github.com/project-chip/connectedhomeip/blob/master/src/lib/dnssd/minimal_mdns/AddressPolicy_DefaultImpl.cpp#L57 actually checks if an interface has an IP address assigned, so if Ip addresses are updated on interfaces, restart is also required for minmdns (but not for avahi/bonjour and such since those likely have O/S support to detect interface changes).

So anything that changes that list needs to re-start the server.

Absolutely none of that is documented in the public dns-sd framework APIs.


New Caveat type: Fixed parameter

Imagine wanting to write a fetch capability, which is capable of making http requests to the network, like this:
{
  method: 'fetch',
  params: ['POST', 'http://cool-site.com/', 'post-body']
}

We might want to approve a particular consumer to only call fetch from a particular domain, and so we might want a caveat that would only allow customizing the third parameter. This might look like:
{
  method: 'fetch',
  id: '63b225d0-414e-4a2d-8067-c34499c984c7', // UUID string
  date: 0, // unix time of creation
  granter: 'another.domain.com', // Another domain string if this permission was created by delegation.
  caveats: [ // An optional array of objects describing limitations on the method reference.
    {
      type: 'fixed-params',
      value: [{ fixed: false }, { fixed: true, value: 'https://cool-site.com' }, { fixed: false}],
    }
  ]
}

In this hypothetical caveat, we have a schema which represents possible parameters in order, and whether their value is fixed or not.
I'm sure we could come up with other schemas, that's just one example of how this could be done.

I had an idea that we may be able to enforce  mandatory fixed parameters with a common type of function, like [is-subset](https://www.npmjs.com/package/is-subset).
Example: I want to let you playMusic({ song, volume }), but only a specific song, or a specific volume.
The caveat can serialize the fixed part:
function validateFixedCaveat () {
const fixed = { volume: 10 };
const userParams: { song: takeMeHome, volume: 10 }
const isValid = isSubset(fixed, userParams)
return isValid;
}

Obviously this is pretty limited, but can work for permissions like "allow network requests to this and only this url"
We might be better off hand-rolling a schema that can incorporate some amount of logic, though, like max, min, only, except, or, and,... xor? If we include xor, we don't need anything else, right? ;)

Captured in master.


Consumer won't reconnect

Hi,
Somehow when network got disconnected for a minutes or so and then network up again, I got a log
gorabbit: rabbit consumer goroutine closed

After that, consumer stops receiving new message.
Why wont it reconnect?
I'm using version 0.6.2, and my code is (more or less) like this
rabbitmqConsumer, err := rabbitmq.NewConsumer(config.constructURL(), amqp.Config{}, rabbitmq.WithConsumerOptionsLogging)
...
rabbitmqConsumer.StartConsuming(
  func(message rabbitmq.Delivery) bool {
    return true
  },
  "",
  []string{""},
  func(options *rabbitmq.ConsumeOptions) {
    options.QueueExclusive = true
    options.ConsumerExclusive = true
    options.QueueDurable = true
    options.BindingExchange = &rabbitmq.BindingExchangeOptions{
      Name:    "my_rabbitmq_topic",
      Kind:    "fanout",
      Durable: true,
    }
  },
)

https://github.com/wagslane/go-rabbitmq/blob/4d14909a3fed0e3a1466b7eb3818b6050f803348/consume.go#L259
Looks like msgs channel is closed causing it to print log from this line
https://github.com/wagslane/go-rabbitmq/blob/4d14909a3fed0e3a1466b7eb3818b6050f803348/consume.go#L282
So how to make it start consuming again?

Any update on this?  Does the library handle Automatic reconnection as stated in the README or not?
I'm looking for a library that does this, so if we can use this one that would be ideal, but need to know if it works.

It is supposed to yes, I haven't had time to dive in on this bug yet. I'll try to take a look this week

Thanks.  It does seem to reconnect fine.
I did a simple test by runnung rabbitmq server in a docker container.  After restarting the docker container, the consumer reconnected automatically:
https://github.com/wagslane/go-rabbitmq/blob/4d14909a3fed0e3a1466b7eb3818b6050f803348/channel.go#L61
2021/11/29 17:14:52 consumed: Hello World!
2021/11/29 17:14:53 consumed: Hello World!
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: attempting to reconnect to amqp server after close
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: waiting 1s seconds to attempt to reconnect to amqp server
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:59 gorabbit: error reconnecting to amqp server: Exception (501) Reason: "read tcp <IP_ADDRESS>:54752-><IP_ADDRESS>:5672: read: connection reset by peer"
2021/11/29 17:14:59 gorabbit: waiting 2s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:01 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2021/11/29 17:15:01 gorabbit: waiting 4s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:05 gorabbit: error reconnecting to amqp server: Exception (501) Reason: "read tcp <IP_ADDRESS>:54858-><IP_ADDRESS>:5672: read: connection reset by peer"
2021/11/29 17:15:05 gorabbit: waiting 8s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:13 gorabbit: successfully reconnected to amqp server after close
2021/11/29 17:15:13 gorabbit: consume cancel/close handler triggered. err: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2021/11/29 17:15:13 gorabbit: waiting 1s seconds to attempt to start consumer goroutines
2021/11/29 17:15:14 gorabbit: Processing messages on 10 goroutines
2021/11/29 17:15:14 consumed: Hello World!
2021/11/29 17:15:14 consumed: Hello World!

Looks good to me :+1:

Thanks for running that little test! I'll still take a look at the above
report, but this helps me check some boxes :)
On Mon, Nov 29, 2021, 10:19 AM miketonks @.***> wrote:

Thanks. It does seem to reconnect fine.
I did a simple test by runnung rabbitmq server in a docker container.
After restarting the docker container, the consumer reconnected
automatically:
https://github.com/wagslane/go-rabbitmq/blob/4d14909a3fed0e3a1466b7eb3818b6050f803348/channel.go#L61
2021/11/29 17:14:52 consumed: Hello World!
2021/11/29 17:14:53 consumed: Hello World!
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: attempting to reconnect to amqp server after close
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: waiting 1s seconds to attempt to reconnect to amqp server
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:58 gorabbit: rabbit consumer goroutine closed
2021/11/29 17:14:59 gorabbit: error reconnecting to amqp server: Exception (501) Reason: "read tcp <IP_ADDRESS>:54752-><IP_ADDRESS>:5672: read: connection reset by peer"
2021/11/29 17:14:59 gorabbit: waiting 2s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:01 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2021/11/29 17:15:01 gorabbit: waiting 4s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:05 gorabbit: error reconnecting to amqp server: Exception (501) Reason: "read tcp <IP_ADDRESS>:54858-><IP_ADDRESS>:5672: read: connection reset by peer"
2021/11/29 17:15:05 gorabbit: waiting 8s seconds to attempt to reconnect to amqp server
2021/11/29 17:15:13 gorabbit: successfully reconnected to amqp server after close
2021/11/29 17:15:13 gorabbit: consume cancel/close handler triggered. err: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2021/11/29 17:15:13 gorabbit: waiting 1s seconds to attempt to start consumer goroutines
2021/11/29 17:15:14 gorabbit: Processing messages on 10 goroutines
2021/11/29 17:15:14 consumed: Hello World!
2021/11/29 17:15:14 consumed: Hello World!
Looks good to me 👍
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/wagslane/go-rabbitmq/issues/47#issuecomment-981845666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFHZKVONOQU255HWSJLEIP3UOOY3LANCNFSM5HPN4IYA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@nicklaros Do you ever see these logs? attempting to reconnect to amqp server after close
We do an exponential backoff by default, and I'm wondering if with a long disconnect time you were getting backoff retries with 2 min+ wait times

I'm having trouble with reconnects too on v0.7.0. Simulating connection loss by stopping an active port forwarding from a Kubernetes cluster, followed by opening it again a few seconds later.
2022/01/11 22:55:02 gorabbit: rabbit consumer goroutine closed
..but nothing else after 10 minutes.
Any tricks I could try? I'm a rookie user of this module, so I wouldn't be surprised if I'm doing something wrong on my end.

I'm sorry I'm not able to reproduce this. Are you guys sure you aren't missing some logging, and that messages are actually being sent?
This is my test process. Let me know what to do differently to see what you're seeing:

Start example consumer connected to local rabbitmq
Close local rabbit server
Watch consumer auto reconnect

2022/02/27 17:34:30 gorabbit: attempting to reconnect to amqp server after close
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: waiting 1s seconds to attempt to reconnect to amqp server
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:30 gorabbit: rabbit consumer goroutine closed
2022/02/27 17:34:31 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2022/02/27 17:34:31 gorabbit: waiting 2s seconds to attempt to reconnect to amqp server
2022/02/27 17:34:33 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2022/02/27 17:34:33 gorabbit: waiting 4s seconds to attempt to reconnect to amqp server
2022/02/27 17:34:37 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2022/02/27 17:34:37 gorabbit: waiting 8s seconds to attempt to reconnect to amqp server
2022/02/27 17:34:45 gorabbit: error reconnecting to amqp server: dial tcp <IP_ADDRESS>:5672: connect: connection refused
2022/02/27 17:34:45 gorabbit: waiting 16s seconds to attempt to reconnect to amqp server

2022/02/27 17:35:01 gorabbit: successfully reconnected to amqp server after close
2022/02/27 17:35:01 gorabbit: gorabbit: successful recovery from: Exception (320) Reason: "CONNECTION_FORCED - broker forced connection closure with reason 'shutdown'"
2022/02/27 17:35:01 gorabbit: waiting 1s seconds to attempt to start consumer goroutines
2022/02/27 17:35:03 gorabbit: Processing messages on 10 goroutines

Start publisher, watch the consumer consume the messages
Close cleanly both the publisher and consumer

Thanks for having a look into this @wagslane 👍
Speaking for myself, I'm sure there aren't other logs and I certainly can't imagine messages flowing through after having closed the forwarded connection into the kubernetes cluster.
I did not try to run a local RabbitMQ server tho, I could ofcourse see if that makes any difference.

I'm sorry I'm not able to reproduce this. Are you guys sure you aren't missing some logging, and that messages are actually being sent?
This is my test process. Let me know what to do differently to see what you're seeing:

Start example consumer connected to local rabbitmq
Close local rabbit server
Watch consumer auto reconnect
Start publisher, watch the consumer consume the messages
Close cleanly both the publisher and consumer

Note that this is not my use case. My case is:

Start remote server
Start local consumer
Watch consumer receive messages
...long period of inactivity...
See message gorabbit: rabbit consumer goroutine closed in the consumer log
Publish more messages
messages are not picked up by consumer
Stop local consumer
Start new local consumer
Messages are received

So it seems like the consumer gets bored and drops the connection and does not reconnect.

It may helps #62

@tmalaher I just published a new version with some more logging as I'm still not able to reproduce this error. There is a case where the an error is initiated by the client, or where the channel is closed gracefully that we don't attempt (and shouldn't attempt) to reconnect. Can you try with the new logs? Hopefully they will give us some more insight into what is causing this "boredom"

Hi all, I managed to reproduce this issue in latest version 0.7.2 and the logs attached below, could you take a look?
2022/03/24 18:49:05 gorabbit: Processing messages on 1 goroutines
2022/03/25 10:16:19 gorabbit: rabbit consumer goroutine closed
2022/03/25 10:16:19 gorabbit: not attempting to reconnect to amqp server because closure was initiated by the client
2022/03/25 10:16:19 gorabbit: not attempting to reconnect to amqp server because closure was initiated by the client

What I did is, manually disable my computer's network for a while and re-enable the network.

@ruinshe Can you please try again with 0.7.3? The new logs should show us exactly which error you are getting. Basically we just need to keep whitelisting the various errors that make sense to reconnect on from the AMQP lib

I've narrowed this down, I think, to when my (RedHat Linux 8.5) laptop hibernates.
With 0.7.2, I get this:
2022/03/31 19:26:39 gorabbit: not attempting to reconnect to amqp server because closure was initiated by the client
2022/03/31 19:26:39 gorabbit: not attempting to reconnect to amqp server because closure was initiated by the client
2022/03/31 19:26:39 gorabbit: rabbit consumer goroutine closed
I've recompiled with 0.7.3 and I'll let you know if that changes anything.

@tmalaher awesome, yes! 0.7.4 should have the reconnect for that error.

No reconnecting with 0.7.4
I've changed channel.go from a fork marcelmiguel/go-rabbitmq to fix the reconnection.
Now seems to work. Need some more testing.
Te reproduce the error:

from a spanish W10, deactivate ethernet
package detects inmediatelly coms are down.
activate ethernet
then after 5s or 10s, is reconnected.

Sorry, forget to put the error:
Exception (501) Reason: "read tcp <IP_ADDRESS>:63236-><IP_ADDRESS>:5672: wsarecv: Se ha anulado una conexión establecida por el software en su equipo host.."
But better not use any spanish phrase, as it can be on any language.

Oh lol xD we catch this one in English but not Spanish. Is there an unwrap we can do to catch this in one? Like an errors.Is comparison?

I'm hoping io.EOF is the right one.. I can add that

Recompiled with 0.7.4 and now it seems to survive hibernation.
There are no log messages produced! I guess this is a good thing, as it means it is ignoring whatever errors the hibernate/wake cycle is causing.
I'll do further torture testing (I hibernate the laptop every day, so plenty of testing over the course of the next week.)
Thanks!

@tmalaher Okay with all the feedback from this thread I believe I've solved... all? The reconnection issues in 0.8.0. I originally was doing clean closure wrong and thats why I had to whitelist the errors, but I don't think I need to anymore, so I can just reconnect on any error because the new .Close() method returns a nil error.
Sorry about the breaking API change, hopefully it's the last one!
That's what v0 is for after all haha.
You can also configure your logger, that's probably why you aren't seeing logs.

After upgrading to 0.8.0, it seems works now.
Will keep in mind of it in future, thanks!

With 0.8.0, half the time, give this:
2022/04/06 10:00:51 gorabbit: closing consumer...
2022/04/06 10:00:51 gorabbit: attempting to reconnect to amqp server after cancel
2022/04/06 10:00:51 gorabbit: rabbit consumer goroutine closed
2022/04/06 10:00:51 gorabbit: waiting 5s seconds to attempt to reconnect to amqp server

And sometimes ends like this:
2022/04/06 10:03:58 gorabbit: closing consumer...
2022/04/06 10:03:58 gorabbit: rabbit consumer goroutine closed
2022/04/06 10:03:58 gorabbit: amqp channel closed gracefully

@marcelmiguel what are you doing differently, or what different thing is happening when it tries to reconnect? That's the cancel message, which logic actually didn't change in 0.8.0

@wagslane This is happening when closing  a connection via Close(), I didn't test it before v0.8.0.
It is not a real problem for me, because the app closes before a reconnection is alive, but seems that the closgin method does not disable reconnection.

I'm going to close this thread. I added some more logging @marcelmiguel to 0.8.1 because I think this might be something different. If you're still having issues please open a new issue.


The Positioning Issue of Softmax in the Official Code of the Differential Transformer.

I compared the training losses of the Transformer and Differential Transformer under my own setting but failed to reproduce the experimental results. I wonder whether the operation of "taking difference" and applying softmax should be reversed in official code.
official code
@YTianZHU

Hi, the operation of taking difference and applying softmax is correct in the code. Could you provide a code snippet of your implementation? And you can also provide the model setting in your training.

@Zcchill Seems the implementation is correct. The model has 4 heads for Diff, and 8 heads for Transformer, right? Would you provide some description about the results, for example, loss curve comparison, gradient norm comparison, etc.


Fix incorrect selection on comment toggle.

Fixes #1.
More predictable selection behaviour after toggle.

@vladskiy thanks.


Fix nn-syntax for currencies

So we can remove currency preprocessing from the tokenizer, and the let the neural network deal with it.

Pull Request Test Coverage Report for Build 927

8 of 9 (88.89%)  changed or added relevant lines in 3 files are covered.
12 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.005%) to 80.059%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/nn-syntax/tonn_converter.js
5
6
83.33%

Files with Coverage Reduction
New Missed Lines
%

lib/nn-syntax/parser.js
12
67.21%

Totals

Change from base Build 926:
0.005%

Covered Lines:
8415

Relevant Lines:
10112

💛  - Coveralls


support register_jitable-ed function as njit function argument

fix #7043 .

[x] typeof/typer OK: getting global_type via typingctx will avoid the first TypingError
[x] unbox OK: add unbox for types.Function
[x] CI pass
[ ] because of holding lock on typeof_pyval, it results in much time comsumption in some CUDA test cases

gpuci run tests

Thanks for the patch @dlee992.
I think this extends the intended behaviour of public API function @register_jitable? As I understand it the intention was to support compilation when used "inside" another jit compiled function by direct reference, not as an argument:
https://github.com/numba/numba/blob/290a693641b85c327ab79e2430d60fe82666aa38/numba/core/extending.py#L140-L142
Whilst this change is solely additive in behaviour, I think this probably needs discussion to ensure it is a considered change and that it will not create problems elsewhere/in the future.
To open the discussion... what is a practical the use case for this? Is it for example a user wanting to use a function as an argument to both a python and a JIT compiled function, but in the case of the python function the argument function needs to run in pure python? Example:
from numba import njit
from numba.extending import register_jitable
import numpy as np

@register_jitable
def func_arg(x):
    return x + 1

@njit
def jit_consumer(func, arg):
    return func(arg)

def python_consumer(func, arg):
    return func(arg)

arg = 10
print(jit_consumer(func_arg, arg))
print(python_consumer(func_arg, arg))

@stuartarchibald, I met this case because I developed SDC for Pandas dataframe.apply(func, ...). I do need this feature for register_jitable in some situation like this.

Could you please expand on this perhaps with a motivating example to help explain why @register_jitable is useful to you in this case? Why not just use njit, wouldn't that be faster in the case of Panda's calls made through the Python interpreter and also work fine with calls through JIT compiled functions?

I met this issue yesterday, so I searched in numba issues, and find #7043, so I opened this PR for this.

Thanks for checking the issue tracker first. I see that #7043 has no discussion in relation to the use cases/motivation either.

Besides, if numba allows users to mark a python function as register_jitable, users may not know to avoid this function as a njit argument from python develop experience.

This adds some motivation, but arguably you can just turn the JIT off by setting the env var NUMBA_DISABLE_JIT=1, or use the .py_func attribute on any @jit family decorated function to achieve similar.
I suppose the most beneficial result of permitting this behaviour would be that it makes the notion of having a method of declaring that functions are JIT compatible more complete. I think it also makes it easier to have the entire call graph run using either all Python interpreted functions or all JIT functions.
Any thoughts?

Example of the use of .py_func:
from numba import njit
from numba.extending import register_jitable
import numpy as np

@njit
def func_arg(x):
    return x + 1

@njit
def jit_consumer(func, arg):
    return func(arg)

def python_consumer(func, arg):
    return func(arg)

arg = 10
print(jit_consumer(func_arg, arg))
print(python_consumer(func_arg.py_func, arg))

Could you please expand on this perhaps with a motivating example to help explain why @register_jitable is useful to you in this case? Why not just use njit, wouldn't that be faster in the case of Panda's calls made through the Python interpreter and also work fine with calls through JIT compiled functions?

I use register_jitable in a test case related with df.apply(func, ...), so I can easily get the Pandas result and SDC result, and assert these.

Thanks for checking the issue tracker first. I see that #7043 has no discussion in relation to the use cases/motivation either.

I saw the tag feature request, then I guess u guys maybe already discuss this issue, and think this is a feature on the todo list.

This adds some motivation, but arguably you can just turn the JIT off by setting the env var NUMBA_DISABLE_JIT=1, or use the .py_func attribute on any @jit family decorated function to achieve similar.

Yeah, I know .py_func and use it a lot.

I suppose the most beneficial result of permitting this behaviour would be that it makes the notion of having a method of declaring that functions are JIT compatible more complete. I think it also makes it easier to have the entire call graph run using either all Python interpreted functions or all JIT functions.

Yes! I also think these two reasons are most important/solid to support this behaviour.

I suppose the most beneficial result of permitting this behaviour would be that it makes the notion of having a method of declaring that functions are JIT compatible more complete. I think it also makes it easier to have the entire call graph run using either all Python interpreted functions or all JIT functions.

Yes! I also think these two reasons are most important/solid to support this behaviour.

I agree, this is a good motivation for getting this to work! Many thanks for your input on the discussion!

Notes from discussion during the Numba dev meeting on 21 June 2022:

The use of a lock around refreshing the typing context leads to performance degradation in the simulator due to many threads getting bottlenecked on the same call.
In terms of design it feels preferable to move the typing context refresh to the point of registration - i.e. when register_jitable() is called.
However, the reason for having the refresh() method is to improve performance - to lazily add to the typing context, rather than at every function decoration (which can have an impact on import time due to many decorations being at module top levels).
The suggested route forward is still to try moving the refresh of the typing context out of the typeof function and towards the point of function registration, but it may take a lot of investigation / experimentation to find how the typing context can be refreshed without having a performance impact somewhere.
Related issue: https://github.com/numba/numba/pull/7580

Yes, I think this PR and the related issue is almost related with #7507, #7516, and #7580. I will try to think this design again, to find another light-weight way to fix this.

I decide to give up this PR, since this issue is not bothering many users. If anyone is interested in fixing this issue, can go on with it.


beginning strings with numerics will cause print statements to fail

Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

really?


Dependency upgrades

Initial testing seems like these work just as fine as they did with the older versions, however I'm unable to say with certainty until I test a little further. Opening as a draft pull request to mark that it's being worked on and also to see if any of the automatic checks / docker build runs automatically against draft PRs.

Upgrading agent to python:3.8 and ubuntu:20.04 doesn't seem to be feasible without changing how chromium is downloaded, because docker build cannot talk to the snap store which is where the chromium deb appears to point:
Selecting previously unselected package chromium-browser.
(Reading database ... 6499 files and directories currently installed.)
Preparing to unpack .../00-chromium-browser_81.0.4044.129-0ubuntu<IP_ADDRESS>_amd64.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
===> Unable to contact the store, trying every minute for the next 30 minutes

I went ahead and marked this as ready for review. I think it's worth doing these upgrades now as we approach the api rewrite and there are a bunch of useful changes in these updates. The agent will have to stay on 18.04 ubuntu for now until we find a solution for the chromium snap build problem.


Add quote/reply button icon when hoovering to message

Quote/reply is one of feature that very useful for conversation. In Zulip when I want to reply to certain message, I need to hover to message, click three dot, click quote and reply. It's quite a long way just to reply message.
I think we need itu add reply icon at most right when hovering to message so we can reply message quickly. This UX is standard in Slack, Mattermost or Telegram.

@zulipbot claim

@danninov Can you please label it 'Good first issue' or 'Help wanted'. I want to work on it. But I am new at contribution

@ankit-saraf you can claim it .If you want to work it .

@zulipbot claim

@ankit-saraf you can claim it .If you want to work it .

Actually I am a new contributor. That's why I requested to label it so.

Hey , @Gittenburg Should this issue be worked upon or to be discussed within a new topic as it has been labelled as feedback wanted .

Yes I am not convinced that we need reply buttons because in Zulip you can click anywhere on a message to reply to it (within its topic).

This UX is standard in Slack, Mattermost or Telegram.

In Mattermost the reply button just replies in the same thread without quoting the message (so the same as clicking on a message in Zulip). Slack's reply button afaik also does not quote the message. Telegram does not have threads, so they need the quoting for replies.
So as I see it having a hover reply button that quotes the respective message is not at all standard in chat platforms that have a concept of threads. Probably because most of the time the thread gives enough context. This should definitely be discussed before being worked on.

@Gittenburg to quickly quote & reply, I think we can add a shortcut key like Q (since q is use to quickly search streams) for the selected message ?

Yes I am not convinced that we need reply buttons because in Zulip you can click anywhere on a message to reply to it (within its topic).

Yes, you can reply to message by clicking on it, but at least for us, quoting the message is one of the most used features, because as soon as you are replying to message that was 3 or 4 messages upstream in current thread, it is necessary to quote it so my reply gets the context.
So if it would be possible to extract that quoting feature to separate icon, next to the emoticon, maybe like this:

it would be really helpful. Those three dots are also subjectively harder to navigate.

Yes I am not convinced that we need reply buttons because in Zulip you can click anywhere on a message to reply to it (within its topic).

Yes, you can reply to message by clicking on it, but at least for us, quoting the message is one of the most used features, because as soon as you are replying to message that was 3 or 4 messages upstream in current thread, it is necessary to quote it so my reply gets the context.
So if it would be possible to extract that quoting feature to separate icon, next to the emoticon, maybe like this:

it would be really helpful. Those three dots are also subjectively harder to navigate.

To quickly quote & reply a selected message you can use shortcut key >

To quickly quote & reply a selected message you can use the shortcut key >
It does not work, instead it types the character in the message box.

Still, I'd like to avoid learning yet another shortcut and impose that on our users.
This button also behaves like a reply button in the e-mail, with the exception that cursor is placed below the quoted text, not above.

Also, another use case where this would help is using web version of Zulip (not the app) on the mobile phone.

Related:

#23100


Add support for connect to Yandex.Cloud ClickHouse

Use authorization headers for connect to Yandex.Cloud Managed ClickHouse
Documentation

Updated

Great! Thank you!


Update to tempo2 v2023.01.1

Checklist

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

Updates to latest tempo2 release version (2023.01.1)

@conda-forge-admin, please rerender


Add support for defining the application/library type of scala-native project

unblocks: https://github.com/scalacenter/bloop/pull/2535

@adpi2 Looks like the publishing secrets are broken, any chance you could take a look?


Refactor price feed data

Setup nodes for settlement and index prices.
Refactor settlement strategies to only have one / market.

TODO:

[ ] refactor test helpers to use new price nodes
[ ] fix tests

closing this PR; after further discussion, we're going to keep settlement strategy array to scale to other oracle providers in case they support pull based


fix: <Typography.Text> renders text correctly without  tags.

fixes #58

:tada: This PR is included in version 0.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 0.6.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add ubuntu jammy upgrade doc

Leaving as draft until i can verify a storage node, or someone else can check it

Added a warning about ceph upgrades not being tested so we can push this through. It can be updated as needed


Did it synthesise on OpenLane?

Hi @Baungarten-CINVESTAV,
I noticed in this OpenLane issue you had trouble with synthesising the eFPGA. You suggested splitting it into submodules, which I see you have done here.
I'm also trying to synthesize the eFPGA using OpenLane, did this approach work? Have you successfully hardened it?
Thanks

Hi @LYWalker  ,
Yes, divide the eFPGA into its main modules and then harden them one by one works.
The current GitHub repository have some errors in the MPW precheck. Those errors were fixed by changing some parameters of the config.json files of each module until satisfying the required parameters.
The new version will be submitted for the next MPW9 (when the call is available).
We follow the eFPGA presented by efabless , so I recommend you take a look.


Exclude FFI specific tests in JDK19

The change is to exclude the FFI specific tests in JDK19
as all related code are not yet merged to the repo.
Signed-off-by: Cheng Jin<EMAIL_ADDRESS>

The excluded test was detected at https://github.com/eclipse-openj9/openj9/issues/15466
Reviewer: @llxia
FYI: @Mesbah-Alam, @ShelleyLambert


Export all keepalive data for a longer-running backup

This code is only run if the end of the first chunk is reached, which will happen for a longer-running backup. In that case, we reset ptr so that all data after the first chunk is exported.

🤦🏾♀👏


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter micronova for common errors and appropiate suggestions to keep this adapter up to date.
This check is based the current head revisions (master / main  branch) of the adapter repository
Please see the result of the check below.
ioBroker.micronova
   -
ERRORS:

[ ] :heavy_exclamation_mark: [E029] Node.js 16 is required as minimum, node.js 18 is recommended. Please adapt "{'engines' : { 'node' >= '14' } }" at package.json.
[ ] :heavy_exclamation_mark: [E033] @iobroker/adapter-core 2.6.7 specified. 3.1.4 is required as minimum, 3.1.6 is recommended. Please update dependencies at package.json
[ ] :heavy_exclamation_mark: [E036] @iobroker/testing 4.1.0 specified. 4.1.3 is required as minimum,  4.1.3 is recommended. Please update devDependencies at package.json
[ ] :heavy_exclamation_mark: [E162] js-controller 3.3.22 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
[ ] :heavy_exclamation_mark: [E405] Icon must be in the following path: https://raw.githubusercontent.com/TA2k/ioBroker.micronova/main/; correct sources-dist.json
[ ] :heavy_exclamation_mark: [E407] Meta URL must be equal to https://raw.githubusercontent.com/TA2k/ioBroker.micronova/main/io-package.json; correct sources-dist.json
[ ] :heavy_exclamation_mark: [E426] Icon must be in the following path: https://raw.githubusercontent.com/TA2k/ioBroker.micronova/main/; correct sources-dist-stable.json
[ ] :heavy_exclamation_mark: [E428] Meta URL must be equal to https://raw.githubusercontent.com/TA2k/ioBroker.micronova/main/io-package.json; correct sources-dist-stable.json

WARNINGS:

[ ] :eyes: [W040] "keywords" within package.json should contain "ioBroker"
[ ] :eyes: [W105] Missing suggested translation into uk of "common.titleLang" in io-package.json.
[ ] :eyes: [W109] Missing suggested translation into uk of "common.desc" in io-package.json.
[ ] :eyes: [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[ ] :eyes: [W145] Missing suggested translation into uk of some "common.news" in io-package.json.
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[ ] :eyes: [W184] "common.title" is deprecated and replaced by "common.titleLang". Please remove from io-package.json.
[ ] :eyes: [W515] Why did you decide to disable i18n support?

:thumbsup: No suggestions found
Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
@mcm1957 for evidence
Last update at Fri, 06 Sep 2024 09:07:49 GMT

Issue outdated due to RECREATE request. Follow up issue #6 has been created.
This issue will be closed.
your
ioBroker Check and Service Bot


Error "Class not found" addNdefListener

Hi I'm getting an error when I try to add the listener (addNdefListener).
I'm using:
phonegap version: 4.2.0-0.24.2
Samsung Galaxy S3 with Android 4.4.2
nfc.addNdefListener(app.onNFC, function(){
alert("Listener added...");
}, function(e){
alert("Error adding listener added..." + JSON.stringify(e));
});
Any ideas on how to fix this?
NFC is enabled in the phone, I even hear a sound when sliding a NFC Card on the back of the phone.

Which class isn't found? Can you paste the full stack trace?
How are you installing the plugin?

All I get when I do this:
alert("Error adding listener added..." + JSON.stringify(e));
is "Class not found".
When I try to get the exception stack (e.stack) I get undefined.
I installed the plugin via phonegap
phonegap plugin add com.chariotsolutions.nfc.plugin

See if you can get the Android stack trace by running "adb logcat". I'm guessing the plugin didn't install and it can't find the p

Here it is, I hope this helps:
/DatabaseUtils(  532): 	at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:15031)
E/DatabaseUtils(  532): 	at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2488)
E/DatabaseUtils(  532): 	at com.android.providers.settings.SettingsProvider.call(SettingsProvider.java:688)
E/DatabaseUtils(  532): 	at android.content.ContentProvider$Transport.call(ContentProvider.java:325)
E/DatabaseUtils(  532): 	at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:275)
E/DatabaseUtils(  532): 	at android.os.Binder.execTransact(Binder.java:404)
E/DatabaseUtils(  532): 	at dalvik.system.NativeStart.run(Native Method)
W/ActivityManager(  532): Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL
D/PluginManager(18718): exec() call to unknown plugin: NfcPlugin
I/SpenGestureManager(  532): setFocusWindow21010
D/KeyguardUpdateMonitor( 1053): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor( 1053): handleKeyguardVisibilityChanged(1)
D/PointerIcon(  532): setMouseIconStyle1 pointerType: 1001iconType:101 flag:0
D/PointerIcon(  532): setMouseCustomIcon IconType is same.101
D/CordovaLog(18718): file:///android_asset/www/plugins/com.chariotsolutions.nfc.plugin/www/phonegap-nfc.js: Line 21 : Failed to initialize the NfcPlugin Class not found
I/chromium(18718): [INFO:CONSOLE(21)] "Failed to initialize the NfcPlugin Class not found", source: file:///android_asset/www/plugins/com.chariotsolutions.nfc.plugin/www/phonegap-nfc.js (21)
D/CordovaActivity(18718): onMessage(spinner,stop)
E/ViewRootImpl(18718): sendUserActionEvent() mView == null
W/InputMethodManagerService(  532): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@421e88a8 attribute=null, token = android.os.BinderProxy@42b14c08
D/KeyguardUpdateMonitor( 1053): sendKeyguardVisibilityChanged(true)
D/KeyguardUpdateMonitor( 1053): handleKeyguardVisibilityChanged(1)
I/SurfaceFlinger(  175): id=450 Removed DordovaApp (9/12)
I/SurfaceFlinger(  175): id=450 Removed DordovaApp (-2/12)

Make sure you see NfcPlugin.java in platforms/android/src/...
If not remove and reinstall the plugin.
If the src file is there, maybe the problem is related to "W/ActivityManager( 532): Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL"
For that, switch the user or add the permission to the manifest.

I'll try that, thanks Don

The NfcPlugin.java is there,
Here's my AndroidManifest.xml
Am I makinf the permissions change in the right place?
Thanks.

    -
     +

The NfcPlugin.java is there,
Here's my AndroidManifest.xml
Am I makinf the permissions change in the right place?
Thanks.

-
+

On Fri, Feb 13, 2015 at 4:59 PM, Don Coleman<EMAIL_ADDRESS>wrote:

Make sure you see NfcPlugin.java in platforms/android/src/...
If not remove and reinstall the plugin.
If the src file is there, maybe the problem is related to
"W/ActivityManager( 532): Permission Denial: get/set setting for user asks
to run as user -2 but is calling from user 0; this requires
android.permission.INTERACT_ACROSS_USERS_FULL"
For that, switch the user or add the permission to the manifest.
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74342366
.

According to:
http://gotoanswer.stanford.edu/?q=Permission+Denial%3A+this+requires+android.permission.INTERACT_ACROSS_USERS_FULL
I cannot set that permission, one thing I noticed is that I have to call "cordova run android --device" using sudo.
Otherwise I get: Error: EACCES, permission denied '/Users/allannaranjo/sites/nfc/plugins/android.json'
Can this be the cause of the issue?

I deleted the project and recreated everything, still the same error..
Allan

I just pushed it to a repo, maybe you can take a look at it:
https://github.com/allannaranjo/nfc
Thanks Don.

Your test project ran on my machine. OS X 10.10.2, Cordova 4.2.0, Latest Android SDK (Tool 24.0.2, Platform Tools 21, Build Tools 21.1.2). Phone is Nexus 5 with Android 5.0.1.
git clone https://github.com/allannaranjo/nfc
cd nfc
rm platforms/android/local.properties
rm platforms/android/CordovaLib/local.properties
cordova run android

What does your environment look like? You mentioned running cordova with sudo, maybe root can't read some of the files?

Hi Don,
Thanks for testing it.
My environment is:
OSX 10.9.5
Cordova 3.4.0-0.1.3
Latest Android SDK (Tool 24.0.2, Platform Tools 21, Build Tools 21.1.2).
Phone is Samsung Galaxy S3, Android 4.2.2
Do you think the Cordova version can make the difference?, or the Android
version?
Regards,
Allan
On Sat, Feb 14, 2015 at 2:32 PM, Don Coleman<EMAIL_ADDRESS>wrote:

Your test project ran on my machine. OS X 10.10.2, Cordova 4.2.0, Latest
Android SDK (Tool 24.0.2, Platform Tools 21, Build Tools 21.1.2). Phone is
Nexus 5 with Android 5.0.1.
git clone https://github.com/allannaranjo/nfc
cd nfc
rm platforms/android/local.properties
rm platforms/android/CordovaLib/local.properties
cordova run android
What does your environment look like? You mentioned running cordova with
sudo, maybe root can't read some of the files?
[image: nfc]
https://cloud.githubusercontent.com/assets/3133/6200952/57a6afae-b45e-11e4-91c3-0e2136400d8c.png
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74390791
.

Hi Don,
I upgraded cordova and it worked!!!..
Very excited!.
Thanks a lot for helping me on this.
Have a great day!
Allan
On Sat, Feb 14, 2015 at 3:12 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Hi Don,
Thanks for testing it.
My environment is:
OSX 10.9.5
Cordova 3.4.0-0.1.3
Latest Android SDK (Tool 24.0.2, Platform Tools 21, Build Tools 21.1.2).
Phone is Samsung Galaxy S3, Android 4.2.2
Do you think the Cordova version can make the difference?, or the Android
version?
Regards,
Allan
On Sat, Feb 14, 2015 at 2:32 PM, Don Coleman<EMAIL_ADDRESS>wrote:

Your test project ran on my machine. OS X 10.10.2, Cordova 4.2.0, Latest
Android SDK (Tool 24.0.2, Platform Tools 21, Build Tools 21.1.2). Phone is
Nexus 5 with Android 5.0.1.
git clone https://github.com/allannaranjo/nfc
cd nfc
rm platforms/android/local.properties
rm platforms/android/CordovaLib/local.properties
cordova run android
What does your environment look like? You mentioned running cordova with
sudo, maybe root can't read some of the files?
[image: nfc]
https://cloud.githubusercontent.com/assets/3133/6200952/57a6afae-b45e-11e4-91c3-0e2136400d8c.png
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74390791
.

@allannaranjo Great news. Glad it's working.

Well, I guess I spoke ahead of time, it does not work yet.
I see the alert "NFC Ready", however when I pass a tag, the device makes a
sound, but the onNFC never fires.
I pushed the new code.
Allan
On Sat, Feb 14, 2015 at 3:17 PM, Don Coleman<EMAIL_ADDRESS>wrote:

@allannaranjo https://github.com/allannaranjo Great news. Glad it's
working.
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74392304
.

Just a bit more info on this:
The tag I'm reading is a MiFare 1K Card 13.56MHz #359
Not sure if that helps
Allan
On Sat, Feb 14, 2015 at 3:35 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Well, I guess I spoke ahead of time, it does not work yet.
I see the alert "NFC Ready", however when I pass a tag, the device makes a
sound, but the onNFC never fires.
I pushed the new code.
Allan
On Sat, Feb 14, 2015 at 3:17 PM, Don Coleman<EMAIL_ADDRESS>wrote:

@allannaranjo https://github.com/allannaranjo Great news. Glad it's
working.
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74392304
.

Here are some logs from adb logcat:
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
214
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 2
W/AudioFlinger(  177): session id 213 not found for pid 1181
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
213
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
V/AudioPolicyManagerBase(  177): releaseOutput() 2
D/NativeNfcTag( 1181): Tag lost, restarting polling loop
E/Sensors (  751): accelHandler -0.269440 8.183782 4.557722
D/SSRMv2:SIOP(  751): SIOP:: AP = 400, Delta = 10
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
214
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 0
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): getNewDevice() selected device 0
V/AudioPolicyManagerBase(  177): setOutputDevice() output 2 device 0000
force 0 delayMs 192
V/AudioPolicyManagerBase(  177): setOutputDevice() prevDevice 0002
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): setOutputDevice() setting same device 0000
or null device for output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
215
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): getNewDevice() selected device 2
V/AudioPolicyManagerBase(  177): setOutputDevice() output 2 device 0002
force 0 delayMs 0
V/AudioPolicyManagerBase(  177): setOutputDevice() prevDevice 0002
V/AudioPolicyManagerBase(  177): setOutputDevice() setting same device 0002
or null device for output 2
V/AudioPolicyManagerBase(  177): releaseOutput() 2
W/AudioFlinger(  177): session id 214 not found for pid 1181
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
D/SensorService(  751):   -0.7 6.9 4.1
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
D/SensorService(  751):  [AR] -0.7 9.1 4.8
D/SensorService(  751): AutoRotationSensor::process: Ar_SensorChanged
oldrotation = [0], rotation = [255]
V/WindowOrientationListener(  751): Rotation Sensor : x=255.0
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
D/SensorService(  751):  [AR] -0.8 9.0 4.5
D/SensorService(  751): AutoRotationSensor::process: Ar_SensorChanged
oldrotation = [255], rotation = [0]
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
216
V/WindowOrientationListener(  751): Rotation Sensor : x=0.0
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 2
W/AudioFlinger(  177): session id 215 not found for pid 1181
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
215
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
V/AudioPolicyManagerBase(  177): releaseOutput() 2
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
D/NativeNfcTag( 1181): Tag lost, restarting polling loop
On Sat, Feb 14, 2015 at 3:52 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Just a bit more info on this:
The tag I'm reading is a MiFare 1K Card 13.56MHz #359
Not sure if that helps
Allan
On Sat, Feb 14, 2015 at 3:35 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Well, I guess I spoke ahead of time, it does not work yet.
I see the alert "NFC Ready", however when I pass a tag, the device makes
a sound, but the onNFC never fires.
I pushed the new code.
Allan
On Sat, Feb 14, 2015 at 3:17 PM, Don Coleman<EMAIL_ADDRESS>wrote:

@allannaranjo https://github.com/allannaranjo Great news. Glad it's
working.
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74392304
.

Issues I see:
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255 and
D/NativeNfcTag( 1181): Tag lost, restarting polling loop
Any ideas?

I used the NFC TagInfo app you used in the video:
https://www.youtube.com/watch?v=iOBvE8Wn4Cc#t=2746
And I get the tag info, but the phonegap app never reads my tag.
Allan
On Sat, Feb 14, 2015 at 3:54 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Here are some logs from adb logcat:
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
214
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 2
W/AudioFlinger(  177): session id 213 not found for pid 1181
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
213
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
V/AudioPolicyManagerBase(  177): releaseOutput() 2
D/NativeNfcTag( 1181): Tag lost, restarting polling loop
E/Sensors (  751): accelHandler -0.269440 8.183782 4.557722
D/SSRMv2:SIOP(  751): SIOP:: AP = 400, Delta = 10
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
214
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 0
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): getNewDevice() selected device 0
V/AudioPolicyManagerBase(  177): setOutputDevice() output 2 device 0000
force 0 delayMs 192
V/AudioPolicyManagerBase(  177): setOutputDevice() prevDevice 0002
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): setOutputDevice() setting same device
0000 or null device for output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
215
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
W/AudioPolicyManagerBase(  177): stream type [13], return media strategy
V/AudioPolicyManagerBase(  177): getNewDevice() selected device 2
V/AudioPolicyManagerBase(  177): setOutputDevice() output 2 device 0002
force 0 delayMs 0
V/AudioPolicyManagerBase(  177): setOutputDevice() prevDevice 0002
V/AudioPolicyManagerBase(  177): setOutputDevice() setting same device
0002 or null device for output 2
V/AudioPolicyManagerBase(  177): releaseOutput() 2
W/AudioFlinger(  177): session id 214 not found for pid 1181
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
D/SensorService(  751):   -0.7 6.9 4.1
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
D/SensorService(  751):  [AR] -0.7 9.1 4.8
D/SensorService(  751): AutoRotationSensor::process: Ar_SensorChanged
oldrotation = [0], rotation = [255]
V/WindowOrientationListener(  751): Rotation Sensor : x=255.0
D/NativeNfcTag( 1181): Check NDEF Failed - status = 255
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 0, format 0, channelMask 3, flags 0
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
V/AudioPolicyManagerBase(  177): getOutput() device 2, stream 5,
samplingRate 44100, format 1, channelMask 3, flags 4
V/AudioPolicyManagerBase(  177): getOutputsForDevice device 0002 -> 0002
V/AudioPolicyManagerBase(  177): getOutput() returns output 2
D/SensorService(  751):  [AR] -0.8 9.0 4.5
D/SensorService(  751): AutoRotationSensor::process: Ar_SensorChanged
oldrotation = [255], rotation = [0]
V/AudioPolicyManagerBase(  177): startOutput() output 2, stream 5, session
216
V/WindowOrientationListener(  751): Rotation Sensor : x=0.0
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 2
W/AudioFlinger(  177): session id 215 not found for pid 1181
V/AudioPolicyManagerBase(  177): stopOutput() output 2, stream 5, session
215
V/AudioPolicyManagerBase(  177): changeRefCount() stream 5, count 1
V/AudioPolicyManagerBase(  177): releaseOutput() 2
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
I/ServiceKeeper(  751): In getseinfo pid = 751 uid = 1000 seinfo= system
D/NativeNfcTag( 1181): Tag lost, restarting polling loop
On Sat, Feb 14, 2015 at 3:52 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Just a bit more info on this:
The tag I'm reading is a MiFare 1K Card 13.56MHz #359
Not sure if that helps
Allan
On Sat, Feb 14, 2015 at 3:35 PM, Allan Naranjo<EMAIL_ADDRESS>wrote:

Well, I guess I spoke ahead of time, it does not work yet.
I see the alert "NFC Ready", however when I pass a tag, the device makes
a sound, but the onNFC never fires.
I pushed the new code.
Allan
On Sat, Feb 14, 2015 at 3:17 PM, Don Coleman<EMAIL_ADDRESS>wrote:

@allannaranjo https://github.com/allannaranjo Great news. Glad it's
working.
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74392304
.

I'm guessing that your Mifare Classic tag is not formatted as NDEF and you're using nfc.addNdefListener. In this case Android see the tag, but your app won't get the data since you're asking for NDEF info.
You can use NXP TagInfo to read the NFC tag to verify this assumption. In that case nfc.addTagDiscoveredListener will read the NFC tag id. Alternatively you can use NXP Tag Writer to write an NDEF message on that tag.
Note that newer phones with the Broadcom NFC chipsets will not be able to read Mifare Classic tags.
Your S3 has the NXP chipset so you should be OK.
You should get our NFC book ;)

Hi,
Correct, when used nfc.addTagDiscoveredListener and place the tag, I get an
alert when reading.
I will for sure get my reading started...
Thanks..
Allan
On Sat, Feb 14, 2015 at 4:46 PM, Don Coleman<EMAIL_ADDRESS>wrote:

I'm guessing that your Mifare Classic tag is not formatted as NDEF and
you're using nfc.addNdefListener. In this case Android see the tag, but
your app won't get the data since you're asking for NDEF info.
You can use NXP TagInfo
https://play.google.com/store/apps/details?id=com.nxp.taginfolite&hl=en
to read the NFC tag to verify this assumption. In that case
nfc.addTagDiscoveredListener
https://github.com/chariotsolutions/phonegap-nfc#nfcaddtagdiscoveredlistener
will read the NFC tag id. Alternatively you can use NXP Tag Writer
https://play.google.com/store/apps/details?id=com.nxp.nfc.tagwriter&hl=en
to write an NDEF message on that tag.
Note that newer phones with the Broadcom NFC chipsets will not be able
to read Mifare Classic tags.
Your S3 has the NXP chipset so you should be OK.
You should get our NFC book
http://shop.oreilly.com/product/0636920021193.do ;)
—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74395338
.

New devices like Nexus 5 or Galaxy S4/5 have new reader chipset, Mifare 1k
are not supported anymore. Only NTAG tags are fully supported. My Nexus 5
can read only the serial of Mifare but cannot get NDEF records, even if I
have formatted them with my Nexus 4.
Il domenica 15 febbraio 2015, Allan Naranjo<EMAIL_ADDRESS>ha
scritto:

Hi,
Correct, when used nfc.addTagDiscoveredListener and place the tag, I get an
alert when reading.
I will for sure get my reading started...
Thanks..
Allan
On Sat, Feb 14, 2015 at 4:46 PM, Don Coleman<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

I'm guessing that your Mifare Classic tag is not formatted as NDEF and
you're using nfc.addNdefListener. In this case Android see the tag, but
your app won't get the data since you're asking for NDEF info.
You can use NXP TagInfo
<https://play.google.com/store/apps/details?id=com.nxp.taginfolite&hl=en
to read the NFC tag to verify this assumption. In that case
nfc.addTagDiscoveredListener
<
https://github.com/chariotsolutions/phonegap-nfc#nfcaddtagdiscoveredlistener
will read the NFC tag id. Alternatively you can use NXP Tag Writer
<
https://play.google.com/store/apps/details?id=com.nxp.nfc.tagwriter&hl=en>
to write an NDEF message on that tag.
Note that newer phones with the Broadcom NFC chipsets will not be able
to read Mifare Classic tags.
Your S3 has the NXP chipset so you should be OK.
You should get our NFC book
http://shop.oreilly.com/product/0636920021193.do ;)
—
Reply to this email directly or view it on GitHub
<
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74395338
.

—
Reply to this email directly or view it on GitHub
https://github.com/chariotsolutions/phonegap-nfc/issues/170#issuecomment-74397029
.


aws beanstalk cannot be confirmed by only checking CNAME

Script is currently giving a false positive for aws beanstalk. This is due to not checking the availability. Maybe I can implement a check through API call.

Related to https://github.com/EdOverflow/can-i-take-over-xyz/issues/147


Roadmap: Hybrid Recommender?

Hi,
I was looking at LightFM and saw item and user metadata being used for recommendations. This is really cool. Just wondering if such functionality is in the roadmap for spotlight?

You can do this right now by constructing your representation layers in the right way.
For example, you can create an item representation layer that stores item metadata, then use the item indices passed into it during training to retrieve the metadata and return its representation as part of the item representation.
For example, you could write something like this:
class FeatureLayer(nn.Module):

    def __init__(self, features, hidden_dim=32):

        super(FeatureLayer, self).__init__()

        self._hidden_dim = hidden_dim
        self._feature_dim = features.shape[1]
        self._features = Variable(torch.from_numpy(features.astype(np.float32)))
        self._hidden = nn.Linear(self._feature_dim, self._hidden_dim)

    def forward(self, item_indices):

        batch_size, sequence_length = item_indices.size()

        # Flatten the indices
        features = self._features[item_indices.resize(batch_size * sequence_length)]

        # Apply any transformation layers
        features = self._hidden(features)

        # Reshape again into (minibatch, sequence, embedding)
        features = features.resize(batch_size, sequence_length, self._hidden_dim)

        return features

This is great. Thanks!

@maciejkula Think it might be worth throwing some logic around this idea? Might be a good way to help the sequence models with cold-starting right?

How could this be applied to sequence models like the causal convolutional network?


Cow: Watch thecooktopmat.com

Cow requests the watch of the watch_keyword thecooktopmat\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

thecooktopmat\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by VLAZ in Charcoal HQ


JSON Errors when using Oobabooga Text Generation

My only modification was commenting the only display the first line of error for a detailed report.
Error:

OS: Windows 10 22H2
Oobabooga installed with the 1-click installer, with xformers.
It works just fine on Dalai, but I want to use my GPU for both Text Generation and Stable Diffusion

hmm. I just updated by oobabooga and ran sallybot and it seems to work ok for me on this end. My only suggestion would be to try update ooba on your end first, then after updating if it still doesn't work, verify the webui works to generate text.
Also, make sure you are using the right args on your oobabooga, which now needs to be written in the webui.py file in the main ooba folder with all the .bat files now. Check readme (github main page for sallybot) at the ooba instructions section and you'll see we updated them to reflect the new process now, and all the args that you need to paste in are there

P.S: you have to use --extensions api on oobabooga for now as default API was giving me bugs and does not work right.
I get the feeling ooba cycled around to using the default API here and is getting the json bug I mentioned. Try restarting sallybot and as long as --extensions api is running on ooba, it should connect.

I was using --extensions api but I found the issue, other apps taking up the ports and needing to update it, Thanks!


Allow piecemeal migration from EmberAf non-enum-class enums to cluster-objects enum classes

Problem
No real plausible path to migrate to strongly typed cluster-objects enums.
Change overview
Introduce such a path, so it can be done on a per-enum basis, not for everything at once (which seems hard to imagine happening).
Testing
Tree compiles.  No expected behavior changes.

What is the expectation for clusters to move over for TE7.5? Do we need to document the process by which they would do so? Is this work tracked somewhere?

What is the expectation for clusters to move over for TE7.5? Do we need to document the process by which they would do so? Is this work tracked somewhere?

I don't think this is work that needs to be done for TE7.5.  It's mostly SDK-internal cleanup, except insofar as we expose cluster-objects as our API surface.  The enum values are not changing; just how you name them and whether they are enum class.
The process to move an enum over is to remove its entry from the list, then fix all the compile errors.  It's not documented, really, but I could add a comment in the JS.
This is not tracked anywhere, because we are not really tracking "code cleanliness/sanity" work, as far as I can tell.

@carol-apple @pan-apple @msandstedt @saurabhst @LuDuda @Damian-Nordic @jepenven-silabs @jmartinez-silabs Please review?


Cli - Provide a way to get the default project that is currently set as part of log in.

rancher version - v1.0.0-alpha5
Currently there is no way to look up the default project that is currently set as part of log in.
We need a way to look up the  default project.

Run rancher login --context, release here

Tested with rancher-v1.0.0-alpha8
rancher login --context  provides info about the default project.


response.headers.headers to access the headers.

Problem: I need to access response.headers.headers instead of response.headers as per documentation
Setup

ExpressJs with custom auth middleware that only sents the cookies
Windows with git bash terminal and vs code

Code to replicate

Make sure the server is up and running
Remove the '' quotes from my code at the beginning and end

'### Create a subscription (good weather test)
POST http://localhost:3000/api/subscriptions
Content-Type: application/json
Origin: http://localhost:3000
{
"email"<EMAIL_ADDRESS>}

{%

client.test("Create subscription - good weather test", function() {
    // Log all keys in the response headers
    const headers = response.headers.headers;
    Object.keys(headers).forEach(key => {
        console.log(key);
    });
    client.assert(response.status === 201, "Response status should be 201");
    client.assert(response.body.message === "Subscription created successfully", "Response body should contain the correct success message");

});

%}'

I don't understand the ticket right now. Do you want to use it like this and it doesn't work, or do you currently have to call the API like this? The latter would be wrong.

I have to call response.header.header to actually get the headers. I am using expressjs and i am not adding any headers manually.

Now I'm back in context. You are using the Intellij HTTP Client API here. Access in this API is not via property but via valueOf. see https://www.jetbrains.com/help/idea/http-response-reference.html#headers-reference.
The fact that the concept with response.headers.headers works here is simple, because Typescript private is not really private.
Please use the correct Intellij syntax or change the brackets to {{, then the direct access via response.headers will also work.


travis: add back testinstances install

This was dropped in the test-suite upgrades as part of the py3
compatibility push.  As a result, the before-scripts fail, because there
is no testinstances installation outside the virtualenvs, and so every
TestCase has to instantiate a new test cluster.  Adding this back makes
things run a bit smoother.

Judging from the output, travis-ci is content with this config update. The speedup is more modest than I'd hoped.