Devise a way to create smart guidebases

Noted from this comment:

Fibula cutting guide with implant positioning drill guides

The inner surface of the cutting guide. Excess and irregularities will be trimmed off after 3D printing is done.

We should preprocess the guidebase digitally in same way the above 3D-printing post-processing step is avoided

If a transform is applied to the fibula CT and segmentation so the (also transformed) fibulaLine matches the superior direction (i.e. [0,0,1]) then a mask can be created to extend from fibulaLine outwards with rectangular shape, the only constrain is the angle should be less than 90° (see the picture below)

And maybe this guideBase segmentation could be automated by just drawing the angle markup

We should preprocess the guidebase digitally in same way the above 3D-printing post-processing step is avoided

There's another way of creating guide bases that @lassoan proposed (use of DynamicModeler's CurveCut and Hollow tools) and I improved (by preprocessing the input data and keeping only faces with acceptable normals). This should improve the guidebases creation experience a lot.

We could also propose an oriented square that would delimit an almost axial (e.g. normal equal to fibulaLine) 2D projection of the fibula model from most distal cut to most proximal cut (adding some fixed margin) and then extrude that square on fibula line direction, then do a extruded bigger rectangle and do a difference boolean operation. Something like this:

This guidebase design could be automatic and quick to compute

The greenish fibula projected model over the red slice view could be achieved with Delaunay2D and as the result is a convex polygon the guide base could be created from it. There is also the option of using Delaunay3D with the fibula model between the most marginal osteotomies to generate the fibulaGuideBase. And it could work for mandibleGuideBase too

For Delaunay3D check also using vtkGeometryFilter (or vtkDataSetSurfaceFilter) after it


Fixed 76 QueryParser Failing Tests

This fixes 76 of the 77 failing tests in QueryParser. The remaining one is a matter of completing the test implementation (or removing it entirely depending on exactly how to handle the TimeZone).

Let's take the discussion on TimeZone to the dev@ mailing list - can you please start a thread there explaining the issue / dilemma and I will follow up?

Great job, merging this now


feature: add supports for zipkin-dependencies job as a k8s cronjob

Feel free to suggest some changes
Regards

sorry I accidentally wasn't watching this repo. looking now

https://github.com/openzipkin/zipkin-helm/pull/13 will backfill a basic test.

so the key here is that ct install runs all the configuration in ci/*values.yaml

I think to help I'll try to get a test for elasticsearch config in the first place, then doing something like this will be easier to verify. I'll plug at this slowly unless you beat me to it!

ok https://github.com/openzipkin/zipkin-helm/pull/17 sets up the baseline to test this https://github.com/openzipkin/zipkin-helm/pull/17
Here's the jist of things needed to land this reliably:

make sure the dependencies job is overriding "command" to "start-zipkin-dependencies", so it doesn't also start its own cron
update schema for the new values
make ci/elasticsearch-values.yaml extend dependencies-values.yaml
change test/test-connection to invoke the dependencies container when the storage type isn't mem, between calling the frontend and reading back the dependencies links

I'll wait on you to tell me how comfortable you feel with these steps, and forgive me not eyeballing some change I didn't think about.


Ableton Plugin Requires 9.7.2

Any chance you could make a build for 9.6? :)

Sorry you're having trouble with the plugin. I'm not sure why it would require 9.7.2 besides being made with the most recent version of live. I know it's not exactly what you're asking, but if you do have 9.6 you should be able to upgrade to the most recent version of live for free https://www.ableton.com/en/help/article/latest-live-version/.


unexpected TIME_WAIT  on database server after close connection

golang client: server1
db: server2
my program connect to database server1, and close after query. sometimes, TIME_WAIT appear on  the database server.
this is unexpected. how can i solve it.
this is my test code:

func query() {
	conn, err := sqlx.Connect("mysql", "root:root@(server1_ip:3306)/?charset=utf8&timeout=2s")
	if err != nil {
		fmt.Println("connect error")
		return
	}
	conn.SetMaxOpenConns(1)
	conn.SetMaxIdleConns(10)

	defer conn.Close()

	var tmp = 0

	err = conn.Get(&tmp, "select 1")
	if err != nil {
		fmt.Println("select error")
	}
}

func main() {
	for {
		fmt.Println("start query")
		query()
		time.Sleep(time.Millisecond * 200)
	}
}

On an high frequent application on the web which opens a mysql-connection per request, a high amount of TIME_WAIT connections is expectable. There is nothing wrong with it.

https://stackoverflow.com/questions/5062839/mysql-time-wait-too-many-connections-problem#:~:text=If the client closes the,packets from a former connection.

get it


Bugfix/fix check simple failover test attempt3

Scope & Purpose
Test only bug-fix. The test now does behavioral test on replication, testing that after a failover all data is still available. Before it tested internals on logs and ids.
As this is a test only change no CHANGELOG entry is made.

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[ ] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[ ] Backports

[ ] Backport for 3.10: (Please link PR)
[ ] Backport for 3.9: (Please link PR)
[ ] Backport for 3.8: (Please link PR)

Related Information
(Please reference tickets / specification / other PRs etc)

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

The red test is unrelated


[FEATURE REQUEST] Add basic testing infrastructure and documentation

There should be some testing infrastructure for gtk4-rs apps and internal code that's reusable and documented.
At least something as a convenient entry point for running tests that rely on GTK (something similar to https://github.com/gtk-rs/gtk4-rs/blob/master/gtk4/src/lib.rs#L62).
I've seen https://github.com/gtk-rs/gtk-test/issues/47 and to be honest, I don't have a lot of resources currently, too, but I hope we can at least work together to enable some basic functionality for the upcoming release.

cc @jf2048 as you wanted the test_synced to be public as well

I am not sure what would be needed other than making that function available + some examples. I wonder if the gtk_test_init would be any useful for this case?

Yes, it seems like that needs to be public (or it needs to be copied) if someone wants unit tests for any gtk widgets, or for gtk4-macros, libadwaita-rs, libshumate-rs, libpanel-rs, sourceview5-rs, etc. Seeing a gtk4-test would also be good and probably not too hard

This issue is still a problem though: #811
Although maybe it's not that bad in practice since the tests all run synchronously anyway?


Internet speed drops when an application is running

When the app is running, the internet speed drops from 200 mbps to 40 mbps
Macbook Pro 16 M1 Pro 2021 16 Gb Ventura

Can you post evidence as to the app being responsible for this change?

I have been able to reproduce the same issue. With the app running my speed average drops from 400-500 to 100-200.  I have done several attempts.

Same issue, this classifies as a "pattern"
Neardrop on 116mps off 590mbps

IDK, I can't reproduce this problem. I pay for 200 mbit, I get 200 mbit.

NearDrop just running shouldn't affect your network speed. The only thing it does is listen on a TCP port for incoming connections (that's fully passive) and advertise a service via mDNS (a.k.a. Bonjour, how Apple calls it). The mDNS part supposedly only responds to broadcast packets that Android devices send when looking for receivers, otherwise doing nothing. But that's implemented by the system, in the daemon called mDNSResponder.

IDK, I can't reproduce this problem. I pay for 200 mbit, I get 200 mbit.
NearDrop just running shouldn't affect your network speed. The only thing it does is listen on a TCP port for incoming connections (that's fully passive) and advertise a service via mDNS (a.k.a. Bonjour, how Apple calls it). The mDNS part supposedly only responds to broadcast packets that Android devices send when looking for receivers, otherwise doing nothing. But that's implemented by the system, in the daemon called mDNSResponder.

is the app running at the same time? running 13.2.1

IDK, I can't reproduce this problem. I pay for 200 mbit, I get 200 mbit.
NearDrop just running shouldn't affect your network speed. The only thing it does is listen on a TCP port for incoming connections (that's fully passive) and advertise a service via mDNS (a.k.a. Bonjour, how Apple calls it). The mDNS part supposedly only responds to broadcast packets that Android devices send when looking for receivers, otherwise doing nothing. But that's implemented by the system, in the daemon called mDNSResponder.

Created a "NEW USER" account no other apps running/ fresh OS same result
Im paying 500mbps, Blessed to get close to 600, but drops like a rock to 116mbs definitely an issue
How about you fly me to Alaska we can meet there and i can show you LOL JK.
Seriously the app needs work

I have been able to reproduce the same issue. With the app running my speed average drops from 400-500 to 100-200. I have done several attempts.

You running OCLP what year is your Macbook?

OCLP

I don't know what it... I am running 14" M1 Pro 2021

then you not Running it LOL its a bug... developer just needs to recognize and fix it.. we'll see...
I just run and quit when i need it.. app has a serious leak

I am also seeing a significant speed drop!

awe, everyone except the developer, interesting  LOL have to launch and quit each time I use it..

Stop treating the developer like a machine that works for you, you are not even paying for anything here. Don't forget that anyone also could open PRs to fix it.
@grishka I think you are not able to reproduce it because of your network speed is already on the limit to the speed during the bug. If you can get somewhere a faster connection maybe you can reproduce it.

I'm experiencing the same issue, however, I'm at the limit of my WiFi range, so it's happening at lower speeds: I get about 32 Mbps, dropping to about 17 when I open NearDrop.

jesuslopezxing : Not treating the Developer like a "Machine".  Its about taking "Ownership" of an issue the developer has a duty to do for its users.
There are numerous reports of issues, and the developer denies it ? he is using a "special" mac we dont have ? LOL
Its about accountability

The license for this app explicitly says that nothing is guaranteed. I'm just putting this stuff out there for everyone to use but I have no obligations whatsoever.
If you want to debug this problem, go for it. Pull requests that fix bugs are welcome too.

Oh, so there is now a bug of sudden... typical

Maybe there is, maybe there isn't. We don't know until someone could both reproduce this issue and debug it.
DO NOT USE this app as a "Login item"
Since the developer (obviously) will not correct this bug, this is the method we have to use...

@macmanjimmy any chance you could try to debug this issue? Set up Xcode, set up the project, try to run it. A tool like Wireshark might help you find what is happening and you could report it here or, better yet, find a solution. It would be very helpful to anyone trying to solve the issue and significantly reduce the time involved, plus it would be an opportunity for you to contribute to a very interesting open source project.

whoa.... easy on the language "Comrade", no tears in your "Borscht"

If you want to bring out my Russian-ness, then I have to say that we have a term in our internet slang for the state of mind you're experiencing — "пукан бомбанул". I encourage you to do an image search for this.
And, @davystrong is right.  If you manage to fix it, or at least determine the cause, we'll be thankful.

Probably my issue is related to this one. When the app is running, I observe increased network latency. It's visible everywhere, even when I ping a router:

NearDrop is running, min/avg/max/stddev = 1.407/51.946/251.638/74.576 ms
$ ping -c 20 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=33.123 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=75.757 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=122.260 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=163.116 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=207.407 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=1.797 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=64 time=1.627 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=64 time=1.720 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=64 time=2.102 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=64 time=1.481 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=64 time=1.829 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=64 time=1.679 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=64 time=44.561 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=64 time=88.844 ms
64 bytes from <IP_ADDRESS>: icmp_seq=14 ttl=64 time=8.853 ms
64 bytes from <IP_ADDRESS>: icmp_seq=15 ttl=64 time=251.638 ms
64 bytes from <IP_ADDRESS>: icmp_seq=16 ttl=64 time=7.148 ms
64 bytes from <IP_ADDRESS>: icmp_seq=17 ttl=64 time=1.748 ms
64 bytes from <IP_ADDRESS>: icmp_seq=18 ttl=64 time=20.817 ms
64 bytes from <IP_ADDRESS>: icmp_seq=19 ttl=64 time=1.407 ms

--- <IP_ADDRESS> ping statistics ---
20 packets transmitted, 20 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.407/51.946/251.638/74.576 ms

No NearDrop, round-trip min/avg/max/stddev = 1.237/1.591/2.055/0.206 ms
$ ping -c 20 <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: icmp_seq=0 ttl=64 time=1.703 ms
64 bytes from <IP_ADDRESS>: icmp_seq=1 ttl=64 time=1.401 ms
64 bytes from <IP_ADDRESS>: icmp_seq=2 ttl=64 time=1.704 ms
64 bytes from <IP_ADDRESS>: icmp_seq=3 ttl=64 time=1.643 ms
64 bytes from <IP_ADDRESS>: icmp_seq=4 ttl=64 time=1.358 ms
64 bytes from <IP_ADDRESS>: icmp_seq=5 ttl=64 time=1.615 ms
64 bytes from <IP_ADDRESS>: icmp_seq=6 ttl=64 time=1.543 ms
64 bytes from <IP_ADDRESS>: icmp_seq=7 ttl=64 time=1.409 ms
64 bytes from <IP_ADDRESS>: icmp_seq=8 ttl=64 time=1.818 ms
64 bytes from <IP_ADDRESS>: icmp_seq=9 ttl=64 time=1.613 ms
64 bytes from <IP_ADDRESS>: icmp_seq=10 ttl=64 time=1.355 ms
64 bytes from <IP_ADDRESS>: icmp_seq=11 ttl=64 time=2.055 ms
64 bytes from <IP_ADDRESS>: icmp_seq=12 ttl=64 time=1.731 ms
64 bytes from <IP_ADDRESS>: icmp_seq=13 ttl=64 time=1.237 ms
64 bytes from <IP_ADDRESS>: icmp_seq=14 ttl=64 time=1.404 ms
64 bytes from <IP_ADDRESS>: icmp_seq=15 ttl=64 time=1.657 ms
64 bytes from <IP_ADDRESS>: icmp_seq=16 ttl=64 time=1.657 ms
64 bytes from <IP_ADDRESS>: icmp_seq=17 ttl=64 time=1.310 ms
64 bytes from <IP_ADDRESS>: icmp_seq=18 ttl=64 time=1.885 ms
64 bytes from <IP_ADDRESS>: icmp_seq=19 ttl=64 time=1.719 ms

--- <IP_ADDRESS> ping statistics ---
20 packets transmitted, 20 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.237/1.591/2.055/0.206 ms

I suppose it could be caused by wifi scanning. Topic with similar issue https://developer.apple.com/forums/thread/97805

Shhhhhh "Developer" is sensitive

When an Apple STA is coordinating peer-to-peer Wi-Fi work

That's an interesting clue. I just did a packet capture on awdl0, the interface for Apple's proprietary P2P Wi-Fi extension, and there are some MDNS packets when NearDrop exits and launches. I'm not sure about the specifics of how MDNS works, but maybe there are network configurations when this happens more often. Now I need to find a way to only advertise my MDNS service on specific network interfaces to test this hypothesis 🤔
Also why the hell did I do this?

Shhhhhh "Developer" is sensitive

Have you downloaded Xcode yet or are you just going to keep feeling entitled to other people's work for free while being entirely unhelpful?

Can you try this build to see whether it fixes anything? NearDrop.app.zip

Looks good.
--- <IP_ADDRESS> ping statistics ---
104 packets transmitted, 104 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.275/2.250/8.589/1.240 ms

@macmanjimmy иди нахуй 😘

@grishka - looks good here also. Thanks for all your hard work on this - such a useful utility 👍

Can you try this build to see whether it fixes anything? NearDrop.app.zip

Tested here too and looking good. Thanks!

Tested and seems to work here too. Thanks!

Not working for me... I can see my M1 Mac mini from my Samsung phone but nothing appears in my mac after trying to send a file...


cfo: implement PR fuzzing

When a PR is labeled with fuzz fuzzer_name, CFO will fuzz that PR
using the specified fuzzers (you can apply multiple labels to a PR).
The time is split 50:50 between all of the PRs and the main branch.
Implementation:

Use gh utility to talk to GitHub about open PRs
Add branch field to SeedRecord, to separate "things that fail on
main" from "things that fail in the PR"
On the "front-end", show seeds from all branches (that is, "one
failing seed per fuzzer per branch").

Tentatively assigning for a review as this is mostly ready, though I haven't done a self-review here yet.

Merged as is, but added some more explanatory comments and cleanups in https://github.com/tigerbeetle/tigerbeetle/pull/1916


XAudio2 and disposing

I am unsure of how I should handle disposing of objects in XAudio2.
I know many XAudio2 objects have methods like StopEngine() and DestroyVoice(), but are these functions automatically called when calling Dispose on such an object?
In native code I know you would, but what about in SharpDX's case and C# memory management?
The XAudio2 has samples that use StopEngine/DestroyVoice and other samples that don't.

Afair, you need to handle them explicitly. Samples are not always accurate but often just to demonstrate a basic access to the API.


CODEOWNERS recognized as YAML

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.74.3
OS Version: 21H2

Steps to Reproduce:

Copy the following code:

- @M00TSDNS

Save it to ./.github/CODEOWNERS file
It's recognised as YAML

Ideal fix: map CODEOWNERS filename to Markdown. it is a custom format and should maybe just be plain text

Workaround is to install a CODEOWNERS extension:
https://marketplace.visualstudio.com/items?itemName=jasonnutter.vscode-codeowners
But ideally we just don't guess YAML here

Oh brill there's an extension! (My bad for the "Markdown" ping lol)
I did ask a question or two on automatic lang detection around the time it was implemented.
IIRC "custom langs" came up but it was a very involved discussion and presumably nobody wanted that blocker :P
I really like the approach suggested in https://github.com/yoeo/guesslang/issues/45#issuecomment-928311323. Source code is super regular and repeats keywords or punctuation a lot, so unless we're dealing with a SQL, Pythonic or Lua like language, the model chain would be great.

Currently when I open CODEOWNERS files I get a bunch of "Unexpected scalar token in YAML stream" errors. Installing an extension is fine, but it shouldn't be required to avoid errors like this especially for such a common file.

Linking this to the mega issue for followup https://github.com/microsoft/vscode/issues/131450


Float16 quantized DistilBERT model performs poorly

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes.
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Colab
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):
TensorFlow version (use command below): 2.3
Python version:
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:
GPU model and memory:

Describe the current behavior
I used the DistilBERT model for a text classification task with the SST-2 dataset. Now, when I use the float16 quantization recipe to convert the trained model to TensorFlow Lite the performance drops significantly (90% validation accuracy to ~50%). Upon investigating more I found out the TensorFlow Lite float16 quantized model always outputs nan. I am not sure why this is the case. When I convert the original model using dynamic-range quantization the performance is retained greatly.
Describe the expected behavior
The float16 quantized model should not return nan.
Standalone code to reproduce the issue

Model training and conversion notebook
TensorFlow Lite model evaluationn notebook

This is a part of a project called BERT for Mobile where I plan to compare two different BERT models designed specifically for mobile deployments - DistilBERT and MobileBERT. Currently, I have only taken text classification as the NLP task. I plan to also include question answering in the future.
Cc: @MeghnaNatraj @khanhlvg

Hi. Any updates on this?

@sayakpaul we're looking into this now, will provide an update as soon as we have one.

Thanks, @MeghnaNatraj. If you'd need the SavedModel let me know.

Hi,
I tried to reproduce this but was not successful. I executed the two models in a Python script like this:
 import numpy as np

  # Load the TFLite model and allocate tensors.
  fp32_model = "./distilbert_fp32.tflite"
  interpreterf32 = Interpreter(model_path=fp32_model)
  interpreterf32.allocate_tensors()
  fp16_model = "./distilbert_fp16.tflite"
  interpreterf16 = Interpreter(model_path=fp16_model)
  interpreterf16.allocate_tensors()

  # Get input and output tensors.
  input_details = interpreterf32.get_input_details()
  print(input_details)
  output_details = interpreterf32.get_output_details()

  # Test the model on random input data.
  input_shape0 = input_details[0]['shape']
  input_shape1 = input_details[1]['shape']
  input_data0 = np.array(np.random.random_sample(input_shape0), dtype=np.int32)
  input_data1 = np.array(np.random.random_sample(input_shape1), dtype=np.int32)

  interpreterf32.set_tensor(input_details[0]['index'], input_data0)
  interpreterf32.set_tensor(input_details[1]['index'], input_data1)
  interpreterf32.invoke()
  output_dataf32 = interpreterf32.get_tensor(output_details[0]['index'])
  print(output_dataf32)

  interpreterf16.set_tensor(input_details[0]['index'], input_data0)
  interpreterf16.set_tensor(input_details[1]['index'], input_data1)
  interpreterf16.invoke()
  output_dataf16 = interpreterf16.get_tensor(output_details[0]['index'])
  print(output_dataf16)

but when I executed, I got an expected output (a float value in each case, fp16 quantized model producing a value that is similar but not exactly the same as the fp32 model):
INFO: Created TensorFlow Lite delegate for select TF ops.
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

[{'name': 'serving_default_bert_input_ids:0', 'index': 0, 'shape': array([  1, 128], dtype=int32), 'shape_signature': array([ -1, 128], dtype=int32), 'dtype': <class 'numpy.int32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}, {'name': 'serving_default_bert_input_masks:0', 'index': 1, 'shape': array([  1, 128], dtype=int32), 'shape_signature': array([ -1, 128], dtype=int32), 'dtype': <class 'numpy.int32'>, 'quantization': (0.0, 0), 'quantization_parameters': {'scales': array([], dtype=float32), 'zero_points': array([], dtype=int32), 'quantized_dimension': 0}, 'sparsity_parameters': {}}]
[[0.4656006]]
[[0.46526226]]

I'm not sure how to proceed. Is it easy for you to attempt converting the model again to TFL using the latest code?

Also, please confirm that if the problem is reproducing, I should see Nan as the output. thanks!

Thanks for looking into this, @talumbau. Did you use the same notebooks (linked in the issue above) to generate the fp32 and fp16 models? Also, which TensorFlow version did you use?

My colleague generated the graphs using your notebooks. I believe it was TF 2.3. Over to @khanhlvg to confirm.

I see. Could it be because you used random data as the inputs?
I think it's probably best to use this notebook if you want reproduce the results.

Is it your hypothesis that an input to the fp16 model produces Nans or do you have an example of an input to the fp16 model that causes a Nan? If it is the latter, can you provide such an input?

It's the latter. You can find the notebook from my previous comment to reproduce the same.

I am able to reproduce and am attempting to debug now.

It appears that very large values are stored in one of the float buffers of the float32 model. To be precise, Tensor at index 74 in the float32 DistilBERT model is filled with all values<PHONE_NUMBER>047466219876688855040.0 (1.0000000150474662e+30). This exceeds the range of the float16 type. The corresponding buffer in the fp16 model (Tensor at index 749, which is the output Tensor of the Dequantize Op taking Tensor 74) has all values inf which appears to be the default way to resolve the cast of float32 to float16 when the value exceeds the max float16 value. The inf values are multiplied by 0, with the result of nan, which then begins to propagate through the model. The damage is already done by the time we dequantize the fp16 nan to float32 nan, so one option might be to clamp to the max value of the float16 value when we are quantizing the weights tensors to float16. I will try converting the float32 Distilbert model with this option and re-run to see the impact on accuracy.

Thank you for this insight. Do you think there might be similar reasons for this issue?

For that issue, it doesn't look like float16 quantization is involved, so I suspect it's a different underlying problem.

Yeah right. It involves dynamic-range. The broader problem is the same - terrible drop in the performance although I understand it may be a different conversion problem.

@sayakpaul
This commit should have fixed the fp16 issue and will be included in tf-nightly build tomorrow.
https://github.com/tensorflow/tensorflow/commit/612a5fb91ed6a6c229c5f4932307747699cabe90

Thanks for letting me @khanhlvg. I think we found out an important numerical issue here and I am really glad the TFLite team took the time to investigate it. THANK yOU!

Just a note to say that I converted the f32 DistilBERT model with https://github.com/tensorflow/tensorflow/commit/612a5fb91ed6a6c229c5f4932307747699cabe90 applied and re-ran the inputs. No nans were in the output and the agreement was good, so I think it's appropriate to close. Thanks for finding and reporting!

Yes correct. The output looked like this (ignore the debug printing):
index= 0
INFO: Created TensorFlow Lite delegate for select TF ops.
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.999979]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

Inference result with fp16 model: [0.9999791]
index= 1
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.04669181]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.04674396]
index= 2
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.99949145]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.99949086]
index= 3
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.99908924]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.9990898]
index= 4
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00043762]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00043774]
index= 5
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.99986213]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.999862]
index= 6
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00101683]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.0010168]
index= 7
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here [657/1955] Inference result with fp32 model: [0.0096097]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00960544]
index= 8
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.8588852]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.85885197]
index= 9
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00107691]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00107661]
index= 10
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.99995357]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.99995345]
index= 11
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00048542]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00048554]
index= 12
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00036857]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.0003686]
index= 13
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.40758246]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.40804586]
index= 14
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.00037163]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00037152]
index= 15
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.999975]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.999975]
index= 16
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.99706167]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.99706614]
index= 17
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.9996885]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.9996884]
index= 18
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.0014008]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00140226]
index= 19
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 600 nodes with 6 partitions.

casting to float here
Inference result with fp32 model: [0.0035983]
INFO: TfLiteFlexDelegate delegate: 6 nodes delegated out of 712 nodes with 6 partitions.

casting to float here
Inference result with fp16 model: [0.00360444]


Login not working

when i try to login
Not Logged In: You are not logged in. please login and try again.
please help me to remove above issue.
Thank you

Could you try deleting the app data and cache. Then try opening it. You should be able to login.

I tried but still got same

i think their is problem on facebook app id
how to generate facebook app id with setting?

Got It.

I'm glad you've got it working but for the reader's reference, if you make a fork you need to create a Facebook app at the developer dashboard.


hugging face demo does not work in my local environment

I followed the guide here https://github.com/kserve/kserve/tree/master/python/huggingfaceserver. I tried run hugging face server locally, but it doesn't work.
My running process is as follows:
First, create a conda environment:
conda create -n kserve python=3.10

Then, install the necessary packages:
C:\Users\myusername\AppData\Roaming\Python\Scripts\poetry install

After that, run this command
 python -m huggingfaceserver --model_id=bert-base-uncased --model_name=bert

Error message
(kserve) PS D:\GithubRepo\kserve\python\huggingfaceserver> python -m huggingfaceserver --model_id=bert-base-uncased --model_name=bert
D:\AppData\Miniconda3\envs\kserve\lib\site-packages\timing_asgi\utils.py:9: UserWarning: resource module not available for Windows, cpu time will be set to 0
  warnings.warn("resource module not available for Windows, cpu time will be set to 0")
INFO:kserve:successfully loaded tokenizer for task: 5
Some weights of the model checkpoint at bert-base-uncased were not used when initializing BertForMaskedLM: ['bert.pooler.dense.bias', 'bert.pooler.dense.weight', 'cls.seq_relationship.bias', 'cls.seq_relationship.weight']
- This IS expected if you are initializing BertForMaskedLM from the checkpoint of a model trained on another task or with another architecture (e.g. initializing a BertForSequenceClassification model from a BertForPreTraining model).
- This IS NOT expected if you are initializing BertForMaskedLM from the checkpoint of a model that you expect to be exactly identical (initializing a BertForSequenceClassification model from a BertForSequenceClassification model).
INFO:kserve:successfully loaded huggingface model from path bert-base-uncased
INFO:kserve:Registering model: bert
INFO:kserve:Setting max asyncio worker threads as 24
INFO:kserve:Starting uvicorn with 1 workers
INFO:kserve:Starting gRPC server on [::]:8081
Traceback (most recent call last):
  File "D:\AppData\Miniconda3\envs\kserve\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "D:\AppData\Miniconda3\envs\kserve\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "D:\GithubRepo\kserve\python\huggingfaceserver\huggingfaceserver\__main__.py", line 70, in <module>
    kserve.ModelServer().start([model] if model.ready else [])
  File "D:\GithubRepo\kserve\python\kserve\kserve\model_server.py", line 226, in start
    asyncio.run(servers_task())
  File "D:\AppData\Miniconda3\envs\kserve\lib\asyncio\runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "D:\AppData\Miniconda3\envs\kserve\lib\asyncio\base_events.py", line 649, in run_until_complete
    return future.result()
  File "D:\GithubRepo\kserve\python\kserve\kserve\model_server.py", line 224, in servers_task
    await asyncio.gather(*servers)
  File "D:\GithubRepo\kserve\python\kserve\kserve\model_server.py", line 188, in serve
    loop.add_signal_handler(
  File "D:\AppData\Miniconda3\envs\kserve\lib\asyncio\events.py", line 553, in add_signal_handler
    raise NotImplementedError
NotImplementedError
Traceback (most recent call last):
  File "D:\AppData\Miniconda3\envs\kserve\lib\site-packages\grpc\aio\_server.py", line 185, in __del__
  File "src\python\grpcio\grpc\_cython\_cygrpc/aio/common.pyx.pxi", line 120, in grpc._cython.cygrpc.schedule_coro_threadsafe
  File "src\python\grpcio\grpc\_cython\_cygrpc/aio/common.pyx.pxi", line 112, in grpc._cython.cygrpc.schedule_coro_threadsafe
  File "D:\AppData\Miniconda3\envs\kserve\lib\asyncio\base_events.py", line 436, in create_task
  File "D:\AppData\Miniconda3\envs\kserve\lib\asyncio\base_events.py", line 515, in _check_closed
RuntimeError: Event loop is closed
sys:1: RuntimeWarning: coroutine 'AioServer.shutdown' was never awaited

Environment:
My OS is Windows. My poetry version is Poetry (version 1.8.2).

I think it is because it only supports linux-based OS. Hope the documents can clarify it.

From what I understand, this should've been fixed with #3089 but from what I can tell from the Python documentation, asyncio loops don't support the "add_signal_handler()" method at all (see https://docs.python.org/3/library/asyncio-platforms.html)
The code suggest in #2915 would've worked as it catches the non-availability of the function but the fix implemented in #3089 does not. As a workaround one can either use the code from #2915 or simply set sig_list to an empty list on windows.
From #2915 :
# SIGQUIT is not available on Windows
try:
    sig_list = [signal.SIGINT, signal.SIGTERM, signal.SIGQUIT]
except:
    sig_list = [signal.SIGINT, signal.SIGTERM]

# add_signal_handler may not have been implemented
try:
    for sig in sig_list:
        loop.add_signal_handler(
            sig, lambda s=sig: asyncio.create_task(self.stop(sig=s))
        )
except:
    pass

or :
if sys.platform not in ['win32', 'win64']:
                sig_list = [signal.SIGINT, signal.SIGTERM, signal.SIGQUIT]
            else:
                sig_list = []


Similify Login process :: IDEA

Hi @Kiritsu,
Would you consider such feature passwordless login like https://github.com/PwdLess/Cierge where it can cut out the registration and forgot password screen have one screen where you can login using otp pin or magic link?

Hello!
It could be possible but only available for users that have specified a valid e-mail when they signed-up and/or when sign-up is enabled. Because e-mail is facultative and their token is the only way to authenticate.
I'll look into adding this feature, thank you!

Thank you @Kiritsu

Hello, I have been working on it a bit. Currently, it's not sending an email or anything (I still need to work on this part!) but it's creating a one-time token/auth link for the specified email
Step 1: Login

Step 2: Enter a valid user's e-mail

If you entered a wrong e-mail/empty field, it will return an error message.
Step 3: One-Time-Token received

Technically, you should have received in your e-mails either a link: https://localhost:44331/auth/login/ott/69293c88-48c3-472f-b922-10f91adb6b39 or your one-time-token: 69293c88-48c3-472f-b922-10f91adb6b39
Step 4: Validate One-Time-Token
Use the URL:
It will directly log you in and redirect you to the main page.
Manually enter the one-time-token:
On the login page, click Enter One-Time-Token which redirects to ~/auth/login/ott

Then click login and it will log you in, redirect you to the main page.
Of course, then, the one-time-token is getting invalidated by a service. By default, a one-time-token has a duration life of 30 minutes. I will add a way to configure that option.
Is that the kind of feature you wanted?

The views are pretty simple for now. I want a back end that works fine, then I'll be working on a front end.

Hi @Kiritsu,
Wow it looks great but may I ask if it would be ideal to rather have the token input on another page for security reason like bruit force token inputs and this allows users to use recapture on the token input page please see examples below:
https://github.com/PwdLess/Cierge/blob/master/Cierge/Filters/ValidateRecaptchaAttribute.cs
https://github.com/PwdLess/Cierge/blob/master/Cierge/Views/Account/TokenInput.cshtml
Other security enhancers could be:

[ ] Allow signup's so if user does not exist create the user and send pin, if signup capability is turned off then say example "If the email you specified exists in our system, we've sent a opt or magic link to it." this is nice for security so nobody knows if the account actually exists so they can guess the otp.
[ ] Block account based on many otp tries
[ ] Implement hidden recaptcha like https://github.com/PwdLess/Cierge/blob/master/Cierge/Filters/ValidateRecaptchaAttribute.cs where its based on score
[ ] XSS: (This is not important) Example: https://github.com/johnstaveley/SecurityEssentials

[ ] Incorporation of the WPL AntiXSS library to encode all output
[ ] Enforce the location of the scripts/assets/actions the browser can run using a content security
policy header
[ ] Feature Policy disallows features used in the browser such as camera, sync-xhr etc
[ ] Enables browser's anti-xss capabilities by sending the XSS-Protection header

Hello,
Thank you for your feedback. I'll try to implement reCAPTCHA's services.
Allow signup's so if user does not exist create the user and send pin
-> When you signup, it directly gives you your token, so yeah, I could auto-create an account and give them their token in case the user doesn't exist, but what happens if the user misspelled his e-mail/token? Would it create an account for nothing?
if signup capability is turned off then say example "If the email you specified exists in our system, we've sent a opt or magic link to it."
-> Good idea, haven't really thought of this and it's indeed better.
Block account based on many otp tries
-> Imagine an attacker has an e-mail list and tries to force-brute one of them, wouldn't it be better to block the access to the attacker instead of the account itself?
Implement hidden recaptcha
-> Sure! The user will also be able to enable/disable it etc.
And I have never heard of XSS, so I'm going to read what it is through your link.
Thank you very much for your contribution.

When you signup, it directly gives you your token, so yeah, I could auto-create an account and give them their token in case the user doesn't exist, but what happens if the user misspelled his e-mail/token? Would it create an account for nothing?

If mail address does not exist and is misspelled by end user and token has not been accepted within 5 minutes then delete the account so it can conpare on created timestamp is greater than 5 minutes and token has not been used delete the account. Lol I guess that can work but it feel like a hack remember the whole point is to move away from register forms and forget password. This how we could also handle it https://github.com/PwdLess/Cierge/blob/master/Cierge/Views/Account/Register.cshtml if mail address is new then prompt a register form I do not think that is a bad idea.

Block account based on many otp tries
Imagine an attacker has an e-mail list and tries to force-brute one of them, wouldn't it be better to block the access to the attacker instead of the account itself?

Great Idea !!

And I have never heard of XSS, so I'm going to read what it is through your link.

This is not important but nice to have

Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user.

Hi @Kiritsu,
Do you have anything to check-in?

Hello! Haven't got time to work on it yet. Also, holiday summer is over today so I will work depending on the free time I got after school days! :)

Sounds great thanks!

Hi @Kiritsu,
Has the below redirect been fixed so I can add auth email and otp on one screen frontend changes tonight

Thanks!
I added the form for validating an ott. If it fails it'll redirect to the other page tho. I'll change that later in the controller. (you can do it if you want to)

Not yet but feel free to do the front-end changes, it shouldn't break anything.

Will do :+1:

Hi @Kiritsu, So the image I posted early do you want the email and otp fields displayed or only show otp field when email otp has been request?

Let the email field in case for some reasons user has to request another otp

Okay cool so I will do it exactly like this but with buttons ofcause


[Bug] Places an extra block when replacing a block

Description
When I use left and right buttons in creative mode to replace a block which has another block behind it, an extra block is placed on the clicked surface.
Reproduction

Enter creative mode
Point to a block which has another block behind it
Hold a block
Press left and right buttons to replace the pointed block

Normal behavior
The held block should be placed in the place of the replaced one, and not placed on its surface.
Screenshot

Version

Minecraft: 1.19.4
Fabric loader: 0.14.21
Fabric api: 0.79.0
BridgingMod: v1.3.0

It was hard for me to recreate this but I think I managed to do it in the end?
v2.0.0 should fix this as the placement logic is pretty different. Closing as fixed for now :)


functionality to rename a project

At this point, there are some admin tools in pypa/pypi-legacy i'm not comfortable using to rename projects when users request such an operation. Some examples are modifications of case or underscore/hyphen swaps which are equivalent after applying safe_name (myPackage => mypackage, or my-package -> my_package)
We should establish a process and enforce it via whatever mechanism we use to perform such an operation (code, admin ui, carrier pigeon).

Renaming doesn't really work in general because even if you rename the file, the contents of said file are going to still be using the old name. The only renames that really work at all are if they normalize to the same thing.

Well, I guess we could allow you to rename as long as the normalization still matched, would that satisfy this issue?

In our meeting today we double-checked and agreed that this new admin feature can wait till after Warehouse launch.

(I was brought here by https://twitter.com/brainwane/status/976489373607772161)
Here's my use case:
https://pypi.python.org/pypi/coverage-space was originally named coverage.space, but I realized this was problematic because that name requires quoting to include in a Pipfile. I thought I could upload newer versions of the PyPI package as coverage-space, but I was getting an error message along the lines of "name must start with coverage.space". I couldn't find a way to rename the PyPI package so I ended up deleting all versions and uploading 1.0 as coverage-space.

Thanks @jacebrowning and I'm sorry for the trouble! We'll take this into account as we work on Warehouse and improve documentation and user support processes.
coverage.space/coverage-space looks like a cool project! (Here it is in the new PyPI.)

Is there any way I can upload a project under both names (or set up a redirect) to avoid broken downloads?

the two project names share the same normalized name, so a rename would have been more tenable before project deletion. unfortunately we don’t have tooling for a rename, so that would have had to have been built.
as far as what we do now, restoring deleted projects may be doable but is not a task we’ve undertaken before.
filenames cannot be reused, and I believe that will remain the strict rule, so the only real recourse to a project deletion is to upload replacement post0 or similar releases with the new name.

Thanks @ewdurbin. Based on a rough search, I don't see more than 1000 projects depending on the package I "renamed" and probably less than a few percent are actively maintained. I think I can manage to support those few affected.
It might be nice if going forward "normalized" names are treated as equivalent. That is to say:

An admin of "foo-bar" could upload "foo.bar" to the same package
A non-admin of "foo-bar" could never upload "foo.bar"

Blocked on https://github.com/pypa/warehouse/issues/4772.

No longer blocked.

@di do you have any policy/architecture concerns about this, or is it open for someone to implement? Is this something we should seek volunteer help to work on?
Since this potentially blocks #1506 I figure it's something worth pushing on.

I think this works now? If you upload a project and change the name, as long as it normalizes to the same name as before, the project will be renamed on PyPI. We don't support arbitrary renaming where you can rename foo to bar, but I don't think we ever really could?

Yeah, since #4783 we have the ability to rename a project when a new release is made.
This issue is a bit old, I think it might intend to allow admins or owners to rename a project without making a new release, but I'm not really sure that's necessary.

@ewdurbin and @jacebrowning could you reply and let us know whether your use cases are now taken care of?

looks like the "different name same normalization" use-case is covered by #4783 to me!

Yes, I believe my use cases are now taken care of.

OK, great, glad that's cleared up and sorry for misunderstanding!


Allow to use api keys for PowerDNS-Admin API calls

I would love to be able to use API keys to call the pda api, but it seems that it only supports basic auth which makes it quite difficult to do programmatically while also using LDAP auth.
Would this be something that an PR would be accepted for?

I'm using acme.sh with PDA API-Tokens.
I don't the API only allows basic authentication due to that.
How does your payload look like...?

I'm using acme.sh with PDA API-Tokens. I don't the API only allows basic authentication due to that.
How does your payload look like...?

I'm talking about endpoints like https://dns.<snip>.fi/api/v1/pdnsadmin/accounts or https://dns.<snip>.fi/api/v1/pdnsadmin/zones.
Aka pda specific ones.

The API via /powerdnsadmin only allows Basic Auth, and does not work for the users with AD authentication. I got the error [decorators.py:174] ERROR - Error: Invalid salt


Broken links

the links on sfmlprojects are relative, meaning that you can end up on https://sfmlprojects.org/libraries/about instead of https://sfmlprojects.org/about
also, the SFML projects logo can lead you to https://sfmlprojects.org/libraries/home

Hmmm only saw this issue just now.
Steps to reproduce:

Navigate to https://sfmlprojects.org/libraries/ including the trailing slash!
Navigation to other sites is now broken

Hmmm only saw this issue just now.
Steps to reproduce:

Navigate to https://sfmlprojects.org/libraries/ including the trailing slash!
Navigation to other sites is now broken

Will be fixed with the next page update

Will be fixed with the next page update

I'd completely forgotten about this

I'd completely forgotten about this


Ability to select and copy VS nodes

Operating system or device - Godot version:
72748d1363d090f33d5ca6b9c00142b5e8f7d78f
Issue description (what happened, and what was expected):
It would be awesome if we could just select and copy VS nodes (multiple ones as well as single one).
Also, copying nodes should be possible between different VS scripts.
This would allow us to create a 'palette' of the most commonly used nodes so we didn't need to find them in top down menu all the time. It would make working with VS a little more similar how painters work in graphic program, where they are making small palette of colors in a handy place and they are using a sampler when they want to change color.
Steps to reproduce:
Link to minimal example project (optional but very welcome):

Ctrl-D duplicates nodes, it works with multiple nodes.
On Mon, Aug 8, 2016 at 10:34 AM, kubecz3k<EMAIL_ADDRESS>wrote:

Operating system or device - Godot version:
72748d1
https://github.com/godotengine/godot/commit/72748d1363d090f33d5ca6b9c00142b5e8f7d78f
Issue description (what happened, and what was expected):
It would be awesome if we could just select and copy VS nodes (multiple
ones as well as single one).
Also, copying nodes should be possible between different VS scripts.
This would allow us to create a 'palette' of the most commonly used nodes
so we didn't need to find them in top down menu all the time. It would make
working with VS a little more similar how painters work in graphic program,
where they are making small palette of colors in a handy place and they are
using a sampler when they want to change color.
Steps to reproduce:
Link to minimal example project (optional but very welcome):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/6073, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2_SSdyQ1KY3Z_GyQabaGZDmP5xYeks5qdzBxgaJpZM4JfDEy
.

as for between scripts, I guess that should be added yeah, like some sort
of clipboard.
On Mon, Aug 8, 2016 at 10:36 AM, Juan Linietsky<EMAIL_ADDRESS>wrote:

Ctrl-D duplicates nodes, it works with multiple nodes.
On Mon, Aug 8, 2016 at 10:34 AM, kubecz3k<EMAIL_ADDRESS>wrote:

Operating system or device - Godot version:
72748d1
https://github.com/godotengine/godot/commit/72748d1363d090f33d5ca6b9c00142b5e8f7d78f
Issue description (what happened, and what was expected):
It would be awesome if we could just select and copy VS nodes (multiple
ones as well as single one).
Also, copying nodes should be possible between different VS scripts.
This would allow us to create a 'palette' of the most commonly used nodes
so we didn't need to find them in top down menu all the time. It would make
working with VS a little more similar how painters work in graphic program,
where they are making small palette of colors in a handy place and they are
using a sampler when they want to change color.
Steps to reproduce:
Link to minimal example project (optional but very welcome):
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/6073, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2_SSdyQ1KY3Z_GyQabaGZDmP5xYeks5qdzBxgaJpZM4JfDEy
.

@reduz roger! Updated first post title/description to reflect this :)

Tested on b276d92c8a63887df011032bc95d98bbb9c51c70, it's solved now

I wonder if this could allow to make #8046 too (or directly solves it?).

@eon-s well I haven't found any way to have scripts templates. You need to open script yourself, select some nodes, click ctrl+c. Then you can do ctrl+v in the same script to duplicate or in another one...

@kubecz3k but in the same way that is copied to clipboard could it be saved to a file?


Rename script template variables to runScript and/or runScriptContent

Options for the Assignment message:

RunScript
ScriptContent
RunScriptContent

Fixes some issue?

Codecov Report

Merging #683 (37ffd39) into master (3d4536f) will not change coverage.
The diff coverage is 88.88%.

@@           Coverage Diff           @@
##           master     #683   +/-   ##
=======================================
  Coverage   23.33%   23.33%
=======================================
  Files          70       70
  Lines       10322    10322
=======================================
  Hits         2409     2409
  Misses       7587     7587
  Partials      326      326

Flag
Coverage Δ

unittests
23.33% <88.88%> (ø)

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

Impacted Files
Coverage Δ

ci/run_tests.go
17.64% <0.00%> (ø)

assignments/walk_tests_repo.go
78.26% <100.00%> (ø)

ci/parse_script.go
100.00% <100.00%> (ø)

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 3d4536f...37ffd39. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

8 of 9 (88.89%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.898%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ci/run_tests.go
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2776

Relevant Lines:
10719

💛  - Coveralls


Segmentation Fault (core dumped) while training on 1.14

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Running a public github repo
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Linux Ubuntu 18.04.2 LTS
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: N/A
TensorFlow installed from (source or binary): 1.14.0
TensorFlow version (use command below): 1.14.0
Python version: 2.7
Bazel version (if compiling from source): N/A
GCC/Compiler version (if compiling from source): N/A
CUDA/cuDNN version: N/A
GPU model and memory: NVIDIA TITAN

Describe the current behavior
Every time I attempt to train the model, it always gives me an error message Segmentation fault (core dumped) at Epoch 0 sometime between 10/449 -  90/449. I'm also getting many warning messages saying that many of the methods being called, like tf.summary.FileWriter, tf.summary.merge, and more are deprecated.
Describe the expected behavior
The expected behavior is that it would finish training. Can you provide any recommendations as to how to stop it from seg faulting during training (and why it stops at a different point each time)? I'm wondering if the warnings could have to do with it?

@allangelman,
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

I would also suggest to try on 1.15 or 2.0 instead of 1.14

@allangelman,
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thanks!

I just updated my comment with the link to the repo I am trying to run, and the code snippet where I know it is seg faulting! Thank you!

@allangelman,
Please provide the simple standalone code to replicate the issue and indeed it will help us to move faster. Thanks!

Thank you for all the help! I was able to resolve the issue! The problem was that I hadn't installed the tensorflow-gpu package, so the entire time I was actually not even using my GPU! Running nvidia-smi helped me figure this out, as I was able to see the usage of my GPU.

Closing as issue is fixed


Btc to fiat rest api

Generally finished,
I have these questions for this.

@DavidGershony we talked about that currencyservice.cs can go into balanceDisplay but the current architectural of this doesn't work. (if we look at the utxo each of them is its own component they aren't the same one).
is there a better way to design it then? (right now i can think only that it can be precomputed like it is in the PR).

i added if (_NetworkConfiguration.GetNetwork().CoinTicker.Equals("BTC", StringComparison.OrdinalIgnoreCase)) because tbtc isnt real money (david's comment), so right now no users will see the actual change so we won't get feedback if theres something wrong.
should i comment it out for now?

there are more places I Could put balancedisplay but i'll wait to know if the logic is correct (because of 1)

Generally finished, I have these questions for this.

@DavidGershony we talked about that currencyservice.cs can go into balanceDisplay but the current architectural of this doesn't work. (if we look at the utxo each of them is its own component they aren't the same one).
is there a better way to design it then? (right now i can think only that it can be precomputed like it is in the PR).
i added if (_NetworkConfiguration.GetNetwork().CoinTicker.Equals("BTC", StringComparison.OrdinalIgnoreCase)) because tbtc isnt real money (david's comment), so right now no users will see the actual change so we won't get feedback if theres something wrong.
should i comment it out for now?
there are more places I Could put balancedisplay but i'll wait to know if the logic is correct (because of 1)

I believe it's sufficient to display the price only in the wallet and specifically for Bitcoin. I initially planned to implement this on the main page, but considering Angor's primary mission, I see this as an unnecessary addition.

considering Angor's primary mission, I see this as an unnecessary addition.

I agree, good call


No support for UseDevelopmentStorage=true on connection string

Package Name: @azure/data-tables
Package Version: 1.0.0-beta.3
Operating system: Windows 10
[X] nodejs

version: 10

[ ] browser

name/version:

[X] typescript

version: 3.3.3

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Description
The method TableServiceClient.fromConnectionString() does not support "UseDevelopmentStorage=true" shortcut.
Expected behavior
Should connect to emulator
Actual behavior
Exception is raised

Thanks for reaching out, I'll be happy to look into this issue. Can you please share the exception you're getting

Thanks for reaching out, I'll be happy to look into this issue. Can you please share the exception you're getting

I was able to find the root cause that currently prevents the SDK to support Storage Emulator #13159. I'm currently investigating a way to work around this problem. I will provide an update soon when I have a proposal. This is my top priority at the moment.

I was able to find the root cause that currently prevents the SDK to support Storage Emulator #13159. I'm currently investigating a way to work around this problem. I will provide an update soon when I have a proposal. This is my top priority at the moment.

The fix for this issue has been merged and a new version released. Please install the latest version of @azure/data-tables and let me know if you see any issues.
npm install @azure/data-tables@latest

Sample to create a client to test with the emulator:
const tableService = TableClient.fromConnectionString('UseDevelopmentStorage=true', 'testTable');

The fix for this issue has been merged and a new version released. Please install the latest version of @azure/data-tables and let me know if you see any issues.
npm install @azure/data-tables@latest

Sample to create a client to test with the emulator:
const tableService = TableClient.fromConnectionString('UseDevelopmentStorage=true', 'testTable');


Add default value for header types

Allow default values for headers

Closing as #207 will completely replace the implementation in this project.

Closing as #207 will completely replace the implementation in this project.


Translate legacy Json to messages

Add a Typescript library to handle legacy JSON and translate it to message format.
TODO:

[ ] handle matches (not available in JSON reports)
[ ] handle duration of results
[ ] handle stack traces correctly
[ ] fix problem with html-formatter on example acceptance/parameters/parameters.ndjson.html(note that passing the ndjson files to the json-formatter produces good results
[ ] detect JSON format

Add support for:

[x] cucumber-ruby json reports
[ ] cucumber-js json reports
[ ] cucumber-java json reports

🤩🤩🤩🤩🤩🤩🤩🤩🤩 this looks promising!!!! Can't wait to dive in.

Looks great! Overall changes we should make:

[ ] Improve streaming

[ ] Use pipe rather than stream event handlers
[ ] Move more code from cli to index so this can be used as a lib
[ ] cli only parses options and passes stdout and stdin to a lib function
[ ] Don't buffer built messages, write them immediately

[ ] Define a TypeScript schema for ruby json, js json, jvm json etc.
[ ] Change the parse method to process or traverse and don't return anything

[ ] Populates supportCode
[ ] Write GherkinDocument messages on the fly to the same stream we're passing later to runCucumber

[ ] Refactor towards a more functional design for the parser

[ ] Will make it easier to reuse functions that are the same for js/ruby/java/etc
[ ] Easier to test as well (no need to pass a full JSON doc)


Tweak What Color is Chosen

Sometimes the default from ColorThief.getColor() isn't really what you would think is the best color for that image.

Somewhat modified by #41 . Still needs work.


wasmtime: 0.16.0 -> 0.17.0

Motivation for this change
New release
https://github.com/bytecodealliance/wasmtime/releases/tag/v0.17.0
Things done

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

[x] NixOS
[x] macOS
[ ] 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.

@matthewbauer ping?

THX!


feat(shwap/bitswap): add blockstore metrics

Add telemetry for server side of bitswap (blockstore) operations.

Codecov Report
Attention: Patch coverage is 11.72840% with 143 lines in your changes missing coverage. Please review.

Project coverage is 44.41%. Comparing base (2469e7a) to head (4bb6c2b).
Report is 344 commits behind head on main.

Files with missing lines
Patch %
Lines

share/shwap/p2p/bitswap/blockstore_metrics.go
0.00%
141 Missing :warning:

nodebuilder/share/bitswap.go
71.42%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3862      +/-   ##
==========================================
- Coverage   44.83%   44.41%   -0.43%
==========================================
  Files         265      315      +50
  Lines       14620    21952    +7332
==========================================
+ Hits         6555     9750    +3195
- Misses       7313    11169    +3856
- Partials      752     1033     +281

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


On windows 7 I can't select a bookmark folder.

A box opens up but it contains no bookmark folders to choose from.

This problem was caused when I imported bookmarks from safari. If the bookmarks have a weird name (left-to-right mark), an invisible character, then this problem occurs.
sorry for the spam again...


RancherOS compatibility

Labeling RancherOS nodes with dynamic values like instance-id at startup is tricky since the Rancher integration is not a shell command. Would it be possible to have a 'global service' Docker container that updates a node with the appropriate labels?

If I understand you correctly, you want a container that:

runs in Rancher
iterates over all Rancher hosts using the Rancher API
for each host finds the corresponding instances in AWS
applies the "aws.instance_id" and "aws.availability_zone" label to the Rancher host using the Rancher API

Is my understanding correct?
Assuming so, it's step (3) that's the tricky one. The information available about a host in Rancher is not quite enough to easily identify it in AWS. That's why I introduced those labels in the first place. If we could solve that, there would be no need to have a separate service, and no need to label hosts either.
I'll have another poke around the Rancher API to see what might be possible. I'm open to suggestions if you have any ideas.

2 and 4 aren't quite right. I am thinking of a container that runs as a 'global service' ie an instance of this container runs on every host. This way you can make use of the ec2-metadata service at <IP_ADDRESS> to fetch data about the instance you are on without having to have any ec2 credentials or know anything about where you are.

Fetch the local-hostname, instanceid and placement/availability_zone from the ec2 metadata service at <IP_ADDRESS> (http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html)
Call the rancher API and find the host with the matching hostname
Apply the labels from #1.

If you label it as a 'agent' then it will automatically be spawned with variables for the config-url and credentials for rancher, so no hard-coding of either of these:
http://docs.rancher.com/rancher/v1.0/en/rancher-services/service-accounts/

OK gotcha.
What you're suggesting sounds feasible. It's not really something I'm willing to take on though, as I'm not a RancherOS user and I don't have the time to invest in this right now. If you decide to tackle it I'll drop a mention in the README though to help out other users.
The ideal solution of course would be having RancherOS be able to use the ec2 metadata in cloud-init. Seems that you're not the first to come across this problem:
https://github.com/rancher/os/issues/1178
https://forums.rancher.com/t/getting-ec2-metadata-to-rancher-host-labels-on-rancheros/1467
https://forums.rancher.com/t/ec2-metadata-and-cloud-init/2975


Namespace fix

See #577
I've fixed some missing imports and broken namespaces.
Also thows tags have been added.

I have fixed all of the requested changes. Thank you for constructive feedback.
Unfortunately one of the tests is failed. Could you restart it? On my branch everything is OK - in my opinion something is wrong on Travis, I have similar problem in another projects.

I applied the above changes myself and manually merged this PR in https://github.com/mongodb/mongo-php-library/commit/21d3595478d806e0a4c5f9e56ad35c9368a95fa2. The squashed commit with all changes is https://github.com/mongodb/mongo-php-library/commit/184a57fb2b03784b5c8897dac3b579dec7afb55c.
Thanks for the contribution!


feat: adds link to each card

Not sure if this is the right way to do it. Lemme know.. I'll change as per suggestions..

Hmm.. it works.. but that looks ugly.. I'll try fix some css..

The preview seems a little messed up. Have to edit the css as well.

I have not setup nettify.. gimme some time..

@joe733: Also, can you check if you got two pending pull requests on the Hacktoberfest site?
You don't need to setup netlify.
git clone https://github.com/joe733/Hack-NASA-using-HTML.git
cd Hack-NASA-using-HTML
yarn install
yarn start

You'll have a live server on https://localhost:8080.

@joe733: Also, can you check if you got two pending pull requests on the Hacktoberfest site?
You don't need to setup netlify.
git clone https://github.com/joe733/Hack-NASA-using-HTML.git
cd Hack-NASA-using-HTML
yarn install
yarn start

You'll have a live server on https://localhost:8080.

Thanks!
Nope the hacktober page has not updated yet. Zero valid PRs so far.

Oh, I thought it was instantaneous. Perhaps check after some time and let me know if you got two.

Hey, fixed it. And yes there are 2 PRs from this repo on hactoberfest.

I've made some small changes.

Moved card padding to  instead. Earlier the card padding region was not clickable.
Resolved merge conflicts.

okay 👍🏻  looks good to me


[plugin_not_installed] Ionic 4/5 Cordova Devapp

I'm running Ionic 5.4.1 for testing more recently since it didn't work on 4
Ionic: 5.4.1
Cordova: 9.0.0<EMAIL_ADDRESS>Tested on Android and iOS 13
I followed the instructions to install photolibrary, set up the privoder in app.module.ts
and whenever I call the function
this.photoLibrary.requestAuthorization().then(() => {
          this.photoLibrary.getLibrary().subscribe({
            next: library => {
              library.forEach(function(libraryItem){
                console.log(libraryItem.id);          // ID of the photo
                console.log(libraryItem.photoURL);    // Cross-platform access to photo
                console.log(libraryItem.thumbnailURL);// Cross-platform access to thumbnail
                console.log(libraryItem.fileName);
                console.log(libraryItem.width);
                console.log(libraryItem.height);
                console.log(libraryItem.creationDate);
                console.log(libraryItem.latitude);
                console.log(libraryItem.longitude);
                console.log(libraryItem.albumIds);    // array of ids of appropriate Alb
              });
            },
            error: err => {console.log('could not get photos'); },
            complete: () => { console.log('done getting photos'); }
          });
        }).catch(err => console.log(err));

I get this error:
[ng] [console.warn]: "Install the PhotoLibrary plugin: 'ionic cordova plugin add cordova-plugin-photo-library'" [ng] [console.log]: "plugin_not_installed"
I've tried a bunch of things:
PS C:\Users\Chuck\Documents\IonicApps\conveyor> cordova plugin list
? May Cordova anonymously report usage statistics to improve the tool over time? (Y/n) Error: ENOENT: no such file or di
rectory, open 'C:\Users\Chuck\.config\configstore\cordova-config.json'
? May Cordova anonymously report usage statistics to improve the tool over time? No

You have been opted out of telemetry. To change this, run: cordova telemetry on.
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-photo-library 2.2.1 "Photo Library"
PS C:\Users\Chuck\Documents\IonicApps\conveyor> ionic cordova plugin add cordova-plugin-photo-library --save
> cordova.cmd plugin add cordova-plugin-photo-library
Adding cordova-plugin-photo-library to package.json
PS C:\Users\Chuck\Documents\IonicApps\conveyor> ionic cordova plugin remove cordova-plugin-photo-library
> cordova.cmd plugin remove cordova-plugin-photo-library
Removing "cordova-plugin-photo-library"
Removing cordova-plugin-photo-library from package.json
PS C:\Users\Chuck\Documents\IonicApps\conveyor> ionic cordova plugin add cordova-plugin-photo-library --save
> cordova.cmd plugin add cordova-plugin-photo-library
Adding cordova-plugin-photo-library to package.json
PS C:\Users\Chuck\Documents\IonicApps\conveyor> cordova plugin list
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-photo-library 2.2.1 "Photo Library"
Error: ENOENT: no such file or directory, open 'C:\Users\Chuck\.config\configstore\cordova-config.json'
PS C:\Users\Chuck\Documents\IonicApps\conveyor> cordova plugin list
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-photo-library 2.2.1 "Photo Library"
Error: ENOENT: no such file or directory, open 'C:\Users\Chuck\.config\configstore\cordova-config.json'
PS C:\Users\Chuck\Documents\IonicApps\conveyor> ionic --version
5.4.1
PS C:\Users\Chuck\Documents\IonicApps\conveyor> cordova --version
9.0.0<EMAIL_ADDRESS>PS C:\Users\Chuck\Documents\IonicApps\conveyor>

and everytime I run this app on my test devices (physical devices NOT emulators) I can't seem to get them the library to work. ActionSheet and Camera plugins are working JUST FINE, but the PhotoLibrary seems bugged? Any idea which version I should try/switch to to ensure stability?
i'm running using ionic serve --devapp and running Ionic Devapp on my test devices.

I have a workaround using the cordova-plugin-camera, since I already use the camera plugin to take photos in my app, I found that I could use some tweaks to the camera options to open the library and select a photo as well
libraryOptions: CameraOptions = {
    quality: 100,
    destinationType: this.camera.DestinationType.FILE_URI,
    encodingType: this.camera.EncodingType.JPEG,
    mediaType: this.camera.MediaType.PICTURE,
    sourceType: this.camera.PictureSourceType.PHOTOLIBRARY
  }

then use this as your function to launch the Photo Library
this.camera.getPicture(this.libraryOptions).then((imageData) => {
          // imageData is either a base64 encoded string or a file URI
          // If it's base64 (DATA_URL):
          let base64Image = 'data:image/jpeg;base64,' + imageData;
          console.log(base64Image);
          // TODO: need code to upload to server here.
        }, (err) => {
          // Handle error
          console.error(err);
        });

This will do for my use case. It doesnt support picking multiple photos at once though but what you can do is code an intermediate modal that allows users to pick photos from their library and see the photos they've chosen before submitting the photos.


Issues with cfg dependency features (probably esp32-hal -> esp-hal-common)

There seem to be some issues when attempting to build simplest embassy example outside the esp-hal as its own project while same example works properly when building it inside the esp-hal repository.
How to reproduce:

Create a sample project cargo generate --git https://github.com/esp-rs/esp-template:

🤷   Project Name: esp32-embassy-poc
🔧   Destination: $HOME/esp32-embassy-poc ...
🔧   project-name: esp32-embassy-poc ...
🔧   Generating template ...
✔ 🤷   Use template default values? · true
✔ 🤷   Which MCU to target? · esp32
✔ 🤷   The template is requesting to run the following command. Do you agree?
cargo fmt · yes

Use `cargo run` to flash and run your code

🔧   Moving generated files into: `$HOME/esp32-embassy-poc`...
Initializing a fresh Git repository
✨   Done! New project created $HOME/esp32-embassy-poc

Copy example from esp32-hal/examples/embassy_hello_world.rs to  $HOME/esp32-embassy-poc/main.rs
Fix the dependencies in the Cargo.toml, so project can be built (based on Cargo.toml in the esp32-hal directory):

...

[dependencies]
#hal = { package = "esp32-hal", version = "0.12.0" }
esp32-hal = { version = "0.12.0", features=["embassy", "embassy-time-timg0"]}
esp-backtrace = { version = "0.7.0", features = ["esp32", "panic-handler", "exception-handler", "print-uart"] }
esp-println       = { version = "0.5.0", features = ["esp32"] }
embassy-executor = { version = "0.2.0", features = ["arch-xtensa", "executor-thread", "integrated-timers", "nightly"] }
static_cell = "1.0.0"
embassy-time = { version = "0.1.1", features = ["tick-hz-1_000_000"] }

Build the project and run the project on the device:

...
Init!

!! A panic occured in '$HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-hal-common-0.9.0/src/embassy/time_driver_timg.rs', at line 32, column 74

PanicInfo {
    payload: Any { .. },
    message: Some(
        called `Option::unwrap()` on a `None` value,
    ),
    location: Location {
        file: "$HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-hal-common-0.9.0/src/embassy/time_driver_timg.rs",
        line: 32,
        col: 74,
    },
    can_unwind: true,
}

Backtrace:

0x400eec88
0x400eec88 - core::panicking::panic
    at $HOME/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/panicking.rs:114
0x400dd000
0x400dd000 - core::option::Option<T>::unwrap
    at $HOME/.rustup/toolchains/esp/lib/rustlib/src/rust/library/core/src/option.rs:942
0x400df3b4
0x400df3b4 - esp_hal_common::embassy::time_driver::EmbassyTimer::now::{{closure}}
    at $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/esp-hal-common-0.9.0/src/embassy/time_driver_timg.rs:32
0x400e28d7
0x400e28d7 - critical_section::with
    at $HOME/.cargo/registry/src/github.com-1ecc6299db9ec823/critical-section-1.1.1/src/lib.rs:226
0x400df37d
...

After switching esp32-hal from 0.9.0 to latest git master (https://github.com/esp-rs/esp-hal#a82c9dbc), I get an almost working application, where tasks only run once:
Init!
Bing!
Hello world from embassy using esp-hal-async!

I fixed this in https://github.com/esp-rs/esp-hal/pull/523, could you try running the example in the hal and see if that works at least?

After switching esp32-hal from 0.9.0 to latest git master (https://github.com/esp-rs/esp-hal#a82c9dbc), I get an almost working application, where tasks only run once:

I was experiencing the original issue that @plaes posted. I switched to the latest git master as suggested, but similarly both task loops run once only.
When Timer::after(Duration::from_millis(1_000)).await; is removed it loops as intended (but obviously without the delay.)

After switching esp32-hal from 0.9.0 to latest git master (https://github.com/esp-rs/esp-hal#a82c9dbc), I get an almost working application, where tasks only run once:

I was experiencing the original issue that @plaes posted. I switched to the latest git master as suggested, but similarly both task loops run once only.
When Timer::after(Duration::from_millis(1_000)).await; is removed it loops as intended (but obviously without the delay.)

@bowdie Thanks to your input I finally figured it out..
In the example code, the timer initialization is behind the feature gate (embassy-time-timg0) and in order to build this example, you also need to supply --features=embassy-time-timg0,embassy) to cargo.
When you copy the example verbatim to a standalone repository and attempt to build it, embassy::init(...) stays behind the feature gate and is not included in compilation:
#[entry]
fn main() -> ! {

    ...

    #[cfg(feature = "embassy-time-timg0")]
    embassy::init(&clocks, timer_group0.timer0);

    let executor = EXECUTOR.init(Executor::new());
    executor.run(|spawner| {
        spawner.spawn(run1()).ok();
        spawner.spawn(run2()).ok();
    });
}

Which also explains the compile-time warning as well when building this example out-of-tree:
warning: unused import: `embassy`
  --> src/main.rs:14:5
   |
14 |     embassy,
   |     ^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

@MabezDev - What do you think? Should we close it as "PEBKAC issue", or would it make sense to somehow rework the examples so people won't shoot themselves in the foot in future..?

@plaes Thanks very much for spotting that. Confirming it's working as intended taking into account the feature gate.
It was very much Rust noob issue on my end, but I agree that some rakes could be picked up around the examples. Even something as simple as adding some comments above the feature gates indicating that they need to be removed when using in your own code would have been sufficient for a newcomer like me.

@MabezDev - What do you think? Should we close it as "PEBKAC issue", or would it make sense to somehow rework the examples so people won't shoot themselves in the foot in future..?

Yeah, this is quite the foot gun :D. Glad you figured it out! We can solve this quite easily with a build script check that at least one of the time driver implementations is implemented.

@MabezDev - What do you think? Should we close it as "PEBKAC issue", or would it make sense to somehow rework the examples so people won't shoot themselves in the foot in future..?

Yeah, this is quite the foot gun :D. Glad you figured it out! We can solve this quite easily with a build script check that at least one of the time driver implementations is implemented.

We're already checking various features in the build script in esp-hal-common, I guess we can add a check that if embassy is enabled then exactly one of embassy-time-timg0 or embassy-time-systick are enabled.

Sorry, forgot about this issue. Will try to get it tackled soon.


DynamoDB Integration with Serverless Offline

Reference:
https://www.npmjs.com/package/serverless-dynamodb-local

@nikgraf I played with this and was able to get some headway! One problem is that I am not 100% clear in case of API Gateway + Proxy to Dynamo DB how to simulate this locally. I was able to insert data in dynamo db locally but was confused on how to simulate API Gateway (my API Gateway has a proxy to dynamodb in request mapping template)

@sid88in from what I understand there is no need to do any integration. You just need to instantiate a different document storage location as described here https://github.com/99xt/serverless-dynamodb-local#using-dynamodb-local-in-your-code

hmm..maybe. For example: we can create API Gateway with Dynamo Proxy as described here: https://aws.amazon.com/blogs/compute/using-amazon-api-gateway-as-a-proxy-for-dynamodb/
So, now we create dynamo db on local and insert data (everything is good) but next step is to hit this API and fetch data from local dynamodb. I'll do some testing (didn't spend much time on this)

https://github.com/serverless/serverless-graphql-apollo/pull/163/files closed this PR. Dynamodb integration tested


How to use a schema instead of an introspection query in index.html?

Hi Team, first let me say what a great tool. Sorry if this belongs in the Discussions, but I didn't see any conversations there, so I am not sure if Discussions are being used.
What I am trying to do is create static documentation for our GraphQL API as part of our build and deployment process. I am using the SpectaQL tool and so far it's working great. I would also love to add an option to visualize our schema with GraphQL Voyager.
So let's make this simple. As proof of concept, I modified the index.html example in the following manner:
<!doctype html>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/graphql-voyager/dist/voyager.css" />

Where data is the result of executing an introspection query against our schema.
Works great! But during our build process I can't execute an introspection query. The only thing I have access to is our schema file.
I read some older issues and I see this seems to be a common question. I enabled allowToChangeSchema and played around with the tool, so I know it's possible to use an SDL string instead of the introspection query to render the schema. But I can't figure out how to do it (my knowledge of JS is limited).
I am trying to do something like this: const data = introspectionFromSchema(buildSchema(sdlText)) but it doesn't seem that buildSchema and introspectionFromSchema functions are available in voyager.standalone.js.
Are they minified? I am lost. Assuming I have const schema = ... how do I convert it to a JSON object representing the result of the introspection query?
Thanks a lot.

Your logic is correct, but the function introspectionFromSchema is not a Voyager function. It's a function provided by the GraphQL library, so you need to have it ready too. Maybe you could try from https://www.jsdelivr.com/package/npm/graphql

Hi. I'm sorry if I'm hijacking this issue, but I'm having the exact same problematic. It's not for a build process specifically, but I'm trying to use Voyager on a static HTML page, using an SDL string as the input.
To gain access to the introspectionFromSchema and buildSchema functions, I'm importing them from a local file that itself imports them from the 'graphql' library and sets them to window.
But when launching the page, I just have an infinitely loading icon. No errors are logged in the console, and I'm a bit at a loss as to what I'm doing wrong or how to go about debugging this.
Here's a full demo:
<!doctype html>

    <title>Voyager</title>

Loading Voyager...

The "graphql.bundle.js" file is generated from this file, named "graphql.js":
const { buildSchema, introspectionFromSchema } = require('graphql');

window.buildSchema = buildSchema;
window.introspectionFromSchema = introspectionFromSchema;

using this command:
npx browserify sdlToSchema.js \
    --outfile graphql.bundle.js \
    --transform [ babelify --presets [ @babel/preset-env ] ]

This may not be the optimal way to go about doing it, but right now I'm just trying to get something working. I'm not able to send an introspection query, all I have access to is an SDL string just like the OP.

I wanted to do the same thing and run into the same problem. What helped me figure it out was looking at the demo files: https://github.com/graphql-kit/graphql-voyager/blob/main/demo/presets/swapi_introspection.json
In short, the renderVoyager introspection parameter expects the actual introspection nested in a 'data' field:
    const data =  { "data" : introspectionFromSchema(buildSchema(sdl)) };

    // Render <Voyager /> into the body.
    GraphQLVoyager.renderVoyager(document.getElementById('voyager'), {
        introspection : data,
    });


Always tag latest on make build

Signed-off-by: Trishank Karthik Kuppusamy<EMAIL_ADDRESS>

@radu-matei good to go?


POST body is null intermittently on Linux self hosted app

Describe the bug
We have two environments, one running on virtual Windows instance and another on AWS Linux instance.
Configuration of both environment is as of below.
Windows:
Operating System: Windows Server 2012 R2,
Dotnet Core: version 2.0.7
Server: IIS 8.5.9600
AWS Linux:
Operating System: Amazon Linux release 2 (Karoo)
Dotnet Core: version 2.0.6
Dotnet Tools: version 2.1.101
Server: Self hosted by dotnet run <dll>
Same code has been hosted in both the environment. In Windows the app is able to get the request and request body has content. But on AWS Linux, app is getting the request, but the request body is null sometimes.
To Reproduce

Have large request body. In our case it is somewhere around 10KB.
Entire request is contained in single model in action using [fromBody].
Send the request.
You should see null request body for some requests.

Expected behavior
Request should contain a body.
Additional context
We have multiple post calls from UI, written on Angular 6. For all post calls both environments are working fine. But the request body is less than a KB, except for this case.

Thanks for contacting us. We're closing this issue as there was no community involvement here for quite a while now.


Not able to view/add routing rules to a Front Door instance through the Front Door designer in the portal

When clicking the 'Add a rule' button or clicking on one of our existing routing rules in the Front Door designer in the portal, we get the following error:
Cannot read property 'toLowerCase' of undefined

The rules we have work as expected, but we cannot add any more rules. Could this be something to do with our rules configuration?

@lpoulin - Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@lpoulin - Thank you for your question.
Can you please share with us the URL of the document that you are having issues with?
Please note that we scope issues on this repo to feedback related to the docs. If you have a product question, please post it on Microsoft QnA or Stack Overflow. Thank you for your understanding.

@lpoulin-  Since we have not heard back from you we will now proceed to close this thread.
However if you can share additional information regarding the documentation you are referring and circle back on this thread , we will gladly reopen the issue and continue the discussion. Thank you.


Add oneshot::Receiver::try_recv.

Attempts to receive a message outside of context of a task, such as
within a Drop impl. It does not schedule a task wakeup or have any
other side effects.
this is cherry-picked/backported to version 1 from master
commit 1149f1907dbb029c2665b51f4c8baccc775af3f6
originally authored by @c0gent and committed by @cramertj on April 13, 2018

LGTM! Thanks for the PR!


Create a collection in a specified database (not "default") successully, but found nothing in attu interface.

Describe the bug:
I have created a collection using a specified database (not "default" db) successfully.
However, I didn't find this database or collectoins in this db in attu interface. Is this a bug or how can I find this collection in the interface?
Steps to reproduce:

Using python sdk to create a db: db.create_database('llm')
Using database: db.using_database('llm')
Creating a collection: collection = Collection(collection_name, schema, consistency_level='strong')
Login to attu, to find this collection or db, but not fond.

Attu version:
2.2.7
Milvus version:
2.2.12

yeah, non-default db is not support in attu yet. We will release new version soon.

Thanks a lot, we are looking forward to this feature~


Set field values based on values passed in the calling URL listed twice under Work Directly with HTML

[Enter feedback here]

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e64318d1-0985-f1fb-2424-b9d02a58c09b
Version Independent ID: 5d55b5cd-97b1-14d2-ca85-6d968d6d8dc1
Content: Use the designer tool (Dynamics 365 Marketing)
Content Source: ce/marketing/design-digital-content.md
Service: dynamics-365-marketing
GitHub Login: @alfergus
Microsoft Alias: alfergus

Thank you for catching this! I've updated the document and it should be live soon.


"Add all missing imports" adds them all in one line

VSCode Version: 1.44.0
OS Version: Linux x64 5.3.0-46-generic

Steps to Reproduce:

Create some typescript code without added imports
Add imports

Does this issue occur when all extensions are disabled?: Yes

Please share code to reproduce the issue

@mjbvz For me this happens for every import, e.g this code with axios and koa packages:

const client: AxiosInstance = Axios.create()
const router: Router = new Router()

to reproduce the imports in single line:

there are no previous imports(if there are, the new ones are added correctly)
the code does not start on first line

Thanks. Opened https://github.com/microsoft/TypeScript/issues/38082 to track upstream


python3Packages.datasets: 1.1.2 -> 1.4.1

Motivation for this change
Update datasets to 1.4.1.
https://github.com/huggingface/datasets/releases/tag/1.3.0
https://github.com/huggingface/datasets/releases/tag/1.4.0
https://github.com/huggingface/datasets/releases/tag/1.4.1
Since datasets now also requires Huggingface's hub package, this PR
also adds python3Packages.huggingface_hub.
Things done

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

[x] NixOS
[ ] macOS
[ ] 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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 115237 at f8cb21b0 run on aarch64-linux 1

2 packages failed to build:

python37Packages.datasets
python37Packages.huggingface_hub

2 packages built:

python38Packages.datasets
python38Packages.huggingface_hub

Fixed the Python 3.7 build.

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 115237 run on x86_64-linux 1

4 packages built:

python37Packages.datasets
python37Packages.huggingface_hub
python38Packages.datasets
python38Packages.huggingface_hub


report the worker node in wmstats

that is an information that must be available and would be very useful in many cases

Now that we have this info in the FJR, I'll leave the wmstats implementation to you Seangchan :)


Default configuration should be 25 minutes

By default pomodoro default is usually 25 minutes. It would make more sense for the default to be 25 minutes instead of 35 since that would be the expected behavior for the majority of users.

f682ad1


EXC_BAD_ACCESS

I'm getting EXC_BAD_ACCESS when trying to run the example code with CocoaPods. If I run the example with the included source files it works fine but when I use cocoapods I get a EXC_BAD_ACCESS. The error occurs when setting the graphView.dataSource. Is this an issue with 4.0.4?

When using cocoapods you need to set the Module to ScrollableGraphView

I have the same problem. Did you ever find a way to resolve this?

@AbidSana Yes, please see the screen shot i posted. You need to set the Module to ScrollableGraphView.

Yes, I set the Module to ScrollableGraphView like in your screen shot, but the exception still persists.


Enable cross-compiling symmetrically on osx

Didn't bump the build no as this adds new builds but shouldn't change the others.

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I'm confused by the osx-64 failures here. These should be the ones that should have worked before already.

I'm confused by the osx-64 failures here. These should be the ones that should have worked before already.

we pulled 1.49 for osx-64 due to a bug.

we pulled 1.49 for osx-64 due to a bug.

Fixed in latest master


SaaS Views!

@marcosmoyano

Current coverage is 94.17%

Merging #9 into master will decrease coverage by -5.83% as of df9c9b0

@@            master      #9   diff @@
======================================
  Files            5       8     +3
  Stmts           72     103    +31
  Branches         0       0
  Methods          0       0
======================================
+ Hit             72      97    +25
  Partial          0       0
- Missed           0       6     +6

Review entire Coverage Diff as of df9c9b0

Uncovered Suggestions

+3.88% via ...rk_saasy/generics.py#2...5
+1.94% via ...rk_saasy/generics.py#10...11

Powered by Codecov. Updated on successful CI builds.

Oops! Forgot to cover generics
:dancers: :facepunch: