Laravel mix cannot find config file

Laravel Mix Version: 6.0.0-beta.14 (npm list --depth=0)
Node Version (node -v): v12.19.1
NPM Version (npm -v): 6.14.8
OS: Pop!_OS 20.04 LTS

Description:
I am testing out the beta release of laravel mix, but every time I try to compile my assets it throws an error saying it cannot find my config file. [webpack-cli] The specified config file doesn't exist in /media/storage/Work
It seems like something isn't passing the current path correctly since the path mentioned above isn't actually the full path to where I am compiling my code from. This is my actual CWD: /media/storage/Work Files/Code/laravel-mix
When I tested this, everything worked as expected if I ran it from the following path: /tmp/laravel-mix which doesn't contain any spaces in its full path.
Steps To Reproduce:

Create a folder with a space in the name.
Try to compile code with laravel mix npx mix

webpack.mix.js file
let mix = require('laravel-mix');

mix.postCss('./resources/css/main.css', 'css')

mix.webpackConfig({
    externals: {
        'jquery': 'jQuery',
    },
})

mix.options({
    processCssUrls: false,
    postCss: [
        require('postcss-import'),
        require('tailwindcss'),
        require('postcss-nested'),
    ]
}).setResourceRoot('..')
    .setPublicPath('./assets');

if (mix.inProduction()) {
    mix.sourceMaps();
}
`

I have the same issue. Looking forward to seeing the PR merged.


Vs Code doesn't respect window priority after latest update.

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

Version: 1.57.0
Commit: b4c1bd0a9b03c749ea011b06c6d2676c8091a70c
Date: 2021-06-09T17:22:31.215Z (1 day ago)
Electron: 12.0.9
Chrome: 89.0.4389.128
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: MacOS Catalina 10.15.7 x64 Intel
Steps to Reproduce:

Have Vs Code Window in focus (fullscreen) (not maximized)
Try to tab (cmd+tab) to a different application. Vs code will always stay on top of the other windows.
I've tried restarting everything & killed all processes. Issue started with this latest release.

This is very likely https://github.com/microsoft/vscode/issues/125122

@bpasero Don't think so. What I mean by Fullscreen is NOT equivalent to clicking the green fullscreen button.
i.e. i can still see the status bar at top with the clock, battery, wifi etc.
TL;DR - size of window doesn't matter. It just wont go away when I tab. Will update issue.

Hm yeah, it looks like no fullscreen is involved in your case. What are the exact steps for you?

I have the same problem. Cmd + Tabbing away from VS Code simply does not show the other applications. Downgraded VS Code and everything works again. This issue remain when I use another app for Cmd + Tab: AltTab

Does this reproduce with just one window opening?

Can you attach a screen recording that describes the issue, be as detailed as possible with the steps.

I can reproduce with just a single VS Code window open.
Curiously, if I alt+tab fast so that the application switcher overlay isn't even shown, it works as expected.
If I alt+tab, wait until the switcher overlay shows and then let go of alt, the desired window flashes very shortly and then VS Code is back on top.

This is a minor but very annoyance bug, really hope this could be fixed.
How to reproduce:

with a vs code window open.
switch to another window using cmd+tab, let switcher overlay appear.
vs code will stay on top and disregard the switch action.

Hello @deepak1556, you'll find a screen recording about this issue with alt-tab app here https://github.com/lwouis/alt-tab-macos/issues/992#issue-919175358

If it's helpful, here is the video link directly: https://www.loom.com/share/27bc61d2bcd94d3b8a49f78e82edfe62

This heavily impacts my workflow in a negative way. Hope you can get a fix out for this soon! 🙏

Can you attach a screen recording that describes the issue, be as detailed as possible with the steps.

Example of what information I can provide?

Issue fixed in Vscode v1.57.1 👍

Issue fixed in Vscode v1.57.1 👍

@alk-sdavid For me it stopped working after a while again... 🤔

I have a possibly related issue, where the incorrect window is focused when multiple editor windows are open: https://github.com/microsoft/vscode/issues/126779

I am still having this same issue with VSCode 1.58.2


MetObjects.csv not accessible

This is probably a github LFS issue, but the MetObjects.csv file is not currently accessible via the download button, "View Raw" or via wget.
Using the Download button I get:

Trying wget I get the following:
$ wget https://media.githubusercontent.com/media/metmuseum/openaccess/master/MetObjects.csv
--2018-12-09 20:27:01--  https://media.githubusercontent.com/media/metmuseum/openaccess/master/MetObjects.csv
Resolving media.githubusercontent.com (media.githubusercontent.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to media.githubusercontent.com (media.githubusercontent.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-12-09 20:27:01 ERROR 404: Not Found.

@antonycourtney As you suspected this appears to have been an issue with github. Thanks for letting us know however.


SPI and engine changes for aggregation pushdown

…connectors.
The commit also includes the top level optimizer rule and feature config to control
the experimental behavior.

@Parth-Brahmbhatt does https://github.com/prestosql/presto/blob/master/presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/QueryBuilder.java#L104-L122 need to change too ?

@Parth-Brahmbhatt does https://github.com/prestosql/presto/blob/master/presto-base-jdbc/src/main/java/io/prestosql/plugin/jdbc/QueryBuilder.java#L104-L122 need to change too ?

These are just the SPI changes and the optimizer rule that unblocks any connectors that can support agg pushdown. I will follow up with another PR where we would do this for jdbc connector so we can leverage it in druid connector.

Specially to support the future use case of sum(x+y) -> being converted by the connector to sum(x) + sum(y)

Can't reply inline. This is not correct rewrite, unless data does not contain NULLs.
presto> SELECT sum(x), sum(y), sum(x+y), sum(x)+sum(y)
     -> FROM (VALUES (1,1), (NULL, 2), (3, NULL)) t(x, y);
 _col0 | _col1 | _col2 | _col3
-------+-------+-------+-------
     4 |     3 |     2 |     7

Just one minor comment.
Also:

Squash the review commits into the main one
Rename the main commit to "Add support for aggregation pushdown", since the current title is too long.

Once you apply those changes, I'll go ahead and merge it. Thanks for working on this!

Done

CI failures are unrelated

Merged. Thanks for working on this @Parth-Brahmbhatt!

🎉 🚀  thank you @Parth-Brahmbhatt!


Changing from raw<->markdown can fail to usefully preserve formatting (lists, text style)

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
when switching rich<->raw view using the markdown editor, formatting can be misinterpreted/lost
- If the current behavior is a bug, please provide the steps to reproduce.

text style: I had some bold phrases in rich view, switched to markdown (text still surrounded by double-asterisk here, so far so good), edited (or didn't) those phrases and other things, switched back to rich and found that some of the text was now literally surrounded by two asterisks instead of being bold anymore.  Don't have a solid repro case but I bet you can make it happen with a big document and embedded rich bold text like this in the middle of some normal content
list formatting: when using a somewhat complex list with sub-numbers, it can be impossible to get it formatted correctly.  I'm talking about something like the following:

2
  -
  -
  -
3
4
  a
  b
5

What happens then is some version of:

that the "3" will become a "4" for the indented list and everything below will also remain indented
that the "3" will become a new "1"

- What is the expected behavior?
it works as expected ;)
- Please mention your node.js, and operating system version.
this is the netlify version, installed at https://www.netlify.com/admin

@fool this is one of many oddities related to our current, non-ideal markdown editing scenario, which will be addressed in #246. Closing in favor of that.


Allow pool_fee to be input as single int for Uniswap V3

Allows pool_fees argument to be specified as a single int, instead of array. E.g. user can input 3000 instead of [3000]
This makes the api for two way trades between Uniswap V2 and V3 identical, and slightly simplifies development efforts for Tradeexecutor module
Fix pool_fees typing bug (previously specified as float, supposed to be int)
Add assertions for pool_fees type
Adds 3 more tests for swapping on Uniswap V3.

One were the fee is provided as int
One were the fee is provided as float. Test is expected to raise ValueError
One were the fee is provided as a float list. Test is expected to raise AssertionError.

Already done in #112


⚠ Jenkins Plugins Artifactory has degraded performance

In ac940f9, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1551 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 8185d7f after 12 minutes.


Consider prefixing type names with MetSys prefix

I have been using MetSys but wanted to move to using a Resource for saving data.
I unfortunately created a SaveData.gd with class_name SaveData, which immediately caused Metsys to crash loop restarting Godot non-stop, due to the naming conflict with:
const SaveData = preload("res://addons/MetroidvaniaSystem/Scripts/SaveData.gd")
in MetroidvaniaSystem.gd.
It would be great if MetroidvaniaSystem used names like MetsysSaveData, MetsysSettings, etc, to prevent naming conflicts like this. Usually it's easy to figure those out, but the fact that it causes a reload loop makes it quite annoying.

In 5a581cee07cc032ceb222110fc0820e9ce10ae36 I renamed Settings and SaveData to prevent common conflicts.
a60db99928513897c9bde93aef37d916138da8dd prevents restart loop. When singleton fails to load after restart, an error dialog appears instead.


Allow listening on multiple queues

I've been playing with Que and the ActiveJob wrapper in Rails 4.2, looks really useful so thanks to everyone who contributed so far.
It took me a while to realise that an apps Que workers will only listen to one queue at a time, defaulting to ''. Once I'd figured out I could set QUE_QUEUE environment variable I made some progress. However I ran into trouble again when using the new deliver_later functionality in ActionMailer. The job it creates puts mails on the mailers queue. I've worked around this in my test app by putting all my jobs on the mailers queue but it's not a great solution.
I can think of two solutions to this.
The simpler one would be to let QUE_QUEUE potentially be a list of queues separated by commas and tweak the :lock_job sql to use WHERE queue in ...
A more complicated (but more flexible) solution would be to somehow let the app override set_up_workers and create it's own workers listening to whatever queues were required. This may already be possible by setting worker_count to 0 and doing Que::Worker.workers.push Que::Worker.new('foo') as required. I'll test this out after I've finished writing this ticket.
Would you object to a PR allowing something like the following?
# One worker for the mailer queue and two for the default queue
Que.worker_configuration = { 'mailers' => 1, 'default' => 2 }

I've also ran into cases where multiple queues would be nice.
ActionMailer's deliver_later puts stuff into a 'mailer' queue by default?

Yes, though it's mailers plural: https://github.com/rails/rails/blob/master/actionmailer/lib/action_mailer/delivery_job.rb#L7

eww, yes, that's going to confuse a ton of people.

OK, so in config/application.rb I have
Que.worker_count = 0
Que.mode = :off

and then in my config/puma.rb (important the worker setup comes after the mode change :smile:)
Que.mode = :async
Que::Worker.workers.push Que::Worker.new 'mailers'
Que::Worker.workers.push Que::Worker.new 'default'
Que::Worker.workers.push Que::Worker.new 'default'

Running the test app and putting something in both queues led to both queues being emptied :tada:
However the wakeup / wrangler stuff looks like it assumes workers are going to be looking at the same queue so maybe this will complicate things to much. There's a workable workround above and perhaps wanting something more complicated is a sign you need to go to either external workers or start looking at some of the other queuing solutions.

Just noticed something odd with the setup above. If I add a job to the mailers queue via rails console it gets processed fine. If I add jobs to the default queue via rails console they don't get picked up. However when I hit the page in the app that generates jobs to both queues then both get emptied. So I think at this point I'd be happier having a go at implementing the first solution (allowing a list of queue names) so rails apps wouldn't have to stuff everything into mailers. WDYT?

The usage of the "mailers" queue isn't configurable? That sounds like something the ActiveJob adapter should handle, if possible. The named queues functionality in Que was really only meant for the case where different codebases need to access the same queue - in my experience, other systems use named queues mainly to implement priorities, but we have those built in. So I was hesitant to add them in the first place (and I regret it a bit now - it may have been preferable to support multiple job tables for that use case), and I'm hesitant to encourage further use of them. But I suppose it's always better to be more flexible and support more use cases.
Anyway, I don't think it'd be a good idea to let one worker pull items from multiple queues, since I think it'd complicate the job lock query by quite a bit, relying as it does on the ordering of the (priority, run_at, job_id) trio. I haven't benchmarked it, but I expect it'd be very bad for performance. We could prepend the queue name to that list, but then workers would always work through their queues in alphabetical order, which would probably be unexpected and unhelpful.
Supporting multiple worker pools would be more performant, and would probably be preferable in terms of cleaning up the codebase anyway. I can work on it this weekend.
A quick workaround for your current problem would be something like:
# In an initializer:
worker = Que::Worker.new("mailers")
Thread.new { loop { sleep(5); worker.wake! } }
at_exit { worker.stop.wait_until_stopped }

@chanks Thanks for the workround, I will have a play with it later. I really like how focused Que is, it's the perfect queueing system for an app in development on Heroku and so I don't know if making it more complicated to support more use cases is best in the long run. If it wasn't for Rails/ActiveJob using different queue names then I probably wouldn't have been asking about it. It's up to you of course! :)
Would telling Que to ignore queue names be workable? I.e. just pretend they don't exist so you don't run into the problem? And if you do need different workers for different queues you could run different rake tasks configured through environment variables.

Thanks! I do think it makes sense to make worker pools their own class from a modularity and cleanliness perspective. I think it's somewhat similar to the different approaches ActiveRecord and Sequel take to databases. We have this worker pooling functionality crammed into the Que::Worker class, similar to the database logic that's in ActiveRecord::Base, whereas in Sequel databases are just objects that can be instantiated, used, and discarded if necessary. Even though most apps never connect to more than one database, I think it's still a nicer, cleaner model.
Having a configuration option to ignore passed queue names and always insert the empty string would probably work, but does feel very hacky. That would be a more appropriate solution (even a default) for the ActiveJob adapter, maybe.

Alright, so now there's a work in progress in the worker_pool branch. It extracts all the pool logic from the Worker class to a separate WorkerPool class. Each WorkerPool has its own mode, worker_count, wake_interval, and so on, and those configuration methods on the Que module now just change those values for the default worker_pool (which works jobs in ENV['QUE_QUEUE'] || "").
Not merging this to master yet because I'm still unsure about what the API should be for configuring multiple pools (what chrismcg suggested covers worker_count but not the other options), or if there even should be one, since having multiple worker pools in the same process is still not the recommended way to use Que. However, with this branch it should be easier to make that work if you need to:
my_pool = Que::WorkerPool.new("my_queue_name")
my_pool.mode = :async
my_pool.worker_count = 8
my_pool.wake_interval = 1
at_exit { my_pool.mode = :off }

Anyway, comments and suggestions are welcome.

Cool! I'll have a look at this at the weekend most likely. Thanks!

I haven't had a chance to play with this again yet unfortunately. I did put together a Rails PR to allow configuring the ActionMailer default queue name.
https://github.com/rails/rails/pull/18587

+1 for keeping queue names and allowing workers to process multiple queues, including :all
A couple of thoughts.

Queue Names are useful for management and monitoring - when they can be used for such:
SELECT name, count(*) from que_job GROUP BY name
provides a quick glance at which jobs types are keeping my queue busy.  In a more mature platform, I might be able to accumulate total job processing time by queue name as well.  I don't want to have to reprovision my entire cluster when I need to add a new class of jobs to my queue, and I don't want every class of job to use the same name.

Having specialized worker pools is a very advanced edge case for production.  The common, general case is to have a single pool of workers that can work multiple job types.  Scaling workers scales the ability to work all queues, not just some.  Queue name can be ignored when selecting new jobs, priority and time in queue are the only 2 important sort factors.

After looking at the query code, I understand why allowing for workers that can process any job(s) would involve a little bit of work, but I think this is an important feature set, to the point of relegating que to be a very specialized high-scale library only, and not even usable in simpler, smaller scale application deployments, in favor of delayed_job or something that has this built it.

@chanks

my_pool.mode = :async

What is the mode setting in case of worker pool? Currently, using a worker pool is the same as Que.mode = :async. :sync and :off doesn't assume using a pool at all. Am I right?

@marshall-lee Currently, in this branch, each worker pool has its own mode, and Que.mode= sets the value on the "default" worker pool, which works whatever queue is in ENV["QUE_QUEUE"], or the default queue if that's not set. :sync mode doesn't mean anything on the non-default pools, and if I keep going with this branch I'd likely shuffle the API around to make a bit more sense. :async or :off basically turns them on and off.
@drush The main problem with allowing some workers to handle any job is that it requires the creation of a second index, on [:priority, :run_at, :job_id]. Having a second index will slow down writes for everyone, whether they need to use it or not, and I don't really want to go down the road of having the db schema be dependent on configuration options.
Sorry, I'm actually not clear from your message what functionality you'd like to get out of named queues that you can't get from Que currently, especially since named queues weren't meant to be used so frequently (they were intended to only be used when distinct codebases need to access the same job queue, and I wish ActiveJob weren't trying to use them for other things). You can get stats on what types of jobs are common with a count grouped by job_class. If you want jobs to be processable by any worker and to not have to reprovision when a new job class is added, then you probably shouldn't be using named queues at all.

@chanks It looks like ActiveJob registers all job_class as 'ActiveJob::QueueAdapters::QueAdapter::JobWrapper'
So, if you are using ActiveJob in a standard configuration with que, the job_class won't be of any use.  However, that's not the use case I think is most relevant.  I might have 20 different mailer classes with esoteric class names, but I just want to see them as a group without having to issue a LIKE query of some kind to group them.
I still want to use named queues for monitoring job abcklog, and I want workers that can work any job.  I don't think this is unreasonable, in fact, I think this is the common case amongst any application using background jobs.

Well, one more reason to not use ActiveJob.
Anyway, there's still not a simple and performant way (that I'm aware of) to support a single worker pool working many named queues. And besides, if you want to nicely categorize your backlog of jobs by their class, you can easily do that with a CASE statement in SQL or some very simple logic in Ruby.

Any update on this? Sounds like this means Que + ActiveJob isn't a recommended combination?

I submitted a small PR to ActiveJob to have it stop using named queues (https://github.com/rails/rails/pull/19498). It got a positive response but hasn't been merged yet. In the meantime, no, I wouldn't recommend using ActiveJob. Sorry :frowning:

Thanks for the quick response. I'll keep an eye out for updates.

Looks like your Rails PR was merged! Nice.

:+1:
On Mon, May 4, 2015 at 7:24 AM, John Nagro<EMAIL_ADDRESS>wrote:

Looks like your Rails PR was merged! Nice.
—
Reply to this email directly or view it on GitHub
https://github.com/chanks/que/issues/71#issuecomment-98681068.

any ideas on how I might monkey patch this change into my existing Rails 4.2 project? I've tried overriding the class in an initializer without luck.

for the moment, i am just running everything out of the "mailers" queue :see_no_evil:

Hmm, I don't know offhand why that would be. But then, I'm not using Rails 4.2 for anything and I don't know anything about ActiveJob beyond what was necessary to submit the PR. If you figure it out please let us know. Or in the meantime maybe use edge Rails?

Question on the discussion here, though not the bug in particular: I don't use named queues for priorities. I use them because I have some really long-running jobs (I'm building a text-analysis system, and jobs can take on the scale of hours or days), and some short-running jobs (like sending e-mails and performing app maintenance tasks). I have to make sure that it won't ever be the case that all the workers totally bind up serving long-running jobs and nobody's around to service short-term jobs. Will there be any way for me to put together a system like that when the named queues are gone?
Just thought you might like to see a different use case.

For those of you looking for a Rails 4.2 monkey patch, you can use the following:
module ActiveJob
  module QueueAdapters
    class QueAdapter
      def self.enqueue(job)
        JobWrapper.enqueue job.serialize
      end

      def self.enqueue_at(job, timestamp)
        JobWrapper.enqueue job.serialize, run_at: Time.at(timestamp)
      end
    end
  end
end

I put this in config/initializers/que.rb, which is also where I set Que.mode, configure the log_formatter, and set ActiveJob::Base.queue_adapter = :que

In addition to the case described by @cpence, I have another valid (I believe) case for full named queue support as per other queuing systems. That is, different jobs have different resource requirements (high memory or CPU). I have different "classes" of worker running to handle different jobs right now (in a different job system than Que). So in that case, I'd ideally to have the smallerclasses subscribe to all queues except the big queues but have the big queues subscribe to certain queues. Or, have certain queues weighted higher so that it can still subscribe to the smaller queues if it is otherwise inactive, though that's less important to me.

Definitely agree there are times when multiple queue support would be useful.
We have 12 workers, 6 of which do very long running housekeeping work overnight, and 6 do transactional most of the time. It means we waste half our boxes' capacity almost all day, as no housekeeping workers are used during daylight hours.
We would like to set up Que to say:

Run 12 workers listening on both queues.
At any time, if there are transactional jobs, use all available workers to do those.
If there are no transactional jobs, start using workers to perform housekeeping jobs, up to a maximum of 6.
... thus leaving at least 6 workers always available for transactional work at short notice.

I do see you point about having different CPU/memory requirements etc however (or even different credentials). In our case we can get away with them all being the same.

@chanks in #186 you implied this was implemented in the 1.0 branch but it was too immature to use yet. Now that 1.0 is in beta, can you update as to whether support for multiple queues is still present or planned?

Yeah, it's supported there. It still requires multiple polling queries, so it's less efficient than using a single queue and separating via numeric priority (for the polling case, for the listening case it shouldn't make a difference). Also, when polling, the queues execute in the order they're declared, so running que -q important_queue -q other_queue should poll jobs from important_queue first and jobs from other_queue only when there aren't any left in important_queue.
@hlascelles' case of having some workers always set aside capacity for transactional work is exactly what numeric priority was designed for. The default worker priorities are [10, 30, 50, nil, nil, nil], meaning that three workers can work any job, one worker only takes jobs with priority below 50, one worker only takes jobs with priority below 30, and one below 10. So if your queue is saturated with low-priority jobs, a new high-priority job will always be worked immediately.

Great. Thanks for the update @chanks. Totally get the priority usage in your example. As mentioned in #186 my use cases are much more about separating work by semantics, not priority, such as scaling up one group of jobs without risking over-scaling another type which could overwhelm upstream services, or having some jobs run on higher-specced worker instances, which can also pull jobs from main transactional queue if otherwise idle.


CodeSearch Pretrained Models

Hi y'all, really enjoy the amazing work that went into this repository and uploading the pretrained models for many of the tasks. I was wondering, do you have the code search models available for people to use and if so where?
Additionally, I noticed that some of the models are available via HuggingFace's hub, but not all of them such as the code search or clone detection models. Is there any plans to move some more of these models to the HF hub? If not or if more work is needed, I'd be extremely excited to help out with a PR that makes it easier to put the models in the hub and pull them down :nerd_face:.

Thanks! We don't have plan to add more model in the near future.


feat: Recursive fn calls to spend more notes.

Closes #1422
Also fixed a bug where we allowed any sender to spend notes.
Checklist:
Remove the checklist to signal you've completed it. Enable auto-merge if the PR is ready to merge.

[ ] If the pull request requires a cryptography review (e.g. cryptographic algorithm implementations) I have added the 'crypto' tag.
[ ] I have reviewed my diff in github, line by line and removed unexpected formatting changes, testing logs, or commented-out code.
[ ] Every change is related to the PR description.
[ ] I have linked this pull request to relevant issues (if any exist).

All done with my review :)


[Issue] - Health Checker - Remove AD Module dependencies

Describe the issue
Been seeing a lot of odd issues with the AD cmdlets, we just need to remove them and come up with ways to get the information without using them.
Commands that need to be removed:
Get-ADComputer
Get-ADPrincipalGroupMembership
Get-ADObject
Need to use LDAP Query to find the information that we need.

$ComputerName="NY-EX19-01"
$adsisearcher = New-Object system.directoryservices.directorysearcher
$DomainDN = "DC="+(Get-ExchangeServer $ComputerName).OrganizationalUnit.Split("/")[0].Replace(".",",DC=")
$adsisearcher = New-Object system.directoryservices.directorysearcher
$adsisearcher.SearchRoot = 'LDAP://' + $DomainDN
$adsisearcher.Filter = "(&(objectCategory=computer)(objectClass=computer)(cn=$ComputerName))"
$adsisearcher.FindOne().Properties.distinguishedname
#Need to check that (Get-ExchangeServer $ComputerName).OrganizationalUnit always has the right domain, and in FQDN format
#Need to check that $adsisearcher will go to another domain correctly to do the query

@Shinbaum if you change $adsisearcher.SearchRoot = 'LDAP://' + $DomainDN to $adsisearcher.SearchRoot = 'GC://' + $DomainDN then it will work, as long as the DC that we pick is also a GC.

$ComputerName="NY-EX19-01"
$adsisearcher = New-Object system.directoryservices.directorysearcher
$DomainDN = "DC="+(Get-ExchangeServer $ComputerName).OrganizationalUnit.Split("/")[0].Replace(".",",DC=")
$adsisearcher = New-Object system.directoryservices.directorysearcher
$adsisearcher.SearchRoot = 'GC://' + $DomainDN
$adsisearcher.Filter = "(&(objectCategory=computer)(objectClass=computer)(cn=$ComputerName))"
$adsisearcher.FindOne().Properties.distinguishedname
Works in my lab, but all the DCs are GCs. Can directorysearcher pick a DC that is not a GC?

Could use this function to find the GC.
Shared/ActiveDirectoryFunctions/Get-GlobalCatalogServer.ps1

$ComputerName="NY-EX19-01"
$ADSite = (Get-ExchangeServer -Identity $ComputerName).Site.Name
$GC = ([System.DirectoryServices.ActiveDirectory.Domain]::GetComputerDomain().Forest.FindGlobalCatalog($ADSite)).Name
$adsisearcher = New-Object system.directoryservices.directorysearcher
$DomainDN = "DC="+(Get-ExchangeServer $ComputerName).OrganizationalUnit.Split("/")[0].Replace(".",",DC=")
$adsisearcher = New-Object system.directoryservices.directorysearcher
$adsisearcher.SearchRoot = 'GC://' + $GC + "/" + $DomainDN
$adsisearcher.Filter = "(&(objectCategory=computer)(objectClass=computer)(cn=$ComputerName))"
$adsisearcher.FindOne().Properties.distinguishedname
#This will error if there is no GC in the same site as the Exchange server

That would likely be fine, since it isn't supported to be that way.


Feature: Map View Zoom

When viewing the tile map, use pinch controls to zoom and directional drag to translate position of the map.

I'm thinking:

Single touchpoint: translate main display group (within x & y bounds)
Double touchpoint: initial length of the line segment between the two points is the base scale. Increasing or decreasing the length of the line will directly transpose to the delta to the scale factor of the main display group (again, within bounds).
The x and y delta of the center of the line segment will also be translated to the main display group.


[BIOMAGE-1054] Pipeline flow does not follow the state machine definition

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-1054
Link to staging deployment URL
https://ui-marcellp-api153.scp-staging.biomage.net/experiments/marcellp-api153-e52b39624588791a7889e39c617f669e/data-processing
Links to any Pull Requests related to this
N/A
Anything else the reviewers should know about the changes here
N/A
Changes
Code changes
This should fix the issue. As the problem is related to requests from previous runs persisting and messing up the current run, the source is likely just AWS Step Functions activities being reused across runs, and they retain tasks until a success/failure message is sent. Even after a failure message is sent, it may still retain some of the tasks for a bit longer, but we don't know this for sure. Either way, making sure each pipeline run starts with an empty activity should be enough to fix the problem.
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[x] Unit tests written
[x] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[x] Relevant Github READMEs updated
[x] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

Now staged at https://ui-marcellp-api153.scp-staging.biomage.net/experiments/marcellp-api153-e52b39624588791a7889e39c617f669e/data-processing


Do not accept connection locally before connection with remote is established, is it possible?

Currently, when proxied application makes a connection, it immediately succeeds as if port is always open. This works very differently from proxychains, which waits to establish connection with the remote. It is a subtle difference, but it breaks software that needs to check if port is truly open.
I am not familiar with LWIP and usage of namespaces - I couldn't identify area where connection is "accepted" locally.
Do you think it is even possible with the current architecture? And if yes, perhaps could point me to where to look at relevant pieces of the code, so I could try my hand at tweaking it?

I understand your point. Implementing a transparent proxy based on Netfilter presents significant challenges. However, I believe achieving this with a Tunnel-based transparent proxy is feasible.
In the HevSocks5Session, add a HevTaskCond to signal completion after establishing a connection with the remote server and then wait for it here. The side effect is that if one remote connection responds slowly, it may impact the establishment of other local connections.
https://github.com/heiher/hev-socks5-tunnel/blob/b91857635b64855eb821fa4fbca5868b468bb5af/src/hev-socks5-tunnel.c#L161-L162


feat(swarm): make interface-ipfs-core compliant

Ref https://github.com/ipfs/interface-ipfs-core/pull/73

RFM once CI finishes up

Happy CI is happy :heart:


cmd/compile: comparable does not match each comparable type

What version of Go are you using (go version)?

$ go version
go version devel go1.18-a064a4f29a Sat Feb 26 01:16:03 2022 +0000 windows/amd64

Does this issue reproduce with the latest release?
With the latest revision on master (a064a4f29a97a4fc7398d1ac9d7c53c5ba0bc646).
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=on
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\protected\AppData\Local\go-build
set GOENV=C:\Users\protected\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\protected\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\protected\go
set GOPRIVATE=
set GOWORK=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -fmessage-length=0 -fdebug-prefix-map=C:\Users\protected\AppData\Local\Temp\go-build4145725796=/tmp/go-build -gno-record-gcc-switches

What did you do?
language.Tag as Map key
package main

import (
	"fmt"

	"golang.org/x/text/language"
)

func main() {
	aMap := map[language.Tag]string{
		language.German: "foo",
	}
	fmt.Println(aMap)
}

language.Tag as comparable generic parameter
package main

import (
	"fmt"
	"golang.org/x/text/language"
)

func doSomething[K comparable](with map[K]string) {
	fmt.Println("comparable", with)
}

func main() {
	aMap := map[language.Tag]string{
		language.German: "foo",
	}
	doSomething(aMap)
}

The following code
What did you expect to see?

language.Tag as Map key: Is accepted by the compiler.
language.Tag as comparable generic parameter: Is accepted by the compiler.

What did you see instead?

language.Tag as Map key: Is accepted by the compiler.
language.Tag as comparable generic parameter: Compiler refuses compiling withfoo_broken.go:16:13: "golang.org/x/text/language".Tag does not implement comparable

ℹ I'm pretty sure that this was working at least ~1 week ago with the master. With revision a289e9ce7514a34cd930469322395bf0e89b59ea) it was working.

Biesction points to 163da6feb525a98dab5c1f01d81b2c705ead51ea as the bad commit, introduced in CL 387055.
@griesemer @findleyr

The reason for this is that Tag contains fullTag, which is an interface. This is discussed in more detail in https://github.com/golang/go/issues/51257#issuecomment-1046103263
This is a confusing UX, particularly when the interface is buried deep inside the type. Here the interface is only one level deep, but one can imagine how confusing it could be if the interface were inside several layers of nested structs.
IMO this warrants reconsideration.

Please correct me if I'm wrong. The specs defines the same rules for map keys as for stuff that implements comparable, or? If so either the map implementation in Go is broken in general or how 163da6feb525a98dab5c1f01d81b2c705ead51ea change it was too restrictive. I would highly recommend to align both behaviors.

Please correct me if I'm wrong. The specs defines the same rules for map keys as for stuff that implements comparable

To clarify: no, map keys treat all interfaces as comparable, whereas the comparable builtin treats only interfaces that are statically known to be comparable as comparable.

Closing as dup of #50646 and #51257 and #51138.

P.S. I guess Ian was meant to say #51338 other than #51138.

Thanks, I edited my note.


Add py.typed file

Actual Situation
Mypy is unable to find type information for the copier package, which requires me to manually ignore type errors for copier whenever I import it.
Desired Situation
Mypy doesn't complain about missing type information, and the type safety of my own code is increased as a result. I also have to invest less mental energy worrying about ignoring types for a package I'm using.
Proposed solution
Add a py.typed file to the copier package.

It's weird. Our full code base has type hints, and we use mypy to check it...

Some PEP requires that a py.typed file is present to mark a package as typed. It's not required if you run mypy directly on its sources though, that's why it didn't complain.


Feature request: Support nacos v2 sdk

Is your feature request related to a problem? Please describe.

The nacos v2 sdk is not currently supported.

Describe the solution you'd like

Support nacos v2 sdk

Describe alternatives you've considered

None

Additional context

Add a new v2 directory, managed using submoduble

I think I can solve this task, please assign it to me


chore(main): release 0.0.21

:robot: I have created a release beep boop
0.0.21 (2024-07-24)
Features

base loader (#65) (eb8149f)
base loader class (#64) (801a026)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/QuivrHQ/MegaParse/releases/tag/v0.0.21 :sunflower:


Able to create projectvolumeclass and clustervolumeclass with invalid storageclassName

acorn version - acorn version v0.6.0-rc2+c6ffc99d
Steps to reproduce the problem:
Create projectvolumeclass and clustervolumeclass with invalid storageclassName.
volumeClass creation succeeds.
Expected Behavior:
volumeClass creation should fail when  invalid storageclassName is provided.

Seeking input from others on this one. I could go either way. Right now my take is that you should be able to create a volumeclass with a storageclass that doesnt (yet) exist. The storageclass could be created/populated later.
Will update once I get more feedback. Either way, not a blocker.


Phone sound recording

It is necessary that next to the audio recording setting there was the second item "phone sound recording"
It would be possible to turn on and off recording from the microphone and / or recording what sounds from the phone with two switches
Please implement this. This feature is very useful and is sorely lacking.

As per stated within the app:

Google does not allow internal audio to be recorded, only from your microphone.

Unless there is a hacky war around it, I don't think it's supported.


Can't use Lora when inpatienting

I hope this message finds you well. I wanted to take a moment to express my gratitude for providing the "inpatienting" feature. Over the past couple of days, I've been thoroughly exploring its capabilities.
However, I've encountered some puzzling issues along the way. While using the "inpatienting" functionality, I noticed that the Lora I added to the inpatienting prompt doesn't seem to have any effect. Despite trying different inpatienting model IDs and tweaking other parameters, my Lora remains ineffective.
I'm wondering if this is a limitation of the "inpatienting" feature regarding Lora support or if there might be something on my end causing the problem. Perhaps you could offer some advice or suggestions to help me troubleshoot this issue?
Looking forward to your response.

Sorry for the late response. The Inpainting feature in this repository does not support LoRA.

Is there a way around that? Does the standalone version support it and can it be forked and modified to incorporate it?


zero row query issue with SetTableFormat

When creating a sheet from a query or cursor that returns 0 rows, and also setting a style using setTableFormat, Excel complains and offers to recover the workbook. If you answer Yes, the sheet with the column headers only is provided as expected, but without the style

.
If I comment out setTableFormat on line 11, Excel does not complain.
Workaround is to determine whether query will return any rows and only set the style if it does. Unfortunately, ExcelGen does not expose back to the caller the number of rows returned by the query or on the sheet. Whether the specific issue with the style can be addressed or not, it would be useful to add a function to return the number of rows the query generated for any given sheet.
Test case code:
WITH
FUNCTION get_xlsx RETURN BLOB AS
    v_blob          BLOB;
    v_ctxId         ExcelGen.ctxHandle;
    v_sheetHandle   BINARY_INTEGER;
BEGIN
        v_ctxId := ExcelGen.createContext();
        v_sheetHandle := ExcelGen.addSheetFromQuery(v_ctxId, 'Test 0 rows','SELECT SYSDATE AS "my date col" FROM DUAL WHERE 1=0', p_sheetIndex => 1);
        -- freeze the top row with the column headers
        ExcelGen.setHeader(v_ctxId, v_sheetHandle, p_frozen => TRUE);
        ExcelGen.SetTableFormat(p_ctxid=> v_ctxId, p_sheetid=> v_sheetHandle, p_style=> 'TableStyleMedium7');

        v_blob := ExcelGen.getFileContent(v_ctxId);
        ExcelGen.closeContext(v_ctxId);
        RETURN v_blob;
END;
SELECT get_xlsx FROM DUAL
;

On second thought, I'm not sure the query is executed until after we must set the style, so it may not be helpful to get the number of rows.

Hi Lee,

On second thought, I'm not sure the query is executed until after we must set the style, so it may not be helpful to get the number of rows.

Exactly, addSheetFromQuery is only declarative. All queries are executed when calling getFileContent.
I'll look into the style issue this weekend.
Thanks for reporting it.

Fixed in v2.3.
For an empty dataset, table formatting will visually appear like this, with a mandatory empty row :

I've implemented that by extending the table range by one row down, but that row doesn't exist internally so the actual sheet content is correct.

Awesome. Thanks Marc.
I understand in the case of 0 rows returned, we produce an empty row. When there are 1 or more rows returned, we do not. On a normal sheet when one does   Excel puts the cursor in the last populated row. On an empty query sheet, it goes into the empty row.
I believe this will make my team happy. I'm sure somebody will harp about that empty row, but I'll remind them they can always run a check to make sure a query returns rows if they want to work around it. I can't imagine our business team complaining about the empty row. If they do, I'll offer to go back to individual CSV files. Should silence the peanut gallery.
--
Lee Lindley
@.***
From: Marc Bleron @.>
Sent: Sunday, February 6, 2022 11:41 AM
To: mbleron/ExcelGen @.>
Cc: Lee Lindley @.>; Author @.>
Subject: Re: [mbleron/ExcelGen] zero row query issue with SetTableFormat (Issue #15)
Fixed in v2.3.
For an empty dataset, table formatting will visually appear like this, with a mandatory empty row :
https://user-images.githubusercontent.com/19926388/152690866-8bcc4730-907b-4c67-ab16-fbe3cb188659.png
I've implemented that by extending the table range by one row down, but that row doesn't exist internally so the actual sheet content is correct.
—
Reply to this email directly, view it on GitHub https://github.com/mbleron/ExcelGen/issues/15#issuecomment-1030868750 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AU4D5LFNB3G2WOL4KUEAASTUZ2QBLANCNFSM5NQOKJEQ .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AU4D5LHS5NHOQESTABGKIX3UZ2QBLA5CNFSM5NQOKJE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHVY46DQ.gif Message ID: @.*** @.***> >


How to suppress reconnection error?

Error in my chrome console: Error: No activity within 45000 milliseconds. 11 chars received. Reconnecting.
I am fine that Event Source reconnects from time to time, but don't want to have errors in my console about it.
First of all why this is an error, not a warning?
Second is why do you use console.error instead of simply throwing errors?
The second part makes it pretty hard to catch this error, the only way i find to do this is overwriting console.error but it doesn't look like a proper solution, any other ways to suppress error?

Can you prevent the error logging for narive EventSource?

Can you prevent the error logging for narive EventSource?

I am not familiar with native EventSource, but if here we have the same behaviour as in native then i see your point. Just wondering there should be a lot of people who should find this error irritating  and how they deal with it

if i am not mistaken, in 1.0.15 package was just throwing error and it was working fine and i don't see any advantages in using console.error there

@roman-sereda-lohika why was it working fine?

if you want to ignore the errors, some mechanism is needed.
I can think of an 1) extra option or 2) event.preventDefault(); and checking if preventDefault was called in the code before calling console.error()

@Yaffle ahh, sorry for confusing, yeah, i see that it was not reported at all in previous versions, well, ok, i will just use some hacks around console.error, but if somebody else will argue about this i hope that some mechanism will be created, thanks

I am too facing the same error

How do you suppress this error ?

It would be a useful feature to allow to disable the heartbeat. Mercure allows to do so in the hub config : https://mercure.rocks/docs/hub/config
So if you can disable it in the hub, being able to do the same client-side seems coherent.

solved it by adding this to my Mercure config heartbeat 15s


Crash when have 6 tabs.

Swift 3.0, xcode 8. Developing tabbar with 6 tabs. Run app. click on any tab. crashed.

Duplicate of #100


Not connecting

Hey guys, how's it going? I'm quite new so be patient please haha.
I've tried a couple of days ago to use this extension (following this guide) and I got some errors so I've found #613 where some people explained that apparently there's an issue with the absolute path for FTP or SFTP (also someone mentioned #356).
In any case, at that time I forgot about it and now I'm trying to connect again but it just keeps "thinking" and trying to connect endlessly. No error messages, no nothing.
Any ideas? Thanks! :)

same here. did u just update VS studio code too?

same here. did u just update VS studio code too?
yep, before the update I couldn't connect but at least I received the error messages.

The problem is the same...
the project doesn't load, only its folders ...


add test WIS2 Node centre identifier

As discussed at the Global Services Testing May 2024 meeting in Tokyo, add a test WIS2 Node named io-wis2dev1-test to facilitate functional and performance testing.
cc @6a6d74 @golfvert

https://github.com/wmo-im/tt-wismd/wiki/Meeting-2024-06-03 notes:
Tom presented issue;


Added grep cat and clear commands

Added support for grep, cat and clear commands. The program now displays working directory like actual bash. Example -  Document/Pynux$ cat index.py

@shivam04 @unishubh Made Required Changes. Pl review


Added Insititute Contract

Issue: #1
Short description of what this resolves:

Added the Institute Contract with two functions: registerInstitute & getInstitute
.gitignore: added artefacts & cache, removed package-lock.json (it is generally preferred for the lock file to be in the repo)
added smart-contracts directory in hardhat config

@archief2910 I'll make another PR then, after it is assigned.


documentation and minor Makefile changes for EKS support

addresses issue #132

Note that Travis CI builds are lagging behind because of a hiccup with GitHub webhooks. Hopefully ours will eventually kick in without further intervention.


Fix bugs in merge and convert process

The convert module was converting ckpt models into StableDiffusionGeneratorPipeline objects for use in-memory, but then when saved to disk created files that could not be merged with StableDiffusionPipeline models. I have added a flag that selects which pipeline class to return, so that both in-memory and disk conversions work properly.

This PR also fixes an issue with invoke.sh not using the correct path for the textual inversion and merge scripts.

Quench nags during the merge process about the safety checker being turned off.

Fixes #2506


Spyder 4.0.1 crashing after 2-3 hours

Problem Description
I'm a great fan of the Spyder IDE, and I've been using it for over a year now.
Yesterday, I got a new computer at my office and installed the latest version of Spyder, and Spyder 4.0.1 was automatically installed with the command:
pip install spyder
I've been using Spyder for the whole day yesterday, and after about 2-3 hours of intense usage the IDE completely got stuck, and I was forced to close it down. Same thing happened this morning. Not sure if this helps, but in both cases I had two instances of spyder open at the new same.
OS Windows 10
Python version : 3.7.4
In the meantime, I will revert to the good old spyder3, which does not cause the same issue to happen.
What steps reproduce the problem?

Run 1 spyder instance
Run another spyder instance
Work with it for 2-3 hours
Wait for it to crash.

What is the expected output? What do you see instead?
I would expect Spyder not to get stuck and force me to close it.
Versions

Spyder version:  4.0.1.
Python version: 3.7.4
Qt version: 5.12.7
PyQt version: 5.12.3
Operating System name/version:  Windows 10 64-bit

Dependencies
atomicwrites >=1.2.0         :  1.3.0 (OK)
chardet >=2.0.0              :  3.0.4 (OK)
cloudpickle >=0.5.0          :  1.2.2 (OK)
diff_match_patch >=20181111  :  20181111 (OK)
intervaltree                 :  None (OK)
IPython >=4.0                :  7.12.0 (OK)
jedi =0.14.1                 :  0.14.1 (OK)
nbconvert >=4.0              :  5.6.1 (OK)
numpydoc >=0.6.0             :  0.9.2 (OK)
pexpect >=4.4.0              :  4.8.0 (OK)
pickleshare >=0.4            :  0.7.5 (OK)
psutil >=0.3                 :  5.6.7 (OK)
pygments >=2.0               :  2.5.2 (OK)
pylint >=0.25                :  2.4.4 (OK)
pyls >=0.31.2;<0.32.0        :  0.31.8 (OK)
zmq >=17                     :  18.1.1 (OK)
qdarkstyle >=2.7             :  2.8 (OK)
qtawesome >=0.5.7            :  0.6.1 (OK)
qtconsole >=4.6.0            :  4.6.0 (OK)
qtpy >=1.5.0                 :  1.9.0 (OK)
sphinx >=0.6.6               :  2.3.1 (OK)
spyder_kernels >=1.8.1;<2.0.0:  1.8.1 (OK)
watchdog                     :  None (OK)
cython >=0.21                :  None (NOK)
matplotlib >=2.0.0           :  3.1.3 (OK)
numpy >=1.7                  :  1.16.4 (OK)
pandas >=0.13.1              :  0.25.3 (OK)
scipy >=0.17.0               :  1.4.1 (OK)
sympy >=0.7.3                :  None (NOK)

Please read our
https://github.com/spyder-ide/spyder/wiki/Troubleshooting-Guide-and-FAQ
If you are unable to fix the problem after that, please install Anaconda instead. Unfortunately, we don't have the resources nor the time to help people with custom installations, so it's up to you to figure this one out.
This is because custom installations are for experts or very knowledgeable people who really know what they are doing and are able to easily solve problems like this.

Besides, several fixes will be available in our next version (4.1.0) that should improve or totally this situation.

Great, eagerly waiting for version 4.1.0!! Which version would be installed if I were to get Spyder from anaconda?

Same issue occurred using spyder=4.0.0 with pip.
Solved it using by installing conda and installing spyder3.3.6 with the command:
conda install spyder

Also, just as a general suggestion, spyder3.3.6 just feels smoother and way more responsive than spyder4.0.1 or spyder4.0.0. It may be useful to try and improve these aspects of spyder4.


Activate long pressed action for button

Hi I need help for using button long pressed action. I created 3 buttons and added them into a group where I added my input device which is 4 hardware keys ( Arrow and OK keys). I defined two actions for each key, a long pressed action and click action. whenever I pressed a key no matter for how long, just button action is run. I couldn't find any example for that, I appreciated it if some one could help me.
Regards MM

Hi,
there is no opportunity to trigger the long press action of a button with a hardware button which sends LV_GROUP_KEY_ENTER.
However it seems a useful feature. Constructive ideas are welcome.

Thanks Kisvegbor
I was wondering how I can activate this action ? Is there any way to activate the long press action for the button through software?

You can get and call the long press action:
lv_action_t lpr_action =  lv_btn_get_action(btn, LV_BTN_ACTION_LONG_PR);     /*Get the action*/
lpr_action(btn);   /*Call it*/

Thanks so much

Your welcome!
I hope it helps until your suggested feature won't be implemented.

sure

Hi,
I added this feature to dev-5.1 branch. Can you  test it?
I don't how your keypad_read function looks like, but for this feature it should be like:
bool keypad_read(lv_indev_data_t * data)
{
    data->key = last_key;
    data->state = last_state;                           /*LV_INDEV_STATE_PR/REL*/

    return false;
}

Hi Gabor,
Sure I’ll test that and let you know if it works or not.
Sent from my iPhone

On Feb 24, 2018, at 5:14 PM, Gabor Kiss-Vamosi<EMAIL_ADDRESS>wrote:
Hi,
I added this feature to dev-5.1 branch. Can you test it?
I don't how your keypad_read function looks like, but for this feature it should be like:
bool keypad_read(lv_indev_data_t * data)
{
data->key = last_key;
data->state = last_state;                           /LV_INDEV_STATE_PR/REL/
return false;

}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Create Blog “2022-01-22-announcing-the-net-oss-maintainer-support-survey”

Automatically generated by Netlify CMS
Use photo https://unsplash.com/photos/AT77Q0Njnt0

Here goes nothin'.


Feature Request: Change Profiles of Streamdeck based

Hello,
Thanks for such a great plugin !
Is it possible to change streamdeck profiles based on the status of a home assistant entity.
For example, my phone is "off_hook" i can jump directly to the profile related to phone control

Hi,
unfortunately,  it is not possible for a plugin to change anything outside its scope. So, I can “see” all buttons that are running my plugin, but I cannot access other plugins or global features of the stream-deck.
The existing paging or profile-switch plugins are created by elgato and seem to have special privileges to do what they do.
☹
Von: Gus1994 @.>
Gesendet: Donnerstag, 21. September 2023 15:47
An: cgiesche/streamdeck-homeassistant @.>
Cc: Subscribed @.***>
Betreff: [cgiesche/streamdeck-homeassistant] Feature Request: Change Profiles of Streamdeck based (Issue #176)
Hello,
Thanks for such a great plugin !
Is it possible to change streamdeck profiles based on the status of a home assistant entity.
For example, my phone is "off_hook" i can jump directly to the profile related to phone control
—
Reply to this email directly, view it on GitHub https://github.com/cgiesche/streamdeck-homeassistant/issues/176 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABHCY3GNUGMEQKJICZR4P4LX3RAOFANCNFSM6AAAAAA5BSUHKI .
You are receiving this because you are subscribed to this thread.  https://github.com/notifications/beacon/ABHCY3HEYRPSHVTA2JCGCBTX3RAOFA5CNFSM6AAAAAA5BSUHKKWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHDKXOMY.gif Message ID: @.*** @.***> >

Ah thanks for such a fast reply ! With the power of home assistant this would be a crazy feature


Journal: new feature requests

Add a filter to author can filter the AEs that are not available or maxed out the quota.
Add a pre process function to avoid the AE recommendation of AEs that are not available or don't have quota
Add a button for the EIC to enable the review rating if there is a recommendation missing.
Create an archived AE group to move the users that are not AEs anymore but they still have assigned papers under review
Create expert reviewers group and a group invitation that add the "expert reviewer certification" when one of the authors is an expert reviewer.
fix issue when AE is not in the group and the edge that says unavailable send the reminder

there are a few pending changes, TMLR wants to show the expert reviewer in the forum page so I'm going to work on that.

it should be ready now!


Silent renew doesn't work if window is not focused.

Hello! First of all, thank you for this great library. The best react oidc-client I could find so far.
Regarding the issue, the automaticSilentRenew doesn't work if the window is not focused. So, if you are in a different tab and you try to switch back to the tab of the application after the token is expired, the automaticSilentRenew doesn't work anymore.
It should be great to trigger the automaticSilentRenew on windows focus if the token is not valid anymore.

Hello,
Thank you for so much for those kind words! I'm unfamiliar with the issue you're having, but I'd like to point out that oidc-client-js has multiple references on how you can do this.
I would like to tag @ryancole in on this, as he has contributed code on this package in relation with automaticSilentRenew.
Again, thank you for using it!

Hello,
Thank you for so much for those kind words! I'm unfamiliar with the issue you're having, but I'd like to point out that oidc-client-js has multiple references on how you can do this.
I would like to tag @ryancole in on this, as he has contributed code on this package in relation with automaticSilentRenew.
Again, thank you for using it!

could you help me how refresh the token using your plugin how I can create an event or method for that , also I use useAuth method but also userdata and usermanger is null

I need to define a user manager or not

@MomaniNidal this should be handled by oidc-client. You should be able to find some details on that on their issue tracker.
Thanks for reporting, I'll close this for now. If there is any further questions, let me know. 💯


There is a very big Issue I can't maximize or minimize

Pls fix this. I really like ur extention but sins I can minimize  or Maximize so its useless so pls fix this plsssssssssssss

I can confirm that this functionality is breaking after installing your theme.


Question about offline static linked testing

Hi,
When libacvp client is built on a different system than the target in offline mode with static linking. If the version of FOM on the build system is different from the FOM on the target system , the test will still pass even if the FOM on the target system is corrupt or not implemented properly or even if there is no FOM on the target system because we are actually testing our the FOM from the build system.
My question is how can we show assurance that our implementation (target system) is done correctly since we are testing a different openssl library than the one found on the target?
Thank you

Static offline mode pulls the FOM into acvp_app, just like the old openssl test harness executables did for CAVS.


Libcore Ethereum + 3 experimental flags

Refactoring that move more code in live-common ( https://github.com/LedgerHQ/ledger-live-common/pull/255 )
Introduces 3 experimental flags (native segwit + experimental libcore + experimental explorers)

Context
preparation for ERC20 and incoming work of desktop.
Parts of the app affected / Test plan
just make sure everything works normally.

@gre @Arnaud97234 I bumped to live common 6.5.0 and while I don't see any sync errors anymore. I still reproduce the XRP account not found issue, i'm investigating it

@Arnaud97234 should be good 🤞


[DPO] remove unnecessary batch size arg to Collator

removed unused argument to collator

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


Datetime naming for recorded evals

i have yet to test this but it should work

Tested and saves in this format

Testing this locally. Seems good. I'm mucking around with the Github CLI. Used GitLab in the past so it is a bit of a learning experience.
I might make change and push it up if that is ok with you that shows the eval in the filename.

Testing this locally. Seems good. I'm mucking around with the Github CLI. Used GitLab in the past so it is a bit of a learning experience.
I might make change and push it up if that is ok with you that shows the eval in the filename.

This works and I can run it fine on my machine. I really would like to get the eval names in here. I made the suggestions here because I can't push changes directly to your branch.
Let me know if you have questions but I'm pretty sure this should just work

This ended up sliding in with your graphing work.
I am closing it.

We can still review it; it's not impossible to fix it up and merge, and before the rebase I promised to take any necessary rebases of PRs upon myself.


Adds support for Freemarker as an alternative view technology

This PR also extends TemplateResolver with a feature that allows to load templates relative to the provided templateBase parameter, rather than against location of the view class.

I was wondering how we can improve the template lookup process in FreemarkerIntegrationService to avoid exposing new methods in TemplateResolver and avoid  the urlMapping hack. It appears Freemarker Configuration exposes a longer form of getTemplate(..) method, that takes an arbitrary "customLookupCondition" parameter. So I think we can do this:
cfg.getTemplate(
     bqTemplate.getName(),
     null,
     bqTemplate,
      bqTemplate.getEncoding().name(),
      true,
      false)

And then Bootique template object (argument 3) can be processed via a custom TemplateLookupStrategy to load the template.
@lukaszbachman What do you think?


Add the ability to highlight untradeable, grounded items

Describe the solution you'd like
Currently in the settings for the ground items plugin settings, only valuable items text are highlighted on the ground. An option to highlight untradeables would be awesome.

you can add any item you care about to the highlighted item list, which shows in its own colour


Load library schema

Load the library locations schema into the database (and support general schema data).

Done - still more to do on libraries data but can do as individual issue (e.g. vector tile service as views).


riscv64: testprogs: Fix cc: error: unrecognized command-line option '-mno-omit-leaf-frame-pointer'

Compile error on debian12, riscv64:
$ make
...
[ 59%] Built target runtime_test_files
[ 59%] Building C object tests/testprogs/CMakeFiles/array_access.dir/array_access.c.o
cc: error: unrecognized command-line option '-mno-omit-leaf-frame-pointer'; did you mean '-fno-omit-frame-pointer'?
make[2]: *** [tests/testprogs/CMakeFiles/array_access.dir/build.make:76: tests/testprogs/CMakeFiles/array_access.dir/array_access.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1925: tests/testprogs/CMakeFiles/array_access.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

gcc [1] commit 39663298b593 ("RISCV: Add -m(no)-omit-leaf-frame-pointer support.")
$ git describe 39663298b5934831a0125e12f113ebd83248c3be
basepoints/gcc-14-2940-g39663298b593

Link: git://gcc.gnu.org/git/gcc.git [1]

It looks like Clang 18 has a problem:
clang: error: unknown argument: '-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'

It looks like Clang 18 has a problem:
clang: error: unknown argument: '-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'

Thanks, i'll try fix this.

It looks like Clang 18 has a problem:
clang: error: unknown argument: '-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer'

I just found a good way to fix this problem, would please review, thanks!

I just rebase to master and add test_and_add_testprog_cflag() function


Move graphdriver quota

Fixes https://github.com/docker/docker/pull/24771#issuecomment-254371766
rename was to make golint happy about the struct name

Nice :) Thanks for fixing

ping @crosbymichael PTAL

LGTM!


Get Group Names instead of Group IDs

Describe the problem
If you have JWT group sync enabled in the self hosted version and are using Entra ID as the IDs, you will get only the group ids, but not the group names
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Se Groupnames instead of Groupids
Are you using NetBird Cloud?
Self Host
NetBird version
0.27.6
NetBird status -d output:
If applicable, add the `netbird status -d' command output.
Screenshots

Additional context

Can you use for this a query with the graph rest api?
https://learn.microsoft.com/en-us/graph/api/user-list-memberof?view=graph-rest-1.0&tabs=http#http-request
https://learn.microsoft.com/en-us/graph/api/resources/groups-overview?view=graph-rest-1.0&tabs=http
I am no coding expert, so can´t help that much.

It's possible to get the group names with Entra ID in Netbird, but it's really hidden and only works then groupMembershipClaims is set to ApplicationGroup. Search for cloud_displayname in this documentation about the group claims: https://learn.microsoft.com/en-us/entra/identity-platform/optional-claims#configure-groups-optional-claims

@Zaunei I'm working on the same issue.
I configured my App Registration in Entra ID as the following and it kinda works but still shows old group IDs even after deleting from Netbird dashboard.

Keep in mind that you can't select cloud_displayname from the ui and you have to edit the manifes:

 ..... "groupMembershipClaims": "ApplicationGroup",
.....
"optionalClaims": {
"idToken": [
{
"name": "groups",
"source": null,
"essential": false,
"additionalProperties": [
"cloud_displayname"
]
}
],
"accessToken": [
{
"name": "groups",
"source": null,
"essential": false,
"additionalProperties": [
"cloud_displayname"
]
}
],
"saml2Token": [
{
"name": "groups",
"source": null,
"essential": false,
"additionalProperties": [
"cloud_displayname"
.....
`

If you rename groups in Entra ID, the'll remain in Netbird.

Works great, even with groups synched from onprem. active directory:

"optionalClaims": {
		"idToken": [
			{
				"name": "groups",
				"source": null,
				"essential": false,
				"additionalProperties": [
					"cloud_displayname",
                    "sam_account_name"
				]
			}
		],
		"accessToken": [
			{
				"name": "groups",
				"source": null,
				"essential": false,
				"additionalProperties": [
					"cloud_displayname",
                    "sam_account_name"
				]
			}
		],
		"saml2Token": [
			{
				"name": "groups",
				"source": null,
				"essential": false,
				"additionalProperties": [
					"cloud_displayname",
                    "sam_account_name"
				]
			}


YAML validation fails when running quarto install extension nmfs-opensci/quarto_titlepages

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Followed all applicable steps in the debugging guide: https://github.com/Openscapes/2021-noaa-nmfs/wiki/2-Issues-and-Project-Boards
Checked the FAQs on the message board for common solutions
Checked that your issue isn't already filed.

Description
Thanks for this extension - letting you know I get the following error when running quarto install extension nmfs-opensci/quarto_titlepages in an existing quarto project.
ERROR: YAML Validation Failed

In file ../../../../var/folders/p8/nkpb6m7j62jg8x0vsrjhmm700000gn/T/quarto-sessione08e97a1/29852a34/c8327ff5/archive/quarto_titlepages-main/_extensions/titlepage/_extension.yml
(line 3, columns 10--13) Key version has value 3.2, which must be a string that satisfies regex "^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$"
2: author: Eli Holmes
3: version: 3.2
            ~~~
4: contributes:
✖ The value 3.2 is number.
ℹ The error happened in location version.

Steps to Reproduce

Open existing quarto directory
Run quarto install extension nmfs-opensci/quarto_titlepages

Expected behavior:
No error
Actual behavior:
Above error.
Reproduces how often:
100% of tries
Versions
Quarto version 1.1.251 running on latest Mac OS X
Additional Information
Nothing further to add.

Thanks! I hadn't updated my Quart to v1.2 and now it requires version numbers to be 3 numbers so threw an error for
version: 3.2

I updated to
version: 3.2.1

Thanks for fixing so quickly!


Changing working directory does not work

Changing the working directory from .../wp-content/uploads to something else (I tried .../wp-content/staticgen) does not work. I created the working directory and it generated the following files:
WP-STATIC-CRAWLED-LINKS  WP-STATIC-EXPORT-LOG  wp-static-html-output-1542878137
but it errored with the error
STARTING EXPORT: 2018-11-22 09:15:37
STARTING EXPORT: PHP VERSION 7.0.32-0ubuntu<IP_ADDRESS>
STARTING EXPORT: PHP MAX EXECUTION TIME 300
STARTING EXPORT: OS VERSION Linux test 4.4.0-128-generic #154-Ubuntu SMP Fri May 25 14:15:18 UTC 2018 x86_64
STARTING EXPORT: WP VERSION 4.9.8
STARTING EXPORT: WP URL https://example.com/sub
STARTING EXPORT: WP SITEURL https://example.com/sub
STARTING EXPORT: WP HOME https://example.com/sub
STARTING EXPORT: WP ADDRESS https://example.com/sub
STARTING EXPORT: PLUGIN VERSION 5.9
STARTING EXPORT: VIA CLI?
STARTING EXPORT: STATIC EXPORT URL https://example.com/sub/mystaticsite/
ERROR: LIST OF URLS TO CRAWL NOT FOUND AT: /var/www/example.com/wp-content/staticgen/WP-STATIC-FINAL-CRAWL-LIST

Thanks for reporting. The working directory has been dropped from the latest version to reduce complexity. It may reappear in the future, if there is enough demand. The UI elements are gone from the latest build on the Releases page.


Questions about model implementation

Hi, I am very interested in your work.But I have some questions

The Operator search of  Section 4  in the Paper  is as follows

the EncoderLayer(nn.Module) take Q and V as the  input .

However，the EncoderLayer(nn.Module)  in  your code  dose not use  Q as the input. The code just take the V as the input .

In addition, you use Q instead of q as input in DecoderLayer(nn.Module).

Is there a mistake in my understanding? Can you answer this doubt for me?

Hi, I'm reading your paper and running your experiment.
But I have a problem when I run the run_fb.sh.

Could you tell me how to deal with this KeyError?
Thank you very much.


handle image rotation bug

In MSCircularSliderHandle.swift
REPLACE
// Now, draw the rotated/scaled image into the context
bitmap?.draw(img.cgImage!, in: CGRect(x: -img.size.width / 2, y: -img.size.height / 2, width: img.size.width, height: img.size.height))
BY
// Now, draw the rotated/scaled image into the context
bitmap?.draw(img.cgImage!, in: CGRect(x: -rotatedSize.width / 2, y: -rotatedSize.height / 2, width: rotatedSize.width, height: rotatedSize.height))

Fixed in 1.3.0. Thanks for pointing out the bug and solving it too!


foreach loop should use list()

Also added extra information about the error to the catch block

Q
A

Is bugfix?
✔

New feature?
✔/❌

Breaks BC?
✔/❌

Fixed issues
comma-separated list of tickets # fixed by the PR, if any

Thanks.


lifecycle | Add lakectl commands to get and set lifecycle policy

Add lakectl commands to get and set lifecycle policy
These commands will set lifecycle policy in underlying storage.
For example
For a repository using the storage namespace: s3://my-bucket/path
 lakectl lifecycle set --repo my-repo --prefix my-data/raw --days 14

will set a lifecycle policy in S3
<LifecycleConfiguration>
  <Rule>
    <ID>[lakeFS_ID]</ID>
    <Filter>
       <Prefix>path/my-data/raw</Prefix>
    </Filter>
    <Status>Enabled</Status>
    <Expiration>
      <Days>14</Days>
    </Expiration>
  </Rule>
</LifecycleConfiguration>

lakeFS_ID = lakefs-[REPO]-[hash(prefix)]

lekFS Lifecycle rules apply to all branches, branch-specific lifecycle rules are not supported.

shell lakectl lifecycle ls
should return

Prefix
Days

my-data/raw
14

other/path
300

Notes:

consider supporting Azure and GCS. This is not a requirement, Add only if it can be done as part of this issue without to much effort.
consider returning Expiration as part of Head and Get The same way S3 does

In get we should set the header expired to be the same as we got from S3
Head currently does not make any request to S3 so it might not be worth adding it

Need to see what #4015 entails to see whether this can be done.

Closing as UGC is now implemented, differently.


it doesn't seem to see submodules

I use submodules a lot, and by that I mean nested go.mod in the same git repository following what some people calls a MonoRepo.
unfortunately if I run golds -allow-network-connection -port 6060 -v . at a checkout of https://github.com/darvaza-proxy/slog for example, handlers/*/go.mod are ignored.
suggestions?

and passing all the directories with a go.mod as argument leads to server.go:314: no packages matched (with or without trailing /...)

@amery
It looks the submodules app require the root module.
This means there are more than one starting/seed modules.
Golds is unable to handle such situation: https://github.com/go101/golds/issues/25#issuecomment-1043772765
Thanks for submitting this issue, which let me find a bug in Golds.
This bug makes Golds fail to parse any single one of the submodules in the https://github.com/darvaza-proxy/slog project.
The bug will be fixed in the next release.
After the bug is fixed, Golds is able to parse any single one of the submodules, but still unable to parse them all at the same time.

@go101 the pattern there is that the root defines an interface, and submodules implement it

(moved from https://github.com/golang/go/issues/59056):

Yes, as Golds provides some richer features, such as showing be-direction relations between deping and deped packages (such as type implementation relation), there are some difficulties to parse multiple versions of a package at the same time, which is often caused by parsing multiple seed modules.
I believe the limitation originates from the golang.org/x/tools/go/packages package, though it is possible to make (some heavy) efforts to let Golds work through the limitation.

wouldn't the dependency graph sort that instead of assuming the first package is the leaf?

@amery
I don't get what you mean. What is a leaf?

The problem is two leaf/seed modules might require two different (minor) versions of a module.
Neither parsing both nor parsing either is guaranteed to be without problems.

The problem is two leaf/seed modules might require two different (minor) versions of a module. Neither parsing both nor parsing either of the two versions is guaranteed to be without problems.

I understand now what you meant, thanks


What's up with this issues section..

Over the past week there have been dozens of really stupid issues popping up on this repo, Megabyte you aren't here to save us :( Is it possible to make someone else a collaborator that actually checks this place and cleanup all of these issues. There's 17 issues opened, 8 of them aren't even supposed to be there.
Now to name them:
#651 Dead issue.
#672 I don't even wanna talk about this one.
#673 Completed issue, 3 days no response. (up-to date)
#687 OP isn't responding.
#694 Yeahhh..
I don't know, I'm really just speaking for myself. I'm just saying the quality of issues here are just becoming ridiculously bad.  (Now to talk about it I got a chemistry test, shite) I just wanted to see if we can get some more active collaborates. Someone that'll be more strict with these issues so we can see some more productive issues :) I don't know, I'm probably just speaking for myself, I just don't want this place to end up like Ogar-Unlimited is all.
@Megabyte918 @AlexandriteErikParacelsus @FantasyIsBae

Solution: Open an issue xD
But your right

@Tyler3D xD I'm just waiting on Megabytes response, I'll close it right away. idk I just thought it was something to be said, it's really getting difficult to actually keep to date with the repo issues when all we see are people asking for code to be spoon fed to them.

👍

There should be a dedicated Question issue or forum. Instead of making issues

@Megabyte918

Or just teach people how to Google xD I was stuck on getting the PayPal API working on my website a couple months ago. I spent a good 3 days trying to figure it out. I finally did, the thing is I learnt so many other things while learning about it. Like using Composer, getting PHP to actually work with errors through the php.ini, how to make proper classes in php and not be stupid.
I never like it when people actually get given code and told where to put it exactly.  We need lmgtfy on the readme

well first of all ur issues are stupid for me as well ur asking for codes
all the day and u can just get them from stackoverflow
also u rarley help other people ,
so stop being Dickheadick , and chill with ur some how retard Qs for me
ty
sincerly Me
2017-03-23 14:29 GMT-07:00 Tyler3D<EMAIL_ADDRESS>
There should be a dedicated Question issue or forum. Instead of making
issues
—
You are receiving this because you are subscribed to this thread.
 Even if we had one, it would be a serious one. And this is a serious one, for us.
Also, for you.

as well ur asking for codes

How can we fix your issues if you don't give us at least something that's causing the problem to work with?

all the day and u can just get them from stackoverflow

What issues?

also u rarley help other people ,

We try to but we got fed up with the insane amount of stupid issues like "config for this that these those", "make splits like ogarul/dualagar/gota/penis", "pls help me", "HOW TO ADD MINIMAP", the list continues.

so stop being Dickheadick

Thank you for this sincere and honest compliment.

and chill with ur some how retard Qs for me

What issues?

Thank you.
Sincerely, Luka

@MastaCoder

#651 Dead issue.

Well, I guess you can cross that one off the list lol.

@Mastacoder Issue #672 Is a issue, I never had this issue with any of my other servers but just somehow I try using this server and it dosnt work. I still think it's an issue on the server side because it worked fine on cigar. Can we just code the borders how it was coded in cigar so this works?

Cigar used point 0, 0 as top left, MultiOgar doesn't. It uses the CORRECT map making method. Thus, it's a problem with YOUR map. NOT a server side problem, if you want help with that MINIMAP then go to the place where it was MADE and ask THEM. THIS ISN'T A SERVER PROBLEM. You were told like 10 times but still want the code to fix it.

Sorry I've been slacking with the issues lately, I've been very busy and hadn't had much time to interact with the community much (I know it's getting old that I keep using that as an excuse, but it's true!)
I added my friends @AlexandriteErikParacelsus and @FantasyIsBae  as collaborators to help out every now and then, or "collaborate" and interact with the community but I haven't seen either of them active in the community in a while and it's hard to contact them due to my lack of time. I really don't want to do this because their my friends, but I might have to de-add them :/
Please don't take it personally Alex and Fantasy, I wouldn't want to burden you guys with the task of maintaining this project and filling in for my slacking, you guys probably have your own stuff your busy with and don't have time for things like this. I think I'd be better off this way :/
Don't get me wrong, I love maintaining this project and I think its really fun to be able to interact with the github community around this repo, same with being able to code this server, fix bugs, answer questions, collaborate with other developers, etc. If I had the spare time to do this all day I would.
Sorry I've not been the most active lately, I will try my best make time for this and to keep in touch with the community and with maintaining this project. I promise!
@MastaCoder I was thinking about adding some more colalborators who can maintain the project well, but I don't know who and I have trust issues xD
Is there a way I can contact you outside of github? Discord? Skype? If you don't feel comfortable with saying it here you can email it to me (if there even is a way lol)

@Megabyte918 I'm actually checking this site very frequently, and I see the useless issues (I have done them in the past.) I don't think I'm going to make anymore issues anymore despite the fact of it being useless and not reading the wiki. I was the one who made the wiki in the very first place, with everyone editing it, so I did this repo a favour (adding issue templates etc)
You might want to remove @FantasyIsBae and @AlexandriteErikParacelsus' roles because I haven't seen them doing any work on the repo.
If you want to, you could add other collaborators that you actually really trust (could be @MastaCoder).
On the other side, if I was a collaborator (I doubt it), I could remove actual useless issues, dupes and solution in the wiki. I wouldn't delete like coded issues because I'll leave them open for other people to solve. But it is your opinion. Add a few trusted collabs = useless issues are gone.

@MastaCoder I was just asking a question, completely related to the repo. I don't see why mine was put on the list...

@Megabyte918 I was never directing Collaborator at myself 👍 I was just hoping to find someone that actually knows what they are doing to get them as a collaborator here for the issues. I've been browsing among GitHub, I found so many great repos that have their issues section all sorted out with some really good looking tags. Then I come back to my watched and see all these useless issues.  It's hard to tell people how busy you are because it's hard for them to understand how you get time together. Same boat! (look at Cigar for example, it's dead until I find some things I can really do with it)

Sorry I've not been the most active lately, I will try my best make time for this and to keep in touch with the community and with maintaining this project. I promise!

Don't be sorry, I was just asking for some more strict moderating of this issues section. I'd just really love to get rid of most people that just ask for code, post issues not even related to the project. It's hard to sit down and answer those people instead of working on the code itself!
I have trust issues too 🥉 https://discord.gg/mUVsaCa Just join that and request to add me as a friend. I have my DM's blocked (because WAAAAY too many messages) so just request and I'll add you 😆

^^ Case in point
https://github.com/Megabyte918/MultiOgar-Edited/issues/707

My discord chat = https://discord.gg/kfWtssv
I was thinking of being a collaborator, read my commet above on why I could be added as one :D

@Megabyte918 ^^

ok

Have I been removed again ?

 I will help with issues and with pulls , I'm on Skype almost everyday so text me if you want . And again sorry 😞

@FantasyIsBae Don't be sorry! Really, it's alright. I know how it feels to busy with those things and that also leads to less time for github stuff.

Lemme guess, windows deactivated and you tried to activate it with a crack but ends up being a virus? xD
Anyways glad you're doing good, also.
use discord its better than skype.
https://discord.gg/BEXsmAG

@MastaCoder No I just installed the wrong program lol
Anad yeah no problem I'll use discord 😄


Check in Manifest.toml

I wrote some ideas on Julia project stucturs here.
In particular, checking in the manifest allows to share the code using the exact same package versions.

Thanks for the link. I used PkgTemplates.jl for the generation of repo, by default the Manifest.toml was in .gitignore. This should be fixed now.


Fix for D413 introduces whitespace

Minimal test.py:
def test_func():
    """Some test function.

    Returns
    -------
    None
    """
    pass

Fixing with ruff --isolated --select="D413" --fix test.py adds unnecessary whitespace (W293)
--- a/test.py
+++ b/test.py
@@ -4,5 +4,6 @@ def test_func():
     Returns
     -------
     None
+
     """
     pass

I took a quick look at this and the culprit seems to be here:
https://github.com/astral-sh/ruff/blob/175c266de30c159b69308346cb84e51134ac529e/crates/ruff_linter/src/rules/pydocstyle/rules/sections.rs#L1667-L1683
Instead of the fix "introducing" whitespace it is more so leaving behind the original indentation space which obviously violates (W293). In this scenario I would imagine the original indentation will need to be deleted before inserting the new line and new indentation. Below is an initial attempt at addressing this problem. Let if this looks sound and I would be glad to submit a pull request.
let fix = match num_blank_lines {
    0 => Fix::safe_edit(Edit::insertion(
        format!("{}{}", line_end.repeat(2), docstring.indentation),
        context.end(),
    )),
    1 => {
        let del_start = context.end() - TextSize::from(docstring.indentation.len() as u32);
        let rest = [Edit::insertion(
            format!("{}{}", line_end, docstring.indentation),
            context.end(),
        )];
        Fix::safe_edits(Edit::deletion(del_start, context.end()), rest)
    }
    _ => unreachable!(),
};
diagnostic.set_fix(fix);

@jusexton this looks about right, although it would be nice if we don't have to branch on the existing empty lines. I also think that this won't work if the line has more whitespace than just the indent?
def test_func():
    """Some test function.

    Returns
    -------
    None
           """
    pass

Could we maybe use the range information in context.following_lines() to determine the offset?

@MichaReiser Thanks for the help. A PR has been created making use of context.following_lines() to determine the deletion length instead of docstring.indentation. I also attempted removing all branching but a check still seems to be required around whether the last line is whitespace or not. Let me know if there is a better way!


[5.7] Feature: Add Initialization Events to Eloquent

There are a couple of areas in eloquent that still make it difficult to write extensions that can handle complex attributes.  (By "complex attributes", I mean non-natively-known attribute types that can be expressed as objects until serialization, like how datetime objects are handled). Take for example there were an attribute of type Coordinate, and one wishes to be able to achieve the following workflow:
class Coordinate {} // assume exists as a 3rd party value object
class Place extends Model { uses 3rdParty/HasGeoTrait; ...} // assume this kind of model

$place = Place::find(1234);
$place->coordinate->setLatLong(30.01, -90.10);

// or

$place = new Place;
$place->coordinate->setLatLong(30.01, -90.10);

While the former can be setup by a 3rd party trait by hooking into the retrieved eloquent event, the latter cannot because there is no event fired early enough to setup an attribute with a value object for the coordinate. (To fully understand the example, saving would serialize the value object to be put into the database and saved would restore the value object to further interaction.)
Thus, I am proposing that the base eloquent model introduce 2 new events that will fire at construction time: initializing (pre fill()) and initialized (post fill()).
This will give 3rd party traits the opportunity to do some initialization on eloquent models whether they were retrieved or newly instantiated (thus they will not have to instruct consumers to override the constructor.)
(Separately, could this be a 5.6 feature? If so I can rebase against that branch.)

Hmm, I wonder about the performance implications of firing more events during the constructor? Especially when retrieving say 500-1000 Eloquent models.

Ill get you some rough numbers with 1 and 2 events from the constructor, I have some databases that have good use cases.

@taylorotwell: Alrighty, did tests on my machine, so the numbers are relative, but I believe are scalable on any machine to demonstrate the same impact.
Most immediately, I agree 2 methods is unnecessary, I removed initialized and kept initializing.  This particular thing does not need parity (like bootstraping/bootstrapped), it is more like retrieved (which does not have a retrieving).
I did a quick test script, generally looks like this:
class Address extends \Illuminate\Database\Eloquent\Model {}
Address::limit(1)->get(); // overhead of making a connection out of the way

$time = microtime(true);
$addresses = Address::limit(1000)->get();
echo ((microtime(true) - $time) * 1000) . "ms";

When running this in a tinker environment, on my machine with master for 1000 rows it returns that it takes 160ms to load 1000 addresses into memory (properly hydrated).  When you introduce just the initializing event in the constructor (not the initialized event), the script repots it takes 230ms.  (For reference, the same script when removing the retrieved event takes 90ms to run to return the same 1000 objects). So put another way, each event added to the normal lifecycle of an eloquent object slows it down by 40% (roughly equvilant to 0.06ms or 0.0006s per object) .
All that said, the impact is not small when involving the dispatcher and dispatching events.
I am going to close this PR in favor of a different solution. Seeing as though for the use case at hand (3rd party ability to initialize an object), using the general purpose event system seems like overkill.


Add link to IPFS mirror of database dumps

Let's make sure this is clearly visible on the dumps page (kudos to user arx for running this)
https://ipfs.io/ipns/QmPkgXivsk47C61vMQgCcBn7ZTYThxWQfzV9QMnQwvjsXh/

done per https://github.com/eloquence/lib.reviews/commit/6a14503c95afa78dc0b7a282cd10e19b291f93eb


Change the keystore file types to PKCS12

merge after https://github.com/wso2/carbon-kernel/pull/3747

Partially fix from https://github.com/wso2/product-is/issues/18466


[BUG/Help] is the new get_position_ids do not need gMask in 2D?

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
def get_position_ids(self, input_ids, mask_positions, device, gmask=False):
        batch_size, seq_length = input_ids.shape
        context_lengths = [seq.tolist().index(self.config.bos_token_id) for seq in input_ids]
        if self.position_encoding_2d:
            position_ids = torch.arange(seq_length, dtype=torch.long, device=device).unsqueeze(0).repeat(batch_size, 1)
            for i, context_length in enumerate(context_lengths):
                position_ids[i, context_length:] = mask_positions[i]
            block_position_ids = [torch.cat((
                torch.zeros(context_length, dtype=torch.long, device=device),
                torch.arange(seq_length - context_length, dtype=torch.long, device=device) + 1
            )) for context_length in context_lengths]
            block_position_ids = torch.stack(block_position_ids, dim=0)
            position_ids = torch.stack((position_ids, block_position_ids), dim=1)
        else:
            position_ids = torch.arange(seq_length, dtype=torch.long, device=device).unsqueeze(0).repeat(batch_size, 1)
            if not gmask:
                for i, context_length in enumerate(context_lengths):
                    position_ids[context_length:] = mask_positions[i]

        return position_ids

gMASK is not need in 2d config, that's not consistent with the last version.
Expected Behavior
No response
Steps To Reproduce
not refered
Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA Support (`python -c "import torch; print(torch.cuda.is_available())"`) :

Anything else?
No response

Yes. That is expected behaviour.

tks. but if so, why else need gmask.
is that means, if position_encoding_2d is used, it doesn't care whether using gmask or not?
in this use_gmask = True if gMASK in input_ids else False line,
use_gmask should be True, we mask the position with a mask token for 2d encoding but not for 1d encoding.
that's really confusing...

tks. but if so, why else need gmask.
is that means, if position_encoding_2d is used, it doesn't care whether using gmask or not?
in this use_gmask = True if gMASK in input_ids else False line, use_gmask should be True, we mask the position with a mask token for 2d encoding but not for 1d encoding.
that's really confusing...

Yes. if position_encoding_2d  is True, use_gmask doesn't influence the  position id.


Datetime workaround for python 2.7

Hi there,
datetime doesn't have a timestamp() method in python 2.7
to make it fully compatible, I used a function timestamp to wrap around utcnow() :
def timestamp_milli(t):
    return int((t - dt.datetime(1970, 1, 1)).total_seconds())*1000

This way, you send an int to the Smappee object get_consumption_xxx methods.
Hope this helps...
Serge

Hey Serge,
I'm a little bit torn, because I never intended to make this module compatible with python2... (more testing and complexity + I think people should move to PY3 already). But if you really need it to be compatible I guess I could do an effort.
Is it only the datetime.timestamp part that gives you issues?

Hi @serge-b, I'm marking this as a wontfix because I don't want to maintain workarounds for legacy Python versions, sorry.
However, you might already have noticed that the get_consumption methods accept multiple datetime formats, including int (as milliseconds sinds epoch). So I believe that as long as you pass an int to those methods, the code should work just fine in python 2.7


VectorLayers are not working

Describe the bug
VectorLayers are not working in a Polymer 3 project.
This is not working after this change: https://github.com/openlayers/openlayers/pull/10385
Polymer serve gives an error in the console. TypeError: _rbush.default is not a constructor
I don't think it is good to use transpiled files: (https://www.polymer-project.org/blog/2018-05-02-roadmap-faq#dependencies-not-compatible-with-the-native-module-loader)
To Reproduce

Unzip olinpolymer.zip
Go to the unpacked folder
npm install
npm run polymerserve
See the error in the browser console
Expected behavior
Seeing a map.

Until all our dependencies come packaged as ES modules (like OpenLayers does already), you'll have to use a bundler. No need to transpile though.

After reading https://github.com/openlayers/openlayers/issues/8974, I think I understand it. But can you explain why src/structs/RBush.js also uses this import: "import RBush_ from 'rbush/rbush.js';"
I would think you should use the rbush/index.js file because that is the untranspiled file.

If we import the untranspiled file, then users have to configure their bundlers to transpile dependencies, which is not common practice.

Yes but I'm talking about the untranspiled es6 modules in src/ .

That might be doable. If you have any idea how (e.g. with a change in build/tsconfig-build.json, which is responsible for the transpilation, you could submit a pull request.

I don't think that is possible with an change in de tsconfig-build. And for now I do not have another idea.


ESC calibration not working with all ESCs

It seems that the calibration procedure is not working with Tmotor Air 20A ESCs.

@LorenzMeier Are you having issues with that one? Could you say what the problem is, are the 5 seconds high pulse time too short/long?

Closing this for now until further reports.