Flutter does not support iOS 3d touch keyboard trackpad

When you hard-press on the alphanumeric keyboard on iOS it turns into a trackpad which allows you to move the cursor around the text field.  This doesn't work inside a Flutter app.  Presumably due to us using the wrong keyboard integration apis.
May be the same root cause as https://github.com/flutter/flutter/issues/5328 and https://github.com/flutter/flutter/issues/4818.

I can confirm that on the iPad, and iPhone X using the latest Flutter and iOS 11.4 you cannot 3D touch to move the cursor or use the 2 finger gesture on the iPad to move the cursor.
It can be quite jarring for an iOS user to not be able to move the cursor with 3D touch.

My understanding from @cbracken is this is just us missing a few methods implemented in:
https://github.com/flutter/engine/blob/e632fb8160989888456948ce6f412d83b525810b/shell/platform/darwin/ios/framework/Source/FlutterTextInputPlugin.mm
Probably not hard to do.  I agree this is unfortunate to have missing.

I believe (but have not confirmed) that this is the case. Methods in question.

I agree with @AppleEducate  - a bit of a show stopper on iOS.

@richgoldmd it really makes the app look bad when they can’t move the cursor.

I recently bumped into this issue and tried to implement the missing methods mentioned by @cbracken , but it's more complicated than it looks.
In order to convert between text positions and on-screen coordinates (e.g. in caretRectForPosition or closestPositionToPoint), we need the width/height properties from the Flutter EditableText widget so they can be applied to Core Text methods for measurement; that means a FlutterTextInputView needs to retrieve those information from Flutter side.
The problem is, I'm not sure how to do this via text input channels without adding another bridge methods - it looks like a bad idea to add something like (CGRect)getClientRect:(int)client in FlutterTextInputDelegate.
Is there any elegant ways to do this or another better approach for measurement without Core Text? Thanks!

Oops, this issue is older but since #17030 has more thumbs up reactions, I'm assuming there's some keywords in there that's more searcheable. Merging.


few maybe useful additions?

Thank you for your contribution.
I did not know about VRCPlayerApi::EnablePickups
I'm going to be changing the EnablePickups patch into a no-op, since it is turned on in Awake.

I think proximity grants you infinite reach if I'm not mistake. I haven't tested the mod before I made my changes to it, so feel free to correct me if I'm wrong.


Google Web Fonts (As described in #231) no longer work

contrary to #231, Google Web Fonts do not appear to work anymore.
10 second repro screencast: https://www.dropbox.com/s/16sg024bgvfqh68/stylebot-google-fonts-github-bug-report.mp4?dl=0
the screencast shows Lato working (because I have the font natively installed on my Mac), but Roboto and Monserrat not working — they display as Times New Roman.

@jm3 Google fonts have been removed from the list of fonts.


some views auth/login route changed to /login

Is there anyway you could finish the whole translation? so we can have just one commit for this.
Thanks fir your help.

@gocanto can you take a my pull request? may be later i will return back to again pull request.

Yes, I can do it. But please, fix the href mentioned on the reviews. Thanks for testing!


Darksiders II Deathinitive Edition crashes at launch

Initially, the game crashed at launch with an error about display format. Since the latest commits from Joshua, the game still crashes at launch but with a new error.
Software information
Darksiders II Deathinitive Edition from GoG. The game is downloaded from Galaxy but launched without it.
System information

GPU: AMD RX580 8Gb
Driver: 19.1 Git version + LLVM 8.0.0
Wine version: 4.7-staging
D9VK version: Git version with last commit 00433f0

Apitrace file(s)

https://drive.google.com/open?id=1OCYC5zLkDI6lNdHPBQQnJLAdrLbOHobr

Log files

Console output log : https://pastebin.com/9nwvN88b

For me is working with Steam Version, though I use Proton for this purpose and Vega M. Performance is over double compared with Wine D3D. Game is 64bit.

Which GPU do you have ?
With Proton it does not work for me.

Vega M

Well i don't know ...

What I have done was to use proton dxvk and just put direct3d9.dll inside

Your trace was really short, but it now plays back on latest master fine for me.
You can get the latest build here: https://git.froggi.es/joshua/d9vk/-/jobs
Does it fix more of the game than just the menu you showcased?

Hmmm, the latest build a750df75 is exactly the same for me.  It launches, but all the issues persist. No bink videos, the early menus do display properly for the most part, although there is some kind of issue with alignment and elements not being drawn properly starting from the initial screen, into later menus.  It creates a line across the center as seen below:
Proton:

D9VK:

It's when you get to the continue screen and ingame where it's all messed up.
I've created a trace, with a little bit of in game movement.  Hopefully it's enough to help show the problems.
Apitrace

https://drive.google.com/open?id=1tOk5zGzxq3jOz8T1hwGXi_sBBY7sd7qd

Josh, i tried the game with AMDVLK :
Bad screen without sound.
Si there is an issue with D9VK like there is the same issue for NVIDIA and AMD (RADV) users.

Update title + Initial message for the new issue.
Link for the apitrace updated.


plots

a couple things.
plots are very slow and hard to tell is they are done or not.
I dont seem to get what I ask for in the plots.   I dont seem to be able to use colors, or create the axes that I ask for, and sometimes it seems plot
maybe try out sandbox using the actual Kevin .cvs file.

all "communities" collumn from Kevin should be same data type (in this case, "categorical"

the "regulon number" column from Kevin should be same data type (in this case, "categorical"

the wordplot seems to work in "view" but not in "plot"

feature request- user can remove selected words from "word cloud'.  e.g. "protein"  or "gene"

There isn't much I can do about plot speed; it is dependent on the plotting function implementations (ggplot and plotly) and on the shinyapps.io hardware.
I've reconfigured the sandbox instance to allow 100 levels in a categorical variable. So it should now behave the way you want. Ultimately, I should allow the user to set this dynamically, but it will require some reworking of the data structures.
I've added a plotly interface to the plots metaoku generates. Plotly is very good about customizable and interactive graphics, so I am working on delegating as much as possible to them. Then metaoku can focus more on data sharing, documentation, typing.
Removing words from the wordcloud should be possible. I'll look into it.

:)
Eve Syrkin Wurtele, Professor<PHONE_NUMBER> (cell)  538 Science II,
Iowa State Univ.  homepage
http://www.gdcb.iastate.edu/faculty-and-research/faculty/eve-syrkin-wurtele/
Meta!Blast computer game http://metablast.org/    PMR Systems Biology
Resource http://www.metnetdb.org/PMR/   Publications
http://www.ncbi.nlm.nih.gov/sites/myncbi/collections/public/1jMsIEbfU0gcCYtuh_aBiUdAs/?sort=date&direction=descending
On Fri, Oct 28, 2016 at 5:05 PM, Zebulun Arendsee<EMAIL_ADDRESS>wrote:

Closed #1 https://github.com/arendsee/metaoku/issues/1.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/arendsee/metaoku/issues/1#event-840681966, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ATY9X7DtG3BjZLoqgKp4BCta7TOWgdl5ks5q4nGygaJpZM4Ki6xt
.


Receive "UnhandledPromiseRejectionWarning" error in ionic serve

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
After running ionic serve, when modifying a file, I receive a UnhandledPromiseRejectionWarning error.
What behavior are you expecting?
The change should be detected, any SASS or TypeScript files should be recompiled, and the page reloaded (if livereload is active).
Steps to reproduce:

Run ionic serve on a working project.
Edit a SCSS or TS file and save.

Which @ionic/app-scripts version are you using?
0.0.48
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Full output:
> ionic-hello-world@ ionic:serve /root/.../.../...
> ionic-app-scripts serve "--port" "9002" "--livereload-port" "9003" "--nobrowser" "--address" "165.x.x.66" "--lab" "--serverlogs"

[17:23:35]  ionic-app-scripts 0.0.48
[17:23:35]  watch started ...
[17:23:35]  build dev started ...
[17:23:35]  clean started ...
[17:23:35]  clean finished in 9 ms
[17:23:35]  copy started ...
[17:23:35]  transpile started ...
[17:23:45]  transpile finished in 10.30 s
[17:23:45]  webpack started ...
[17:23:46]  copy finished in 10.64 s
[17:24:13]  webpack finished in 27.67 s
[17:24:13]  sass started ...
[17:24:15]  sass finished in 1.81 s
[17:24:15]  build dev finished in 39.87 s
[17:24:15]  watch ready in 40.12 s
[17:24:15]  dev server running: http://165.x.x.x:9002/

[17:24:31]  build started ...
(node:13998) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'send' of undefined

I'm seeing this too. It makes the current version of app-scripts unusable, as the build does not complete. It happens to me after the first time I save a file.

This seems to come and go.  Now it's working, but it wasn't earlier today.

@codisms, are you writing on a new blank ionic project? What does your ionic info look like? Mine isn't solved yet. =(

No, it's not blank, and I didn't do anything for it to have changed.  It just started working.  Will comment should it stop again, but I wouldn't consider it closed.

I dont know if its releted but ive seen this a couple of times when starting a ionic serve -b and changing a file before i have refreshed a existing browser tab to connect it to a new serve.

I see this too on version 0.0.48 and I also get Mixed Content: The page at 'https://3ZzLYsgk.ngrok.io/' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://3ZzLYsgk.ngrok.io:53703/'. This request has been blocked; this endpoint must be available over WSS. everytime I use it because I'm using https and I don't know how to change the ionic websocket endpoint.  So maybe this UnhandledPromiseRejectionWarning error could in fact be caused by a websocket problem

I am also getting this when doing ionic build using:
ordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.4
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.9
Ionic App Scripts Version: 0.0.47
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 10
Node Version: v6.9.2
Xcode version: Not installed
Build output:

ionic-hello-world@ ionic:build C:\Bitnami\wampstack-5.6.22-0\apps\sc-metronome
ionic-app-scripts build

keywords if/then/else require v5 option
[17:24:12]  ionic-app-scripts 0.0.47
[17:24:12]  build dev started ...
[17:24:12]  clean started ...
[17:24:12]  clean finished in 23 ms
[17:24:12]  copy started ...
[17:24:12]  transpile started ...
[17:24:26]  transpile finished in 14.55 s
[17:24:26]  webpack started ...
[17:24:27]  copy finished in 15.17 s
(node:1872) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'content' of null
Error loading cordova-browser
Running command: cmd "/s /c "C:\Bitnami\wampstack-5.6.22-0\apps\sc-metronome\platforms\browser\cordova\build.bat""
Cleaning Browser project

Figured this one out, thanks to some comments in https://github.com/driftyco/ionic-app-scripts/issues/599.
This happens to me when I don't have a browser open with the app loaded. PR submitted which fixes the issue.

https://github.com/driftyco/ionic-app-scripts/pull/616

This should be fixed now. Will be published tomorrow in 0.0.49.
Please let me know if it's not.
Thanks,
Dan

"npm update" may solve this problem

I got this error now,

copied the whole repo directory to another directory (V2)
cd V2
git checkout -b V2.0 remote/V2.0
npm update
ionic cordova build ios

some output then
(node:67507) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: channel closed

I'm also getting this with ionic update after ionic config set -g backend legacy. Can't seem to get my app to work in ionic view any more either. @ionic/app-scripts : 2.1.4

Hello guys, i had the same issue and i fixed it with these commands:

rm -rf ./node_modules
npm install
ionic cordova rm android && ionic cordova add android

Worked for me :

rm -rf ./node_modules
npm install --no-optional --no-shrinkwrap --no-package-lock
ionic serve

Hello guys, i had the same issue and i fixed it with these commands:

rm -rf ./node_modules
npm install
ionic cordova rm android && ionic cordova add android

this command worked for me, Thank you


Corpus function - AttributeError: 'DocumentSet' object has no attribute 'title'

AttributeError: 'DocumentSet' object has no attribute 'title' is displayed, even after changing title within relevant CSV file (docs_springer) to read 'title'.
Thanks in advance! :)
Sam

Thanks for using LitStudy!
Looks like build_corpus expects a DocumentSet and it seems that docs_springer is not a DocumentSet but something else.
Could you maybe provide the rest of the notebook, or do you have the line that creates docs_springer?

Hi stijnh thanks for the quick response.
Sure, here we go:

I have defined DocumentSet as docs_springer in my case, and it seems to have resolved the error, as the output is no longer an AttributeError, but instead (As below):

Does this look correct to you?

refine_scopus returns two document sets: One for the document found on scopus and one for the documents not found on scopus.
You would need to do something like this:
docs_springer, docs_not_found = litstudy.refine_scopus(docs_springer)
print(len(docs_springer), "papers found on Scopus")
print(len(docs_not_found), "papers NOT found on Scopus")

Great, thanks stijnh.
Separately, I was wondering whether the full results from the word distribution can somehow be viewed, as the table output seems to provide only a snapshot?

Thanks, as always,
S

@stijnh I'm also a bit confused about the ngram_threshold, even after reading the guidance documents. An ngram_threshold of 0.8 does what exactly? Classifies something as agreeing with/matching that ngram if 80% of its characters are the same as the reference ngram (included in the corpus)?
Sorry for the question, but I can't seem to clarifying on my own and it would be good to know how LitStudy is working here.
Thanks,
S

Hi,

Great, thanks stijnh.
Separately, I was wondering whether the full results from the word distribution can somehow be viewed, as the table output seems to provide only a snapshot?

Thanks, as always,
S

This is the complete table of all ngrams, that means all the words that contain a _ after processing (that is what the .filter(like="_") does).
Remove .filter(...) part to see a list of the complete word distribution.

@stijnh I'm also a bit confused about the ngram_threshold, even after reading the guidance documents. An ngram_threshold of 0.8 does what exactly? Classifies something as agreeing with/matching that ngram if 80% of its characters are the same as the reference ngram (included in the corpus)?
Sorry for the question, but I can't seem to clarifying on my own and it would be good to know how LitStudy is working here.
Thanks,
S

The parameter ngram_threshold determines how sensitive the preprocessing is to detecting bigrams (also called ngrams). The higher the value, the more bigrams will be detected. A bigram is a pair of words that frequently appear next after each other (for example, think of words like "data processing",  "social media", "human rights", "United states").
The actual processing is done by gensim, here is the documentation and look at the threshold parameter: https://radimrehurek.com/gensim/models/phrases.html#gensim.models.phrases.Phrases

Great, thanks for your help. I have removed the .filter(like="_") and am obviously presented with a larger list. My question is how I can view/export/download this list in its entirety?

Thanks again,
Sam

Hi @stijnh another quick question from me which might have a simple answer, hence why I am not opening it as a new issue:
In the word distribution plot which has been produced below, is the highest result saying that the word 'nature' only appears across 35% of the documents? I am asking because it was a key search term used in the original Scopus search, so in theory all of the documents (that is, 100%) should include the word 'nature'.

Thanks, as always, for your patience and advice,
Sam

Great, thanks for your help. I have removed the .filter(like="_") and am obviously presented with a larger list. My question is how I can view/export/download this list in its entirety?

Thanks again,
Sam

The thing returned by compute_word_distribution is a regular pandas dataframe. You can use the functions to export it to a file: https://pandas.pydata.org/docs/reference/io.html
For example, you can add ...sort_index().to_csv("word_distrbution.csv")

Hi @stijnh another quick question from me which might have a simple answer, hence why I am not opening it as a new issue:
In the word distribution plot which has been produced below, is the highest result saying that the word 'nature' only appears across 35% of the documents? I am asking because it was a key search term used in the original Scopus search, so in theory all of the documents (that is, 100%) should include the word 'nature'.

Thanks, as always, for your patience and advice,
Sam

Not sure about this one. Maybe sometimes nature is followed by solutions and it is interpreted as the bigram nature_solutions. You can disable bigram detection by removing the ngram_threshold= options from build_corpus.
Good luck!

Hi,

Great, thanks stijnh.
Separately, I was wondering whether the full results from the word distribution can somehow be viewed, as the table output seems to provide only a snapshot?

Thanks, as always,
S

This is the complete table of all ngrams, that means all the words that contain a _ after processing (that is what the .filter(like="_") does).
Remove .filter(...) part to see a list of the complete word distribution.

@stijnh I'm also a bit confused about the ngram_threshold, even after reading the guidance documents. An ngram_threshold of 0.8 does what exactly? Classifies something as agreeing with/matching that ngram if 80% of its characters are the same as the reference ngram (included in the corpus)?
Sorry for the question, but I can't seem to clarifying on my own and it would be good to know how LitStudy is working here.
Thanks,
S

The parameter ngram_threshold determines how sensitive the preprocessing is to detecting bigrams (also called ngrams). The higher the value, the more bigrams will be detected. A bigram is a pair of words that frequently appear next after each other (for example, think of words like "data processing", "social media", "human rights", "United states").
The actual processing is done by gensim, here is the documentation and look at the threshold parameter: https://radimrehurek.com/gensim/models/phrases.html#gensim.models.phrases.Phrases

Thanks for sharing this @stijnh  - one (final) question which isn't clear to me from the guidance, how can we change the parameters to search for trigrams? I have a feeling that the top scoring bigram below "nature_solutions" is actually "nature-based solutions" or "nature based solutions", and would like to capture this in the word distribution output.

There's no error returned, but nothing being written to the .csv either...

Replace
DataFrame = pd.DataFrame()

by
DataFrame = litstudy.compute_word_distribution(corpus).sort_index()

You were creating an empty DataFrame and then calling to_excel on that one.


Iterating over all found minimum cuts

Hello! I have a question concerning your cactus_mincut data structure, and the hierarchy of your minimum_cut data structures as a whole. Say that I have the code below, where I am performing a cactus mincut on some std::shared_ptr<mutable_graph> G that I constructed elsewhere beforehand. In your internal code, I can see that a cactus_mincut call calls a method called findAllMincuts. From here, it becomes a little difficult to follow the code since I am not super familiar with your code base, but are any intermediary cuts saved in some data structure from within findAllMincuts? I assume, which might be an incorrect assumption, that all the minimum cuts are generated and must be saved to then find the most balanced minimum cut, that we have configured to do so. Is there a way to iterate over all of these minimum cuts that are found? Thanks!
cfg->find_most_balanced_cut = true;
cfg->threads = 1;
cfg->save_cut = true;
cfg->set_node_in_cut = true;

cactus_mincut<std::shared_ptr<mutable_graph>> cmc;
edge_cut_size = cmc.perform_minimum_cut(G);

@alexnoe could you respond?


No alpha in RenderTargetTextures

It seems alpha is not displayed when using RenderTargetTextures.
How to reproduce:
Take the viewport/gui_in_3d demo.
Change the StyleBoxTexture of the Panel (gui) to a texture which has bigger rounded corners than the default.
Optionally add some objects behind the quad to make the lack of alpha more apparent.
The result would look something like this:

i found the method RasterizerGLES2::clear_viewport(...) which clears always to a non-transparent color. i changed this to use the transparent-background-flag (current_rt_transparent) and then clear to a transparent color. seems to work and the flag "Transparent Bg" in the editor also reacts immediately.
i'm really clueless about the side effects of it and if it's a useful fix.
@Micha0 if you like, clone my repo from https://github.com/tommy3/godot (branch viewport-transparency) and give it a try if it works also for you!

@tommy3: Sounds legit to me. Will have a look at your code soon.
I must ask: "Transparent Bg" in the editor reacts immediately?? In my Godot, RenderToTexture only works when I run the scene. And only after some code which sets the diffuse texture to the Viewport's render_target_texture. How did you get it to "run" in the editor?

i played around without scripts... look at these two screenshots:
i've created a scene with a texture frame with clouds as background and a control + viewport to clip a sprite inside of it...
with "Transparent Bg" = OFF the area of the viewport is opaque:

immediately after changing the flag "Transparent Bg" the area of the viewport gets transparent:

that's what meant as i said the editor reacts immediately to changes of the flag.

What's the status on this issue? @tommy3, do you want to make a pull request with a76a8f99?

@akien-mga i've retested this issue with nightly-build 10/30/2015 12:25 AM and it seems to me it's still an issue. i don't believe that my changes are a good fix (it was a quick-hack) because in the latest version of the source the function i mentioned now uses the alpha-channel of the clear-color. in my opinion this issue has to be fixed elsewhere.

Not critical for the upcoming 2.1, so moving to the next milestone.

Is it still valid in the current master branch?

This works fine, tested it a few weeks ago. You can even use MSAA on it and it looks nicer


Inconsistency in self._sensor_service and self.action_service

Yep, there is a same thing with config (self.config and self._config - it's inconsistency between actions and sensors).
Since they are "public attributes" we should get rid of _ for consistency (well, we should leave it there as a @property for backward  compatibility, but that's it).
What do others think?


how can we download insta video using this?

General Question
Read the Notes and fill out the form.
Switch to Preview for reading.
Notes
Your issue will be closed if you violate any rule below.

You need to include a meaningful descriptions and e.g. a screenshot.
You do not include screenshots of your code.
Read the Docs.
Capturing endpoints and similar can be found here
(read it if you are going to ask about it).
You can delete this section after reading it.

Form
Put an [x] if you meet the condition, else leave [ ].

[ ] I've searched the Issues
[ ] I've read the basic concepts
[ ] I'm using the latest version

Question
A specific question, so it's understandable to anyone.
You may add pictures.
 If you are using TypeScript replace js with typescript.
YOUR CODE HERE

Error and Output
If you've got an error put it here.
You can get the stacktrace in the most environments using
Error.stack (MDN Docs).
 A post or sidecar items both have a link to the video, which you can download using your favorite library or tool and view using for example your browser.


Table is crashing, if searchable is true in grouped table

As mentioned in the title, if i enable search in grouped table, the page is getting crashed.
More info about grouping head:
https://ant.design/components/table/#components-table-demo-grouping-columns

Can you please try v1.1.6.

Thank you for the quick response. The issue is fixed.


Add file input warning/error handling logic

This PR handles the case where a file was uploaded with errors.

LGTM, i'll tag the release tomorrow before we do a push to production.

Thanks @brittainhard


PEL: Message_registry: Add File Recovery PEL

This commit addresses the issue where device tree file corruption could lead to the failure of the BMC to boot up. Corruption of the file may occur during a kernel panic. In such instances, recovery of the previous uncorrupted version of the file from the available read-only version is now implemented. The PEL information needed to be logged during this scenario is added as part of this commit.
Test output:
{
"Private Header": {
"Section Version":          "1",
"Sub-section type":         "0",
"Created by":               "bmc host processor control",
"Created at":               "04/01/2024 11:02:22",
"Committed at":             "04/01/2024 11:02:22",
"Creator Subsystem":        "BMC",
"CSSVER":                   "",
"Platform Log Id":          "0x5000AEE5",
"Entry Id":                 "0x5000AEE5",
"BMC Event Log Id":         "1395"
},
"User Header": {
"Section Version":          "1",
"Sub-section type":         "0",
"Log Committed by":         "bmc error logging",
"Subsystem":                "BMC Firmware",
"Event Scope":              "Entire Platform",
"Event Severity":           "Predictive Error",
"Event Type":               "Not Applicable",
"Action Flags": [
"Service Action Required",
"Report Externally",
"HMC Call Home"
],
"Host Transmission":        "Not Sent",

Can one of the admins verify this patch?

add to approvelist

Discussing with Deepa, we're going to log the existing error "xyz.openbmc_project.Software.Version.Error.HostFile" instead of creating a new one since HostFile is applicable in this case.


How can I integrate vanity in another controller?

I already have an admin controller which uses it's own security to allow looking at exit surveys and visitors of website.  Would it be possible to integrate vanity into that?
So I could create a method there which would render the vanity dashboard?

@rept definitely possible, you should just include Vanity::Rails::Dashboard in the controller you're using. The routes suggested in the readme,
get '/vanity' =>'vanity#index'
get '/vanity/participant/:id' => 'vanity#participant'
post '/vanity/complete'
post '/vanity/chooses'
post '/vanity/reset'

would also have to be updated to match the new controller.

Thanks for your speedy reply.
I altered the routes like this:
 constraints :subdomain => 'admin' do
   get '/' => 'admin#index'
   get '/vanity' =>'admin#vanity'
   get '/vanity/participant/:id' => 'admin#participant'
 end

The routes are ok I think, but what's not clear, is how to tell the controller to render the view.
This is the controller:
class AdminController < ApplicationController
  include Vanity::Rails::Dashboard
  layout 'layouts/admin'
  skip_before_filter :authorize

  def index
    @users = User.where(:role_id => [0,1]).order('last_sign_in_at desc')
  end

  def vanity
    ### What needs to go here? ###
  end

That module defines the routes, so by including it, there's no need to
define methods explicitly. If you define methods like #index, that will
override the included Vanity index.
On Sunday, May 3, 2015, Stijn Verrept<EMAIL_ADDRESS>wrote:

Thanks for your speedy reply.
I altered the routes like this:
constraints :subdomain => 'admin' do
get '/' => 'admin#index'
get '/vanity' =>'admin#vanity'
get '/vanity/participant/:id' => 'admin#participant'
end
The routes are ok I think, but what's not clear, is how to tell the
controller to render the view.
This is the controller:
class AdminController < ApplicationController
include Vanity::Rails::Dashboard
layout 'layouts/admin'
skip_before_filter :authorize
def index
@users = User.where(:role_id => [0,1]).order('last_sign_in_at desc')
end
def vanity
### What needs to go here? ###
end
—
Reply to this email directly or view it on GitHub
https://github.com/assaf/vanity/issues/255#issuecomment-98546019.

Ok that's clear, thanks.


Start radio with a specific volume

Is it possible to config the radio switch that the sound of my HomePod mini starts with a specific % of sound volume?
I have one HomePod mini in the bathroom and it's too loud in the morning.

not easily unfortunately, it would require a lot of changes to the plugin. I will add it to my list of changes


Monitoring tool

Hi,
The monitoring tool isn't working
Fábio

Yes, after a few attempts collecting data (at the expense of a small overhead associated with the data collection and push to monitoring server) I ended up removing that features to simplify server management going forward.
More info here https://github.com/ronoaldo/mercurio/issues/99
Thanks for the heads up!

Will you continue to use the tool?

I thought about it and don't plan to re-enable the monitoring mod.


Cannot Install

I'm currently having issues installing this with the command
npm install grunt-contrib-imagemin --save-dev
my package.json looks like
{
  "name": "fatfriday",
  "version": "0.1.0",
  "description": "selesti fat friday internal project",
  "main": "Gruntfile.js",
  "scripts": {
    "test": "hi"
  },
  "repository": {
    "type": "git",
    "url"<EMAIL_ADDRESS>  },
  "author": "",
  "license": "ISC",
  "homepage": "https://bitbucket.org/owenmelbz/fatfriday#readme",
  "devDependencies": {
    "grunt": "^0.4.5",
    "grunt-autoprefixer": "^3.0.0",
    "grunt-browser-sync": "^1.9.2",
    "grunt-contrib-concat": "^0.5.1",
    "grunt-contrib-cssmin": "^0.12.2",
    "grunt-contrib-jshint": "^0.11.2",
    "grunt-contrib-less": "^1.0.1",
    "grunt-contrib-uglify": "^0.9.1",
    "grunt-contrib-watch": "^0.6.1",
    "grunt-newer": "^1.1.0",
    "grunt-notify": "^0.4.1",
    "matchdep": "^0.3.0"
  }
}

I've attached my npm-debug.log incase you can spot the issue http://owenmelbourne.com/npm-debug.log
Running OSX Yasomite 10.10.3 (14D136)
Help would be much appreciated! thank you

48578 error If you need help, you may report this error at:
48578 error     https://github.com/npm/npm/issues

Considering this issue is directly related to your package, would it not be courteous to provide a certain level of support before passing the buck?

Why is it related to our package?

@OwenMelbz You (and seemingly everyone on the internet) seem to not understand how npm works. Issues that occur during install is not ours and not something we can do anything about. We'd be happy to provide support for issues occurring during runtime, but issues with installing is with npm.
You don't complain to the restaurant if the taxi drive there was bad.


Update README.md

Added a couple black hat video links.

On second thought I'm going to track down some more content tomorrow morning.


declare bn inside forward

For some reason, I need to declare the bn inside of  forward. There is no problem of nn.BatchNorm2d() in following code but when replace the nn.BatchNorm2d() with InPlaceABNSync then the programme is stuck there without printing error. Do you have any idea to make it work?
    def forward(self, x, b):
        if self.theta is None:
            _, _, h, w = b.size()
            self.theta = nn.Conv2d(self.h_planes, self.h_planes // self.ratio, kernel_size=1, bias=False).cuda()
            self.bn = nn.BatchNorm2d(h * w).cuda()

@lzrobots does it work the version without sync? By the way, by not declaring the module in the init, you probably are not optimizing the parameters of the addtional layers ... does it make sense to you?

@rotabulo Yes it works with nn.BatchNorm2d but doesn't work for InPlaceABNSync. Is there any solution to declare bn and conv that relate to the spatial size (h, w) of input in init?

@lzrobots I meant, did you try with InPlaceABN _non_sync ?
Regarding you question, depends how you want to tie the parameters to the different input sizes.


SSL Pinning on iOS 9.3

I couldn't make this plugin work on iOS. enableSSLPinning function always returns success but get or post methods won't work. Any solution?

+1

On Android happens the same thing. What I saw is that it is always putting the sslpinning property in false and the acceptAllCerts in false also, no matter the value of the enable parameter.

For me, it works on Android when I enable sslPinning and everything works fine. But on iOS I don't even know what the error is. Because it returns null.


Build airlock_processor image in CI

Fixes #2021
What is being addressed
Airlock processor docker image hasn't been built in PR validation
How is this addressed

Add it to the workflow

/test-force-approve
workflow change isn't relevant for deployment tests

/test-force-approve
workflow change isn't relevant for deployment tests


Biber 2.20 error

On macBook with m1 and Sonoma 14.4 and  after todays TeXLive update, which should be 2.20:
voss >biber --version
Can't load '/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/auto/XML/LibXML/LibXML.bundle' for module XML::LibXML: dlopen(/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/auto/XML/LibXML/LibXML.bundle, 0x0001): Symbol not found: _iconv
  Referenced from: <4FABCE36-0023-3D1B-A158-3499EFD82412> /private/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/libxml2.2.dylib
  Expected in:     <E05EA2EB-4F11-36B6-87E5-41C89C1BCC5D> /private/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cach

Universal binary?

macBook Sonoma with m1 and up-to-date TL24 and universal-darwin bin dir

Looking at it. Can reproduce, something to do with homebrew on M1s doing something strange.

And the same output with the extracted Biber version in subdirectory .../thin/:
voss>thin:$ ./biber --version
Can't load '/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/auto/XML/LibXML/LibXML.bundle' for module XML::LibXML: dlopen(/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/auto/XML/LibXML/LibXML.bundle, 0x0001): Symbol not found: _iconv
  Referenced from: <4FABCE36-0023-3D1B-A158-3499EFD82412> /private/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/libxml2.2.dylib
  Expected in:     <E05EA2EB-4F11-36B6-87E5-41C89C1BCC5D> /private/var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/libiconv.2.dylib at /loader/HASH(0x14e082700)/DynaLoader.pm line 210.
 at /loader/HASH(0x14e0fce90)/PAR/Heavy.pm line 104.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/XML/LibXML.pm line 156.
Compilation failed in require at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/XML/LibXML/Simple.pm line 21.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/XML/LibXML/Simple.pm line 21.
Compilation failed in require at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/LaTeX/Recode.pm line 16.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/LaTeX/Recode.pm line 16.
Compilation failed in require at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/Utils.pm line 19.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/Utils.pm line 19.
Compilation failed in require at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/Internals.pm line 8.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber/Internals.pm line 8.
Compilation failed in require at /loader/HASH(0x14e0b2868)/parent.pm line 16.
BEGIN failed--compilation aborted at /var/folders/46/kr8jdrld7d324jpscgrlw2fh0000gn/T/par-766f7373/cache-351a9b4d1739a271ecf0be692d0ec1ef0a81d258/inc/lib/Biber.pm line 5.
Compilation failed in require at script/biber-darwin line 17.
BEGIN failed--compilation aborted at script/biber-darwin line 17.

Same issue here (M1 Pro and M2 Pro CPU).
In the meantime, restoring the previous versions of biber (68188/2.19) and biber.universal-darwin (66402) via the TeX Live Utility helps.

Can you try the corrected version on SF?
https://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/binaries/MacOS/biber-darwin_universal.tar.gz/download

Making a long story short (see full message at https://tug.org/pipermail/tex-live/2024-March/050284.html), the problem seems to be a mismatch between libiconv and libxml in the ARM part of biber.
Namely, libiconv.2.dylib links to the Homebrew version of libiconv, /opt/homebrew/opt/libiconv/lib/libiconv.2.dylib, which defines symbols _libiconv*:
% otool -L libiconv.2.dylib
libiconv.2.dylib:
/opt/homebrew/opt/libiconv/lib/libiconv.2.dylib (compatibility version 9.0.0, current version 9.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.0.0)

% dsymutil -s libiconv.2.dylib | grep -E "iconv"
Symbol table for: 'libiconv.2.dylib' (arm64)
[   455] 0000207d 1e (PEXT SECT    ) 01     0000<PHONE_NUMBER>01b170 '_libiconv_relocate'
[   456] 00002090 1e (PEXT SECT    ) 01     0000<PHONE_NUMBER>01b250 '_libiconv_relocate2'
[  1322] 00000002 0f (     SECT EXT) 0a     0000<PHONE_NUMBER>108020 '__libiconv_version'
[  1323] 00000015 0f (     SECT EXT) 01     0000<PHONE_NUMBER>0051ac '_iconv_canonicalize'
[  1324] 00000029 0f (     SECT EXT) 01     0000<PHONE_NUMBER>0049a4 '_libiconv'
[  1325] 00000033 0f (     SECT EXT) 01     0000<PHONE_NUMBER>0049c8 '_libiconv_close'
[  1326] 00000043 0f (     SECT EXT) 01     0000<PHONE_NUMBER>003858 '_libiconv_open'
[  1327] 00000052 0f (     SECT EXT) 01     0000<PHONE_NUMBER>0049e0 '_libiconv_open_into'
[  1328] 00000066 0f (     SECT EXT) 01     0000<PHONE_NUMBER>01b0b0 '_libiconv_set_relocation_prefix'
[  1329] 00000086 0f (     SECT EXT) 01     0000<PHONE_NUMBER>004df8 '_libiconvctl'
[  1330] 00000093 0f (     SECT EXT) 01     0000<PHONE_NUMBER>004f2c '_libiconvlist'

while libxml2.2.dylib links to the OS version of libiconv, /usr/lib/libiconv.2.dylib, which defines symbols _iconv*:
% otool -L libxml2.2.dylib
libxml2.2.dylib:
/opt/homebrew/opt/libxml2/lib/libxml2.2.dylib (compatibility version 15.0.0, current version 15.6.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/opt/homebrew/opt/icu4c/lib/libicui18n.74.dylib (compatibility version 74.0.0, current version 74.2.0)
/opt/homebrew/opt/icu4c/lib/libicuuc.74.dylib (compatibility version 74.0.0, current version 74.2.0)
/opt/homebrew/opt/icu4c/lib/libicudata.74.dylib (compatibility version 74.0.0, current version 74.2.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1345.100.2)

% dsymutil -s libxml2.2.dylib | grep -E "iconv"
[  2894] 0000884d 01 (     UNDF EXT) 00     0500<PHONE_NUMBER>000000 '_iconv'
[  2895] 00008854 01 (     UNDF EXT) 00     0500<PHONE_NUMBER>000000 '_iconv_close'
[  2896] 00008861 01 (     UNDF EXT) 00     0500<PHONE_NUMBER>000000 '_iconv_open'

Can you try the corrected version on SF? https://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/binaries/MacOS/biber-darwin_universal.tar.gz/download

This works:
% arch --arm64 biber --version
biber version: 2.20

I see that you've switched to using OS libraries all along:
 % otool -L libiconv.2.dylib
libiconv.2.dylib:
	/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
	/usr/lib/libcharset.1.dylib (compatibility version 1.0.0, current version 1.0.0, reexport)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.80.1)

% otool -L libxml2.2.dylib
libxml2.2.dylib:
	/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
	/usr/lib/libicucore.A.dylib (compatibility version 1.0.0, current version 72.1.0)
	/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.80.1)

The new libiconv defines all sorts of iconv symbols, the new libxml defines none.

Can you try the corrected version on SF? https://sourceforge.net/projects/biblatex-biber/files/biblatex-biber/current/binaries/MacOS/biber-darwin_universal.tar.gz/download

Works for me! (I first updated biber to the buggy version via TeX Live Utility, checked again that it did not work, and then replaced /usr/local/texlive/2024/bin/universal-darwin/biber with the extracted binary.)
Thanks a lot for addressing the issue so quickly!

Thanks for confirming. I will send an update to TL tonight. The issue was, as indicated above, lib mismatches. It was unfortunate I had switched to homebrew from macports as the latter has completely self-comtained libraries but homebrew tends to use the system libraries a lot more. Also, since MacOS 11, the system libraries in /usr/lib are not physically present but are in a cache which dlopen() knows how to work with but PAR::Packer's  linker doesn't and so I have to materialise the cache libs so they can be packed. Coupled with the fact that homebrew doesn't link system-conflicting libs into /opt/homebrew/lib and there was a perfect storm of technical irritations.

Also, since MacOS 11, the system libraries in /usr/lib are not physically present but are in a cache which dlopen() knows how to work with but PAR::Packer's linker doesn't and so I have to materialise the cache libs so they can be packed.

Thanks for the lightning-fast fix.
I was curious to see how you implemented the above: call dyld-shared-cache-extractor, which builds upon /usr/lib/dsc_extractor.bundle to extract the libraries from their cache
/System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e to /tmp/libraries, then use the latter as in
  --link=/tmp/libraries/usr/lib/libiconv.2.dylib \
  --link=/tmp/libraries/usr/lib/libxml2.2.dylib \

Impressive!

It's a pain that Apple aren't really considering all the third-party ways of linking/including libs. If you need to access a file rather than use some cache-aware interface, you have to materialise the cache.

Has biber updated on CTAN? I didn’t noticed an update on CTAN. While I can download the latest version on SF, it would be convenient to update it via tlmgr on the server. Thanks for your work!

Has biber updated on CTAN? I didn’t noticed an update on CTAN. While I can download the latest version on SF, it would be convenient to update it via tlmgr on the server. Thanks for your work!

I have just updated biber.universal-darwin to version 70749 from CTAN (more specifically, from https://ftp.rrze.uni-erlangen.de/ctan/systems/texlive/tlnet/) via the TeX Live Utility, and everything is working again. Not all CTAN mirrors seem to have received the updated version yet.


Compound object ingest bug

Ingest process incorrectly nests compound array into array
Compound single array should be assigned directly to compound property
Compound array is nested into another array. Data retrieval will break after ingested record is updated.

Compound array is now constructed and assigned correctly


Failed to compile.  Entry module not found: Error: Can't resolve 'babel-loader' ...

Just started with this in the wp-content/plugins directory:
npx create-guten-block my-block
cd my-block
npm start
Immediately after running npm start, I get the error:
❌   Failed to compile.
👉  Entry module not found: Error: Can't resolve 'babel-loader' in '/Users/sky/Documents/1-Wordpress/Sandbox/wordpress/wp-content/plugins/my-block'
My version of node is v10.16.0 and npm is 6.9.0.

I think I have it running by adding these lines to the node_modules/cgb-scripts/config/
webpack.config.dev.js and webpack.config.prod.js:
(at line 84 on the dev and 88 on the prod after output: { 		// Add /* filename */ comments to generated require()s in the output. 		pathinfo: true, 		// The dist folder. 		path: paths.pluginDist, 		filename: '[name].js', // [name] = './dist/blocks.build' as defined above. 	},)
I added:
resolveLoader: {       modules: ['node_modules/cgb-scripts/node_modules'],   },   resolve: {       modules: ['node_modules/cgb-scripts/node_modules'],   },


RPM conditionals are ignored in pull-from-upstream

What happened? What is the problem?
I'm enabling packit in Fedora's llvm package.
This package makes usage of RPM build conditionals in order to select its source code.
The important part of the code is:
%if %{with snapshot_build}
Source0:	%{llvm_snapshot_source_prefix}llvm-%{llvm_snapshot_yyyymmdd}.src.tar.xz
Source2:	%{llvm_snapshot_source_prefix}cmake-%{llvm_snapshot_yyyymmdd}.src.tar.xz
Source4:	%{llvm_snapshot_source_prefix}third-party-%{llvm_snapshot_yyyymmdd}.src.tar.xz
%{llvm_snapshot_extra_source_tags}
%else
Source0:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz
Source1:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{llvm_srcdir}.tar.xz.sig
Source2:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz
Source3:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{cmake_srcdir}.tar.xz.sig
Source4:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{third_party_srcdir}.tar.xz
Source5:	https://github.com/llvm/llvm-project/releases/download/llvmorg-%{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:-rc%{rc_ver}}/%{third_party_srcdir}.tar.xz.sig
Source6:	release-keys.asc
%endif

In this particular case, snapshot_build is disabled by default, which means that only the else clause should be executed.
However, packit -d pull-from-upstream tried to download a mix of files:
2023-10-24 16:57:10.243 distgit.py        INFO   Downloading archives: ['%{llvm_snapshot_source_prefix}llvm-%{llvm_snapshot_yyyymmdd}.src.tar.xz', 'llvm-17.0.3.src.tar.xz', 'llvm-17.0.3.src.tar.xz.sig', 'cmake-17.0.3.src.tar.xz', 'cmake-17.0.3.src.tar.xz.sig', 'third-party-17.0.3.src.tar.xz', 'third-party-17.0.3.src.tar.xz.sig']

What did you expect to happen?
I expected that only the files listed in the else clause would be downloaded, in the same way as spectool -g llvm.spec works.
Example URL(s)
No response
Steps to reproduce
1. `git clone https://src.fedoraproject.org/forks/tuliom/rpms/llvm.git && cd llvm`
2. `git checkout packit`
3. `packit -d pull-from-upstream --no-pr`

Workaround

[ ] There is an existing workaround that can be used until this issue is fixed.

Participation

[ ] I am willing to submit a pull request for this issue. (Packit team is happy to help!)

Thanks for the report. You are correct, packit currently ignores conditions when it comes to sources, but it shouldn't be difficult to implement as the underlying specfile library already supports conditionalized tags, although a support for conditions in %sourcelist is missing and should be added.

I'm still seeing this issue with version 0.86.2:
$ packit --version
0.86.2
$ packit pull-from-upstream --no-pr
...
Downloading archives: ['%{llvm_snapshot_source_prefix}llvm-%{llvm_snapshot_yyyymmdd}.src.tar.xz', 'llvm-17.0.5.src.tar.xz', 'llvm-17.0.5.src.tar.xz.sig', 'cmake-17.0.5.src.tar.xz', 'cmake-17.0.5.src.tar.xz.sig', 'third-party-17.0.5.src.tar.xz', 'third-party-17.0.5.src.tar.xz.sig']

Could this issue be re-opened, please?

It looks like 0.86.2 missed commit 39bcedf.

Ok, the unwanted sources actually come from sources and are downloaded from lookaside cache. So the fix works, but Packit downloads sources from lookaside cache first, no matter what's in the spec file.
I don't think there is a way to turn this off, so if you don't like that, would you open a new issue please?

@nforro Why are you saying the unwanted sources are coming from sources? As you can see in the output in my previous comment, packit is still trying to download %{llvm_snapshot_source_prefix}llvm-%{llvm_snapshot_yyyymmdd}.src.tar.xz which is not listed in the sources file.
It is listed in the spec file, but it is not part of the conditional, i.e. it should only be getting the list of files from the else part.
Could you elaborate why do you think this is a different issue, please?

Sorry, I was focused on testing the original fix and it does work, but I see the problem now - the main source (Source0 in this case) is treated specially in a different place in the code and that wasn't patched. So you are right, I'm reopening this and I'll fix it ASAP.
Sources listed in sources will still be downloaded though, but I assume that's not a problem.

Thank you!


Octree is broken and crashes

Collision detection with the camera frustum and the Octree is broken, objects stop rendering before leaving the screen when they're set to "Static".
Also, when exiting "Play mode", octree causes a crash at ModuleGoManager.

Fixed the crash by adding a check. If the object doesn't have a BoundingBox it won't try to add it to the OctTree.


stream doesn't always return

Hello, could you answer how to work with your package? For example, I want to get a specific element on the screen, but your stream doesn't always return all the elements. I go to the chrome page and only the text from the timer is returned. How can I return all the elements? I want to automate my work. For example, how to return not only changes, but also simply return the current elements?
Also, for example you don't have a click event as a percentage of the screen. You will have to create all this yourself

I'm ready to donate to you if you help me solve this issue.

@Triden Hi, I am doing something similar. I missed one thing, maybe its the same for you. Have you tried getting the subnodes as well?
FlutterAccessibilityService.accessStream.listen((event) {
        _sendEvent(event, socket, deviceId);
        for (var n in event.subNodes ?? []) {
          _sendEvent(n, socket, deviceId, parentPackageName: event.packageName);
        }
      });

The stream already returns a node with the children that represent other elements of these subnodes so basically you can try to explore it and check the example that I already tried maybe you can achieve the result that you

@X-SLAYER I am sending the events I am receiving from the stream to a socket server, so server can then decide to perform any action based on a certain event. The problem is I am not able to identify which event refers to what element in the screen, because the event which has the text doesn't have the click action available, and the element that does have click action, simply has 'null' in text. Can you please let me know how can I achieve this?

@Triden Hi, I am doing something similar. I missed one thing, maybe its the same for you. Have you tried getting the subnodes as well?
FlutterAccessibilityService.accessStream.listen((event) {
        _sendEvent(event, socket, deviceId);
        for (var n in event.subNodes ?? []) {
          _sendEvent(n, socket, deviceId, parentPackageName: event.packageName);
        }
      });

I wrote my own plugin that doesn't work through a thread. And it provides data upon request.

The stream already returns a node with the children that represent other elements of these subnodes so basically you can try to explore it and check the example that I already tried maybe you can achieve the result that you

Sorry, I also want to ask, are you by any chance going to add work with dispatchGesture?
I tried to add gestures and clicks.


[FP]: spring-mvc-cache-control is not Spring for GraphQL

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:spring:spring:1.1.1:release:*:*:*:*:*:*
CVE
CVE-2023-34047
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
8.4.0
Description
Same issue as #5957

approved
Note that while it is a valid FP I would like to draw your attention to the project's state. The library was never updated to default to/depend on new Spring releases, so it appears to be an unmaintained library, which in itself might pose a maintenance risk towards the future.


EPSG.io API endpoints will be deprecated after the 1st of February 2025

https://github.com/Maxar-Corp/transform-ol-ts/blob/b8b9b43053de1446af6b4cbf933a7f8fc12a31b4/src/ProjectionHelper.ts#L15
Hi, EPSG.io API endpoints will be deprecated after the 1st of February 2025: https://epsg.io/docs#migration
This will affect the functionality of the makeProjectionFromEpsgCode function.
You can easily replace them with a new endpoint from MapTiler. You just need to get an API key. You can start using the Free plan, which covers up to 100K requests monthly. I'm not sure what this helper is used for and what's the volume. In case you need more, I am sure we can find a solution as Maxar is partnering with MapTiler.
More extensive documentation: https://documentation.maptiler.com/hc/en-us/articles/360020950098-How-to-migrate-from-EPSG-io-to-MapTiler-Coordinates-API

Looking at your code, it's actually as easy as replacing the code with epsg.io/{code}.proj4 instead of calling the search endpoint so you don't even need to migrate

@siiinc FYI


collisionMask, allows filtering of which meshes should collide.

@ http://www.html5gamedevs.com/topic/28193-exclude-mesh-for-collision/
@ http://www.babylonjs-playground.com/#20PQBI#17
Allows the option to add collisionMask to abstractMeshes & freeCameras
Example & in-depth explaination can be found in the PG linked above.
To-Do's;
Integrate into webworker..

You should probably make this work the way that it works in Cannon and Oimo.
https://github.com/schteppe/cannon.js/blob/master/demos/collisionFilter.html

This PR is intended for collision without physics. With moveWithCollisions for example. I find this approach to CollisionFilter very useful as it has.

Hello instead of using >, could you please use mask like in layerMask? I would like to keep aligned with other parts of the framework

Hi Deltakosh, i'm not sure how it would work with layerMask, But i'll took into it when i have some time.
the point of the filter was to allow groups of meshes to collide with other groups of meshes but not collide with each other, e.g. if you want player to collide with walls but not with NPC's, while still needing collision enabled for NPC's vs walls

Yep so in this case you can make something like that:
`
player.collisionGroup = "group1";
player.collisionMask = "group2";
npc.collisionGroup = "group3";
npc.collisionMask = "group2";
wall.collisionGroup = "group2";
`
and the rule is: collide if this.collisionMask == target.collectionGroup

Ah, alright i'll probably not have time for it until the weekend, but will update when it's done, Would you prefer pre-set groups, something like mesh.setCollisionGroup ( BABYLON.COLLISION_MASK_ONE );
or just plain numbers? mesh.setCollisionGroup( 1 );

numbers are fine

And as @abow just told me: you can use bitwise comparison for mask:
if ((this.mask & target.group) !== 0) {
// do collision
}

http://www.babylonjs-playground.com/#1VOXGX#1

I updated the PG to use mask's as requested, will update the PR in a bit.
http://www.babylonjs-playground.com/#20PQBI#9

Okay @deltakosh
It should be ready ready now,
please review the changes and check for any errors, typescript isn't my strongest suit.
I wanted to add a some default groups, BABYLON.Collision_GROUP_x , feels like there needs to be some defaults to avoid too many misunderstandings, but i wasn't sure where to add them without having to create an entirely new file which seemed a bit much just for that.

For named group I'm not sure there is aneed. It could be done by the developer. No need to create GRoup1 just to set it to 1

@deltakosh
Alright, i believe i've made the changes requested + some,
I removed collisionGroup completely, i was just getting confused by it, and since we're using masks, not really needed either.
I hope i did the functions/property things right..
http://www.babylonjs-playground.com/#20PQBI#14
Masks;

-1 ; Always collides.
0 ; Never collides.
1 ; Collides with mask 1;
2 ; Collides with mask 2;
3 ; Collides with masks 1, 2 & 3;
4 ; Collides with mask 4;
5 ; Collides with masks; 1, 2, 3 & 5;  ( (1 + 2) = 3) + 2 = 5.
etc.

Thanks a lot!

awesome :-)

I'm getting semantic errors when i run gulp typescript. after this merge. is there something i'm doing wrong?
~/src/baby-2/Tools/Gulp$ git reset --hard
HEAD is now at a90c5cb Merge pull request #1745 from aWeirdo/patch-4
~/src/baby-2/Tools/Gulp$ gulp typescript
[14:01:30] Using gulpfile ~/src/baby-2/Tools/Gulp/gulpfile.js
[14:01:30] Starting 'typescript'...
[14:01:30] Starting 'typescript-compile'...
../../src/Cameras/babylon.freeCamera.ts(128,21): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,22): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,56): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,83): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(391,62): error TS2341: Property '_collisionMask' is private and only accessible within class 'AbstractMesh'.
../../src/Collisions/babylon.collisionCoordinator.ts(391,88): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(398,132): error TS2341: Property '_collisionMask' is private and only accessible within class 'AbstractMesh'.
../../src/Mesh/babylon.abstractMesh.ts(177,17): error TS2300: Duplicate identifier '_collisionMask'.
[14:01:40] TypeScript: 8 semantic errors
[14:01:40] TypeScript: emit succeeded (with errors)

I fixed it, it should be good with latest version

ahhhhh me and typescript are not good friends, sorry.

thanks for looking into this! not trying to make anyone feel bad here :)
but with the latest :(
~/src/baby-3/Tools/Gulp$ git reset --hard origin/master
HEAD is now at 5a49382 Restore missing updates
~/src/baby-3/Tools/Gulp$ gulp typescript
[14:27:16] Using gulpfile ~/src/baby-3/Tools/Gulp/gulpfile.js
[14:27:16] Starting 'typescript'...
[14:27:16] Starting 'typescript-compile'...
../../src/Cameras/babylon.freeCamera.ts(128,21): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,22): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,56): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(389,83): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(391,62): error TS2341: Property '_collisionMask' is private and only accessible within class 'AbstractMesh'.
../../src/Collisions/babylon.collisionCoordinator.ts(391,88): error TS2339: Property '_collisionMask' does not exist on type 'Collider'.
../../src/Collisions/babylon.collisionCoordinator.ts(398,132): error TS2341: Property '_collisionMask' is private and only accessible within class 'AbstractMesh'.
[14:27:25] TypeScript: 7 semantic errors
[14:27:25] TypeScript: emit succeeded (with errors)

Ok my bad, the fixes were still on my computer :) should be good now

awesome! thank you!


Investigate how to communicate AaC Language information and content to VSCode custom editors

Investigate how to communicate AaC Language information and content to VSCode custom editors. The goal is to identify how we can supply information to a custom editor about the AaC DSL model that's driven by the LSP.
AC:

[ ] Identify and document possible methods of transferring data from the AaC python package to the custom editor

[ ] Rest API
[ ] VSCode API

[ ] Identify the dependencies for implementing the possible data transferral methods

Custom editor documentation: https://code.visualstudio.com/api/extension-guides/custom-editors#customeditor-vs-customtexteditor
Some thoughts:

VSCode Custom editor supplies a document model and a view. The CustomTextEditor uses the underlying VSCode text document model, but with a custom visualization. This can be used to provide a basic visualization of yaml content for initial MVP.
VSCode Custom editor with a custom document model could be used if the custom document model was set to the output of the AaC package's print-active-context command. If the underlying text document model contains the entirety of the active context model, then the visualization of the whole language context can be performed without communicating over a REST API with the AaC python package.

See wiki page here

See wiki page here

Great job, thanks!


ConsumerGroup delay

Codecov Report

Merging #501 into master will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #501   +/-   ##
=======================================
  Coverage   85.61%   85.61%
=======================================
  Files         126      126
  Lines        2919     2920    +1
  Branches       94       94
=======================================
+ Hits         2499     2500    +1
  Misses        420      420

Impacted Files
Coverage Δ

...rc/main/scala/hydra.ingest/modules/Bootstrap.scala
100.00% <ø> (ø)

...a/hydra/kafka/algebras/ConsumerGroupsAlgebra.scala
0.00% <0.00%> (ø)

...scala/hydra/kafka/algebras/KafkaAdminAlgebra.scala
92.50% <ø> (ø)

...scala/hydra/kafka/ingestors/KafkaTopicsActor.scala
100.00% <0.00%> (+3.57%)
:arrow_up:

Continue to review full report at Codecov.

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


@weakify / @strongify syntax highlighting

Hi,
I use the default xcode syntax highlighting and uses the weakify/strongify stuff.
I just want to be sure, if I installed the weakify/strongify correctly.
The syntax highlighting looks like this, f.x. for weakify (HTML:):
@weakify(self)

=> @ = black, weakify=braun, self=pink
but shouldn't it look like a keyword, so like this (HTML:):
@weakify(self)

=> all should be pink?
Anyone? Thanks

I don't know why using "@" as a macro prefix, and this leads to no syntax prompt and can not auto-completed.

@alexlee002 just to make it more like Objective-C, I think


formatterPath array and filename argument

These changes allow the formatterPath:

to be an array; some formatters aren't a single command (e.g., nix fmt -- which itself insists on editing files in-place but can be made to only print to stdout, depending on the formatter configured).
to take the filename as an argument; this allows formatters like treefmt (#241) which supports more than one language and thus requires the filename to determine (I'm guessing) the filetype (e.g., cat default.nix | treefmt --stdout {file}).

The latter is fairly dependent on the former which is why I've included it here instead of a separate PR.

Sorry, getting a bit messy to track since I'm trying to keep both commits intact. I've fixed the error from the previous workflow though.

Thanks @hall !


[CLI] Rework the options to bring to the fore the use of JSON files for configuration & threshold

Rework the options to bring to the fore the use of JSON files for configuration & threshold:

remove both --file and --inline options and use a single argument instead that accepts a stringified JSON or a relative file path. Examples: npx heart greenit '{"url":"https://www.fabernovel.com"}' or npx heart greenit greenit.json

This behavior:

will break the consistency of the command names between CLI and API payload (see #77 and #63)
will lead to vague errors (wrongly formatted JSON or file inexistent)


Bugfix/home page typo

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: Daimonos sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


text append

Now if the user want to import another file, the content of the recent imported file will be removed

Nice work @nishant23122000!

@smaranjitghose  Thank you brother


Type is Never when pattern matching on type that inherits from str

Environment data

Language Server version: v2022.8.40
OS and version: macOS Monterey 12.5.1
Python version (& distribution if applicable, e.g. Anaconda): 3.10.6

Code Snippet
class A(str):
    def check(self):
        print(f"{self} works!")

def with_never(a: A):
    match a:
        case "TEST1" as m: # m has type never according to pylance
            m.check()
        case _:
            pass

def working(a: A):
    match a:
        case str("TEST2") as m:
            m.check()
        case _:
            pass

with_never(A("TEST1"))

working(A("TEST2"))

Repro Steps

Set up pylance as strict in VSCode
The type will be Never, but the code will still work properly.
Expected behavior
In both cases, m should be correctly typed as A.
Actual behavior

Moving to pyright repo since this is a core type-checking issue.


Search viewlet selects entire search input when hidden and shown

Testing #64270

Open Search viewlet
Type some text in the Find input box
Pick up the resize sash and collapse the viewlet until hidden, then expand it until visible again

The entire Find input box input will be selected.

I think this is by design. Typically when you open the search viewlet you want to start doing a search. It might feel weird in this case just because you are using the mouse. But we don't really distinguish between what causes the viewlet to be visible, like this vs cmd+b. Do you think it's an issue?

Not really, just thought it'd be interesting to note. Feel free to close! :+1:

After playing with it some more I want to restore focus to the right place when I toggle the sidebar with cmd+b (or use the mouse)

I can't really decide how it should work and if I try to "improve" this I will just introduce a bunch of edge cases, I will leave it.


Docker image bloat

I pulled down the latest image (beta-0.2) expecting it to match what I had built locally (#11) but it seems like there's some additional files being included. It looks like you are building from your local repo which has some extra directories and files that are bumping up the image size (specifically samples with >100MB of audio files). Can you pull a fresh clone of the repo and re-publish an image? I would like to look at adding some github actions to build and publish if you'd be interested.
REPOSITORY                     TAG             IMAGE ID       CREATED        SIZE
ghcr.io/rishikanthc/scriberr   beta-0.2        80f187cb6faf   21 hours ago   3.23GB
scriberr-scriberr              latest          1877ad467e05   38 hours ago   1.33GB

docker run -it ghcr.io/rishikanthc/scriberr:beta-0.2 /bin/sh
/app # du -h -d1
201.5M	./node_modules
7.6M	./.svelte-kit
4.2M	./.git
1.2M	./pb_data
735.5M	./whisper.cpp
196.0K	./src
10.2M	./build
5.8M	./static
719.2M	./whisper.cpp-master
32.0K	./scriberr_files
181.5M	./samples
1.8G	.

versus local:
$ docker run -it scriberr-scriberr:latest /bin/sh
/app # du -h -d1
199.1M	./node_modules
160.0K	./.svelte-kit
2.9M	./.git
184.0K	./src
5.8M	./static
208.3M	.

Sure will recompile it later today. Github actions for build and publish would be a great way to go forward. Feel free to contribute. Let me know if you need any permissions from me.


Feature request: add other languages

It is nice to play many wordles in a row, but is it possible to get also the words in other languages? Don't need to change the interface language, just play with words in other languages. Thank you!

Hi, I don't plan to add this feature but feel free to fork the repo and change the words! See https://github.com/Andagualh/wordle_archive for an example. Cheers!


FASTBuild not used when compiling the engine using BuildGraph?

Hello,
I have no problem compiling UE4 in VS2017 with FASTBuild. All the work is being correctly distributed to all the workers of the pool.
But when I want to compile the engine using BuildGraph, using that command-line for example:
F:/Projects/ConsoleDev/UnrealEngine/Engine/Build/BatchFiles/RunUAT.bat BuildGraph -target="Make Installed Build Win64"  -set:WithDDC=false -set:WithFeaturePacks=false -set:WithWin64=true -set:WithPS4=true -set:WithSwitch=true -set:WithXboxOne=true -set:WithTVOS=false -set:WithLinux=false -set:WithIOS=false -set:WithAndroid=false -set:WithMac=false -set:WithHTML5=false -set:WithWin32=false -set:OutputDirectoryOverride=F:/ShiftQuantumBuilds/UE4 -script="F:/Projects/ConsoleDev/UnrealEngine/Engine/Build/InstalledEngineBuild.xml"
FASTBuild is not used.
Is there something missing in the provided CS file to have FASTBuild triggered?
Thanks !

Hi there!
I don't have any experience with using the BuildGraph I'm afraid. But I imagine if it's building the code it will eventually have to call UnrealBuildTool, which if it's been modified should use FASTBuild where appropriate. I would try to see where UnrealBuildTool is launched from the automation tool when using BuildGraph and see the parameters, then try debugging UnrealBuildTool itself with those parameters if nothing seems obviously wrong.
Sorry I can't be more help!
Cheers,
Liam

I found out the problem is in UE4Build.cs
The function public bool CanUseXGE(UnrealBuildTool.UnrealTargetPlatform Platform) returned always true, and the code which uses that function is flawed, in the sense it does not try anything else than XGE if the function returns true.
As a quick workaround I made that function return false and now FastBuild is correctly used when using buildgraph


windows_task: switch from schtasks CLI to XML

If we directly manipulate the XML we get full control of the tasks. We should investigate what would be necessary to skip the CLI entirely

Be aware that the XML must be encoded as UTF16 (Little endian), which means you must be very careful when editing in your typical text editor, or you will get error
The format of the task is not valid. The following error was reported: (1,2)::ERROR: one root element

https://github.com/atom/atom/issues/8219
Using the XML would be nice because there is no way to do Custom Event filters with schtasks.exe
Today the work around is to use a template (saved as UTF16) and shell out to schtask.exe
powershell_script 'TaskImportApplicationError' do
  guard_interpreter :powershell_script
  code <<-EOH
  schtasks.exe /create /TN 'Application Error Alert' /RU SYSTEM /XML C:\\tools\\schedtasks\\applicationError.xml
  EOH
  not_if "schtasks.exe /Query /TN 'Application Error Alert'"
end


Some models don't load in Cesium after quantization

I've been noticing a pattern where glTFs that don't have shaders/technqiues that are converted with quantization enabled do not load in Cesium. There must be some interaction going on between these two steps. @lasalvavida can you take a look into this?
dragon-no-shaders.gltf.txt
test/dragon-no-shaders.gltf -q

These models are not valid glTF. They have a TEXCOORD_0 semantic in the mesh, but it isn't declared as an attribute in the technique.

The crash happens because quantization tries to decode TEXCOORD, but can't map it to a variable in the shader since it isn't declared in the technique.

It's true that the models aren't valid initially, but after the modelMaterialCommon step they should have techniques, but maybe those too are wrong.

Another issue I'm seeing is with quantization and ao together:
Shadow_Tester_Point.gltf.txt

The _OCCLUSION semantic being prefixed by an underscore is the issue here. When the shader gets modified by quantization, there is a double underscore which causes the shader to fail compilation

Closed by #144 and #145.


Configuration stubs and validation hooks for use on QNAP devices

These files can be used as described in the README for using letsencrypt.sh on QNAP devices. Tested and working for both HTTP and DNS validation.

Hey, thanks for this, but unfortunately I don't think this has a place inside this repository in its current for, but if you want to you can create a page on the wiki for now.
In the near future I want to add example hook scripts to this repository, and I see that most of the stuff in your pull-request is actually very generic, so maybe it would be best to wait a bit and resubmit your pull-request in parts (stunnel-deployment-example, dns instructions + wait example, ...) after I decided on a structure of examples for this repository.

Well the point you're missing is that with these scripts it will work "out of the box" on QNAP devices. No, there's no magic features there, but it was a platform support option.


improvement(sdlAudioRender): fix crash when buffer size not enough

Codecov Report

Merging #331 into develop will decrease coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #331      +/-   ##
===========================================
- Coverage    67.00%   66.79%   -0.21%
===========================================
  Files          212      212
  Lines        11542    11542
===========================================
- Hits          7734     7710      -24
- Misses        3808     3832      +24

Impacted Files
Coverage Δ

framework/demuxer/play_list/SegmentList.cpp
87.71% <0.00%> (-8.78%)
:arrow_down:

framework/data_source/curl/CURLConnection.cpp
64.53% <0.00%> (-2.62%)
:arrow_down:

mediaPlayer/player_notifier.cpp
81.28% <0.00%> (-1.07%)
:arrow_down:

framework/codec/ActiveDecoder.cpp
86.34% <0.00%> (-0.98%)
:arrow_down:

mediaPlayer/player_msg_control.cpp
81.74% <0.00%> (-0.80%)
:arrow_down:

framework/demuxer/play_list/HLSStream.cpp
68.88% <0.00%> (-0.27%)
:arrow_down:

mediaPlayer/SuperMediaPlayer.cpp
74.37% <0.00%> (-0.14%)
:arrow_down:

Continue to review full report at Codecov.

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


Some channels are not working

Some of the Tamil channels didn’t work if I click the channel icon it shows the loading cursor and doesn’t open up. If I delete and reinstall the addon it works for some time and again it stops working(some channels).

Yes. I will make a list of all the channels showing such behaviour. From My memory, pudhiya thalaimurai and channel news asia doesnt play

Yeah you are right what should I do now any method to overcome that ??

Yes. I will make a list of all the channels showing such behaviour. From My memory, pudhiya thalaimurai and channel news asia doesnt play

Yeah you are right what should I do now any method to overcome that ??

do we need  indian ip to see the jio streams? or just need mob and email associated with jio
what about airtel and tatsky

do we need  indian ip to see the jio streams? or just need mob and email associated with jio
what about airtel and tatsky

Yes, you need Indian IP or else use VPN and switch to India

Hi,,Zee TV kannada and BTV not working

#58 #59

Hi team, Any ETA for this fix. Tamil channels are not working. :(

I also face same issue for some channels. I noticed that only some particular channels show this issue.
Also, the issue is sporadic. I.e., the channels sometimes start working after some time (some time since kodi startup).
If you want, here is the snippet from kodi.log:
T:1295737040   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:26:55] Request timed out: timeout('timed out',)
T:2973359200  NOTICE: VideoPlayer::OpenFile: plugin://plugin.video.jiotv/resources/lib/main/play/?_pickle_=80027d71005802000000647471017d710228580500000070726f746f71035803000000686c73710458040000007055726c7105583b000000687474703a2f2f3132372e302e302e313a34383939362f706c61792f4142505f4d616a68612f6d61737465722e6d3375383f6d6178713d31323030710658050000006c6162656c71075809000000414250204d616a686171085805000000634c6f676f7109580d0000004142505f4d616a68612e706e67710a580400000063496d67710b585100000068747470733a2f2f6a696f696d616765732e63646e2e6a696f2e636f6d2f696d616765737075626c69632f34342f34342f4142504d616a68615f313537343636393933333939335f70726f6d6f2e6a7067710c75732e
T:1708298448   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:26:57] "HEAD /play/ABP_Majha/master.m3u8?maxq=1200 HTTP/1.1" 200 -
T:1379918032  NOTICE: Creating InputStream
T:1177723088   ERROR: GetDirectory - Error getting -
T:1708298448   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:26:59] "GET /play/ABP_Majha/master.m3u8?maxq=1200 HTTP/1.1" 200 -
T:1379918032  NOTICE: Creating Demuxer
T:1379918032  NOTICE: Opening stream: 1001 source: 256
T:1708298448   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:26:59] "GET /play/ABP_Majha/ABP_Majha_JSRV6_1200.m3u8?maxq=1200 HTTP/1.1" 200 -
T:1708298448   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:27:01] "GET /play/ABP_Majha/ABP_Majha_1200-1595663792000.ts HTTP/1.1" 200 -
T:1363132624   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:27:01] code 404, message Not Found
T:1363132624   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:27:01] "GET /play/ABP_Majha/ABP_Majha_1200-1595663328000.key HTTP/1.1" 404 -
T:1295737040   ERROR: CCurlFile::Open failed with code 404 for http://<IP_ADDRESS>:48996/play/ABP_Majha/ABP_Majha_1200-1595663328000.key:
T:1363132624  NOTICE: [JioTV] [Errno 104] Connection reset by peer
T:1363132624   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:27:01] code 500, message Internal Server Error
T:1363132624   ERROR: <IP_ADDRESS> - - [25/Jul/2020 13:27:01] "GET /play/ABP_Majha/ABP_Majha_1200-1595663328000.key HTTP/1.1" 500 -
T:1295737040   ERROR: AddOnLog: InputStream Adaptive: Cannot download http://<IP_ADDRESS>:48996/play/ABP_Majha/ABP_Majha_1200-1595663328000.key
T:1363132624   ERROR: Traceback (most recent call last):
T:1363132624   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 599, in process_request_thread
T:1363132624   ERROR:     self.finish_request(request, client_address)
T:1363132624   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
T:1363132624   ERROR:     self.RequestHandlerClass(request, client_address, self)
T:1363132624   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 657, in __init__
T:1363132624   ERROR:     self.finish()
T:1363132624   ERROR:   File "/usr/lib/python2.7/SocketServer.py", line 716, in finish
T:1363132624   ERROR:     self.wfile.close()
T:1363132624   ERROR:   File "/usr/lib/python2.7/socket.py", line 283, in close
T:1363132624   ERROR:     self.flush()
T:1363132624   ERROR:   File "/usr/lib/python2.7/socket.py", line 307, in flush
T:1363132624   ERROR:     self._sock.sendall(view[write_offset:write_offset+buffer_size])

Some 5 minutes ago, I was facing the same problem and same error log for "Zee 24 taas" channel. And suddenly, it started working after I clicked on the channel few times (in order to see the logs).

All the tamil channels are not working in jio tv addons. please do something.

All the tamil channels are not working in jio tv addons. please do something.

I also observed the same thing with Telugu channels too. Some that actually previously worked, are all of a sudden now not working

zee channels, aajtak, times now, ndtv  maximum channels not working now. @botallen

botallen added this to Done in Botallen Repo Progress on Jul 28

So, is it fixed or triaged?
Is there a test build that we can beta test?


UserDataWebSocketManager - no always getting first events

Hello,
I'm using the UserDataWebSocketManager like this (api 0.2.0-alpha28)  :
UserDataWebSocketManager webSocket = new UserDataWebSocketManager();

webSocket.OrderUpdate += OnBinanceOrderUpdate;
webSocket.TradeUpdate += OnBinanceTradeUpdate;

CancellationTokenSource webSocketCancellationToken = new CancellationTokenSource();
Task webSocketTask = Task.Run(() => WebSocket.SubscribeAndStreamAsync(ApiUser, _webSocketCancellationToken.Token));

And immediately after I send an order, and I only receive the order update (with status = New) one time out of three.
Is that because I don't leave enough time to the SubscribeAndStreamAsync method to really establish the connection ?
Thanks a lot

Is that because I don't leave enough time to the SubscribeAndStreamAsync method to really establish the connection ?

Most likely, yes. Although I would note that rarely I have seen an order complete, but the completed order never came through the user data socket. This was a problem from Binance rather than this API wrapper though, the log files didnt show it being recieved anywhere. That was a rare occurence though.

@zeldomar, I appreciate you mentioning the use case and issue.
The StreamAsync methods combine a web socket connect with a receive loop where the first await is on the connect operation (using a Task.Run wrapper would return control even sooner). A sufficient delay should work, but waiting for the IWebSocketClient.Open event or IWebSocketClient.IsStreaming == true should be more deterministic.
In 0.2.0-alpha37 the IWebSocketClient is at IUserDataWebSocketManager.Controller.Stream.WebSocket.

The IWebSocketClient.IsStreaming flag is set before connecting, so that would not help in this case.

@sonvister
I'm sorry, I thought that I give enougt details.
Otherwise, using the IWebSocketClient.Open event is perfect.
Here my code for others :
WebSocket.Client.Open += OnWebSocketOpen;
ManualResetEvent _signalEvent = new ManualResetEvent(false);

_webSocketTask = Task.Run(() => WebSocket?.SubscribeAndStreamAsync(ApiUser, _webSocketCancellationToken.Token));
_signalEvent.WaitOne();

private void OnWebSocketOpen(object sender, EventArgs e)
{
   _signalEvent.Set();
}

Thanks all for your help.

@zeldomar, I thought you gave enough information. My comment about the IsStreaming flag was a correction to my previous (edited, but you never know when it is read) comment where I had mentioned it as an alternative to the event (could have used a Markdown strike-through if such a thing exists).
I'd recommend ManualResetEventSlim over ManualResetEvent here. Also, I'll likely be adding a Task based event wait extension soon that can be awaited for an even lighter alternative.

@sonvister
Thanks for the ManuelResetEventSlim tip.
I close this thread because the issue is solved.


[WIP] excess pytest duration

WIP

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
see 34 files with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.

R CI failures merit ongoing invesigation but are unrelated to this PR


External Fennel evaluation (non-Aniseed / Neovim based)

It will be nice to interact with a fennel hosted elsewhere (löve2d, awesomeWM, ...) so one can make interactive development with those.

This has been something I've wanted to do for a while! It's not supported yet because I'm not sure how best to do it... I guess you'll want to start a Lua process with a Fennel REPL on the side? I'd like to find a way to support things like Love, Awesome and hammerspoon (OSX automation that someone else wanted).
I need to do some research into this, if anyone has any ideas about what kind of remote REPLs or STDIO REPLs are available for this sort of thing, I'd love to know! The best thing we could have would be a REPL running inside the target process exposing a port Conjure can talk to.

I've renamed the issue to reflect what needs to be added so that more people can hopefully add their ideas and thoughts on this. I hope that's okay!

Maybe you can delegate the remote part to https://gitlab.com/technomancy/jeejah so you only need to provide a way for using the nREPL client on fennel?

Ah hah, yes, this is like the 4th time I've stumbled across it! I do have an nREPL client implementation in the Clojure client that I'm going to refactor out to make it reusable soon. That'll be a great solution! I'll report back in here when I have progress to share :smile:

So I found some issues with jeejah and gave up on it, but I wrote a bunch of code for the Racket stdio support that will be great for Fennel. So we'll be able to copy the Racket support and modify it for Fennel I think!

Released in v4.10.0!
I haven't managed to get a Fennel REPL working toooo well with LOVE just yet but this is very promising: https://gitlab.com/alexjgriffith/min-love2d-fennel


Dependency updates, mainly parking_lot

Just preparing for the release.
Note that GL's windowing features are totally disabled. That is to allow us to introduce them later without breaking.
Currently GL backend is considered broken.

cc @zicklag
bors r+

bors r+

Oh, good idea. I'm going to be working as much as I can to get the OpenGL stuff ready over this weekend, but I'm not sure how far I'll get. I've got to get this over with before I just don't do it. :slightly_smiling_face:


shared_preferences doesn't work in ios simulator

Steps to Reproduce

Run

flutter create bug
cd bug
flutter pub add shared_preferences
flutter run

Update the files as follows:

lib/main.dart

import 'package:shared_preferences/shared_preferences.dart';

void main() async {
  final prefs = await SharedPreferences.getInstance();
}

Expected results: No exception throws.
Actual results:
[VERBOSE-2:ui_dart_state.cc(199)] Unhandled Exception: Null check operator used on a null value
#0      MethodChannel.binaryMessenger (package:flutter/src/services/platform_channel.dart:142:86)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:148:36)
#2      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:331:12)
#3      MethodChannel.invokeMapMethod (package:flutter/src/services/platform_channel.dart:358:49)
#4      MethodChannelSharedPreferencesStore.getAll (package:shared_preferences_platform_interface/method_channel_shared_preferences.dart:44:25)
#5      SharedPreferences._getSharedPreferencesMap (package:shared_preferences/shared_preferences.dart:180:57)
#6      SharedPreferences.getInstance (package:shared_preferences/shared_preferences.dart:56:19)
#7      main (package:bug/main.dart:4:41)
#8      _runMainZoned.<anonymous closure>.<anonymous closure> (dart:ui/hooks.dart:142:25)
#9      _rootRun (dart:async/zone.dart:1354:13)
<…>

Logs
verbose
Analyzing bug...
No issues found! (ran in 1.5s)

[✓] Flutter (Channel stable, 2.2.0, on macOS 11.4 20F71 darwin-arm, locale ru-RU)
    • Flutter version 2.2.0 at /Users/batangaming/flutter
    • Framework revision b22742018b (2 weeks ago), 2021-05-14 19:12:57 -0700
    • Engine revision a9d88a4d18
    • Dart version 2.13.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/batangaming/Library/Android/sdk
    • Platform android-30, build-tools 30.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5, Build version 12E262
    • CocoaPods version 1.10.1

[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.1)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 56.0.5
    • Dart plugin version 211.7233

[✓] VS Code (version 1.56.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • 302596F4-F863-4337-8260-935B921CDAD4 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)

! Doctor found issues in 1 category.

You need to call WidgetsFlutterBinding.ensureInitialized() if you want to use a plugin that early; see https://github.com/flutter/flutter/issues/78028

Thanks, it works


Added logAllErrors option

Most of the time in production I want to disable all normal logs, but still log foo.error calls. This pull request adds an option when creating a new logger to log error messages, even if the logger is disabled. I also added a static method to log all errors for all loggers already existing.

@bahmutov Thanks again for the amazing PR.
Even though i see a use case on what you are relating, i don't want to overcomplicate the API.
.disable() should silence, and if we add this flag, the behavior will not be that simple.
But is quite easy to overcome what you want.
You can just set a no-op function to warn, info and log like this:
Logdown.prototype.log = function() {}
Logdown.prototype.warn = function() {}
Logdown.prototype.info = function() {}

And only error will be logged.
Let me know of what you think.

Maybe i should put this on README as well

Sure, I can actually get around using the methods you provided (I think) in my bahmutov/debug-logdown project

Please let me know about new feature requests and eventual bugs. Lets work together =)

You got it, man


Run tests on emulated architectures

This is probably a feature request.
I would like to use OpenAstronomy to run tests on some emulated architectures. That is

s390x
aarch64

Akin to what astropy does here: https://github.com/astropy/astropy/blob/main/.github/workflows/ci_cron_weekly.yml#L91-L145 or asdf does (for just s390x) here: https://github.com/asdf-format/asdf/blob/154513dc66ccd3ab1ed6113904c1811d3f47b24c/.github/workflows/s390x.yml#L21-L61.
Really, asdf just occasionally copies the astropy updates to this workflow. It would be nice if this workflow was maintained upstream and use the nicer syntax that OpenAstronomy uses.

hey @WilliamJamieson it shouldn't be that hard to add if you want to take a swing at it, I personally wont have time to have a go for a while.
The workflows linked use this for arch emulation: https://github.com/uraimo/run-on-arch-action


IMPORTANT: This repository no longer accepts feature / enhancement requests.

IMPORTANT, PLEASE READ
Feature / Enhancement requests are no longer accepted in the main Godot repository.
Please open an item by filling the relevant fields in the Proposals repository:
https://github.com/godotengine/godot-proposals/issues/new/choose
Do not submit to this repository or your issue will be closed.
IMPORTANT, PLEASE READ

Duplicate of #38358

Blocked @ahmed6192 as account activity suggests it's a spam bot.


file_name_format: Unix?

My files come in the following format:<PHONE_NUMBER>-1721398267.mp4, where the two numbers are Unix formatted dates and times, which seems not to be supported by the card.
I can cut the “start” date using file_name_date_begins: 11, but I would need a “Unix” option implemented. I noticed in the docs some datetime difference functionality already implemented with the AGO function, so it seems like the necessary libraries are already in place.
Thanks for your time and the beautiful card.

You need to configure a file sensor, like this

You need to configure a file sensor, like this

I may be missing something, but in the attached Git I can't find no reference about the Unix to Human readable format conversion, only sorting(?)

Yes, you are right. But currently I don’t have enough time to develop this feature. Feel free to do a pull request if you know how to develop it.
Regards

Yes, you are right. But currently I don’t have enough time to develop this feature. Feel free to do a pull request if you know how to develop it. Regards

Thanks anyway.
I'm not really familiar with JS, but I''ltry to give it a spin.
I'd guess the entire datetime conversion is handled inside of the _createFileResource(fileRawUrl, fileNameFormat, fileNameDateBegins, captionFormat)  function in gallery-card.js, is this correct?

Yes, that's the right place

Yes, that's the right place

Here's a snippet that convert Unix timestamps to YYYYMMDD-HHmmss (as in your example) through external function:
function processUnixFileName(fileName) {
  const unixPattern = /^[0-9]+-[0-9]+\.mp4$/;
  if (unixPattern.test(fileName)) {
    const timestamp = fileName.split("-")[0];
    const date = new Date(parseInt(timestamp, 10) * 1000); // Convert Unix timestamp to Date object
    const formattedDate = formatDateToYYYYMMDDHHmmss(date);
    return formattedDate;
  } else {
    return fileName; // If not Unix format, return the original fileName
  }
}

function formatDateToYYYYMMDDHHmmss(date) {
  const yyyy = date.getFullYear();
  const mm = String(date.getMonth() + 1).padStart(2, '0');
  const dd = String(date.getDate()).padStart(2, '0');
  const hh = String(date.getHours()).padStart(2, '0');
  const min = String(date.getMinutes()).padStart(2, '0');
  const ss = String(date.getSeconds()).padStart(2, '0');

  return `${yyyy}${mm}${dd}-${hh}${min}${ss}`;
}

// Example usage
const fileName = "1721398175-1721398267.mp4";
const result = processUnixFileName(fileName);
console.log(result); // Outputs in the YYYYMMDD-HHmmss format: 20240719-140935

If I'm correctly reading your code it should be sufficient to add those two functions and call processUnixFileName(fileName) inside _createFileResource(fileRawUrl, fileNameFormat, fileNameDateBegins, captionFormat), as it would run only if the Regex pattern for Unix is detected.


deps: try gax 2.17.0 for Java 8 compatibility (not for merge)

Not for merging.
Confirming GAX 2.17.0's Java 8 compatibility.

@suztomo Do we still need this PR?

No. Closing. Thanks.