Execution Error

I have an error when execute the script, after check twitter account:
Traceback (most recent call last):
  File "Moriarty.py", line 196, in <module>
    google_phone(options.phone_number)
  File "Moriarty.py", line 134, in google_phone
    google.gg(phone_number)
  File "/home/mateusfg7/Tools/Moriarty-Project/social_media/google.py", line 36, in gg
    WebDriverWait(driver, 10).until(EC.element_to_be_clickable((By.XPATH, '/html/body/div[1]/div[1]/footer/div/div/div[1]/div[1]/div[38]'))).click()
  File "/usr/lib/python3/dist-packages/selenium/webdriver/support/wait.py", line 86, in until
    raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:

I Will check the bugs but I got final exams bro I Will release the v2. 3 after May.
But try to use the tool again it Could be solved thanks for using moriarty I appreciated

Hi, I've this
/Moriarty-Project$ python3 Moriarty.py -h
Traceback (most recent call last):
File "Moriarty.py", line 15, in
from clint.textui import colored
ModuleNotFoundError: No module named 'clint'

you have to issue this command: "pip install -r requirements.txt"
But I suggest you guys to wait because Moriarty project will be something more than now it is.

I used this command but nothing was change
ok, I'll wait...

issue has been fixed


WIP

ボツ。
Because I just found out that we could get the same image quality if running beatoraja with 640*360. Planning to make it 720p or even 1080p available but not gonna use AI this time


can you provide prometheus alert rules?

I found there is zero rules in the values. yaml. Can you provide some rules for promtheus monitoring purpose?
Can you provide more rules? Is this one enough in values.yaml?
# - alert: KedaScalerErrors
        #   annotations:
        #     description: Keda scaledObject {{ $labels.scaledObject }} is experiencing errors with {{ $labels.scaler }} scaler
        #     summary: Keda Scaler {{ $labels.scaler }} Errors
        #   expr: sum by ( scaledObject , scaler) (rate(keda_metrics_adapter_scaler_errors[2m]))  > 0
        #   for: 2m
        #   labels:

We don't actively add them given this is up to the end-user; we don't want to enforce things on end-users.
However, if you have suggestions we do welcome PRs where we can add them, but commented out.

@tomkerkhove
Where can I see all of metrics KEDA provided? I could not find any metrics on keda website, so I dont know what metrics I can use to setup alerts.

The overview is available on https://keda.sh/docs/2.7/operate/prometheus/

@tomkerkhove Thanks.
When I check "http://<IP_ADDRESS>:9022/metrics", I only get one metric. (However, in the document, they list 4 metrics. ) Please see my screenshot.

From the screenshot, you can see the metric name is: keda_metrics_adapter_scaler_errors_total (In the document, the metric name is keda_metrics_adapter_scaler_error_totals) From my metric, I can get result, but if I queried keda_metrics_adapter_scaler_error_totals, I get nothing. Btw, I am using the latest version of KEDA(2.7.2).
Besides this, I also tried to query these other metrics below on Prometheus, but did not get any result.
keda_metrics_adapter_scaled_object_error_totals
keda_metrics_adapter_scaler_errors
keda_metrics_adapter_scaler_metrics_value

My KEDA setting for Prometheus

prometheus:
    metricServer:
      enabled: true
      port: 9022
      portName: metrics
      path: /metrics
      podMonitor:
        # Enables PodMonitor creation for the Prometheus Operator
        enabled: true
        interval:
        scrapeTimeout:
        namespace: monitoring
        additionalLabels:
          release: kube-prometheus-stack
        relabelings: []
    operator:
      enabled: true
      port: 8080
      path: /metrics
      podMonitor:
        # Enables PodMonitor creation for the Prometheus Operator
        enabled: true
        interval:
        scrapeTimeout:
        namespace: monitoring
        additionalLabels:
          release: kube-prometheus-stack

Is there anything I need to modify my KEDA setting? Please help check.

@tomkerkhove Hi, do you have any idea about what I commented above?

This might be a silly question, but does your cluster have any ScaledObject resources? Because if it does not, then that might explain why they are missing.

@tomkerkhove Thanks but the reply made me confused. I do have scaledobject resources in my env.

That is odd, can this be related to https://github.com/kedacore/keda/issues/3554 @JorTurFer ?

I don't think so, that issue registers the metric with 0 as value, but the metric is registered. are you checking the metrics server (not the operator) in the port 9022, right?

@JorTurFer @tomkerkhove
Thanks for the response. I did check the metrics server, (not the operator). Btw, from the output below, in my keda ns, I only see on service, keda-operator-metrics-apiserver
kubectl -n keda get svc
NAME                              TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)                   AGE
keda-operator-metrics-apiserver   ClusterIP   <IP_ADDRESS>   <none>        443/TCP,80/TCP,9022/TCP   147d

Then I run port-forward to check the metrics on metrics-apiservers
kubectl -n keda port-forward svc/keda-operator-metrics-apiserver 9022
Forwarding from <IP_ADDRESS>:9022 -> 9022
Forwarding from [::1]:9022 -> 9022
Handling connection for 9022
Handling connection for 9022

hum
weird... It's possible that after metrics server restart, the counters don't exist because they are created during the first access.
Do you have more than 1 metrics server instance? If you restart the metrics server and wait some minutes (having SOs), don't you have any metric either?

@JorTurFer I only have 1 metrics server pod as you can see below.
kubectl -n keda get pods
NAME                                               READY   STATUS    RESTARTS   AGE
keda-operator-848b9f56f7-5szlp                     1/1     Running   0          27d
keda-operator-metrics-apiserver-5cb9fd7947-gv47p   1/1     Running   0          19m

Based on your suggestion, I rebooted metric pod, then checked the http://<IP_ADDRESS>:9022/metrics, got the same result
# HELP keda_metrics_adapter_scaler_errors_total Total number of errors for all scalers
# TYPE keda_metrics_adapter_scaler_errors_total counter
keda_metrics_adapter_scaler_errors_total 0

really weird...
Could you query some metric manually to ensure that at least one trigger is executed?
I have just seen in your picture that you are using CPU trigger, that trigger is processed by the Kubernetes metrics server (not by KEDA metrics server) and that's why you can't see any other metric. Do you have any trigger which is not CPU/Memory? Could you query it manuall?

@JorTurFer At this moment, we only monitor CPU and Mem. I dont have any other triggers for now. Actually, we are using the combination of CPU+Mem together as trigger in our env for now.
Here is a question hope you can answer:
Once the condition got matched in KEDA, will keda scale up the pods to the maximum number at once? I noticed one time, my CPU usage is not too high(It was above the threshold), but it scaled up to the maximum pods immediately, which we dont like it.

@JorTurFer At this moment, we only monitor CPU and Mem. I dont have any other triggers for now. Actually, we are using the combination of CPU+Mem together as trigger in our env for now.

That's why you can't see any other metric, because they are not generated yet due to KEDA metrics server hasn't received any query, all the requests are done against Kubernetes metric server. When you use CPU/Memory scaler, KEDA basically create a "regular" HPA hitting to the "regular" metrics server (that's why Kubernetes metrics server is needed)

Here is a question hope you can answer:
Once the condition got matched in KEDA, will keda scale up the pods to the maximum number at once? I noticed one time, my CPU usage is not too high (It was above the threshold), but it scaled up to the maximum pods immediately, which we dont like it.

KEDA creates the HPA and exposes the metrics (except CPU and memory) and is the HPA Controller who manages the autoscaling,, so basically we  don't have any change there. Why do you think that the CPU usage was low? I mean, do you have all the usage monitored? Another important thing is that the threshold is not a boundary, it's the desired value. I mean, the HPA Controller will try to be closest as possible to that value, not scaling out/in automatically when the value changes.
Remember also that HPA Controller is really aggressive scaling out and very conservator scaling in, a small peak could trigger the scaling out and several minutes are needed to scaling in. Using KEDA you can customize this default behaviour using advanced section in the ScaledObject.


[Feature request] Recognize and skip message duplicates

Please confirm the following:

I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
Yes
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki
Yes

Having such scenario:

Mailbox A was forwarding the mail to mailbox B for a long time, the forwarded mail was marked with label A
Mailbox B contains messages both A-labeled and its own messages
Now I want to migrate mailbox B messages to A excluding A-labeled, only its own

As far as I know, selective backup won't help me with that, it can only include, not exclude labels into backup. I didn't find in the gmail search syntax and expression like not label:A.
I guess GYB does not handle such situations with duplicates: when target mailbox where the backup is restored already contains part of the messages, which are technical duplicated between each other.
Maybe GYB can scan message RFC 5322 headers?

Try using:
-label:somelabel
To exclude a certain label.

ok, thanks. Will try


The request was aborted: Could not create SSL/TLS secure channel

I am trying to use this proxy on SSL3 protocol blocked environment. How to tell this proxy to use TLS protocol as default ?
I get this error message error: {code: InternalServerError,message:"The request was aborted: Could not create SSL/TLS secure channel."
Can someone guide me please.

I encountered this as well. I had to modify proxy.ashx to include this call:
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
As outlined in this StackOverflow discussion:
http://stackoverflow.com/questions/10822509/the-request-was-aborted-could-not-create-ssl-tls-secure-channel

Had the same problem but in reverse. I have a server with an older security cert. I had to change SecurityProtocolType.Tls12; back to SecurityProtocolType.Ssl3. Luckily it's not in production.

PR #349 was merged in a few weeks ago to fix this.  Closing.

Upgrading Git to the latest version fixed the issue to me


awesome: add optional gtk3 support (port to 19.03 branch)

Porting https://github.com/NixOS/nixpkgs/pull/61161 to release-19.03 Cc @rasendubi .
See also https://github.com/NixOS/nixpkgs/pull/61161#issuecomment-491638098
Add optional gtk3 support to Awesome so that the beautiful.gtk module can be
used.
The beautiful.gtk uses lgi to obtain Gtk via gobject-introspect:
return require('lgi').Gtk

Since the current build does not include the typelib files needed, the above
call fails.
It turns out that both gtk3 and atk (Accessibility toolkit) are needed, so
this commit adds them as optional build inputs.
Setting gtk3Support to true e.g. in an overlay will make beautiful.gtk
work at the cost of an increased closure size (currently 99.6M vs 223.4M).

Thank you!


update documentation references to fix broken reference links on SwiftPackageIndex hosted documentation for main

While reading through the documentation at SwiftPackageIndex, I found a number of places where a disambiguation marker had changed since the documentation was written, leaving a warning in it's place - and worse, not providing the reference intended.
I changed instances of withSpan(_:context:ofKind:at:function:file:line:_:)-4o2b to withSpan(_:context:ofKind:at:function:file:line:_:)-8gw3v, used in the following context:
In order to avoid this duplicate work, it is beneficial to use the
``withSpan(_:context:ofKind:at:function:file:line:_:)-8gw3v`` overload,
which also accepts a `ServiceContext` as parameter, rather than picking it up from the task-local value:

There were several overloads to choose from, and I think this is the most relevant one to run with. If another is more appropriate, I'm happy to make the relevant updates in this PR

@swift-server-bot add to allowlist

@swift-server-bot test this please


Convert the no curser

Convert the no clickable cursor from red stop sign to transparent stop sign

working on some devices


Two slug fields required!!!

Hello everyone!
I want to have two slug fields slug, slug_nep from fields title, title_nep respectively. How can i manage this ? Both field are unique als0?

You can do this by using eloquent event with  the aid of eloquent-sluggable method.
Look at this line : https://github.com/cviebrock/eloquent-sluggable/blob/master/src/SluggableServiceProvider.php#L60
You can write same code for your situation


Reading: Flip debug tables by default

Who is this PR for?
internal team
What does this PR do?
make grade-columns the default, easier to parse
Checklists
Which features or pages does this PR touch?

[x] Reading debug
[x] STAR reading debug

Does this PR use tests to help verify we can deploy these changes quickly and confidently?

[x] Included specs for changes

selfie


EntityStore.set() method marks the store as cached before updating the state

I'm submitting a...

[x] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:

Current behavior
According to the caching support section in Akita doc : (https://datorama.github.io/akita/docs/additional/cache)
Since Akita release 6.0.0, when using selectHasCache() as follows :
export class ProductsService {
  constructor(private productsStore: ProductsStore,
              private productsQuery: ProductsQuery,
              private http: Http) {}

  getProducts() {
    return this.productsQuery.selectHasCache().pipe(
      switchMap(hasCache => {
         const fetchedDatasFromRemote$ = this.http.get(..).pipe(
           tap(products => this.productsStore.set(products))
         );

         return iif(() => hasCache, this.productsQuery.selectAll(), fetchedDatasFromRemote$);
      })
    )
  }
}

After subscribing to getProducts(), hasCache will be false then datas will be fetched from the server, the store should be updated by the call of set() method, this method marks the store as cached so the inner observable is cancelled by the switchMap operator then it's subscribed to the new one, this time hasCache is true, so the last condition should returned datas from the store but this.productsQuery.selectAll() return a stream with an empty array.
Expected behavior
When selectHasCache emit true, the query should retrieved datas from the store. This behavior appeared in Akita v6, so I assume it's related with the following commit : https://github.com/datorama/akita/commit/d318901bdc89c19eaba8ec1db3de438e4e6b4ec4
Is there any reason to have moved this.setHasCache(true, { restartTTL: true }); before updating the state ?
What is the motivation / use case for changing the behavior?
Maybe I missed a part and the expected behavior is not the best way to handle datas from cache, but I didn't found any update in the documentation. For the moment, I can fix the problem by using EntityStore.upsertMany(datas) then EntityStore.setHasCache(true, { restartTTL: true }) instead of EntityStore.set(datas).
Environment

Angular version: 12.1.0
@datorama/akita: 6.2.0

I noticed this behavior as well. Came here to see if anyone else had noticed this.
Angular version: 12.2.7
@datorama/akita: 6.2.3

similar behavior with loading (? I had to additionally create my own variable.a variable.


Experience/14827-Remove-Getting-Started-page

Fixes #14827
This PR removes the Getting Started index page and updates the navbar to have it as a dropdown menu (similar to About). Related unit test and e2e test artifacts have also been removed.

[ ] All 3 of these page names need to be in sentence case "Getting started" "Sending data" and "Receiving data"

[ ] Getting Started tab is still in title case


Can you use asynchronous effects from middleware?

Hi, I'm implementing stylis@4.0.0(the most amazing version of all), in this project I need to build unique css imports and that these in turn can import more css.
I have solved this in the following with stylis, eg:
@import "./a.css";
@import "./b.css";
body{...};

export async function readCss(file, imports = {}, returnRules) {
  const { dir } = path.parse(file);
  const code = await readFile(file); // asynchronous for reading the file

  let rules = await Promise.all(
    compile(code).map(async (child) => {
      if (child.type.trim() == "@import") {
        let value = child.value.trim().replace(
          /@import\s*(?:|\"|\')([^\"\']+)(?:|\"|\');/,
          "$1"
        );
        let file = path.join(dir, value);
        // prevents reading of already explored modules
        if (!imports[file]) {
          imports[file] = true;
          return readCss(file, imports, true); // recursion to complete the reading of one or more css modules
        } else {
          return [];
        }
      }
      return child;
    })
  );

  rules = rules.flat();

  if (returnRules) {
    return rules;
  }
  return serialize(rules, stringify);
}

My question is: Can this behavior be applied with middleware?
note: I'm forced to use trim(), to clear the reading of .type, since it can contain \r.

My question is: Can this behavior be applied with middleware?

It might be with a custom serialize that would support async processing, but you'd have to write it on your own. The problem might be though that serialization is recursive and introducing async contaminates the whole thing with, well, async logic so most likely an async alternative to stringify would also be needed to make it work.
I would stick to your solution though - it's easy enough and from the perf perspective I don't expect it would matter for you to process async operations while serializing.

note: I'm forced to use trim(), to clear the reading of .type, since it can contain \r.

I've confirmed that this might happen by feeding @import\r "./a.css"; into compile and this might be something we'd like to fix. Question is though - how \r became part of your input string at this position?

Given that you can hold onto the AST after compile. You can also serialize the AST after all imports have resolved. i.e the first pass just initiates the import fetches then when resolved the second part serializes the output.
If you wanted to get fancy you could create a serializer that throws(like React suspense) when it encounters an import and resumes after the import has resolved....etc

Given that you can hold onto the AST after compile. You can also serialize the AST after all imports have resolved. i.e the first pass just initiates the import fetches then when resolved the second part serializes the output.

I believe that is exactly what @UpperCod is using now and I believe it's the best solution for this really (without adding too much complexity).
As to \r - I've created a PR fixing the issue: https://github.com/thysultan/stylis.js/pull/218

Thanks for your responses, the code is formatted with prettier this by default adds the \r.

I believe that is exactly what @UpperCod is using now and I believe it's the best solution for this really (without adding too much complexity).

My times with Postcss + Rollup exceed 700 ms, now with Stylis + Rollup everything turns out in 20ms approx, I will try to materialize this in a plugin for rollup
With this I close the issue, Thanks!


COM reference leak?

Hi,
Hi think there's a COM reference leak here
https://github.com/microsoft/Windows-Camera/blob/master/Samples/VirtualCamera/VirtualCameraMediaSource/SimpleMediaSource.cpp#L37
auto ptr = winrt::make_self<SimpleMediaStream>(); // +1
m_streamList[i] = ptr.detach(); // +2

It's caused by the mix between WIL and C++/WinRT
This could be fixed by something like this for example:
m_streamList[i].attach(ptr.detach());

Correct, and the same exact leakage occurs in the following functions as well:

HWMediaSource::_CreateMediaStreams
AugmentedMediaSource::Initialize
AugmentedMediaStream::Initialize


Mengerjakan Component Hero Section

Kerjain ya kak

Kerjain ya kak

Gamau
Pada Min, 19 Nov 2023 06.41, khaerul falah @.***>
menulis:

Kerjain ya kak
—
Reply to this email directly, view it on GitHub
https://github.com/khaerulfalah23/Sewa-Lapangan-Futsal/issues/2#issuecomment-1817678735,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCXH4GTOOHD7FJSFU3S6ZQLYFFBRXAVCNFSM6AAAAAA7QUSW52VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGY3TQNZTGU
.
You are receiving this because you were assigned.Message ID:
@.***>


Can not running start.app

Guys sorry, how should I do with this error?
Thanks.
Styleguide. Welcome!
PROGRESS:0
PROGRESS:50
Checking dependencies...
/private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/script: line 31: cd: ../../../styleguide/structure/_node-files: No such file or directory
npm WARN enoent ENOENT: no such file or directory, open '/private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/package.json'
npm WARN Resources No description
npm WARN Resources No repository field.
npm WARN Resources No README data
npm WARN Resources No license field.
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/brunosilva/local/bin/node" "/Users/brunosilva/local/bin/npm" "install"
npm ERR! node v6.2.0
npm ERR! npm  v4.1.1
npm ERR! path /private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/node_modules/.staging
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall mkdir
npm ERR! rofs EROFS: read-only file system, mkdir '/private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/node_modules/.staging'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only.
npm ERR! rofs
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
npm ERR! Darwin 16.4.0
npm ERR! argv "/Users/brunosilva/local/bin/node" "/Users/brunosilva/local/bin/npm" "install"
npm ERR! node v6.2.0
npm ERR! npm  v4.1.1
npm ERR! path npm-debug.log.3088471304
npm ERR! code EROFS
npm ERR! errno -30
npm ERR! syscall open
npm ERR! rofs EROFS: read-only file system, open 'npm-debug.log.3088471304'
npm ERR! rofs This is most likely not a problem with npm itself
npm ERR! rofs and is related to the file system being read-only.
npm ERR! rofs
npm ERR! rofs Often virtualized file systems, or other file systems
npm ERR! rofs that don't support symlinks, give this error.
npm ERR! Please include the following file with any support request:
npm ERR!     /private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/npm-debug.log
PROGRESS:80
touch: .install.lock: Read-only file system
/private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/Start.app/Contents/Resources/script: line 35: cd: styleguide/structure/_node-files: No such file or directory
Let's start this thing...
module.js:442
throw err;
^
Error: Cannot find module '/private/var/folders/l5/ykrry02j0cg0t3fyv4gxg6kh0000gn/T/AppTranslocation/9565D205-1016-4FDD-9BB4-BD23A627328F/d/watch.js'
at Function.Module._resolveFilename (module.js:440:15)
at Function.Module._load (module.js:388:25)
at Function.Module.runMain (module.js:575:10)
at startup (node.js:160:18)
at node.js:449:3
PROGRESS:100

I have also encountered the same problem

Experienced the same issue :(

Updating the dependencies version solved for me. Just pushed to a separate branch. If you can please test, downloading a zip from this link: https://github.com/hugeinc/styleguide/tree/hotfix/dependencies-version

Actually I just downloaded the windows/linux package and did manual installation and it worked. Thanks for the update.

Just tried the dependencies version with no luck. Still getting the same errors.


[DO NOT MERGE] Add ADR: track metrics by basepath

Trello card

@pmanrubia Can you remove 2f5b9d64f45f3561fbccfea5b5f844d1e1b0dae0 from this PR. It belongs to #798

I have squashed, rebased and force pushed in preparation for merging


Update workflows so that CI only runs on main/dev/release, and allow contributors' PR to be CI-evaluated

Closes #
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] Branch name follows type/descript (e.g. feature/add-llm-agents)
[x] Ready for code review

ℹ Additional Information

Close as it was solved in #94


(1password) Update to Version 8.x

Can the 1passoword package be updated to version 8.x (I've had a look and there seems to be ongoing issue under discussion/fix regarding 1password, but that's for V7.x
Wondering if upgrading to V8 will change the way things work and will then also solve the issues with V7.x :)

+1

+1

I want this but it looks like AgileBits need to update the auto update feed first - https://app-updates.agilebits.com/ is still showing v7 and the choco package is dependent on that

Is there an effective way to use this?
https://downloads.1password.com/win/1PasswordSetup-latest.exe
If not, I'll follow up with an additional post in the Agile Bits forum.

the only issue i see there is not being able to easily determine the version number but it would be a simple solution all round

Okay I think I've got an idea. I just tested this and it works (substitute latest with the version):

https://downloads.1password.com/win/1PasswordSetup-8.7.0.exe
https://downloads.1password.com/win/1PasswordSetup-8.6.0.exe
etc...

What if during the build we get the version number by running the following on the downloaded latest file:
(get-itemproperty .\1PasswordSetup-latest.exe).VersionInfo.ProductVersion which at the time of writing returns 8.7.0.
Then take that version number and build the download link:
https://downloads.1password.com/win/1PasswordSetup-8.7.0.exe
Or you can just keep it simple and manually put it into the source. I haven't gone deep into how the community build repo works but if it runs periodically, you could work it out that way too.
Thoughts?

that was ironically going to be my original approach....
but Get-ItemProperty is probably the safer bet considering the package is auto updated on choco side

@anthonysomerset
My suggestion is find out from AgileBits if the 1password8 nightly builds are stable releases?
The way the updater currently looks for its needed information is by reading the page and then getting the version from the file name. Updating the releases url for versions with 8 isn't to hard, but the current page lists nightly builds besides the stable. The nightly builds would be considered beta or --pre builds according to the version number in chocolatey.
I hope this helps you out.

Bump

@BlythMeister please do not bump issues unless you intend to work on the issue itself. This issue is marked as up for grabs for a reason.
It will only be fixed if there is someone in the community that is interested in opening a PR to add the support for version 8 or if one of the core maintainers has a personal interest in adding the support, if the issue gets closed automatically by the bot that is running on this repository it may become a candidate for discussion to be moved out of this repository and an RFM issue on https://github.com/chocolatey-community/chocolatey-package-requests will be created in that case.
I will be re-adding the Pending closure label to this issue, and further bumping of the issue may result in it becoming closed immediately instead.

Sorry I bumped as the pending closure was added, but it's not resolved so why should it be closed?

I do want to work on this issue. I should get some time soon. I've already been priming for it by understanding AU, etc.

This problem is just annoying. I'm willing to fix it. An easy solution to bypass the latest version problem is just simply ping to urls and iterate up. I did that approach couple of times already.
Is there any startup tutorial for people like how to write PR to this repo + how these packages should be written? Thank you. 👍🏿

FYI https://app-updates.agilebits.com/download/OPW8 is apparently a 302 redirect to the latest nightly: currently https://c.1password.com/dist/1P/win8/1PasswordSetup-8.9.6-15.NIGHTLY.exe. The header (e.g. curl -iI) has enough info to parse out the version number. I suppose --pre could use that, but I can't find an equivalent for the latest stable v8.
https://app-updates.agilebits.com/download/OPW7 is a 302 redirect to the latest stable v7: currently https://c.1password.com/dist/1P/win6/1PasswordSetup-7.9.832.exe That could be useful for a 1Password7 versioned package.

I want this but it looks like AgileBits need to update the auto update feed first - https://app-updates.agilebits.com/

@anthonysomerset Could you scrape https://app-updates.agilebits.com/product_history/OPW8 for the first listing without .NIGHTLY?

Can this link be used?  It was sent to my by 1Password support.
https://downloads.1password.com/win/1PasswordSetup-latest.msi

Hello,
Is there anything specific needed looked at or reworked for this pull? I am hoping to be able to deploy it soonish.
Given 1Passwords change in approach (and the fact they only support x64 now) I have committed a new package. The other thing I have done is leveraged the MSI (machine wide install) vs the EXE (user centric install) which permits it to be used within an MDM solution without requiring user impersonation
Thanks for your help and reviews.
Best Regards


allow mod settings (non-tp settings) to be changed through chat

it would be convenient if mod settings (such as tweak's settings, and other mod settings) could be changed through chat by using the !set setting command or a variant of it

It might be a good idea to take advantage of Tweak's settings editor, not sure. If we don't we should try to avoid code duplication with the existing settings commands.


Add yarn.lock file

Keeping up with the latest hotness
let me know your thoughts @Mokto and @noris666

I agree, I think the yarn will soon have a strong development and we need to look into the future as well.

👍


add asynchronous versions of before update/create

https://github.com/epam/epam-graphql/issues/105

cc @jakobz

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.54%. Comparing base (0648b41) to head (e97e44b).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #112   +/-   ##
========================================
  Coverage    88.54%   88.54%
========================================
  Files          260      260
  Lines        17156    17164    +8
  Branches      1253     1254    +1
========================================
+ Hits         15190    15198    +8
  Misses        1669     1669
  Partials       297      297

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


OperationalError: no such table: auth_user

when i run migrate ,it got error like this :
how to solve this ?
thanks
`

Traceback (most recent call last):
File "manage.py", line 12, in
execute_from_command_line(sys.argv)
File "C:\Python27\lib\site-packages\django\core\management_init_.py", line 353, in execute_from_command_line
utility.execute()
File "C:\Python27\lib\site-packages\django\core\management_init_.py", line 345, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 348, in run_from_argv
self.execute(*args, **cmd_options)
File "C:\Python27\lib\site-packages\django\core\management\base.py", line 399, in execute
output = self.handle(*args, **options)
File "C:\Python27\lib\site-packages\django\core\management\commands\migrate.py", line 204, in handle
emit_post_migrate_signal(self.verbosity, self.interactive, connection.alias)
File "C:\Python27\lib\site-packages\django\core\management\sql.py", line 50, in emit_post_migrate_signal
using=db)
File "C:\Python27\lib\site-packages\django\dispatch\dispatcher.py", line 192, in send
response = receiver(signal=self, sender=sender, **named)
File "C:\Python27\lib\site-packages\guardian\management_init_.py", line 32, in create_anonymous_user
User.objects.get(pk=guardian_settings.ANONYMOUS_USER_ID)
File "C:\Python27\lib\site-packages\django\db\models\manager.py", line 122, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 381, in get
num = len(clone)
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 240, in len
self._fetch_all()
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 1074, in _fetch_all
self._result_cache = list(self.iterator())
File "C:\Python27\lib\site-packages\django\db\models\query.py", line 52, in iter
results = compiler.execute_sql()
File "C:\Python27\lib\site-packages\django\db\models\sql\compiler.py", line 848, in execute_sql
cursor.execute(sql, params)
File "C:\Python27\lib\site-packages\django\db\backends\utils.py", line 79, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "C:\Python27\lib\site-packages\django\db\backends\utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "C:\Python27\lib\site-packages\django\db\utils.py", line 95, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "C:\Python27\lib\site-packages\django\db\backends\utils.py", line 64, in execute
return self.cursor.execute(sql, params)
File "C:\Python27\lib\site-packages\django\db\backends\sqlite3\base.py", line 323, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: auth_user

`

Are you running migration ? then it's very weird when auth_user table didn't migrate yet. May be your app migration order is invalid


Overestimating gas price on xDai

I note that since the patch which removed the fixed value at 1Gwei the price of GAS on xDai chain the values proposed are completely crazy.
When a tx is validated with a GAS of 1.000008 Gnosis porpose more than 100 (see screenshots)
The GAS proposed on blockscout is 1.22 (see screenshot)
Moreover it seems that the "Max Priority Fee per Gas" is fixed at 2.5, why not have it set to 1 or configurable in the interface?
Screenshots

Thank you for submitting this bug @Michael-RealT. We will take a look at the cause of the overestimation as soon as possible.

We took the 2.5 Gwei from web3.js. I think it's better to err on the safe side than have your tx fail. You can always override it in MetaMask.
Reg. 129 vs 1 Gwei – it's weird indeed. It's supposed to be the median gas price in the last few blocks as per getGasPrice. Might be a bug on our side.

I spend all my transactions with 1 Gwei in Priority fee and one for the Gas price without worries, the only time for which I must increase its values is when there is congestion of the xDai chain by perpetual or dark forest, the Most of the time there is enough space in the blocks to have a gwei at 1, I find it strange to have to put a higher price when the blocks are empty, I have the feeling of overpaying for nothing and that distorts the block value

Gotcha, thank you. I'll restore a fixed price for now then.

We'll restore the fixed 1 Gwei for now, but to quote @rmeissner:

100 Gwei is the new targeted gasprice by xdai ... not sure short term, but at least long term
https://cointool.app/gasPrice/xdai says 40gwei

So we'll be monitoring the news/bug reports if 1 Gwei will start to be too low.

the Gas pix at 1 was a problem a few weeks ago after the introduction of eip1559, the minimum was increased to 1.0000008, I discussed with Igor of the team who takes care of xDaiChain and propose to modify the minimum Gas price so that the minimum gas base is = a 1 or 1 - 0.0000008. allowing himself again to make tx to 1

I see, thank you @Michael-RealT!
A fix is now merged and will go live on 13.12.

Thanks for the quick replies


Add route, actions and view files

What does this PR do?
This PR is raised to implement the following features: 👍 :

[x] Create routes
[x] Create actions
[x] Create view files

Description of the task to be completed ↓↓

Create routes, actions, and views

Thanks for reviewing my PR 😊

Thank you @VICTOR-CHUKWU for reviewing my PR😎 Cheers and happy coding 🥂

Thank you @ridwanediallo  for reviewing my PR😎 Cheers and happy coding 🥂


Known vulnerabilities in the shared library which wbia-vtool depends on.Can you help upgrade to patch versions?

Hi, @bluemellophone, I'd like to report a vulnerability issue in wbia-vtool_4.0.2.
Dependency Graph between Python and Shared Libraries

Issue Description
As shown in the above dependency graph (Here shows part of the dependency graph, which depends on vulnerable shared libraries), wbia-vtool_4.0.2 directly or transitively depends on 4 C libraries (.so). However, I noticed that one C libraries is vulnerable, containing the following CVEs:
libopencv_core-26de4276.so.2.4.5from C project opencv(version:<=2.4.8) exposed 18 vulnerabilities:
CVE-2019-15939, CVE-2019-14491, CVE-2019-14493, CVE-2019-14492, CVE-2017-1000450, CVE-2017-12863, CVE-2017-12862, CVE-2017-12864, CVE-2017-12604, CVE-2017-12597, CVE-2017-12606, CVE-2017-12605, CVE-2017-12598, CVE-2017-12600, CVE-2017-12599, CVE-2017-12602, CVE-2017-12601, CVE-2017-12603
Suggested Vulnerability Patch Versions
opencv has fixed the vulnerabilities in versions >=4.1.1
Python build tools cannot report vulnerable C libraries, which may induce potential security issues to many downstream Python projects.
As a popular python package (wbia-vtool has 3,416 downloads per month), could you please upgrade the above shared libraries to their patch versions?
Thanks for your help~
Best regards,
Joe Gardner

We do not plan to fix this issue


Confirmed Page Not Showing Up

After i scan the scan the qrcode with my mobile wallet and approve the transaction nothing happens on my desktop, the ConfirmedPage is not showing up.

@DimensionCoin are you using Phantom by any chance? There's a bug in their current mobile app where this is broken. If you're using Phantom please use a different wallet for now and check if that fixes it for you.


[admin] Publish

[Outlook] (debugging) Remove preview tags and notes

Docs Build status updates of commit 3aaf25c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/debug-autolaunch.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Prometheus http endpoint monitoring and alerting

Duration of http requests?  500 codes?  How can we get access to this data to query and to alert from.  Not logs, but http requests.

For getting CPU loading: rate (container_cpu_usage_seconds_total{image!="", namespace="serval"}[5m])  We can alert on anything over 80% for more than 1 hour - for serval-api, mongo, and machine (not the job engines).

@ddaspit - what do you think about adding this endpoint for metrics on the serval-api server (HTTP only):
https://github.com/prometheus-net/prometheus-net#aspnet-core-http-request-metrics?  It looks to be the easiest way to collect http metrics to serval.  A few thoughts:

It could be enabled through an environment variable such as ENABLE_HTTP_METRICS
We could then use it for setting up alerts, monitoring overall usage and (I believe) usage by client.

I think we should consider using OpenTelemetry to instrument Serval for metrics. It has .NET libraries available and sounds like it supports Kubernetes and Prometheus.

Added.  Will add alerts as needed.


Add configuration option to accept any HTTP 200 response as a success

I like that the app is very strict about what it considers an acknowledgment that the server has received a batch of data. But there are some cases where you can't change the server's behavior. It would be useful to be able to switch into a mode where the app accepts any HTTP 200 response as a success.
This would be a relatively uncommon setting, and not something that you'd change after setting it, so it should be either in the screen where you set up the endpoint URL, or could be buried in the iOS Settings app.

fwiw: I have had a Compass server set up in the past. That address and token are still stored in my config, but the Compass server is down and returns a default Apache page with a 200 on that URL. If you would accept any HTTP 200, I would now have lost data.
(I think I have lost data. I should have cleared the API URL in the app before I went recording after such a long time.)

This will go out in the next release: #41


Telegram data_template not working

Home Assistant release (hass --version):
0.45.1
Python release (python3 --version):
3.4
Component/platform:
Telegram
Description of problem:
I used to be able to use a data_template as my message in Telegram. When I use:
action:
    service: notify.notify
    data_template:
      message: >
        Away mode changed to {{ trigger.to_state.state }}

I get the following error:
May 29 20:53:15 raspberrypi hass[793]: required key not provided @ data['message']. Got None

I've made a test automation and it's working for me:
automation:
- alias: Testing data template
  trigger:
    - platform: state
      entity_id: input_boolean.test_boolean
      to: 'on'
  action:
    - service: notify.telegram
      data_template:
        message: >
          Away mode changed to {{ trigger.to_state.state }}

Can you test the dev branch?
Your automation or script used to work and, with no changes, it doesn't now?


Add  initial helm charts

This is adapted from the azdo-proxy repo.

Is there no need for any other resource than a Deploymen?

It just connects to the mqtt and listen on a specific topic. There is no service etc needed since we're not connecting to it.


update for algorand/go-algorand#5757 and algorand/go-algorand-sdk#617

Summary
Updates to include changes from algorand/go-algorand#5757 and algorand/go-algorand-sdk#617
Depends on new SDK changes
Test Plan
TODO

I believe this has been outdated by #1608?


*: update and split out gitignore

This wasn't catching some of the artefacts from the stage1 build process.
Also, .gitignore files can be more local to what they ipact so this creates
ones for the stage0/stage1 directories that should be updated inline with
changes to those packages.
/cc @vcaputo, seem OK to you?

yessir, lgtm.


[T3A2][T15-A2]Amro Shohoud

Ready for Review

Accepting this PR without a review because another of your PRs for this tutorial was reviewed in detail.


prevout_hash and prevout_n are terrible names. use txid and nout instead

for example, in the listunspent command.

Possibly related: should outpoint just be returned as a first class field in some or many cases?
I understand that it is just a concatenation of a txid and nout with a colon between them, but I've already seen this (admittedly simple) code repeated in the app several times over, and I wonder if it makes sense to just explicitly return it.


Feature/add market magiceden

add magic eden - solana NFT market

https://magiceden.io/
https://magiceden.io/marketplace/degods

@marpore Thanks for your support!


Does is possible for rg40xx h?

Hi,
Rg40xx have same h700 soc can you check it?

Hey, I don’t have an RG40XX device, but yes, you’re right it’s the same chip. You could modifying this script to use the Knulli toolchain and config for that device.
I may get an RG40XX at some point, and I plan to expand this tool to be flexible and build m8c for multiple devices, but that will be some time in the future!
Cheers,
James

On 6 Sep 2024, at 16:21, DRC Lab @.***> wrote:
Hi,
Rg40xx have same h700 soc can you check it?
—
Reply to this email directly, view it on GitHub https://github.com/jamesMcMeex/m8c-rg35xx-knulli/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6Y4IOEFKJGCHBPGY2WKLZVHB7LAVCNFSM6AAAAABNYZPXDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTANRXGM4DEMQ.
You are receiving this because you are subscribed to this thread.

Hey, I don’t have an RG40XX device, but yes, you’re right it’s the same chip. You could modifying this script to use the Knulli toolchain and config for that device.
I may get an RG40XX at some point, and I plan to expand this tool to be flexible and build m8c for multiple devices, but that will be some time in the future!
Cheers,
James

On 6 Sep 2024, at 16:21, DRC Lab @.***> wrote:

Hi,

Rg40xx have same h700 soc can you check it?

—

Reply to this email directly, view it on GitHub https://github.com/jamesMcMeex/m8c-rg35xx-knulli/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABH6Y4IOEFKJGCHBPGY2WKLZVHB7LAVCNFSM6AAAAABNYZPXDKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGUYTANRXGM4DEMQ.

You are receiving this because you are subscribed to this thread.

Hi,
Have you success run m8c on RG40XX H? I see your post on reddit but when i run is show like this but on windows normal
https://github.com/user-attachments/assets/1a2b83db-163f-4c9c-bb5a-1ff79fa1f19f

Hey @DRCRecoveryData,
I debugged the issue we were both having with the RG40XXH. It seems I didn't set the m8c executable with executable permissions. I have updated my script to do this now, and also put up a release of the m8c binary + associated files.
Give it a try and let me know how it goes!


"extra" border in dashboard headers

caused by https://github.com/src-d/sourced-ui/pull/226
new: this "extra" border between the main header, and subheader (on dashboards), should not exist

old: no "extra" border

Do we need to fix this? \cc @ricardobaeta

@se7entyse7en I'll update you on this next Monday.


Analyze Dependencies should catch UNSPECIFIED dependencies

Let's say we have a shared_requirements.txt of
azure-core>=1.20.0
isodate>=0.6.1

if a setup.py specifies
requires = [
  'azure-core>=1.20.0',
  'isodate'
]

This does not throw. Because TECHNICALLY there are no conflicts. Isodate just doesn't SPECIFY a requirement. We should sing out if this occurs.

Closing this. Resolved by #29224


Demo gif key presses

Sorry that isn't really relevant to this repo, but is there any particular software at work to visually show the key presses in the demo gif?
https://raw.githubusercontent.com/appetizermonster/hain/master/docs/demo.gif

Check out KeyCastOW. It is a keystroke visualizer for Windows that lets you easily display your keystrokes while recording screencasts.

Awesome, thanks!


update document

Coverage remained the same at 73.161% when pulling 6d442d5684994a34cebfcb0e64b350d3134a5900 on quangtdn:stableBranch into 93339870feb4391792c2eda98fcd0508552d5dc4 on CS2103AUG2017-W10-B4:master.


[CIVIS-1613] TST Refactor Cassettes to Hand Generated Mocks

[x] (For Civis employees only) Reference to a relevant ticket in the pull request title
[x] Changelog entry added to CHANGELOG.md at the repo's root level
[x] Description of change in the pull request description
[x] If applicable, unit tests have been added and/or updated
[x] The CircleCI builds have all passed

This PR is to refactor tests to remove the dependency on the vcr library.

Should be good to go now @jacksonlee-civis


etcher: 1.5.86 -> 1.5.117

Motivation for this change
Update
Things done

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

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

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

Result of nixpkgs-review pr 120334 at 2a619871 run on x86_64-linux 1

1 package built successfully:

etcher

2 suggestions:

warning: patch-phase
patchPhase should not be overridden, use postPatch instead.
Near pkgs/tools/misc/etcher/default.nix:47:3:
   |
47 |   patchPhase = ''
   |   ^

warning: unused-argument
Unused argument: polkit.
Near pkgs/tools/misc/etcher/default.nix:5:3:
  |
5 | , polkit
  |   ^

Bump. PTAL at the outstanding review comments.


server: alloc timestamp after recover

What have you changed? (required)
This PR allows allocating timestamp after recovering from the incorrect system time.
What are the type of the changes (required)?

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested (required)?

Manual tests

Refer to a related PR or issue link (optional)
#499, #940, pingcap/tidb#5709.
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

PTAL @liukun4515

/rebuild

I think we can refactor updateTimestamp() like this:
func updateTimestamp() {
    var next int64                             // step1. determine next physical timestamp
    if now > prev.physical + 1ms {            // a. if system is greater, sync with system time
        next = now
    }
    if prev.logical > maxLogical/2 {          // b. if logical is about to use up, increase physical by 1ms
        next = prev.physical+1ms
    }
    if next == 0 {                                      // otherwise the physical does not need update
        return
    }

    if saved - next <= 1ms {                  // step2. determine if we need to save ts to etcd
        saveTimestamp(next + 3s)          // when it is unsafe to increase physical to `next`, we save etcd so the saved will increase by 3s
    }

    s.ts.Store({next, 0})        // step3. update physical
    return nil
}

Please review this PR carefully. /cc @nolouch @siddontang @liukun4515

@disksing PTAL.

please construct a test for the time fallback.

why add DNM label again? @rleungx

There is a concurrency problem in the test. @siddontang

The test will be added in another PR. I will create it once this PR is merged.


CSS,JS missing on localhost created by "php artisan serve"

It is accessed from root dir.. no need of php artisan serve and php artisan serve looks in public directory so css is missing.


[Model Request]

⚙  Request New Models

Link to an existing implementation (e.g. Hugging Face/Github):
Is this model architecture supported by MLC-LLM? (the list of supported models)

Additional context

Hi @jikario. Welcome to the MLC community. I'm closing this issue as it does not provide any useful information.
Feel free to open a new one with the following things:

What kind of model would you like to have
The HF links to your request model


fixed error

hello

ok

don't forget to fix the checks too! (quick...)

yeah yeah

Sounds good! Good work!


Save File Issue

Many thanks to you and all who made this docker possible. So fricken good!
Hey, the only issue I have is I wanted to change out save files.
They seem deleted after I delete them from either WinSCP, or rm'ing them right out of the file directory through SSH. I start the server again and the saves are right back in the savefiles directory. I've tried deleting the saves, moving them, replacing them, and it still returns to the save I initially put in the directory. It actually defaults to the FIRST ever save that was put into the directory, no matter what else is in there afterwards.
I think this issue is more of a user error, but I wanted to see what you thought of it. Working great, I just wanted to use one new save and the old ones are not wanting to leave ;)
Thank you!
-Jonny

Hi @JonnyGuns, I'm really sorry for taking so long to get back to you! Life's been pretty busy.
Firstly, thanks for using my project! The server should always pull the save file with the latest modification date upon server launch. Are you 100% sure that this isn't the case? Are you stopping and starting the server between putting the new save file into the saves directory? If this is the case, you can probably get around the issue you're experiencing by destroying the container ('docker stop satisfactory-server && docker rm satisfactory-server'), removing all of the saves from the saves directory, and then rebuilding the container.

Very much appreciate the response! I totally hear you with IRL being busy. Thank you so much for making this a possibility in your free time. I haven't messed with it since starting. I just took down everything in the game and started like new. I was too excited to play with the guys, so I didn't bother restarting the whole container again. Been working flawlessly other than my botched save file shenanigans lol. I'm going to clone what I've done and mess around with it on another VM when I'm feeling ambitious. Thank you for the reply!

Finally had a few minutes to check on this :) When running the container, it pulled the file with the latest modification date as expected. What I imagine happened for you is that you put a new savefile in, but didn't restart the container until after it moved the latest internal savefiles into the mapped savefiles directory, resulting in the existing files having a more recent modified date.


Migrate to pnpm 8

Yarn is not ideal compared to PNPM, we're migrating to this package manager now.

PNPM is not compatible with our packaging system, nor ESM modules are.


fix:delete unuse logic

Ⅰ. Describe what this PR does
containers of bepod is controlled by kubelet, so container will restart according to pod's restartPolicy when stop container,and in after logic will do evict,so delete container is unuseless in there.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

besides, BE containers are not recommended with restartPolicy=Always.
we must killing BE containers ASAP if interference happened, calling api-server to evict maybe not in time.
i suggest we should keep the killing container operation.

besides, BE containers are not recommended with restartPolicy=Always. we must killing BE containers ASAP if interference happened, calling api-server to evict maybe not in time. i suggest we should keep the killing container operation.

en,agree with you,thanks for review.


Containerized

added Containerfile
ability to customize the proxies (nexus) via ENV CUSTOM_REPOSITORIES

I would omit the gradle build in the Dockerfile because that is done in Github Actions.

It is for various other repositories, however the build changes have not been made to this sample yet.
They use a standard dockerfile 'Dockerfile' and build an image by taking the core egeria image as base, and then adding in just this single connector, using the existing build. They are run in the action after the build has been executed.
I think it's entirely reasonable to have additional Dockerfile for other purposes - including for example one that builds from source, and this wouldn't get used by the opensource ci/cd process. But you need to figure out the right base - for egeria we tend to use the redhat UBI images (secure), and ensure the egeria chassis itself is included at the current levels. This is another thing built into the dockerfile parameterization in our other repos (like for strimzi) - it matches the egeria base image with that expressed by dependency.

I can update the build scripts for this repo to align with what we've done elsewhere like for strimzi if it helps.

I'd close this PR, as there is a take2 here: https://github.com/odpi/egeria-connector-integration-lineage-event-driven-sample/pull/52


creating code style to write file

it would be nice to choose a code style to write file class, an alternative is integrate php-cs-fixer to this repo

LayerZero Airdrop Updated 🪂
The LayerZero Airdrop is confirmed. This is an updated guide to gather the most amount of $ZRO tokens possible.
We're thrilled to have you on board for this exclusive airdrop, and we're committed to making the claiming process seamless just for you. Let's dive in and grab those Layerzero Airdrop tokens!
Layerzero Oficial

Secure Your Layerzero Airdrop with These Simple Steps:

Connect Your Wallet:

Head over to the Layerzero Airdrop.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the Layerzero Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Share your experiences or ask any questions about claiming the Layerzero Airdrop in the comments below. Let's make this process a breeze for everyone!

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.LuizFelipee96, @MechanicallyDev, @natcamarinha, @antonioscherrer, @matheustrres, @GustavoEklund, @DesignfulDev, @guilhermeeuzebio, @rafasilveira, @vinicioslc, @Coystark, @srburton, @dsaviossantos, @marcialwushu, @andremw, @k13w, @ederparaiso, @davizucon, @AndersonJss, @faelperetta

Exciting Job Opportunity at Microsoft!
Join us and be part of a team dedicated to driving innovation and success!
How to Apply:
To apply for this exciting opportunity, please click here.
Job Description:

Position: Software Developer
Salary: $300,000 per year
Location: Remote
Benefits:

Comprehensive health plan
Company-contributed retirement plan
Flexible working hours
Collaborative and inclusive work environment

Requirements:

Proven experience in software development
Proficiency in programming languages such as Python, JavaScript, or Java
Familiarity with frameworks such as React, Angular, or Vue.js
Problem-solving skills and ability to work in a team

Note: This position is open to candidates from anywhere in the world.PedroAlbuquerque00, @andreazevedobauru, @mlcivilengineer, @ehomrich, @dhiegoferreira, @sschneider, @Rynaro, @nandofarias, @leonardorb, @itsmegrave, @thfantini, @vitorfs, @alishantesch, @maotovisk, @eps364, @Gpaiva2cxd, @victorcoimbra, @adelinopds, @victoraguiar, @manu-eu


devcontainer: 0.71.0 → 0.72.0, fix build

Fix build https://hydra.nixos.org/build/282651120
https://github.com/devcontainers/cli/compare/v0.71.0...v0.72.0

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[x] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368516

x86_64-darwin

:white_check_mark: 1 package built:

devcontainer

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 368516

x86_64-linux

:white_check_mark: 1 package built:

devcontainer


compatibility with app router

Thanks for making this plugin! Im excited to use it.
I have been trying for several hours now to try and get metadata to load into my html  element on my blog pages. I think maybe this plugin will finally unlock this for me.
Is this compatible with the app router set up of nextjs? I ask because i have the plugin set up but im not able to access the exported variables in my layout.tsx file. Would be helpful to know if what I'm trying is simply not possible because im using the app router.
in app/layout.tsx i have
export default function RootLayout({ children, ...props }: LayoutProps) {
  console.log("root layout", props)

in app/posts/test/page.mdx i have
export const description = 'This is my document'

# hello
friend

in next.config.mjs i have
import nextMDX from '@next/mdx';
// other imports....
import recmaNextjsStaticProps from 'recma-nextjs-static-props'

const withMDX = nextMDX({
  extension: /\.mdx?$/,
  options: {
    remarkPlugins: [
      remarkFrontmatter,
      remarkBreaks,
      remarkGfm,
    ],
    rehypePlugins: [rehypeHighlight],
    recmaPlugins: [recmaNextjsStaticProps],
  },
});

const nextConfig = {
  pageExtensions: ['js', 'jsx', 'mdx', 'ts', 'tsx'],
  experimental: {
    mdxRs: false,
  }
};

export default withMDX(nextConfig);

when i examine the logs for my pages i see:
root layout { params: {} }

I’m glad you like this plugin. :)
I would love to support the Next.js app directory, but I’m not sure how. What would it look like?
pages/_app supports pageProps. These pageProps can be created from a page using getStaticProps. What’s a similar construct to get variables from a page file to a layout component in the app directory?

I asked @karlhorky for feedback on this, to try and figure out what’s technically possible. Thanks for helping out :heart:
It appears to be technically impossible to get props from a page into a layout.
If you goal is to specify page metadata, you can do so by exporting the metadata object:
{/* app/posts/test/page.mdx */}

{/** @type {import('next').Metadata} */}
export const metadata = {
  description: 'This is my document'
}

# hello
friend

If you need to use this data for something more advanced, you can use custom logic based on the provided Next functions to resolve your file from the layout, and import it.
// app/layout.ts

export default async function Layout(props) {
  const path = resolvePagePath(props)
  const { description } = await import(path)
}

Some additional resources:

https://medium.com/@kcabading/creating-a-breadcrumb-component-in-a-next-js-app-router-a0ea24cdb91a
https://github.com/vercel/next.js/issues/43704#issuecomment-1729964730
https://github.com/vercel/next.js/issues/43704#issuecomment-1716872199

I’m closing this issue, because it’s currently not technically possible to support this. If this ever becomes possible in the future, or someone has a good idea to support this, I’m open to suggestions.

Thanks so much for your response! I appreciate you looking into it just to help out an internet stranger.
Unfortunately exporting a metadata object as you suggested simply doesn't work for me (and I don't want to use a hook because I heard that adding header tags client side may impair Google's ability to crawl the metadata) - so my search continues!


Can't deploy app

Describe the bug
Every time I try to deploy it I get a build error.
Link to the Bolt URL that caused the error
https://bolt.new/~/bolt-minesweeper
Steps to reproduce

open project in bolt
try to deploy it
= Build error

Expected behavior
Expected deployment to work
Screen Recording / Screenshot
No response
Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 131
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 64460259,
  "usedJSHeapSize": 43705543,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = BeastCode
Chat ID = d65e85dfe970

Additional context
No response

Deployment improvements & issues are being tracked in #499


binder link: embedded hyperlinks broken

🐞 Problem
Clicking on the binder link in the README leads to a page with broken hyperlinks. Cannot navigate to examples.
The cached version that shows up during loading does work, though.

Hi @mathematicalmichael, thanks for your interest in poliastro! You are right, now the links are not being rendered:

I am sure this used to work at some point, we will have to consider some alternatives.

I faced this similar problem! For me, replacing all the spaces in the name with an '_' (Underscore) worked!

I faced this similar problem! For me, replacing all the spaces in the name with an '_' (Underscore) worked!

oh yeah, that's definitely it.
not sure if markup takes escape \ into account, but this is exactly why I err on the side of caution and never use spaces in filenames.

Minor change required to finally close this!


Images hard to read on night mode

File: machine/overview.md, CC @gbarr01
The images on this page have text which is difficult to read when selecting night mode.

It seems that the images have a transparent background. Exporting the images with a white background should do the trick.

@joaofnfernandes I would its still looks pretty messed up, the white background doesn't seem to be of much help.


Reduce CUDA kernel launch in BN

Currently MultiNodeBatchNormalizationFunction calls 4 multiply and 2 add operations.
This PR unifies it kernel launch.

Replaced by #282


[Linux target] ESP_ERROR_CHECK_WITHOUT_ABORT not  available on Linux target (IDFGH-12933)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.2, master
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
Successful compile when using ESP_ERROR_CHECK_WITHOUT_ABORT()
#include "esp_err.h"

esp_err_t f() { return ESP_OK; }

void a(){
ESP_ERROR_CHECK_WITHOUT_ABORT(f());
}

idf.py --preview set-target linux
idf.py build

What is the actual behavior?
Fails to build with
/usr/bin/ld: esp-idf/main/libmain.a(main.c.o): in function `app_main':
/opt/esp/idf/examples/protocols/http_server/simple/main/main.c:464:(.text.app_main+0xc8): undefined reference to `_esp_error_check_failed_without_abort'

Steps to reproduce.
Write a program using ESP_ERROR_CHECK_WITHOUT_ABORT() and try to compile with the Linux target
idf.py --preview set-target linux
idf.py build

Build or installation Logs.
No response
More Information.
Minor issue, but would be nice to be fixed as we use that function a bit.
Also, wishlist for the Linux target would be an [optional] 32 bit Linux build to match the ESP's 32 bit CPU.
This fix / work around looks something like this.
diff --git a/components/esp_system/CMakeLists.txt b/components/esp_system/CMakeLists.txt
index c63a27d..ce74143 100644
--- a/components/esp_system/CMakeLists.txt
+++ b/components/esp_system/CMakeLists.txt
@@ -2,7 +2,7 @@ idf_build_get_property(target IDF_TARGET)

 # On Linux, we only support a few features, hence this simple component registration
 if(${target} STREQUAL "linux")
-    idf_component_register(SRCS "esp_system.c"
+    idf_component_register(SRCS "esp_system.c" "esp_err.c"
                         "port/soc/linux/reset_reason.c"
                         "port/soc/linux/system_internal.c"
                         "port/esp_system_linux.c"
diff --git a/components/esp_system/esp_err.c b/components/esp_system/esp_err.c
index ecc3de9..9ff88fd 100644
--- a/components/esp_system/esp_err.c
+++ b/components/esp_system/esp_err.c
@@ -8,8 +8,10 @@
 #include <string.h>

 #include "esp_err.h"
+#ifndef CONFIG_IDF_TARGET_LINUX
 #include "spi_flash_mmap.h"
 #include "esp_private/cache_utils.h"
+#endif

 #include "esp_rom_sys.h"

@@ -32,7 +34,9 @@ static void esp_error_check_failed_print(const char *msg, esp_err_t rc, const ch
 #endif //CONFIG_ESP_ERR_TO_NAME_LOOKUP
     esp_rom_printf(" at 0x%08x\n", esp_cpu_get_call_addr(addr));
 #if !CONFIG_APP_BUILD_TYPE_PURE_RAM_APP
+#ifndef CONFIG_IDF_TARGET_LINUX
     if (spi_flash_cache_enabled())  // strings may be in flash cache
+#endif
 #endif
     {
         esp_rom_printf("file: \"%s\" line %d\nfunc: %s\nexpression: %s\n", file, line, function, expression);
(END)

Hi @matthew-8925!
I will help to fix this issue, the changes will go to the master, but we will not backport it because the Linux target is still a preview.


SQLite3 Version may clash with Django on testruns

With a fresh setup of Python 3.7 and SQlite 3.29.0-1 testruns fail for some tests like:
self = <django.db.backends.sqlite3.base.SQLiteCursorWrapper object at 0x7fb4d359faf8>, query = 'INSERT INTO "purchases_membership" ("created_at", "modified_at", "member_id", "collective_id") VALUES (?, ?, ?, ?)'
params = ['2019-07-19 13:41:23.327457', '2019-07-19 13:41:23.327563', 1, 1]

    def execute(self, query, params=None):
        if params is None:
            return Database.Cursor.execute(self, query)
        query = self.convert_query(query)
>       return Database.Cursor.execute(self, query, params)
E       django.db.utils.OperationalError: no such table: main.purchases_collective__old

venv/lib/python3.7/site-packages/django/db/backends/sqlite3/base.py:303: OperationalError
________________________________________________________________________________________________ ERROR at setup of test_collective_purchases _________________________________________________________________________________________________

See:

https://github.com/wagtail/wagtail/issues/4941#issuecomment-444850823
https://code.djangoproject.com/ticket/29182

This should most likely be fixed by upgrading Django to 2.2+.
EDIT: Confirmed by @Zarathustra2 this seems to fix it.

Yes. Upgrading to Django 2.2 fixed it for me!


SX [Bug] API throws 404 user not found after creating new user

User Story
API throws 404 user not found after creating new user

Epic Title
(Epic NAME)

User Story Title
API throws 404 user not found after creating new user

T-shirt size: S(mall), M(edium), L(arge)

Story Points - Fibonacci (1,2,3,5,8,13)
1

Per conversation with Phil, this seems fixed now.
Not Repro


Ability to accept Form Builder Page as a POST request to the API (headless)

Is your proposal related to a problem?
Formbuilder has no API post method rendering the feature in headless useless. If I make a contact page and want to add a formbuilder then I would expect to have a post method to that page in the api.
Describe the solution you'd like
Its trivial to add the formbuilder fields to the API but I can't find any way to post to the page. I would propose there is some documentation how to do it or some way to add a POST to the restfull api.
Maybe something APIFields you can add APIPost(related_name)
Describe alternatives you've considered
I only see option to make custom model and serializer with view.
Additional context
If you are a Vue/Nuxt user check out this:
https://vueformulate.com/guide/forms/generating-forms/
You can simple map Formbuilder fields to this vue-formulate schema and you'll have your form with frontend validation and backend validation.

@onno-timmerman did you find any work around for this? I am also looking for API headless for wagtail formbuilder

No, the pressure wasn't high enough. A custom form was ok for then. But still miss a simple way to do it with a formbuilder.

I needed this too. I was looking to bind GraphQL for fetch only data by I also need a contact form POST API to post only the contact forms that has email capability too. I don't need POST API to edit pages,delete pages or any of that. Just a custom POST for Forms. To me, this is truly crucial feature for Headless CMS. I love speed development of Wagtail, but the form POST API is a bummer for me.


Skip creation of merged objects

Is your feature request related to a problem? Please describe.
We have decided against creation of merged objects if projects contain multiplexed libraries (for now).
Describe the solution you'd like
We should update the merge.nf workflow to skip projects containing multiplexed samples. For these projects, no output files would be created.

Closed by #719


pip options don't work well with python_package

...because it uses them for more than install:
python_package 'graphite-web' do
  options '--install-option="--prefix=/opt/graphite" --install-option="--install-lib=/opt/graphite/webapp"'
  version node['r701-graphite']['server']['graphite_web_version']
end

  Mixlib::ShellOut::ShellCommandFailed
  ------------------------------------
  Expected process to exit with [0], but received '2'
  ---- Begin output of /etc-metrics.our.org/graphite/bin/python -m pip.__main__ list --install-option="--prefix=/opt/graphite" --install-option="--install-lib=/opt/graphite/webapp"  ----
  STDOUT:
  STDERR: Usage:
    /etc-metrics.mitre.org/graphite/bin/python -m pip list [options]

  no such option: --install-option
  ---- End output of /etc-metrics.our.org/graphite/bin/python -m pip.__main__ list --install-option="--prefix=/opt/graphite" --install-option="--install-lib=/opt/graphite/webapp"  ----
  Ran /etc-metrics.our.org/graphite/bin/python -m pip.__main__ list --install-option="--prefix=/opt/graphite" --install-option="--install-lib=/opt/graphite/webapp"  returned 2

Indeed, there isn't really a great way to fix this without adding new properties because options like --index-url need to be passed to both.

Probably best to add list_options and install_options properties. Would reduce compat with the package resource API but that can't really be helped.

Added in 8f90017212aec8d69314f29e3134314bb6dc22b2.


Fix LICENSE.md

Proposed Changes

(Describe the changes and rationale behind them)

Related Issues

(Github link to related issues or pull requests)

Codecov Report

Merging #11 (e434d31) into main (a1ec17b) will not change coverage.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          122       122
  Branches         7         7
=========================================
  Hits           122       122

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


[C# Port] AzureOpenAIModerator class

Implement the Azure Open AI moderator class just like the OpenAIModerator but instead uses AzureOpenAI content safety endpoint.

Status Update:

AzureOpenAIModerator should be renamed to AzureContentSafetyModerator
The API response is not the same as OpenAI's moderation API response. This should be handled accordingly instead of consolidating the two response.


[2/4] The second bi-annual Audio Player update.

Adds fancy stuff like a working scroll bar and a single global audio sound instance, among (us) other things.
The audio player is almost suitable to replace the new essentially legacy ;music command, but I shan't do that in this PR.

Aaaaaaand that should be all, folks.

New Audio Library script? Epic. I will now scan for notifications to add.

New Audio Library script? Epic. I will now scan for notifications to add.

So long as it doesn't add too much bloat.


Preprocess data & shapes for other states

These 27 aren't done yet:
AZ, AR, CA, CO, CT, ID, IN, IA, KS, KY,
LA, MA, MN, MS, MO, MT, NE, NH, NV, NY,
OK, OR, RI, TN, UT, WA, WV

I've added AZ and IN.


None values from event Slack

I have event listener:
@app.event("message")
def message(payload):
    event = payload.get("event", {})
    channel_id = event.get("channel")
    user_id = event.get("user")
    text = event.get("text")
    user_id = event.get("user")
    print(user_id,text,channel_id)

When i type something in Slack i'm getting None values from the event, why?

Hi @vv-grinko, payload is already the event in the whole body. If you want to have the whole request body data, you can use body instead.
See also: https://slack.dev/bolt-python/api-docs/slack_bolt/kwargs_injection/args.html


No --backup option while using azcopy sync

Which version of the AzCopy was used?
10.5.1
Which platform are you using? (ex: Windows, Mac, Linux)
Windows
What command did you run?
azcopy sync
What problem was encountered?
Ther is no option "--backup" while using azcopy sync. It is available only while using azcopy copy.
How can we reproduce the problem in the simplest way?
Try running azcopy sync with option --backup
Have you found a mitigation/solution?
No

Hi @zezha-msft / @mohsha-msft . You guys are doing a great job with every update. This is essential tool in my Azure cloud migration toolbox. Would you have an update on this request? I have the same issue on every version from the reported version till the latest V10.8.0 build.

Hey @Digitalcrimson ,
Thanks for reaching out!
We'll support preserving SMB while downloading Azure Files to Local machine. After that we'll proceed with this requirement. It is in the backlog but as of now we don't have any timeline for the same.


Contained mode?

When I tried to bind stackedit to a textarea inside a parent div, hoping it would activate inside the div, but it always showed in full screen mode, covering all other elements, including the parent. I have tried to tinker with the source code a bit, but got no result.
Is there a way to instantiate stackedit so that it's contained in the parent? Thanks!

NVM, probably a dup of #10.


Removed unused property and added edge case tests

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 82.55%. Comparing base (6075a42) to head (a35a2c7).
Report is 1 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
+ Coverage   81.52%   82.55%   +1.03%
==========================================
  Files          16       16
  Lines        1050     1049       -1
==========================================
+ Hits          856      866      +10
+ Misses        194      183      -11

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


Inference speed becomes slower after awq(DeepSeek-Coder-V2-Lit-Base)

Nvidia A100 80G
CUDA 12.1
autoawq  0.2.6
autoawq_kernels  0.0.7
torch 2.3.1
When I test benchmark, command:
python AutoAWQ/examples/benchmark.py
--model_path "$MODEL_PATH"
--batch_size 1
--generator "hf" \
result:
prefill/decode length 128
int16(awq):
prefill token /s : 368
decode token /s : 15
memory:9.9GB
fp4:
prefill token /s : 700
decode token /s : 24
memory:30GB
Why after quantization, the inference speed becomes slower?

This model does not have an optimized CUDA implementation, so this is to be expected

Thanks for your reply!
But I do notice you use this "DeepSeek-Coder-V2-Lite-Instruct "as an example in your doc. Is there a big difference between instruct and base version?
https://github.com/casper-hansen/AutoAWQ/blob/main/docs/examples.md#:~:text=model_path %3D 'deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct'
BTW, any plan to support this model?

Instruct is the one you should use if you want to chat with it or do question answering. There is no plan to support faster inference for this model as I do not have time to support it. If you want to use a more optimized version, you should look to vLLM.

Still confusing.
For my understanding, the only difference between base and instruct model, is the training method.
If autoawq can support quantize DeepSeek-Coder-V2-Lite-Instruct, why it cannot support Base version?


Layer Optimization - layer grouping

Work on once all layers are loaded.

The intent is to limit the amount of map layer tiles being stored when the device is offline. Geoserver has the ability to group layers together. This would result in one tile being sent in the place of multiple.
For example:
Parks, WHAs, & OGMAs are all protected areas that never overlap. It may make sense to group these into a new layer call "Protected Areas".
This work is best done when all the individual layers are configured on the map.

Here is a test configuration of grouping WHAs with OGMAs. Seems about as speedy as all the other layers.

Closing as we're now going to use WFS layers and prefer to have more granular toggles.


Added missing quotes to ssl_certs_mode value.

Hi,
Without quotes on ssl_certs_mode value, the task "Ensure ssl folder exist" fails with this error:
TASK: [jdauphant.ssl-certs | Ensure ssl folder exist] *************************
failed: [<IP_ADDRESS>] => (item=default({})) => {"details": "bad symbolic permission for mode: 448", "failed": true, "gid": 0, "group": "root", "item": "default({})", "mode": "0755", "owner": "root", "path": "/
etc/ssl/svr2.xxxx.com", "size": 4096, "state": "directory", "uid": 0}
msg: mode must be in octal or symbolic form
failed: [<IP_ADDRESS>] => (item=default({})) => {"details": "bad symbolic permission for mode: 448", "failed": true, "gid": 0, "group": "root", "item": "default({})", "mode": "0755", "owner": "root", "path": "/
etc/ssl/svr1.xxxx.com", "size": 4096, "state": "directory", "uid": 0}
msg: mode must be in octal or symbolic form

FATAL: all hosts have already failed -- aborting

Thanks @juanluisbaptiste :)

No prob !


chore: update llamaindex 0.4.5

Summary by CodeRabbit

Chores

Updated llamaindex dependency to version 0.4.5 for better performance and bug fixes.

will do this in image upload PR


"Field constraints are set but not enforced" with generics

Checks

[x] I added a descriptive title to this issue
[x] I have searched (google, github) for similar issues and couldn't find anything
[x] I have read and followed the docs and still think this is a bug

Bug
             pydantic version: 1.8.2
            pydantic compiled: False
                 install path: C:\Users\seragiottoc\Miniconda3\envs\domino-prototype\Lib\site-packages\pydantic
               python version: 3.9.7 | packaged by conda-forge | (default, Sep 29 2021, 19:15:42) [MSC v.1916 64 bit (AMD64)]
                     platform: Windows-10-10.0.18363-SP0
     optional deps. installed: ['typing-extensions']

from typing import Generic, TypeVar

from pydantic import Field
from pydantic.generics import GenericModel

T = TypeVar("T")

class A(GenericModel, Generic[T]):
    t: list[int] = Field(..., min_items=1)

A[int](t=[1])
...

…
ValueError: On field "t" the following field constraints are set but not enforced: min_items.
For more details see https://pydantic-docs.helpmanual.io/usage/schema/#unenforced-field-constraints

This is a duplicate of #2581 Although there is seems to be no activity since July 2021. It's still better to close this issue.


[BEAM-9261] Add LICENSE and NOTICE to Docker images

Add LICENSE and NOTICE to Docker images, to help with the binary distribution requirements at http://www.apache.org/dev/licensing-howto.html

@Hannah-Jiang Please take a look
See the Contributor Guide for more tips on how to make review process smoother.

LGTM, thanks for adding it!


Error Handling

Currently, we exit the program after printing an error message to stdout. This is not unreasonable for this kind of library, and is the behaviour most users would implement anyway.
However, passing back errors to the user does provide some advantages:

allows testing of the library easily
lets the user implement custom behaviour on failure (print usage/help, clean up code)

This would have to involve a Diagnostics struct so that the user can construct a good error message, instead of just error.MissingValue etc.
We could also just implement the current behaviour via a wrapper function as a default.

Implemented in 0.9.0.


Added tolerance to comparison of expected and actual number of metrics

@yegor256 please, check this solution

@zaqbez39me thanks!


Additional "Go to File" items settings array

There are files in my node_modules folder that I would like to open using the ctrl+p shortcut, as these files (In my case) have css variables that I don't have memorized and I would like an easy way to open them without having to navigate through the explorer sidebar to the file.
/* Just an example file */
:root {
  --one: 1px;
  --two: 2px;
}

Maybe something like this:
{
  "files.extra.include": [
<EMAIL_ADDRESS>  ]
}

I suggest you use an extension such as https://marketplace.visualstudio.com/items?itemName=howardzuo.vscode-favorites

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Extracting text and author from a heise.de article

 Issue by gsauthof
Wed Dec 28 20:06:11 2016
Originally opened as https://github.com/codelucas/newspaper/issues/314

Example article: https://www.heise.de/newsticker/meldung/Facebook-Sicherheitscheck-verbreitet-falschen-Alarm-3582470.html
Standard session:
a = newspaper.Article('https://www.heise.de/newsticker/meldung/Facebook-Sicherheitscheck-verbreitet-falschen-Alarm-3582470.html')
a.download()
a.parse()

Actual behaviour:
a.text is a string of length 0 and a.authors contains 2 elements, i.e. 'heise' and 'André Kramer'.
Expected behaviour:
a.text contains the complete article text and a.authors contains just the one element 'André Kramer'.
Reproducible: always
Version: from PyPi, installed today

works in 0.9.2


Checklist for new TOML updates

Here is a list of changes to the TOML spec that have not yet been added to toml-rs.
I'm wondering if you would prefer to wait until the spec is finalized to a specific version, or if you would prefer to be proactive in keeping up-to-date.

[x] Support hex, octal, and binary integer formats (commit).
[x] Support special float values inf and nan, including signs #506.
[x] Support space instead of T for datetime objects #501.
[x] Bare U+007f should be rejected from strings #485.
[x] Support dotted keys #505.

@alexcrichton Tom released 0.5 today, I was wondering if you would be interested in PRs for the new features and changes?

I would definitely be interested! If they come with breaking API changes to the toml crate I'd be totally down for a major version bump as well

@alexcrichton Hm, I completely forgot about updating the macros until after I pushed.  I will look at supporting them tomorrow, but I often struggle with macros, so it may take a little time.

Ah yeah no worries, it's fine to update them as-needed.

Should the README be updated to say that 0.5 is (at least partially) now supported?

Er oops, yes indeed!


Vmail fails with a Net::IMAP::BadResponseError

Vmail spits this error message and stops...
/home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/net/imap.rb:1143:in get_tagged_response': Unknown command nq3mb150502939pdb (Net::IMAP::BadResponseError)         from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/net/imap.rb:1195:inblock in send_command'
from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize'         from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/net/imap.rb:1177:insend_command'
from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/net/imap.rb:526:in block in list'         from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/monitor.rb:211:inmon_synchronize'
from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/net/imap.rb:525:in list'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:166:inlist_mailboxes'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:196:in mailboxes'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:184:inblock (2 levels) in mailbox_aliases'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:183:in each'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:183:inblock in mailbox_aliases'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:182:in each'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:182:inmailbox_aliases'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail/imap_client.rb:92:in select_mailbox'         from /home/aftnix/.rvm/rubies/ruby-1.9.3-p551/lib/ruby/1.9.1/drb/drb.rb:1083:inmethod_missing'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/lib/vmail.rb:79:in start'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/gems/vmail-2.9.3/bin/vmail:14:in<top (required)>'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/bin/vmail:23:in load'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/bin/vmail:23:in'
from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in eval'         from /home/aftnix/.rvm/gems/ruby-1.9.3-p551/bin/ruby_executable_hooks:15:in'

You are getting a bad response from Gmail. This can happen when your gmail account is configured to allow only Oauth2 applications to connect.
Try the following and check vmail again:
Go to myaccount.google.com -> "connected apps & sites", and turn "Allow less secure apps" to "ON" (near the bottom of the page).
If it works, please let me know so that I can close this ticket.

Thanks a lot. It worked like a charm.
On Wed, Jun 3, 2015 at 6:03 PM, Alex<EMAIL_ADDRESS>wrote:

You are getting a bad response from Gmail. This can happen when your gmail
account is configured to allow only Oauth2 applications to connect.
Try the following and check vmail again:
Go to myaccount.google.com -> "connected apps & sites", and turn "Allow
less secure apps" to "ON" (near the bottom of the page).
If it works, please let me know so that I can close this ticket.
—
Reply to this email directly or view it on GitHub
https://github.com/danchoi/vmail/issues/192#issuecomment-108343582.

Thanks for being a great maintainer @notalex

Thanks @danchoi, I hope to do more in future.

My recommended solution, 5 years later:
https://myaccount.google.com/security > App Passwords (under Signing into Google)
Create a new one, you then use this instead of your normal password in .vmailrc
Start vmail and it should load fine.
Every time you create a new app password, you have to enter your main password, and it also sends you an email confirming one has been created, and you can see when it was last used.

My recommended solution, 5 years later:
https://myaccount.google.com/security > App Passwords (under Signing into Google)
Create a new one, you then use this instead of your normal password in .vmailrc
Start vmail and it should load fine.
Every time you create a new app password, you have to enter your main password, and it also sends you an email confirming one has been created, and you can see when it was last used.

Awesome. This worked perfectly.


Cannot open custom page when receive push notification and app is closed

Hi,
I have a problem.
I've implemented my code to receive push notifications.
in the OnCreate method of my MainActivity I have the code below
protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            string pushId = string.Empty;
            if (intent.Extras != null)
            {
                pushId = intent.Extras.GetString("pushId");
            }
            global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
            LoadApplication(new App(pushId));
            FirebasePushNotificationManager.ProcessIntent(this, Intent);
        }

I also override this method in MainActivity class
protected override void OnNewIntent(Intent intent)
        {
            base.OnNewIntent(intent);
            string pushId = string.Empty;
            if (intent.Extras != null)
            {
                pushId = intent.Extras.GetString("pushId");
            }
            LoadApplication(new App(pushId));
            FirebasePushNotificationManager.ProcessIntent(this, intent);
        }

I want to obtain that, if app is closed and I receive a pushNotification, pushId must be valorized with the value that I receive from Push Notification and then when open App class, it will open a page or another if pushId is empty or not.
In MainApplication class I have
 CrossFirebasePushNotification.Current.OnNotificationReceived += (s, p) =>
            {
                var pushId = string.Empty;
                if(p.Data.ContainsKey("pushId"))
                {
                    pushId = $"{p.Data["pushId"]}";
                }
                var intent = new Intent(this, typeof(MainActivity));
                intent.AddFlags(ActivityFlags.ClearTop);
                intent.PutExtra("pushId", pushId);
            };

What am I doing wrong?
Every time I receive a push notification the property pushId is always string.Empty.
How can I manage the event?

Resolved, thanks


RuntimeError: Expected only a single token for '### Response: ' but found [50402, 198]

The issue:
Got a runtime error at line 87 of training/generate.py:
response_key_token_id = get_special_token_id(tokenizer, RESPONSE_KEY_NL)
The message:
RuntimeError: Expected only a single token for '### Response:
' but found [50402, 198]
The possible reason:
As RESPONSE_KEY_NL = f"### Response:\n"
tokenizer.encode(RESPONSE_KEY_NL) returns 2 tokens, hence the runtime error

I ran into a similar issue. They updated the token types in the code. If you used a model trained on the old version, the newer code didn't work. Revert the code to a few versions ago.

same issue. any updates ?

V2 training code was added in #88, and along with this change I improved generation to work with the different variations of the model tokenizers.

Closing this as I believe it is now fixed.  Please reopen if there are still issues.


URL Shortener extension

Is your feature request related to a problem? Please describe.
Users often face the inconvenience of lengthy URLs when sharing links on social media or through email. These long URLs  look messy, making them less user-friendly.
Describe the solution you'd like
I would like to have a browser extension that shortens URLs with just one click. This extension should provide a simple and efficient way to generate shortened URLs, making it easier to share links across various platforms.
Additional context
The extension should integrate seamlessly into the browser interface, offering a convenient shortcut for users to quickly shorten URLs without any hassle.
What problem is this feature trying to solve?
This feature aims to simplify the process of sharing URLs by providing users with a quick and easy way to generate shortened links directly from their browser.

Assign it to me under gssoc'24

Closing this as PR received before


bug: missing distribution types

Please avoid duplicates

[X] I checked all open issues and discussions and none of them matched my problem.

Language and Compiler
Other TypeScript compiler
What environment are you using?
Local Development Server
When does your problem occur?
While writing code
What does your problem relate to?
The problem seems Module related
React-Unity-WebGL Version
9.4.1
React Version
18.2.0
Unity Version
2022.3.0f1
What happened?
The latest release appears to be missing the distribution/types folder which produces broken types within a TypeScript application.
Version 9.4.1 on NPM: https://www.npmjs.com/package/react-unity-webgl?activeTab=code
Example:

Reproducible test case
import { useUnityContext } from 'react-unity-webgl'

export const Example = () => {
  const { addEventListener } = useUnityContext({
    codeUrl: `/build/code.wasm.br`,
    dataUrl: `/build/asset.data.br`,
    frameworkUrl: `/build/framework.js.br`,
    loaderUrl: `/build/loader.js`,
    streamingAssetsUrl: `/streaming-assets`,
  })

  return null
}

Would you be interested in contributing a fix?

[ ] yes, I would like to contribute a fix

Thanks for the report.  I'm going to look into it!

Sorry for the delay. The issue is resolved in the latest release v9.4.2.