Add ALU54A into Lattice DSP primitive interface implementation

Once #264 lands, we will have working semantics for ALU54B.
Actually doing ALU54A.
Subtasks:

[x] #266
[x] Add ALU54A to arch. desc.

7/10/23
Have everything plugged into the YML, but now getting some errors.
Finding it hard to use errortrace to root things out...have to be very precise about what I annotate with errortrace. I'm so tired of Racket...

   /Users/gus/lakeroad/racket/interpreter.rkt:41:4: (if (hash-has-key? interpreter-memo-hash expr) (begin (set! interp-memoization-hits (add1 interp-memoization-hits)) (hash-ref interpreter-memo-hash expr)) (begin (set! interp-memoization-misses (add1 ....)) (define out (....)) (hash-set! interpreter-mem...
   /Users/gus/lakeroad/racket/interpreter.rkt:74:14: (let* ((h (interpret-helper h-expr)) (out (cdr (or (....) ....)))) out)

So there's a bug in the module semantics? I'm hoping it's just me passing incorrect values, because otherwise this will be tough to debug. Especially because I can't get errortrace info on the module...it takes too long to annotate.
I'm going to let the annotation run for now and we'll see if it finishes. Til then I can just see if I can find the bug manually.
Ok, it took a while, but it annotated and ran. It looks like it's failing on a check of the clock signal. So something must be getting passed in incorrectly value-wise.

7/11/2023
Aha! I think the bug might be because of the collision of the 'state<n> names between the semantics functions. I fixed this already for Vishal at one point. Need to merge that code.
Done in #269.

7/12/2023
Okay, now we're at the most frustating part of it all...just getting a "synthesis failed" error.
We know that the multiplier can implement a 3-stage multiply, and we know that the ALU can implement a combinational wire. So the multiplier plus an ALU should be able to implement a 3-stage multiply. So what's going wrong? Is it the interface between the two?
It would be convenient if we could use symtrace here...
oh, we can! I was assuming symtrace had a -- flag, which it doesn't.
https://github.com/emina/rosette/issues/258
Scratch that, -- works, I'm not sure what I was thinking.
Okay, nothing in symtrace. In theory this tells us things are wired together correctly at least in the sense that there aren't any type errors.
So what's going on? My stamina for this debugging is running low!! What's the easiest thing we could do to check, here?
I wonder if it has to do with when the values are being passed into the ALU from the multiplier, given that we've already seen that the ALU has confusing behavior re: when it needs values put on its inputs. I don't think it should, given that we've shown the ALU can be configured to just be a wire.
What if I just comment out everything being plugged into the ALU, other than the data input that matters? We'll blow up the solvable space somewhat, but that may not matter.
Oh wait, I just realized while debugging: I'm pretty sure I was still seeing states named just "state"...that's not right! It's weird b/c I'm not getting errors...maybe because I'm returning state hashes with state keys named via "state", but looking up via keys named +"state"???
Yeah, it looks like that's the case.
Okay, I think I fixed that but it's clear that we're still getting defaults from somewhere. I'm seeing a lot of zeroes and ones, and I'm not seeing the a or b inputs anywhere.
Maybe there's still things to be fixed on the semantics import side?
Checking what the states look like that are being output.
Ah, it seems like the state from the multiplier (or maybe from the ALU?) is not in the final output. That is, there's only state from one unit present in the output. That shouldn't be the case. So the question is, where is the state getting dropped?
Things to try tomorrow

Try changing the output of the DSP interface impl back to the output of the mult and see if it goes back to working. Maybe the multiplier is no longer outputting what we expect.
Make sure the state is threading through correctly. If the state never makes it to the ALU, then of course we're going to get defaults.
FIGURE OUT WHERE STATE IS GETTING DROPPED!

7/13/23
Starting by taking a look at all the intermediate values in the interpreter. maybe we can find an obvious place where the state is being dropped.
diff --git a/racket/interpreter.rkt b/racket/interpreter.rkt
index 3472bbd..27a5143 100644
--- a/racket/interpreter.rkt
+++ b/racket/interpreter.rkt
@@ -377,6 +377,13 @@
              ;;; This needs to be near the end, as nearly everything's a list!
              ;;; Maybe make this tighter somehow? If it's a list of specific types?
              [(lr:list v) (map interpret-helper v)]))
+          (when (signal? out)
+            (printf "~.a\n" expr)
+            (printf "~.a\n" out)
+            (printf "~.a\n"
+                    (apply set (map (lambda (p) (first (string-split (symbol->string (car p)) "s")))
+                              (signal-state out))))
+            (printf "\n"))
           (hash-set! interpreter-memo-hash expr out)
           out)))
   (interpret-helper expr))

Okay, so i added the above prints, and I'm seeing very clearly that the state is making it out of the MULT (and so theoretically into the ALU), but it's not making it out of the ALU. That is, I'm seeing the tagged state for the MULT coming out of the MULT expressions, but out of the ALU expressions I'm only seeing the tagged state for the ALU. So the state is getting dropped. But where? First hypothesis is that it's inside the ALU semantics.
We can add some prints to the ALU semantics to figure that out.
Ohh, I think it may be because, at the end, when we generate the new output state, we only iterate over the states for this module's semantics. That means we throw out any other state!
Okay, I fixed that, but synthesis is still failing. I can see the main.rkt$a and main.rkt$b in the output expression, though, which is good. Errortrace still doesn't report anything odd.
I'm struggling to think of what it could be now. What are some options? Well, we should probably still confirm that the 3-stage multiplier still works as expected, and that the ALU still works as a wire. Assuming they do, why would things break when we put them together?
What happens if we hand-edit the ALU semantics so that it literally returns the A input? That works! It synthesizes. So there must be something up with how I'm wiring up the ALU, or the semantics are off (don't think this is true b/c I've already tested that it can act as a wire)
Next thing to try is to just comment out almost every wire hookup in the YAML.
Progress! If I comment everything out except the MA inputs (the ALU's A input), it works. So now binary search for the ports that break it.
Looks like it's the clock signal. Checking now. I'm not quite sure what to do in that case....
Yup, everything works if there's no clock signal. Unsure what to do about that.
diff --git a/architecture_descriptions/lattice_ecp5.yml b/architecture_descriptions/lattice_ecp5.yml
index fb27541..5d269b5 100644
--- a/architecture_descriptions/lattice_ecp5.yml
+++ b/architecture_descriptions/lattice_ecp5.yml
@@ -706,10 +706,10 @@ implementations:
             { name: CIN52, direction: input, bitwidth: 1, value: (bv 0 1) },
             { name: CIN53, direction: input, bitwidth: 1, value: (bv 0 1) },

-            { name: CLK0, direction: input, bitwidth: 1, value: clk },
-            { name: CLK1, direction: input, bitwidth: 1, value: clk },
-            { name: CLK2, direction: input, bitwidth: 1, value: clk },
-            { name: CLK3, direction: input, bitwidth: 1, value: clk },
+            # { name: CLK0, direction: input, bitwidth: 1, value: clk },
+            # { name: CLK1, direction: input, bitwidth: 1, value: clk },
+            # { name: CLK2, direction: input, bitwidth: 1, value: clk },
+            # { name: CLK3, direction: input, bitwidth: 1, value: clk },

             { name: LEGACY, direction: input, bitwidth: 5, value: LEGACY },
             { name: MASK01, direction: input, bitwidth: 56, value: MASK01 },

Here's what fixed it. But why? I wonder if it works with clk set to 0 AND with clk set to 1. That would be weird.
With clk at 0, boolector spins. Also weird.
It also spins with clk as 1. This is very strange.
I'm seeing what happens if I just comment out a set of them
Is there a name collision happening between parameters??? That would be dumb but totally plausible. That is, when I create constants, their names might collide across modules. I don't actually feel like that would cause any of the problems I'm seeing, though.
Here's the weird thing: when I don't include the CLK signals at all (which basically lets Rosette solve for each CLK value individually), I get a solution that sets each CLK value to 0. That's REALLY strange!!! Because when I set the CLK values to 0 by hand, boolector doesn't terminate!! What is going on!!!
This at least gives me some peace that I could leave the CLK signals commented out and force the ALU to be combinational. It's far from ideal, but it will work for now and will hopefully not cause problems when we actually finally compile down to hardware and simulate.

Summary
Wow, that was way more work than expected. In the end, I rooted out a few bugs/missing features with the btor importer. Specifically, the imported semantics previously would erase any state values that were not coming from the module being run, which meant that you couldn't sequence multiple modules. The fix means that semantics functions may be slower now, which we should investigate.
Another thing to investigate is that we were not able to hook the clock up to the ALU module. Even more strangely, we couldn't hardwire it to 0 or 1, because the solver would spin. Instead, we had to leave it symbolic, in which case the solver seems to set it to 0. (So then why does hardwiring it to 0 not work? So strange!)
Either way, this is now at least partly done. We need to add more tests that actually test the logic functionality of the ALU, though.


[Splashscreen][Resizetizer?] Default Android 12+ splashscreen looks odd

Create a Blank or Default Uno app from the templates and run the Android app on an API 31+ device/emulator:

Sample:
UnoApp12.zip

cc: @nickrandolph + @pictos

@kazo0 looking into your sample, the style.xml has the wrong files... Changing that everything looks pretty.

I never touched the style.xml file though, these were just apps I made using the Default template from the wizard

UnoApp12_Updated.zip


Crashing On Query Execution

MacOS: Monterey (12.2.2)
XCode Version 13.3 (13E113)
I seem to be having an issue getting this to work correctly. Trying to execute a query crashes as soon it begins.
Although it could be a problem with my code as I'm fairly new to swift.
My Environment variables are correct as I stepped through them before crash

import SwiftUI
import Supabase

struct ContentView: View {
    @StateObject private var model = ContentViewModel()

    var body: some View {
        VStack {
            List(model.lessons) { lesson in
                        Text("\(lesson.title): \(lesson.description)")
                    }
        }
        .onAppear {
           model.getLessons()
        }
    }
}

class ContentViewModel: ObservableObject {
    @Published var lessons: [Lesson] = []
    let supabaseUrl = URL(string: ProcessInfo.processInfo.environment["SUPABASE_URL"]!)
    let supabaseKey = ProcessInfo.processInfo.environment["SUPABASE_KEY"]!

    lazy var client = SupabaseClient(supabaseURL: supabaseUrl!,supabaseKey: supabaseKey)

    // Retrieve all lessons
    func getLessons() {
        print("Retrieving all todo's from database")

        let query = client.database.from("lessons")
            .select()

        query.execute { results in
            switch results {
                case let .success(response):
                    let lessons = try? response.decoded(to: [Lesson].self)
                    self.lessons = lessons!
                case let .failure(error):
                    print(error.localizedDescription)
            }
        }

    }

}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}

Hey guys, thanks for reporting this.
I'll take a look at this ASAP.

@grsouza No way, it works! Tokens auto-refresh, queries complete and nothing crashes for the first time in a week
Thank you!!! You're the best

Sorry to comment  this again but Is there a working example of this library being able to fetch and populate data to the view? I've not been able to do so following the documentation.


Update tools-ui-components.md

Added a new react component from Dollar Shave Club.
https://github.com/dollarshaveclub/react-passage

This looks useful, thanks for the contribution!


Add Comparing#mapper

When you already have a Comparator, you can use Comparing#mapper to combine it with a new mapping function. It takes a Comparator<T> and a mapping of V -> T to create a Comparator<V>.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 96.512%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
83

Relevant Lines:
86

💛  - Coveralls


Updates

Hi,
I am not able to get updates of order book. I am subscribing to a channel using wss.subscribe_to_order_book('BTCUSD'). Shouldn't i keep getting orderbook updates till I unsubscribe the channel.
Thanks

Hey @pchandra-uchicago!
Thanks for submitting an issue. You are correct - once you subscribe to the API you should receive data as long as you're subscribed and the connection doesn't drop.
Could you run the code again and supply the log files? That way I can look into this matter.
Cheers,
Nils

Thanks for the instant response Nils.  Below is code snippet I am running
Subscribe to some channels
wss.subscribe_to_order_book('BTCUSD')
# Do something else
t = time.time()
while time.time() - t < 5:
pass
count =0
while True:
order_q = wss.books('LTCUSD')
rowCnt = 0
while not order_q.empty():
print(order_q.get())
rowCnt += 1
print("Round " + str(count) + " size " + str(rowCnt))
count += 1
time.sleep(5)
I have two questions here.

After the first run, subsequent run is just an update to the order book. Am i right about that ?
If I remove the section in bold, I throws me a Keyerror(pair). Are you doing that for a reason ?

Great work though !
Cheers
Prakash

Sorry missed adding log messages. Below is what is logged
INFO:btfxwss.connection:Connection opened
DEBUG:btfxwss.client:_subscribe: {'event': 'subscribe', 'channel': 'book', 'symbol': 'LTCUSD'}
INFO:btfxwss.queue_processor:Subscription succesful for channel ('book', 'LTCUSD')
INFO:btfxwss.connection:Connection opened
DEBUG:btfxwss.client:_subscribe: {'event': 'subscribe', 'channel': 'book', 'symbol': 'LTCUSD'}
INFO:btfxwss.queue_processor:Subscription succesful for channel ('book', 'LTCUSD')

After you subscribe, the client sets up a queue for all order book data related to your pair - as soon as it gets confirmation of the subscription from the bitfinex server. You can then access this Queue() to read out the data the client received.  The client does not return a single orderbook view, but raw data from which you must build the order book yourself. As you can read in the documentation, the first message will be a snapshot, and subsequent messages will be updates to that snapshot - you must apply these changes yourself. btfxwss does not do this for you.

That's because the client needs time to process the subscription- hence you should keep that loop so it can set itself up and your subscriptions are properly processed. Otherwise, you will receive a KeyError (as you have observed) - indicating that there has been no data received for that pair yet.

Thanks Nils. That was helpful and sorry for the delayed response.

@pchandra-uchicago , no problem! Glad I was of help!

I have an other query..The orderbook updates is causing my order book to grow in size. Any suggestions on how to deal with this issue ?
Thanks
Prakash

Hey @pchandra-uchicago ,
you can find an answer to your question in the bitfinex docs:

when count = 0 then you have to delete the price level.
4.1 if amount = 1 then remove from bids
4.2 if amount = -1 then remove from asks

So check the count parameter and dict.pop() the price level from your order book. You can avoid errors when attempting to pop a price which you previously hadn't added by wrapping it in a try/except block:
try:
    your_book.pop(price_level)
except KeyError:
    pass

Hi Nils, thanks for the link. I am now able to handle the order book size. However, what I am noticing is that if i keep updating my order book, at some point the bids become greater than the offer or vice versa. I have attached order book logs..As you can see at one point, the best bid is 5939.4 and ask is 5937.8. The bids and offers before the  dotted line in the log file is correct. After the dotted line, its incorrect.
Bids are in descending order and asks in ascending order. My guess this occurs when there is a price jump and for some reason, 5939.4 isn't pushed out. What do you think
Thanks
Prakash
output.log

Hi Nils. I again observed the above mentioned issue where the bid > offer at some point and it remains that way.  I have attached another output log. Please take a look
output.log

Hey @pchandra-uchicago,
sorry for the radio silence, I came down with the flu and wasn't able to respond quicker.
Have a look here:
https://bitfinex.readme.io/v2/docs/ws-general#section-configuration
You can enable message sequencing to make sure you the client hasn't missed anything. As for the problem itself, this isn't an issue with btfxwss per se - messages do get lost, so every now and then the order book will be invalid. In this case, it is easiest to reconnect to the API, by stopping and starting the client.
For now there is no restart() method, to make it easier to simply reset the connection to the API - but I will open an issue for this feature to be implemented.
Cheers,
Nils

Hey Nils, Thanks for prompt reply. Hope you are feeling better now.
I saw the implementation by @runz0rd. Thanks @@runz0rd.
Is this change part of pip now. Because I upgraded the package, but I don't see the changes yet.
I have an other query. Is there a sample code that shows how to place a new order ?
Cheers
Prakash

Hey Nils,
I have two questions.

I am providing the api key and secret to btfxwss.  I see authenticate(self) definition in client, But I am not sure if its used to authenticate.  How can i vet that its logged in using the credentials I pass?

I was trying to place a test order using new_order((self, **order_settings). I passed order_settings as below
order_settings= {'cid': 01256098,
'type': "EXCHANGE LIMIT",
'symbol': self.currencypair,
'amount': str(1),
'hidden': 0,
'price': str(6000)}
This doesn't seem to work. Can you shed some light on this please

Hey @pchandra-uchicago ,
Please open a new issue for new questions - otherwise this gets quite unorganised quickly. Please always include a complete code snippet,  properly formatted in github markdown, as well as logs (see the readme example on setting up logging).
For 1.), make sure you leave time for the client to connect by adding a wait call (see example in the readme)


Tesla integration retries in a loop when the car is in service mode

The problem
Home assistant doesn't startup when a Tesla is in service mode
Environment

Home Assistant release with the issue: 0.105
Last working Home Assistant release (if known): 0.104.3
Operating environment (Hass.io/Docker/Windows/etc.): docker
Integration causing this issue: tesla
Link to integration documentation on our website: https://www.home-assistant.io/integrations/tesla/

Problem-relevant configuration.yaml

Traceback/Error logs

2020-02-05 22:36:26 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/vehicles/[snip]/data
2020-02-05 22:36:26 DEBUG (MainThread) [teslajsonpy.connection] {"response": null, "error": "vehicle is curently in service", "error_description": ""}

Additional information

You need to provide the details under Environment.

Thanks.  The component will try 5 times and then stop. You need to wait for each of the delays to complete which should be done within a total of 5 minutes. We can probably make it short-circuit early if it determines it's in service mode.

@bdraco just to check, are you saying it won't continue after the timeout?

It does eventually continue and allow home assistant to startup.  It is taking about 8 minutes for startup if I leave this enabled.

This is happening to me right now even with tesla: ... commented out in configuration.yaml.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform tesla is taking over 10 seconds.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.lock] Setup of lock platform tesla is taking over 10 seconds.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.climate] Setup of climate platform tesla is taking over 10 seconds.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.binary_sensor] Setup of binary_sensor platform tesla is taking over 10 seconds.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.device_tracker] Setup of device_tracker platform tesla is taking over 10 seconds.
2020-02-06 09:19:13 WARNING (MainThread) [homeassistant.components.switch] Setup of switch platform tesla is taking over 10 seconds.

Do I need to remove it from .storage/core.config_entries?

@webxl you should just remove it from the Integrations page.

On another restart it took about 16m before it did come online

@bdraco There should be a general request in the teslajson logs to https://owner-api.teslamotors.com/api/1/vehicles.
Can you review the response and let me know what it says for in_service. Example response below with stuff obfuscated
{"id": XXX, "vehicle_id": XXX, "vin": "XXX", "display_name": "Eva", "option_codes": "AD15,MDL3,PBSB,RENA,BT37,ID3W,RF3G,S3PB,DRLH,DV2W,W39B,APF0,COUS,BC3B,CH07,PC30,FC3P,FG31,GLFR,HL31,HM31,IL31,LTPB,MR31,FM3B,RS3H,SA3P,STCP,SC04,SU3C,T3CA,TW00,TM00,UT3P,WR00,AU3P,APH3,AF00,ZCST,MI00,CDM0", "color": null, "tokens": ["XXX", "XXX"], "state": "online", "in_service": false, "id_s": "XXX", "calendar_enabled": true, "api_version": 7, "backseat_token": null, "backseat_token_updated_at": null}

@alandtse
{
		"id": XXX,
		"vehicle_id": XXX,
		"vin": "XXX",
		"display_name": "XXX",
		"option_codes": "XXX",
		"color": null,
		"tokens": ["XXX", "XXX"],
		"state": "asleep",
		"in_service": true,
		"id_s": "XXX",
		"calendar_enabled": true,
		"api_version": 7,
		"backseat_token": null,
		"backseat_token_updated_at": null
}

I had this problem with a unreliable tesla wifi link... upgrading to the latest home assistant (I'm using docker) fixed the problem as the Tesla module was rewritten to be async.


how to install then on the target if build-ed with yocto cross sdk?

Hi, I followed the guide for building mraa via yocto sdk. It seems to work but after the build what is the right way to get those build on the target - sorry for the maybe silly question.

So no one uses yocto?
I also tried the intel iot recipes but i looks unmaintained for me?

Many do it, but our recipes are a bit of an unmaintained mess all over the place, we don't have a good central place. The best I know of currently is https://github.com/intel/intel-iot-refkit/tree/master/meta-refkit-core/recipes-sensors.

Okay many thanks I will try that - but if i compile it via the cross sdk - how can i install it on the target then?
So okay I can copy and paste the *.so and py files at the right place. But is there a way to install them after build on the cross sdk?

I'm not sure which cross SDK you are referring to. If you create your own packages for your device you really have to create a cross SDK for your device too. That's the "proper" way of doing things. Obviously copying binaries works too :)

I guess @mgiaco is asking about a scenario where mraa is being built on the host by using cross SDK generated by Yocto, is that correct? If so, that's a bit unnatural way of doing that, but generally yes, you need to manually copy generated files into proper places, there's no "normal" of installing files built like that, like "make install" - as this way of building doesn't have the means of installing built binaries.
The files are, OTMH: main .so, python, nodejs, java bindings (whichever of those you build). Specific locations depend on details of your target.

@alext-mkrs  Hey - yes that was my question. No I have integrated all the build tools in the yocto image and build mraa on the device but for production I would like to have a small image. So I hope I will find a working recipe.
Or what is the natural way?

I see. So having Yocto and embedded system in the context, there are three basic ways of building software for your target (board):

Build on host, using Yocto itself (not the SDK). This is typically used for building OS images or additional SW for it. SW typically gets packaged to something used by the OS image (ipk, rpm, deb). This depends on the settings, but typically some form of package management is enabled everywhere. This would be the way I'd recommend you to follow to get mraa built.
Build on host, using the SDK, generated by Yocto for the OS image you've built. This is generally a way for building your "user" or "functional" applications you want to run on top of your target's OS+library set. Building mraa (or other libraries, to that matter) may be more difficult at least because of the fact there's no packaging when using this one. Then, there's e.g. no direct support for CMake-based projects, unlike in the Yocto way above. So technically you can do that, practically I'd not recommend it for mraa building.
Building on the target. You tried that already. Simplest of all three, but can be slow (depending on the target) and may require target configuration (installing additional headers, libraries).

All in all, I'd recommend you to either build on target, or use the Yocto mraa recipe @arfoll referred to in your other issue and build via Yocto. Using SDK would be my last resort of all three.

Okay many thanks I will try that.


Revision 3.0?

Any notion of the schedule for Revision 3.0?
thanks

Not yet, day job is keeping me very busy. I'll post when I've got a timeline though.  I still use v2 for a lot of projects.

Understood.  The feature in 3.0 that I really look forward to is including an export.  That and adding a row are the two things that (at least for my purposes) prevent OpenJS Grid from living up to its declared goals.
I am enjoying using this package, and learning more about it.  Thanks for the effort you have expended to get this out there.


Submit discard flags

As promised, here is the PR for discard flags in submit @cloudwu

I guess we should increase the api version number.

Fixes: https://github.com/bkaradzic/bgfx/commit/06460b8ac23e152f42d342dd58d491c3d1764f5b


"dedicated" and "capsule" terms should not trigger Vale rules

"dedicated" and "capsule" terms should not trigger Vale rules

Addressed in https://github.com/redhat-documentation/vale-at-red-hat/pull/460


Condition on the SNP genotype for eQTL analysis

Further workup of results require conditioning on the lead SNP genotype to see if the signal persists after we take out the SNP.
Practically this means adding the SNP genotype for the lead SNP locus as a new covariate
This PR implements that change:

user can specify one or multiple target SNP loci to control for as snp_loci in the config toml.
helper method extract_genotypes extracts the GT for the relevant locus (0,1,2 are the only GT options)
This sno_genotype_vcf is then merged with the larger gene_pheno_cov (which is a larger df containing other existing covariates), based on the 'sample_id'

Works in test batch and I have also printed a test CSV where I confirm the covariate df looks the way iI want it to. https://batch.hail.populationgenomics.org.au/batches/453857


Add several vision models for Tosa Benchmarking

32-bit float versions for MobileNetSSD, PoseNet and DeepLabV3

Thank you Lei!
From the digging that I did it doesn't seem that a specific input type is mentioned. It seems that these models aren't as widely used, so we run into the risk of model variations much less than with something like MobileNetV2.
I will definitely keep an eye out for this as I add more models to the benchmark, so thanks for the pointer!


testing: testing a list of packages blocks the real-time output

What version of Go are you using (go version)?
go version go1.11 darwin/amd64
Does this issue reproduce with the latest release?
Yes, reproduced on tip - go version devel +ce58a39fca Thu Sep 20 22:52:44 2018 +0000 darwin/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/ikorolev/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ikorolev/.gvm/pkgsets/go1.11/global:/Users/ikorolev/dev/go"
GOPROXY=""
GORACE=""
GOROOT="/Users/ikorolev/.gvm/gos/go1.11"
GOTMPDIR=""
GOTOOLDIR="/Users/ikorolev/.gvm/gos/go1.11/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/_b/d1934m9s587_8t_6ngv3hnc00000gp/T/go-build880489854=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
go test -v -count=1 ./... doesn't print real-time test output if you got subpackages.
cd `mktemp -d`
go mod init example.com/test
cat <<EOD > main_test.go
package main

import (
	"fmt"
	"testing"
	"time"
)

func TestLong(t *testing.T) {
	fmt.Println("running")
	time.Sleep(2 * time.Second)
	fmt.Println("2 second later")
}
EOD
mkdir subpkg
cat <<EOD > subpkg/main_test.go
package subpkg
EOD
go test -v -count=1 ./...

What did you expect to see?
I expect to see the output successively as the test is running.
And I will see it if run go test -v -count=1 . instead.
What did you see instead?
Using ./... doesn't produce real-time output.
The output is produced only when all the tests are finished.
It's not convenient when you run tests on a CI and see only "go test -v ./..." line for several minutes.
You don't have any idea if the tests have stuck somewhere or they are just too slow.
I understand that such behaviour may be connected with running the tests in parallel, but maybe we could do anything about it?

@gopherbot please, add label Testing.

Related to #24929.

A flag to disable stdout buffering could be helpful. Or, at a minimum, document the effect of the -p (and -count ?) flags on output buffering.
As a note, this bug is not quite a duplicate of #24929, as it affects all of stdout, not just the uses of t.Log (Maybe the underlying mechanism is the same, I don't know.)
We care about stdout too because we're doing heavy initializations in TestMain where t.Log isn't available, and we want to see the progress messages as they happen.


warp-transducer - Is rnnt_loss() "internal state" causing wrong loss computation?

So, I have tried to implement the model more or less "from scratch" on the basis of this repository.
For that I have implemented a training loop which I am executing eagerly to be able to debug.
However, in doing so I noticed that my loss is just jumping around weirdly and I still haven't figured out exactly why. In order to get insight I intended to take a closer look towards the rnnt_loss() function. While I executed some simple text-examples, I noticed that calling rnnt_losss() repeatedly on the same input, the loss is always different. But not just that: It's monotonically increasing.
The code I am running:
from warprnnt_tensorflow import rnnt_loss
import numpy as np

def main():
    acts = np.asarray([
        [
            [[0.0, 0.0, 0.0],
             [0.0, 0.0, 0.0]],
            [[0.0, 0.0, 0.0],
             [0.0, 0.0, 0.0]],
            [[0.0, 0.0, 0.0],
             [0.0, 0.0, 0.0]],
        ]
    ])

    labels = np.asarray([[1, 2, 0]])
    label_lengths = [len(t) for t in labels]

    for i in range(10):
        loss = rnnt_loss(
            acts=acts,
            labels=labels,
            input_lengths=label_lengths,
            label_lengths=label_lengths
        )
        print(np.mean(loss))

if __name__ == '__main__':
    main()

Output:
1.0986123
2.1490226
5.274593
6.7222075
9.581686
11.274273
13.95323
15.808798
18.36151
20.329256

I am on tensorflow==2.2.0 and I compiled the warp-transducer with GPU support.

@stefan-falk The acts dim 3 needs to be >= label_lengths as per https://github.com/HawkAaron/warp-transducer/issues/72


⚠ Bofrost.es has degraded performance

In 69adfec, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1653 ms

Resolved: Bofrost.es performance has improved in 9e47d64 after 1 minute.


Use httparse for request/response parsing

Rather than rolling our own, use https://crates.io/crates/httparse

Fixed in #4


Wrap dns.reverse in try/catch

If an invalid IP address is passed to dns.reverse—for example, when receiving a IPv4-mapped IPv6 address like ::ffff:<IP_ADDRESS>—it will throw instead of calling the callback with an error. See:
https://github.com/nodejs/node/issues/3112

I don't accept pull requests, but i will make this change in the code and release a new version.


[Feat] Try to use pipedream's communication library

I think we can close this - we implemented our own point-to-point communication on top of PyTorch's distributed framework.


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in f017bfe after 11 minutes.


redirecting visitors to FAQ page to new consolidated site

Updating index page so the link for FAQ goes directly to the new location, and the FAQ page to show the new URL for re-bookmarking.
Signed-off-by: Hiro Miyamoto<EMAIL_ADDRESS>

Changes look good to me


Get-Command from inside a module cannot find non-module commandlet

Steps to reproduce
Save the following as file Test.ps1 and execute it
# define standalone and module function
function MyComm {}
New-Module -ScriptBlock {function FindMyComm {Get-Command MyComm}} | Import-Module

# check for both functions
Get-Command MyComm
Get-Command FindMyComm

# run new function
FindMyComm

Comment: Running commands one by one in interactive console will not generate error. Only from within a script.
Expected behavior
Get-Command will run successfully three times.
Actual behavior
Get-Command from inside the module fails.

Environment data

> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.1.0
PSEdition                      Core
GitCommitId                    6.1.0
OS                             Microsoft Windows 10.0.17763
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Explanation
Seems like this issue is related to handling function scopes within command discovery, but I am not quite sure. Dot-sourcing . .\Test.ps1 will run without issues.
Example above is tailored for easy reproducibility. Standard, real life use cases (see https://github.com/PowerShell/platyPS/issues/407), can include normal PowerShell modules, manually or implicitly imported. Also, it does not matter if non-module function (MyComm) is defined directly as above, or dot-sourced from external script. It behaves the same, and Get-Command from inside the module cannot find it.
This is tested and impacts also Windows PowerShell 5.1. Similar example is behaving the same on Ubuntu.

The issue is that function MyComm is defined in a scope that your module by definition cannot see.
Modules see only global (non-module) function definitions, whereas your function is defined in a child of the global scope.
By dot-sourcing from the global scope MyComm is defined globally, that's why the problem goes away.

Hm, that's how I figured it out also, but I find it a bit inconsistent. Your sentence is good definition of this issue:

Modules see only global function definitions

I was presuming FindMyComm will run inside a script scope, although defined in global scope. I was not expecting it will jump up during the execution. Microsoft docs say about functions:

The statements in the list run as if you had typed them at the command prompt.

I don't know if there are differences between functions defined in module or outside of it, in regards to this definition. So, question is: In what scope FindMyComm runs: global or script scope?

What about this example:
# define standalone and module function
function MyComm {}
function Global:FindMyComm {Get-Command MyComm}

# check for both functions
Get-Command MyComm
Get-Command FindMyComm

# run new function
FindMyComm

Now FindMyComm is defined in global scope, but it runs inside of the script scope. I would expect importing it via module to be the same as this example. Function MyComm is not visible in global scope.

As far as I understand, the short of it is (right, @SeeminglyScience?):
Terminology note: I'm using the term scope domain to refer to the distinct variable namespaces inside a session: one default one for all non-module code, and one for each module loaded; they correspond to SessionStateInternal instances, as explained in a blog post by @SeeminglyScience. By default scope domain I mean the namespace for all non-module code (whose root is the global scope). My plan is to suggest these terms be used in an overhaul of the about_Scopes help topic.
Functions execute in whatever scope happens to be current one in the scope domain they were defined in, which has the following implications:

Calling a function defined in a module from outside that module runs in [a child scope of] the originating module's current scope, not in the caller's scope.

Calling a function in the same scope domain in which it is defined (i.e., calling a non-module function from non-module code, or calling a module function from inside the same module) runs in [a child scope of] the caller's current scope.

This behavior applies even In chains of calls across scope-domain boundaries (see GlobalFunc example below).

Note that functions create a child scope on invocation, whereas compiled cmdlets do not.

The following code demonstrates these behaviors:
# Define variables to test with.
$global:foo = 'global foo'
$foo = 'script foo'

# A function in the global scope.
function global:GlobalFunc {
  "glob func: [$foo]"
}

# Define a non-module function that accesses variable $foo in
# the parent and grandparent scopes.
function NonModFunc {
  foreach ($scope in 1, 2) {
    try { "scope $scope`: {0}" -f (Get-Variable -ValueOnly -EA Stop -Scope $scope foo) } catch { Write-Warning "No `$foo in scope $scope." }
  }
}

# Save the function body as a string, so we can recreate it in the module below.
# Note: We must create a *global* variable so that the script block passed to
#       New-Module sees it, given that the script block runs in the new module's scope.
$global:__funcDef = $function:NonModFunc

# Define a function with the same body inside an (in-memory) module.
$null = New-Module -ScriptBlock {
  # Same function body as above, only inside a module and with name 'ModFunc'
  Invoke-Expression ('function ModFunc {{ {0} }}' -f $__funcDef)
  # Define a module function that invokes a global function.
  function CallGlobal {
    global:GlobalFunc
  }
}

'--- non-module func'
NonModFunc

'--- module func'
ModFunc

'--- non-module func from child scope'
& { NonModFunc }

'--- global func via module'
CallGlobal

The above yields (annotated):
# Calling the non-module function from the script scope runs in a child scope of the script scope.
--- non-module func
scope 1: script foo  # The function's parent scope is the script scope.
scope 2: global foo # The function's grandparent scope is the global scope.

# Calling the module function from the script scope runs in a child scope of the *module* scope.
--- module func
WARNING: No $foo in scope 1.  # The module's root scope has no $foo.
scope 2: global foo           # The parent of the module's root scope is the global scope.

  # The script block's scope has no $foo.
scope 2: script foo           # The script block's parent scope is the script scope.

# Calling a module function that in turn calls a global function makes the global function run
# in the non-default (non-module) scope domain's current scope, which is the script scope
# from which CallGlobal was called.
--- global func via module
glob func: [script foo]  # CallGlobal was originally called from the script scope.


Rename solicitation channels

The channel names in the Solicitation Policy section have been updated to provide greater clarity on where specific content should be posted.

Thank you so much, @zbianca!! 🎉


Added details about installing addons package

Signed-off-by: Andre Wanlin<EMAIL_ADDRESS>Hey, I just made a Pull Request!
Added details about installing @backstage/plugin-techdocs-module-addons-contrib package
:heavy_check_mark: Checklist

[ ] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@emmaindal finally got around to making a PR for this based on our Discord chat: https://discord.com/channels/687207715902193673/979390017334026260

@camilaibs and @adamdmharvey, one other thing we ran into when setting up Addons was that we have a customer reader page. I wasn't sure if they were supported with that use case but they are. Should we update this documentation with something about that? Maybe just a code example for that case? I could add that to this PR

@camilaibs and @adamdmharvey, one other thing we ran into when setting up Addons was that we have a customer reader page. I wasn't sure if they were supported with that use case but they are. Should we update this documentation with something about that? Maybe just a code example for that case? I could add that to this PR

This is an excellent idea, thank you for being so generous in making this contribution further!


ISPN-6329 Added ISPN Core to Remote Uber Jar

https://issues.jboss.org/browse/ISPN-6329
Required for Remote Cache Store use cases.

We agreed with Tristan that this change does not make sense


[Bug] Modifying kyuubi-defaults.conf does not take effect when starting Spark for the second time

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the bug
When kyuubi-defaults.conf is modified and spark is started again, the new configuration is not loaded
When kyuubi-defaults.conf is configured as follows，The spark task started on k8s still reads the old configuration.
trino.spark.executor.instances=2
trino.spark.driver.cores=1
trino.spark.executor.cores=2
trino.spark.kubernetes.driver.limit.cores=2
trino.spark.kubernetes.executor.limit.cores=3
trino.spark.driver.memory=1g
trino.spark.executor.memory=2g
trino.spark.executor.instances=2
trino.spark.driver.cores=1
trino.spark.executor.cores=2
trino.spark.kubernetes.driver.limit.cores=2
trino.spark.kubernetes.executor.limit.cores=4
trino.spark.driver.memory=1g
trino.spark.executor.memory=4g
The spark.kyuubi.kubernetes.spark.cleanupTerminatedDriverPod.kind=ALL  parameter is configured, but after completion, the spark driver pod still exists and the status is completed. It needs to be manually deleted.

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
[X] No. I cannot submit a PR at this time.

why does your configuration start with trino.?

BTW, if you touch kyuubi-defaults.conf, you must restart the Kyuubi process. For your case, maybe you can modify spark-defaults.conf then the newly invoked spark-submit will see the updated Spark configurations.

The spark.kyuubi.kubernetes.spark.cleanupTerminatedDriverPod.kind=ALL parameter is configured, but after completion, the spark driver pod still exists and the status is completed. It needs to be manually deleted.

it was reported by other users too, but can not be reproducible on my side. it's likely there are some issues on K8s client construction, you may want to enable trace level logs for Kyuubi server process to find what happened on your K8s client construction

why does your configuration start with trino.?

It should be trino. Used to configure multiple tenants

BTW, if you touch kyuubi-defaults.conf, you must restart the Kyuubi process. For your case, maybe you can modify spark-defaults.conf then the newly invoked spark-submit will see the updated Spark configurations.

My kyuubi is deployed on a container and controlled by configmap. Do I need to restart kyuubi?

oh, the underscore is part of markdown syntax, you need to quote your inline code by backtick

Kyuubi process consumes kyuubi-defaults.conf and spark-submit consumes spark-defaults.conf, it depends on your expectation to update and restart the corresponding configuration files and processes.

Kyuubi process consumes kyuubi-defaults.conf and spark-submit consumes spark-defaults.conf, it depends on your expectation to update and restart the corresponding configuration files and processes.

Sorry, I don't quite understand what you mean.
I understand that the spark on k8s task submitted by spark-submit is restarted after spark-defaults.conf is modified, but the new configuration is still not loaded. Under normal circumstances, I understand that I should have modified the spark-defaults.conf file under configmap kyuubi-spark, and the changes in the spark-defaults.conf file have been read in the kyuubi process. Then the spark on k8s task submitted by spark-submit again should load the spark-defaults.conf file I modified, instead of restarting the kyuubi application to read the modified content of the spark-defaults.conf file.

correct.
in short, the modified spark-defaults.conf will take effect in the next spark-submit, so if you want to change spark conf without restarting Kyuubi process, just modify spark-defaults.conf

correct.
in short, the modified spark-defaults.conf will take effect in the next spark-submit, so if you want to change spark conf without restarting Kyuubi process, just modify spark-defaults.conf

But the current situation is that without restarting kyuubi, the content of spark-defaults.conf before the modification is always read. Only after restarting kyuubi can the modified content of spark-defaults.conf be read.
Here, after modifying spark-defaults.conf, I checked the spark-defaults.conf file in the kyuubi pod. The spark-defaults.conf file in the pod has been updated, but using spark-submit still reads the old configuration of the spark-defaults.conf file

the content of spark-defaults.conf before the modification is always read.

this is not expected, how do you make this assertion, can you provide some logs/screenshots or other proofs?

the content of spark-defaults.conf before the modification is always read.

this is not expected, how do you make this assertion, can you provide some logs/screenshots or other proofs?

There is a time in the initial submission log - conf spark.kyuubi.engine.submit.time. That is, after changing the spark-defaults.conf file, I waited for a while and then restarted it. You can see that the startup configuration is still the same.

providing original logs.

after changing the spark-defaults.conf file, I waited for a while and then restarted it. You can see that the startup configuration is still the same.

spark-submit consumes spark-defaults.conf in the background and won't print the loaded configurations, all you see spark-submit --conf abc=xyz are loaded from kyuubi-defaults.conf or passed from the client.


Pick all new changes

Hey! This PR adds all features from my fork without any exceptions. I rebased this version using my script so it doesn't introduce the viewer into the repo. Yes, I know there are a lot of commits, so I think I'll rebase it one or more times to squash some commits, but it already can give you a final vision of the project. Maybe I'll think of re-grouping some commits (and open some separate prs if you ask). There is a diff with my main branch. Again, the reason I'm opening this pr is to have some kind of initial feedback so I can better understand what things you need, what things you don't like, etc...
There are some notable changes:

migrated to esbuild. this is not because webpack was too slow, but because it was giving a lot of unpredictable behaviors. I spend countless hours debugging webpack dev & prod configs, esbuild config is just easier to maintain for me as there is no dev and prod modes. I'm not going back to chaos, see https://github.com/PrismarineJS/prismarine-web-client/issues/210#issuecomment-1696754059
fully migrated to ts
react. didn't push these changes yet, but i have fully migrated from lit. the only reason for this is shadowdom. imo react easier to maintain at scale with its great ecosystem. I'm going to setup storybook for components soon.
on CI there are vercel deploy workflow and ci.yml with cypress testing (still working on some tests). But one integration test (singleplayer testing) already can cover a bunch of possible issues

fixes https://github.com/PrismarineJS/prismarine-web-client/issues/210
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/10
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/47
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/302
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/117
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/253
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/241
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/304
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/287
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/274
fixes https://github.com/PrismarineJS/prismarine-web-client/issues/66 (if you going to setup vercel project)
and many others not reported here...
general tasks:

[ ] remove my deps (12) (not possible currently)
[x] remove vite and webpack configs & deps as they are not used anymore
[X] Remove my links
[x] Restore linting (eslint)
[x] fix: no disconnect on: 1) wrong version specified 2) too long username 3) disconnect button click (but still sometimes no pong issues)

Thank you for the PR! (And also for the ones in other projects)
It's big so it might take a bit of time to get it reviewed and merged but I'll make sure it happens

Hey! I've found that https://github.com/PrismarineJS/net-browserify module used here does not emit end event on websocket disconnect. That's why in some cases an error is not shown.
For example: try to connect to server with online_mode, websocket will get disconnected but the loading screen will not be hidden.
I have added bot._client.socket._ws.addEventListener('close' workaround for that. I've discovered a few other bugs with net-browserify. This module feels outdated

I expect you to handle config/workflow files as you want. Feel free to guide me in the right direction

CI is failing. Can you fix ?

Too bad I didn't have time to review before but yeah in the current state we can't merge.
This is a mixed bag of good improvements and unnecessary infra changes.
Idk what to do with it.
If you were to propose each large change independently it would be possible to discuss each change and eventually reach something we can merge.

tried https://mcraft.fun/ today
I got to admit the single player mode is pretty cool
let's see how we can get this merged

can you think of some ways to first include functional changes here with no refactoring ?
or do technical PRs with no functional changes ?

This will probably not gonna to be merged anytime soon in one piece. Can we try to split it into smaller ones?

I'll leave it here: zardoy/prismarine-web-client#1 (checklist)

@Saiv46 I understand that and I went tooo far with this one. Even this pr is just extremely outdated (tho I didn't do esbuild pipeline changes much recently), and I wish I had more time & energy to split to more prs here. I was too interested in implementing anything and couldn't focus on small prs much at that time (not great I know).

Can we try to split it into smaller ones?

I literally wanted to hire someone to help me with this one, if you could collaborate it would be really really good. As was said in https://github.com/zardoy/prismarine-web-client/issues/47 some things probably would be better to pick from the main branch (if you are interested), let me know where we can start

I'll leave it here: zardoy#1 (fork's roadmap, includes fixes)

hm, what do you mean?

but holy shit this is a huge PR

btw as I remember I needed one hour to just read the code changes, but esbuild pipeline changes are not that big

To clarify here, this cannot be merged as is.
You have 2 ways forward

Introduce changes one at a time to PrismarineJS
Simply rename your repo to ZaydoyGUI or whatever name you like


Why return MessagePackObject instead of simple System.Object?

Hi,
In our scenario we have a class which contains a Dictionary<int, object> and List<Dictionary<int, object>> members.
The de-serialization process provides us MessagePackObject instead of System.Object even though the serialization resulted bytes have all the required information to infer the type of each object (we use value types for all our simple objects).
Is there a way to avoid using the MessagePackObject and return simple System.Object as the de-serialization result?
Thanks,
Itai

Mark your dictionary typed property with [MessagePackRuntimeCollectionItemType] attribute.
It specifies that you want to embed CLR type information in serialized objects, so the serializer will be able to know original objects' types, that is, dictionary values will have their original objects instead of MessagePackObject.
As you can see in wiki, note that it loses interoperability towards other implementations which don't know about embedded type information.

Hi,
I just tried to add attribute to my property, and it works just fine, but it doesn't work for nested ones.
public class my
{
    [MessagePackRuntimeCollectionItemType]
    public Dictionary<string,object> envparam; // works

    [MessagePackRuntimeCollectionItemType]
    public Dictionary<string,List<object>> cond; // doesn't work
}

is there a way to make both cases work, or msgpack just don't support it yet?
i am also wandering if an object in Dictionary<string,object> itself is a List<object>, will MsgPack embed CLR type info, and do proper converting when deserialized?
Seems to me that runtime polymofism should make all object runtime types recursively inferred and converted in serialize/deserialize process.


Load model and optimizet states on CPU to void OOMs

This PR makes sure we load the model and optimizer state dicts (in the load_state method) on the CPU. Otherwise, those might be tensors that are on GPU 0 (since save_state only saves on process 0), which may result in an OOM: at some point we may have the optimizer state properly loaded on GPU 0 (by process 0) but also loaded a second time in GPU 0 by process 1 during load_state_dict, so twice that size on poor GPU 0.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

That's no linked per se since in this issue, the user was using optimizer.load_state_dict and not accelerator.load_state.


Token Permissions definition

Hello
First of all thank you this extensions is exactly what i was looking for.
Can you please add to the Readme which settings should be enabled on the token so that we do not have to enable full access.
thank you

Oh. That's a very good point. I will do that later this week.
Thanks for the suggestion.

This is enough:

It will be added to the README in next release.


Has anyone tried to run this on mobile?

i have the same problem. the prediction time cost is so long...

Have you find any solution to run this on mobile android platform ?


update launchpad/PPA version number to 1.9.1

Upon release of 1.9.0

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

Note:
Those recipes need to be updated, when 1.9.0 is out:
https://code.launchpad.net/~kivy-team/+recipe/kivy-stable -> 1.9.0
https://code.launchpad.net/~kivy-team/+recipe/kivy-daily  -> 1.9.1
https://code.launchpad.net/~thopiekar/+recipe/kivy-testing -> 1.9.1

Done


Android: Radio-Buttons and Dialog

Hey,
first of all: really nice work - thanks a lot. :)
Nevertheless I have a single suggestion:
I think, that the usability of the ListPicker on Android is a little inconsistent. Normally (as you know it from the web) Radio-Buttons are used with an submit button, like the doneButton you are actually suggesting. On Android instead klicking a list-item is not only checking it, but also choosing it.
Therefore in my opinion there are two, slightly more consistent alternatives:

Use Radio-Buttons and Provide the done- and cancel-Button as well.
Just don't show Radio-Buttons (like in this screenshot: https://github.com/kidino/phonegap-alertdialoglist-plugin)

I would prefer Option 2) - But then you have to think about how to highlight the default-option ;)

Hi @ma-pe,
The idea behind the implementation was to get something similar to dialog which is displayed by browsers for html select element. It looks exactly the same (with radio buttons) and tapping the item results in selecting and closing the dialog.
Main reason for the implementation was the difficulty with displaying and using html select element in our js framework (Sencha Touch), because there was no such built in mechanism.
However, your ideas are worth trying (although cannot promise any timeframe - sorry for that).


PULID 1.1 XL is slow than 1.0

first of all thank you for release new version of pulid 1.1 !
I have a question about the inference speed of pulid 1.1 XL
I tested new pulid 1.1 XL version it is better than 1.0.
but inference speed is slow than before
Is the reason it's slower than before because I'm using a higher amount of weights?

The ID encoder is slightly bigger.

@ToTheBeginning While there is no speed difference in obtaining embeddings from face images, even though I used the lightning model with 5 steps for inference, image generation has become exactly 4 times slower than before. Based on RTX4090, the previous PULID 1.0 XL took 0.8 seconds per image, and now it takes 3.2 seconds. I wonder if it's slower because of the different scheduler? I'm curious if there are ways to make it faster.

Is there a reason for implementing DPM++ SDE directly in utils.py instead of using the scheduler inside diffusers? Previous PULID 1.0 XL was implemented using all functions supported by diffusers, but I noticed that in PULID 1.1 XL, the scheduler is implemented in utils.py @ToTheBeginning

first of all thank you for release new version of pulid 1.1 !
I have a question about the inference speed of pulid 1.1 XL
I tested new pulid 1.1 XL version it is better than 1.0.
but inference speed is slow than before
Is the reason it's slower than before because I'm using a higher amount of weight

How did you get it to work?

@ialhabbal I didn't use comfyui. Just following Readme.md


fix: Remove grounding module related types

Context
This PR contains:

Remove grounding module related types.
Update orchestration clients by picking non-breaking changes from #269

Definition of Done

[x] Code is tested (Unit, E2E)
[x] (Optional) Release notes updated

Please consider the comment about having the changeset.

Removed already 😄


Reorg of plugins and addition of terraform-amazon-s3

Proposed reorganization of plugin for resources V2:
https://github.com/signadot/plugins/tree/resources-v2

Structure looks great - I'm wondering whether we should move signadot-plugins and signadot-plugins-exp to a legacy/ directory (this will likely need a docs change as well).

Yes, that was one of the options I thought, but finally decided to just refer a tag. If you think having the legacy/  directory would be better, I can add it.

Structure looks great - I'm wondering whether we should move signadot-plugins and signadot-plugins-exp to a legacy/ directory (this will likely need a docs change as well).

Yes, that was one of the options I thought, but finally decided to just refer a tag. If you think having the legacy/  directory would be better, I can add it.

We decided to leave the old code in a  legacy branch.


Fix code scanning alert - Code Size Rules: NPathComplexity

Tracking issue for:

[x] https://github.com/crimsonstrife/rym2/security/code-scanning/44

Fixed during other tasks.


[feature-request] add a map of the DC / Room

Hello,
Is it planned to add a map of the datacenter and room inside netbox?
Smth like that for the room: http://www.squaremilesystems.com/wordpress/wp-content/uploads/2012/03/Floorplan-final1.png
For the dc, well just how to room are located in the DC / floor
The goal is to have a quick view of rooms with basic information ( dimension/height/power avail) without the need to go on each rack
Thanks and Regards,

Duplicate of #114


Sheet exit animation not working

I was trying to add exit animation on Sheet(Dialogue) content component and it's not working.
Although, radix mentions that it waits for exit animation but that's not happening. I tried forceMount approach as well... no luck!
https://www.radix-ui.com/docs/primitives/guides/animation
Can we fix this without using any external library ?

How are you trying to add the exit animation?

I'm using tailwindcss-animate:
className="data-[state=closed]:animate-out data-[state=closed]:slide-out-to-right"

Looks like an issue https://github.com/shadcn/ui/pull/127

Hey @mbvalent, is there any way to fix this issue, as I am facing the same in my UI. The enter and exit animations are not working, even though I have correctly add the component in my project

My issue was that apparently i hadn't configured tailwind-animation correctly:
https://github.com/shadcn-ui/ui/discussions/1605#discussioncomment-8878132
So i've changed to plugins: [require('tailwindcss-animate')], in the tailwind.config.js

Worked for me, thanks a lot ✌

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.


postback with regex or wildcard or parameter

Hi,
First, thanks for this Awesome library.
I'm using it and enjoying every moment.
I brought up a pretty nice project of my own.
I now ran into an issue where I have a list of items with buttons.
I want to define a postback so that when the user presses one of the buttons I will arrive at the same function and handle same just with different parameter.
Can you help to recommend how to easily solve this?
Should I use postback with regex?  If so, how?
Thanks.

Hey @adavid102, thanks so much for the comments!
If I understood correctly, you have a series of buttons with postbacks that differ in some sort of ID or param, and you want to handle all of them with a single function, right? So something like this:

BUTTON_ID_123
BUTTON_ID_456
BUTTON_ID_789

The .on() method doesn't accept a regex because of how the EventEmitter class works, but you can workaround this by listening for the global postback event and then matching the URL inside that function:
bot.on('postback', (payload, chat) => {
  const re = /BUTTON_ID_(\d+)/i;
  const buttonPayload = payload.postback.payload;
  const match = buttonPayload.match(re);

  if (match) {
    const buttonId = match[1];

    // Do something with buttonId
  }
});

Let me know if this works for you.

Thanks so much for you reply
I tried somethink similar but used bot.on('message', (payload, chat) instead of bot.on('postback', (payload, chat) ..  :-)
Tried your solution and it works.
You're bootbot library is truly amazing.
Saved me probably weeks of work..


This version rc.7 cant work in weixin software (iphone x and iphone 11) .but The rc.4 version can work OK!

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[x] You are using the latest version
[x] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
This version rc.7 cant work in weixin software (iphone x and iphone 11) .but The rc.4 version can work OK!
Please replace this line with a brief summary of your issue AND if possible an example on jsfiddle.
Specifications:

html2canvas version tested with:
Browser & version: winxin software
Operating system:ios

Have you found solution for iOS?

Whats the error?

I'm using html2canvas util on Safari and Chrome on iPhone 11, i'm taking screenshots of a collection (usually 3 - 10 ) of html containers.
Only the first container from the collection being screenshot-ed correctly. the next items screenshots are blank.
On desktop browsers on windows or Mac the bug does not reproduce.
On mobile browsers on Android devices the bug does not reproduce also.

@omeriko Are you able to create a simple repro of this on jsfiddle?

Hi Niklas
It's weird,
I've created a minimalist fiddle with the required logic, however to my regret the bug does not reproduce.
I'm checking what's happened...


Morphbaseline

This PR changes the packaging structure of our code, the program still works, but all tests will fail and I have temporarily disabled Travis to facilitate the porting of code towards owlmoney.

Special thanks to @valerietyj for some minor suggestions in phrasing for the User Guide


[STYLE CHANGE] Change of picture and design in power of knowledge blogs .

The change of picture in the power of knowledge blogs is necessary.The background color should be changed to more vibrant and positive color.Also the text size should be increased with a better font style.For reference i am attaching the screenshot of the issue:

Hey ,  I want to work on this. Can you assign  me ?


Release job incorrectly launches on new branches

https://github.com/CERT-Polska/karton/blob/master/.github/workflows/release.yml#L3
This job seems to launch not only on new tag but new branches as well, this is not the behavior we want

Nope, still incorrect
https://github.com/CERT-Polska/karton/runs/1689264848
We need to find a way to extract tag from push event (or use release event)

Nope, still incorrect
https://github.com/CERT-Polska/karton/runs/1689264848
We need to find a way to extract tag from push event (or use release event)

Looks to be already fixed (used release event)


URI.expand() is missing

I upgraded from v1.15.1 and have just realized that URI.expand() function is now missing. Is there a replacement method to perform URI parameters expansion?

That method should not be missing if you properly loaded src/URITemplate.js

Thanks for the reply.
Yes, the method exist in URITemplate, but URITemplate is not instantiable from outside anymore, right? So the example shows that I can use the expand() method from URI, but I can't seem to execute that function and I can't find it in the source code (URI.js).
Am I missing something that should be loaded properly?

Yes, the method exist in URITemplate, but URITemplate is not instantiable from outside anymore, right?

Why wouldn't it be?
var tpl = URITemplate('baz{foo}');
tpl.expand({ foo: 'bar' });

works fine on my end

So the example shows that I can use the expand() method from URI, but I can't seem to execute that function and I can't find it in the source code (URI.js).

yes, because it is added by URITemplate.js

@suriyanto are you still experiencing problems?

closing because there's no feedback from OP and issue could not be reproduced on my end.

Hi, I was facing a similar problem to @suriyanto.
I can see the URITemplate file and the expand() method within but how can it be require()'d without breaking the package encapsulation?
The Readme suggests this, which has worked for me...
var URITemplate = require('urijs/src/URITemplate');
...but isn't the beauty of packages that you can abstract the internal implementation and rely on its manifest to use them?


Time out updating the index store after 2 minutes

Time out updating of the index store after 2 minutes. We don't expect any single file compilation to take longer than 2 minutes in practice, so this indicates that the compiler has entered some kind of loop. We will try indexing the file again when it is edited or when the project is re-opened.
I did not add a timeout for preparation because it’s much harder to tell what an upper bound could be here. Preparation of a high-level target might take quite a while if none of the lower-level targets have been prepared yet.
rdar://128732571

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows


[Azure Confidential Computing Ledger ] API Review

New API Review meeting has been requested.
Service Name: Azure Confidential Computing Ledger
Review Created By: Amruthashree Anekonda Matadh
Review Date: 09/12/2024 08:00 AM PT
Release Plan:
PR:
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Amruthashree Anekonda Matadh
Service Name: Azure Confidential Computing Ledger
Review Created By: Amruthashree Anekonda Matadh
Review Date: 09/12/2024 08:00 AM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/30290
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Amruthashree Anekonda Matadh
Service Name: Azure Confidential Computing Ledger
Review Created By: Amruthashree Anekonda Matadh
Review Date: 09/12/2024 08:00 AM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/30290
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Amruthashree Anekonda Matadh
Service Name: Azure Confidential Computing Ledger
Review Created By: Amruthashree Anekonda Matadh
Review Date: 09/12/2024 08:00 AM PT
Release Plan:
PR: https://github.com/Azure/azure-rest-api-specs/pull/30290
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Notes from API Review 9/12/24
New endpoints for user-defined/custom endpoints
Merging some features from a related service being deprecated into this service

Url path segments -- kebab-case or camel case?

Service already seems to use camel-case (enclaveQuotes)

Choose "custom" or "user" as qualifier for endpoints, and use it consistently
Do you need "run-time" as a qualifier of "options" ?

Qualifier is to avoid

Why is there no api-version query parameter?

Needs to be added on new endpoints

Why use PUT and not PATCH ?

PUT is not version-tolerant but PATCH is
Is there no need for partial update?

PUT should return 200 or 201 with the same content as the request body
The JavaScript will need to be encoded (escape quotes and backslashes)
What does the name of the property mean ?

What does "additionalProp1" mean? How would the user decide what this should be?
Looks like a mistake
If you just want a collection then an array would be simpler / easier for users
CCF defines the endpoint properties -- can't change that

How will this code be debugged ?

Is it just printf debugging ?
What if my JavaScript goes into an infinite loop ?

run-time-options -- if it only sets JavaScript options then maybe make the body polymorphic or make the url explicit
user-defined-endpoints - why not a resource id on this URL ?

This is a singleton resource
Where is the URL for the endpoint ??
Maybe this is the key in the additional properties.

Whatever is defined by CCF should be unchanged here, but needs to be clearly documented
Consider adding support for conditional requests, especially for PUT on user-defined-endpoints

Please address these points and we will approve for preview.
There are concerns about the usability of this feature so please focus on this in the preview with customers.


[FEATURE REQ] Provide option to exclude UsernamePasswordCredential from EnvironmentCredential

Library name
Azure.Identity
Please describe the feature.
EnvironmentCredential uses a ClientSecretCredential, ClientCertificateCredential, or UsernamePasswordCredential to perform the authentication. For our scenario, we don't support UsernamePasswordCredential and we strongly encourage customers not to use password grant type for auth. To support our scenario, it would be nice to provide an option to exclude UsernamePasswordCredential from EnvironmentCredential as we do not support it.

@peombwa Could you use ChainedTokenCredential instead of EnvironmentCredential? With it, you can form your own custom credential chain, thereby excluding UsernamePasswordCredential.

//cc: @schaabs

@peombwa Could you use ChainedTokenCredential instead of EnvironmentCredential? With it, you can form your own custom credential chain, thereby excluding UsernamePasswordCredential.

Thanks for the response. Using ChainedTokenCredential would require us to write our own implementation of environment variable credential as we will need to read the environment variables ourselves to set them to the right TokenCredential classes. It also adds a maintenance cost as we will need to keep up with new environment variables added in the future.
Using the existing EnvironmentCredential implementation works well for us, we'd just like to have the option to exclude UsernamePasswordCredential from the list of TokenCredentials used to acquire a token. This would be something like Exclude* properties in DefaultAzureCredentialOptions.


theme is broken in betterdiscord

Describe the bug
A clear and concise description of what the bug is.
Only the plugins and theme library are kinda themed
Screenshots
If applicable, add screenshots to help explain your problem.

Duplicate of #258


where can I find the poolserver.sql?

Can you tell me what is the structure of 'poolserver' database?

http://pastebin.com/0kvHvKJD
Here is structure for the tables used by poolserver. It is quite messy and may have obsolete fields because of backwards compatibility but it should work. I'm still running this pool software for http://ppcoin.d7.lt/ but have otherwise abandoned this project.


Quickbooks version vs Quickbooks Online

Currently Power BI only supports US editions of QuickBooks Online
Is this still the case if only US editions of Quickbooks Online can work now?
How about the Reckon Account Hosted Edition ?
Many thanks

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

ID: 1b4c81dc-0503-5134-ddaf-2ce3e166b52d
Version Independent ID: e4e84344-d034-5f1f-9739-7623e311672f
Content: QuickBooks Online
Content Source: powerquery-docs/Connectors/QuickBooksOnline.md
Service: powerquery
GitHub Login: @DougKlopfenstein
Microsoft Alias: v-douklo

Thank you for your feedback.
This seems to be product feedback or a request for product support. Please direct those queries to the application-specific support site (in this case, the Power BI support site).


Faulty debug output: early/late packets

In this example, the counter for late packets should increase, not the one for early packets. Obviously a queue underrun (!) occurs, not an overun.
Remote host:             <IP_ADDRESS>
Port:                    9000
Queue length (subindex): 1 (0)
Early/late packets:      2616 / 0
Recoveries succ/fail:    1 / 7
Mem:                     4
===============================
Remote host:             <IP_ADDRESS>
Port:                    9000
Queue length (subindex): 1 (4)
Early/late packets:      2616 / 0
Recoveries succ/fail:    1 / 7
Mem:                     4
===============================
switchState() -- new state: recovering
switchState() -- new state: syncing
switchState() -- new state: playing
Remote host:             <IP_ADDRESS>
Port:                    9000
Queue length (subindex): 4 (2)
Early/late packets:      3077 / 0
Recoveries succ/fail:    1 / 8
Mem:                     4
===============================
Remote host:             <IP_ADDRESS>
Port:                    9000
Queue length (subindex): 3 (0)
Early/late packets:      3077 / 0
Recoveries succ/fail:    1 / 8
Mem:                     4
===============================

Signed type needed for local variable seqno_delta


Support default

We don't yet support the default rule in the ninja build file

Handled partially by https://github.com/elliotgoodrich/trimja/pull/19


Support octicon in ThemableDecorationRenderOptions for gutter

Today, I can only use images (files) to create decorations, defining gutterIconPath. It would be interesting also support octicons, maybe the same way that StatusBarItem does:
    var myDecorationType = vscode.window.createTextEditorDecorationType({
        gutterIconPath: '$(icon-name)'
    });

To keep the number of issues in our inbox at a manageable level, we're closing issues that have been on the backlog for a long time but haven't gained traction: we look at the number of votes the issue has received and the number of duplicate issues filed. Thank you for your time and understanding.
P.S. If you disagree and feel that this issue is crucial: we're happy to listen and to reconsider.


python310Packages.pycaption: Disable tests

Description of changes
There is a known issue with the test code in the upstream: https://github.com/pbs/pycaption/issues/304
Until it's fixed, we can just skip the tests.
For ZHF https://github.com/NixOS/nixpkgs/issues/230712 at the #ZurichZHF hackathon!
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Or can we patch it with the commits from https://github.com/pbs/pycaption/pull/305?

Or can we patch it with the commits from pbs/pycaption#305?

I considered this as well but decided against it since it does only affect the tests. We can pull in the fix as soon as it is merged upstream.


Failed to start Basmati battery status monitor.

Just got these error:
After running make install and following the cp commands, got these error:
$systemctl start basmati.service
Job for basmati.service failed because the control process exited with error code.
See "systemctl status basmati.service" and "journalctl -xeu basmati.service" for details.
$systemctl status basmati.service
× basmati.service - Basmati battery status monitor
Loaded: loaded (/etc/systemd/system/basmati.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2024-04-15 14:07:16 WEST; 24s ago
Main PID: 4405 (code=exited, status=1/FAILURE)
CPU: 74ms
Apr 15 14:07:16 pop-os systemd[1]: basmati.service: Scheduled restart job, restart counter is at 5.
Apr 15 14:07:16 pop-os systemd[1]: Stopped Basmati battery status monitor.
Apr 15 14:07:16 pop-os systemd[1]: basmati.service: Start request repeated too quickly.
Apr 15 14:07:16 pop-os systemd[1]: basmati.service: Failed with result 'exit-code'.
Apr 15 14:07:16 pop-os systemd[1]: Failed to start Basmati battery status monitor.
Running journalctl -xeu basmati.service just says, job failed, defined by systemd, suport ubuntu.com/support, job identifier is 3593.

I don't really know what's going wrong. It works for me. Without an actual error message, I can't really debug it.
Perhaps you can try running basmati manually to see why it exits early?


Allow onnxruntime quantization preprocessor for dynamic quantization

What does this PR do?
Currently, for the onnxruntime backend, the QuantizationPreprocessor is usable only for static quantization to exclude nodes to quantize, because the onnx model needs to be already saved when initializing QuantizationPreprocessor, which was handled by partial_fit method used during calibration.
With this PR, it is possible to use QuantizationPreprocessor for dynamic quantization (if it happens to be relevant at some point -- at least I would like to test it), while making no change to the current workflow.
Before submitting

QuantizationPreprocessor is largely (publicly) untested and documented, in a future PR we could improve that.

This follows up https://github.com/huggingface/optimum/pull/166 , I messed up with my fork.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Got a test not passing, however I think this has no link with this PR, will rerun:
2022-05-18T10:07:30.8335969Z ======================================================================
2022-05-18T10:07:30.8354378Z ERROR: test_dynamic_quantization (test_onnxruntime.TestORTQuantizer) (model_name='facebook/bart-base')
2022-05-18T10:07:30.8354940Z ----------------------------------------------------------------------
2022-05-18T10:07:30.8355263Z Traceback (most recent call last):
2022-05-18T10:07:30.8500187Z   File "/home/runner/work/optimum/optimum/tests/onnxruntime/test_onnxruntime.py", line 129, in test_dynamic_quantization
2022-05-18T10:07:30.8502853Z     validate_model_outputs(
2022-05-18T10:07:30.8503854Z   File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/transformers/onnx/convert.py", line 415, in validate_model_outputs
2022-05-18T10:07:30.8506013Z     raise ValueError(
2022-05-18T10:07:30.8506559Z ValueError: Outputs values doesn't match between reference model and ONNX exported model: Got max absolute difference of: 0.8644396662712097

from https://github.com/huggingface/optimum/blob/50cf2468903596f580102a484e50ce87b74fe4a5/tests/onnxruntime/test_onnxruntime.py#L129-L136
For me it is a little worrying that we use atol=0.8, why do we allow it so large @mfuntowicz  @lewtun  ? In transformers conversion, it looks like the default is 1e-5 (see https://github.com/huggingface/transformers/blob/d6b8e9cec7301ba02f642588a6f12e78ec3b9798/tests/onnx/test_onnx_v2.py#L278-L285 and https://github.com/huggingface/transformers/blob/d6b8e9cec7301ba02f642588a6f12e78ec3b9798/src/transformers/onnx/config.py#L199-L207 probably). Can the difference be so large simply due to the backend?

Rerunning, all checks are fine. Weird, not sure why there are non deterministic behavior.

Oh right, it is comparing with a static quantization model.


Add Contributing.md file

Can I add contributing.md file for giving guidelines and rules for contributing to this project?

Can I add contributing.md file for giving guidelines and rules for contributing to this project?

Go ahead. @Kerveyfelix

Hi. Can you label this for NWoC?


tool: The client was using sizeof(pointer) for a buffer size.

No, it's my fault, I didn't catch this in the review!


Ensure @noir-lang/backend_barretenberg will get published on release

can this be closed?

Closed with https://github.com/noir-lang/noir/pull/2989 per @kobyhallx's advice.


Update deps.

Waiting for the new mocha version.

https://github.com/mochajs/mocha/releases/tag/v6.1.0

Updated. Node.js 6 fails for some reason. I'll think how to proceed tomorrow.


Wishlist: use CI for validation

Proposal is to to use github worfklows

I can help on this if you want :)

Done (a0b823b).


[#143] Add Github Action template

https://github.com/nimblehq/ios-templates/issues/143
What happened
Add GitHub Actions Template for App Store
Insight
Add yml file with pipeline to perform test and upload to App Store.
Add fastlane files using actions without including the rb files as discussed
Add Wiki section Github Actions
Proof Of Work

More proof:
https://github.com/blyscuit/Github_Action_iOS/actions/workflows/deploy_AppStore.yml

Make 4 flows as discussed https://nimble-co.slack.com/archives/G418DBL2W/p1626921191002400
By separating workflows (like modules), we will have some workflows:
lint
test
distribute to firebase
distribute to app store
After setting a new project, the team lead just need to pick which workflows are needed for a specific branch (develop, master…)

When trying to use it in my project, xcode build is failed but the Test job still mark as valid 😁

I added fail case to test failing workflow


Update index reference for plotting routine

Python indices start with 0, not 1.
Type of change
Please delete options that are not relevant.

Documentation Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] Make sure you are merging into the develop (not master) branch
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Yeah, I only caught it because someone asked me about plotting.


build: remove some warning suppressions

What type of PR is this?
/kind cleanup
Any specific area of the project related to this PR?
/area build
Does this PR require a change in the driver versions?
no
What this PR does / why we need it:
The build of this library, when performed with warnings-as-errors enabled, suppresses a number of warnings to be able to get to the end of the build successfully. Some of these suppressions are best avoided and the root cause addressed in order not to have the warnings in the first place. The rationale is that, though more restrictive, compiler warnings are a way to keep code more closely checked and, ultimately, at a higher quality.
FTR, the warnings that the PR re-enables are the following.

missing-field-initializers
type-limits

Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
NONE

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: federico-sysdig
Once this PR has been reviewed and has the lgtm label, please assign jasondellaluce for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 497162b13a6d3f0f1ce7f2b976781d8bfe13168e

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: federico-sysdig, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.14.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, federico-sysdig, jasondellaluce
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Attempting to compile unicode-general-category

Hey folks,
I have tried to compile the unicode-general-category crate with polonius, but I wasn't able to do so in an acceptable timeframe (I killed the process after 1h, it was using around 40Gb of ram).
I do know that polonius is under development and this issue will not be solved for a while, but since the compile times are so different (2.5s vs at over 1h/unknown) I felt it justifies to file an issue about this.

Thanks @HollayHorvath.
unicode-general-category generates a constant initializer (CATEGORY_BLOCKS) which contains a single basic block that initializes many thousands of locals one after another. Our current implementation of move/init analysis generates a single fact for each initialized variable at each CFG node (MIR statement). ~100k nodes * ~10k locals = ~1G facts.

I described a pure datalog solution to this type of problem in #182. I'm not sure whether we'll actually go that way, though. It might be better to integrate rustcs dataflow library into Polonius, perhaps by allowing constraints that are backed by dataflow cursors. That said, I think we might want to explore basic-block aware variants of core borrowck relations (subset, origin_contains_loan_at, etc.), and doing it for move/inits is a good first step.
Note that, in the Naive and Optimized variants, we would still need liveness data for each variable at all points, which has the same problems as initializedness. Luckily, the LocationInsensitive invariant should be able to rule out enough potential borrow errors that it won't be a problem for many examples, including this one. Pathological cases will still exist, though.


Investigate how to obfuscate the email address

The goal of this task is to create a shortcode that will obfuscate email addresses.

I think we should have a solution for https://teamdev.com already.


Fronze Conduit, if a Conduit is properly powered then broken, the model will stay.

Side Note: - The Conduit plays the sound of being powered on however neither does the model nor the actual effect of the conduit work.

Fronze

Fronze is now fixed, however side note for conduit not providing effects isn't.


Dynamic Programming - Interview Questions and Solutions

I want to add dynamic programming questions & solutions for interview preparation. (Questions from Leetcode blind 75 will be together)

Please assign it to me @aaryahjolia

I am a contributor in GSSoC 2023.

I will add all the dynamic programming questions along with there type. I will code in C++.