text:
git ignore tree viewer

[QUESTION]
I added my test directory test to .gitignore in order to not track changes in those files. Atom tree viewer also hides the test directory, apparently due to Git Plus. Could you please add this option that all folders and files are shown even though there are not tracked by Git ?

It might be due to Atom hiding files in Tree Viewer. Head to the settings of Tree Viewer and make sure these are unchecked.

Source

repo: akonwi/git-plus


text:
Submit button issue on hover on donate animals page

Describe the bug
The Submit button on Donate animals page acts abruptly on hover
To Reproduce
Steps to reproduce the behavior:

Go to Donate animals page
Hover on Submit button
See error

Expected behavior
The button should have been designed properly
Screenshots

I can solve this issue very easily and fast.Please assign this to me under GSSOC'23 so i can start working on this

I would like to work on this issue under GSSOC'23.please assign this to me.

I can solve this issue very easily and fast.Please assign this to me under GSSOC'23 so i can start working on this

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
iOS Nav Bar fail to refresh on tab change

Version
Tell us which versions you are using:

react-native-router-flux v3.37.0
react-native v0.39.2

Expected behaviour
I expect the Nav Bar to be rendered according to the scene I selected on the tab.
It works correctly on Android but not on iOS.
Actual behaviour
on iOS, the Nav Bar button from the Settings scene got carried over to the 2nd tab Scene.
Steps to reproduce

4th tab has Nav Bar button rendered by code when the form is dirty.
    if (this.props.dirty) {    Actions.refresh({      renderRightButton: this.renderRightButton,      renderLeftButton: this.renderLeftButton    });

Make changes to the form so that the Nav Bar buttons are shown.

Before saving the form, switch to the 2nd tab where the "Add" button was set in the router using onRight=

Any idea what was wrong?

same problem, need help.

Try calling Actions.refresh() after you set new title.
From: 'https://github.com/aksonov/react-native-router-flux/issues/1557'

How do you call Actions.refresh() on tab change?

@ooicl just like this.
Action.refresh({title: 'new title'}}

Action.refresh(PARAMS)
PARAMS is the Scene props.

What I meant was, where can we "detect" that the tab has changed?
In my case, it was about user "clicking a different tab", not about changing the title.

@ooicl I use redux.

when click a tab, just dispatch an action

The dispatch of tab-click action is not managed by me... it is managed by react-native-router-flux...

authors: Lxxyx ooicl

repo: aksonov/react-native-router-flux

license: mit

license_source: bigquery


text:
would like to stack stacks infinitely,

react-native-router-flux v3.38.0
react-native v0.41.2

Hi,
I would like to stack stacks infinitely,
The operation gets heavier as the number of times increases.
I would like to continue using direction vertical,
Type: ActionConst.RESET puts you in trouble with behavior change
How do you solve it?
sorry I made this sentence in Google Translate.

Hi @satsuki0221.
Are you wanting the back button to continue to work?

Hi @cridenour
thank you
I want to continue without saving ActionConst.PUSH to a children in the state

Hi
It was self-solved.
Thank you.

@satsuki0221 - How did you get infinitely nesting scenes?

authors: cridenour duhseekoh satsuki0221


text:
How to automatically display the return title

Version
Tell us which versions you are using:

react-native-router-flux 3.38.0
react-native v0.42.0

Expected behaviour
I want to have a way to automatically get the title of the previous scene and appear in the upper left corner of the current scene.

This is not an issue. You should use StackOverflow for this type of question.

authors: lucasleelz rodperottoni


text:
Update fintech.json

Added regex for google ads cookies.

Hi @bhavya-error404 - what is the source for this regex? Or if you can point us to the right website/page where google-cookie information is mentioned. That would be great!

Hi @bhavya-error404 - what is the source for this regex? Or if you can point us to the right website/page where google-cookie information is mentioned. That would be great!

Hi Ankit!
I have used https://business.safety.google/adscookies/ as a reference for google ads cookie type.

source: gharchive/pull-request

repo: akto-api-security/akto


text:
Man page change from /usr/share/man1 to /usr/local/man1 misses a cleanup of /usr/share/man1

It seems that in November the man page path in the Makefile was changed form /usr/share/man/man1 to /usr/local/man/man1. /usr/share/man/man1 takes precendence over /usr/local/man/man1 and the change didn't contain any cleanup of the old man page in /usr/share/man/man1. As a side-effect, rascsi versions installed before that change that updated to more recent versions will be stuck on that old man page as long as it isn't cleaned up.
It came up when I tried to look up the rasctl parameter for the token and noticed that there was no help in the man page on that parameter on my raspi.
Also, the parameter -P isn't listed on the command line help.

Tested and merged! Thanks @bzeiss for the quick fix.

authors: bzeiss rdmark

repo: akuker/RASCSI


text:
Using with Nuxt

Hi!
I'm using ProductZoomer component with Nuxt, but getting error.
That's how I include component in another Vue-component:
const ProductZoomer =   typeof window !== "undefined" ? require("vue-product-zoomer") : ""
Error:
[Vue warn]: You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.

Hi @Deifinger, this issues is because this package I use the template instead render function, it needs to be compiled before running, I believe you are using runtime build. You can try to solve this by adding below code to your webpack config file.
resolve:  {    alias: {       'vue': 'vue/dist/vue.js'    } }

@akulubala it doesn't work. I added what you mentioned above, but in Nuxt style:
nuxt.config.js
module.exports = {
  build: {
    plugins: [
      { src: "~/plugins/product-zoomer.js", ssr: false }
    ],
    vendor: [
      "vue-product-zoomer"
    ],
    extend(config, { isDev, isClient }) {
      config.resolve.alias["vue"] = "vue/dist/vue.js"
    }
  }
}

component.vue
<template>
  <product-zoomer :base-images="images"></product-zoomer>
</template>

<script>
import ProductZoomer from "vue-product-zoomer"

export default {
  components: {
    ProductZoomer
  },
  data() {
    return {
      images: {
        // images data
      }
    }
  }
</script>

And get NuxtServerError:

render function or template not defined in component: anonymous

Please, take a look at error screenshot

Hi @Deifinger , It seems not this plugins problem, I did some dig for your error. Found this issue from nuxt.jshttps://github.com/nuxt/nuxt.js/issues/2792, let's wait from nuxt.js

Any solution you guys found? I am having same problem :(

Hi, I solved it like this...
In my nuxt config file I used
plugins: [       {src: '~plugins/zoom', ssr: false}    ],
and
build: {     vendor:[ 'vue-product-zoomer']    },
and in my zoom.js
I have
import Vue from 'vue'; import ProductZoomer from 'vue-product-zoomer' Vue.component('ProductZoomer', ProductZoomer);
Remimber DON'T IMPORT OR REGISTER THE COMPONENT IN YOUR .VUE FILE BECAUSE ITS ALREADY GLOBALLY REGISTERED..
Hope, it helps..

@hkmsadek yeah, it works, but nevertheless in console i see the error:
[Vue warn]: The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.

Yes, as far as I know, it will keep showing on page refresh or reload. It won't show when you visit like spa using nuxt link..

let me know if there are solution for this error, but for now we can ignore it

To fix the [Vue warn] you can follow @hkmsadek except I didn't include it to my build just as a plugin and ssr false flag.
After that in your component you just do a v-if after mounted
<product-zoomer
     :base-images="images"
      :base-zoomer-options="zoomerOptions"
        v-if="showImg"
       >
 </product-zoomer>

and in mounted:
mounted () {
    this.showImgl = true
  }

But not my problem is that it is showing an font-awesome error
vue-carousel.min.js:6 GET http://localhost:3000/assets/fonts/fontawesome-webfont.af7ae50.woff2 net::ERR_ABORTED
How can I get rid of this error, and after mounted it's destroying all my icons..

Hi @all, for this issue been a while, there have a new version just released, font problem solved by using fontaswsome 4. new install method updated to:
import ProductZoomer from 'vue-product-zoomer'
Vue.use(ProductZoomer);

doc will update soon.
for Nuxt problem just need add it to plugin, check doc here: https://nuxtjs.org/guide/plugins，
and coding like this :
<div style="width:400px">
    <no-ssr>
           <ProductZoomer
            :base-images="images"
            :base-zoomer-options="zoomerOptions"
          ></ProductZoomer>
    </no-ssr>
</div>

@akulubala in nuxt I have used everything with no-ssr but thumblist is not showing when page switch, but if page refresh it works.

authors: Deifinger MicroDreamIT akulubala besnikh hkmsadek

repo: akulubala/vue-product-zoomer


text:
Full Offline Dev Project

I'm traying to install ng2-admin in windows10 , after downloading the zip and extract it ,
i run "npm install" , i have multiple warnings :

when i run "ng serve" it doesn't works !
i'm looking for a full offline dev version ( with node_modules included) if possible !

Installation works now with yarn with some warnings :
$ yarn
yarn install v0.23.4
[1/4] Resolving packages...
warning There appears to be trouble with your network connection. Retrying...
[2/4] Fetching packages...
warning fsevents@1.1.1: The platform "win32" is incompatible with this module.
info "fsevents@1.1.1" is an optional dependency and failed compatibility check.                                                     Excluding it from installation.
[3/4] Linking dependencies...
warning "angular2-datatable@0.6.0" has incorrect peer dependency "@angular/core@                                                    ^2.0.0".
warning "angular2-datatable@0.6.0" has incorrect peer dependency "@angular/commo                                                    n@^2.0.0".
warning "angular2-datatable@0.6.0" has incorrect peer dependency "@angular/platf                                                    orm-browser@^2.0.0".
warning "ng2-ckeditor@1.1.6" has incorrect peer dependency "@angular/core@^2.1.0                                                    ".
warning "ng2-ckeditor@1.1.6" has incorrect peer dependency "@angular/forms@^2.1.                                                    0".
warning "ng2-ckeditor@1.1.6" has incorrect peer dependency "@angular/common@^2.1                                                    .0".
warning "ng2-handsontable@0.48.0" has incorrect peer dependency "@angular/common                                                    @^2.3.1".
warning "ng2-handsontable@0.48.0" has incorrect peer dependency "@angular/compil                                                    er@^2.3.1".
warning "ng2-handsontable@0.48.0" has incorrect peer dependency "@angular/core@^                                                    2.3.1".
warning "ng2-handsontable@0.48.0" has incorrect peer dependency "@angular/forms@                                                    ^2.3.1".
[4/4] Building fresh packages...
success Saved lockfile.
Done in 408.27s.


text:
Maximum call stack size exceeded in Form

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Report a bug.

What is the current behavior?
I'm trying simply trying to construct a form in a page, however I'm getting the following error:

Error: Error in ./Form class Form - inline template:3:5 caused by: Maximum call stack size exceeded

Typescript:
import {Component, ElementRef} from '@angular/core';

@Component({
  selector: 'form',
  styles: [require('./form.scss')],
  template: require('./form.html'),
})
export class Form {

  constructor(private _elementRef:ElementRef) {
  }

  ngAfterViewInit() {

  }
}

HTML:
<form>
  <div>
    <input type="text">
  </div>
</form>

PS:
If I comment the form everything works fine.

I'm still facing this issue. Do I need to import something other than the code below in my module?
import { FormsModule, ReactiveFormsModule } from '@angular/forms';

@NgModule({
  imports: [
    CommonModule,
    ReactiveFormsModule,
    FormsModule,
    NgaModule,
    routing,
    NgbModule
  ],
  declarations: [
    ...
  ],
  providers: [
    ...
  ]
})

Would be great if someone can help me with this issue.


text:
npm start error from #694

I'm submitting a ...
[X] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?
Bug on NPM START

What is the current behavior?

Now Stuck 46% building modules 302/317 modules 15 active ...heme/services/baThemeSpinner/inde      x.ts
What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.4.4
Browser: Chrome
Debian 8.6
Nodejs > 6.9.5
Npm > 4.1.2

Always stuck on  46% building modules 302/317 modules 15 active ...heme/services/baThemeSpinner/index.ts
see image attach

i have same problem but  in other file... i stopped in validatores/index.ts
46% building modules 302/313 modules 11 active ...ect\src\app\theme\validators\index.ts

I guess this: https://github.com/sass/node-sass/issues/857

Thanks for your comment pluswave but i tried UV_THREADPOOL_SIZE=5, UV_THREADPOOL_SIZE=4, UV_THREADPOOL_SIZE=64, and I still have the issue.
Best Regards

file -> app/theme/sass/initial.scss
change
@import 'sass/conf/conf';
@import 'sass/_preloader';                                      //<---
@import 'sass/_ionicons';                                        //<---
, or rename this files/

@jezamba, can you try to check this issue in the latest ng2-admin version?

@LexZhukov it is working here ... great

i hava the same problem ,how to fix it ,tks

@wenjiech, do you have this bug on the latest ng2-admin version?

I downloaded the lasted version yesterday and now stuck on this point:  47% building modules 314/324 modules 10 active ...heme/services/baThemeSpinner/index.ts
I commented the lines on file -> app/theme/sass/initial.scss
@import 'sass/conf/conf';
@import 'sass/_preloader'; -
@import 'sass/_ionicons';
And work well but not appear any icon and not show hte icon for wait while load the page.
Best Regards

Just right now its working with no problem with the today release.
Best Regards

I still have the issue and need to set UV_THREADPOOL_SIZE to some large value i.e. 64

I still have the issue too, I've cloned the last version today.
47% building modules 315/321 modules 6 active ...st\node_modules\ngx-uploader\index.js

I have the same problem with initial.scss and I think that the issue has to be reopened since I use the latest ng2-admin version.
Here is my workaround:

Commenting all lines in initial.scss
run npm cache clear
run npm start
After npm started all icons in the page are missing
Remove all comments in initial.scss after that the icons should displayed

still stuck!!! I do not understand why this problem so thug......

@jtrebess
I have the same issue

authors: KevinCarnaille LexZhukov afc3liuyuan alienk1 glorindel jezamba jtrebess pluswave sustwater wenjiech


text:
Compatibility upcoming 9.0.5 resourceSettings

resource_settings will be broken in 9.0.5 again.
PlasmaTechnology settings can no longer be changed.

Just revert resourceSettings to previews version

repo: alaingilbert/ogame


text:
New function : send galaxy info to 'galaxytool' server ( galaxytool-toolbar feature )

do you know galaxytool and galaxytoolbar?
when you're viewing galaxy/systems,  toolbar sends galaxyinfo as xml to galaxytool server
colud you make this function?
xml sending to designated galaxytool server
http://GalaxyToolSever/galaxytool/secret/galaxyplugin.php
with secret logon key

<?xml version="1.0" encoding="UTF-8"?>
<galaxyviews xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="galaxyview.xsd">
	<header version="2.8.4" universe="Virgo" debug="true" language="english" token="225a92e168a27fa41231bfb97c8e7583" content_type="galaxyview"/>
	<galaxyview galaxy="1" system="33">
		<position pos="1"/>
		<position pos="2"/>
		<position pos="3"/>
		<position pos="4">
			<planetname>Eden Prime</planetname>
			<player playername="Harbinger" rank="202" playerid="100180"/>
			<alliance allyname="ENL" allyid="500001" rank="3" member="51"/>
			<activity year="2017" month="11" day="7" hour="9" minute="29" weekday="2"/>
		</position>
		<position pos="5"/>
		<position pos="6">
			<planetname>Homeworld</planetname>
			<player playername="merry" rank="635" playerid="100181"/>
			<activity year="2017" month="11" day="7" hour="9" minute="29" weekday="2"/>
		</position>
		<position pos="7"/>
		<position pos="8">
			<planetname>Leuk een planeet</planetname>
			<player playername="Bassie" rank="81" playerid="100060"/>
			<alliance allyname="ENL" allyid="500001" rank="3" member="51"/>
			<activity year="2017" month="11" day="7" hour="9" minute="29" weekday="2"/>
		</position>
		<position pos="9"/>
		<position pos="10">
			<planetname>DUBLIN</planetname>
			<player playername="Czar Aerglo" rank="151" playerid="100182"/>
			<alliance allyname="DOOM" allyid="500018" rank="5" member="10"/>
			<activity year="2017" month="11" day="7" hour="9" minute="29" weekday="2"/>
		</position>
		<position pos="11"/>
		<position pos="12">
			<planetname>i like pizza</planetname>
			<player playername="Viceregent Sattelite" rank="44" playerid="100081"/>
			<alliance allyname="TFT" allyid="500006" rank="20" member="4"/>
		</position>
		<position pos="13"/>
		<position pos="14"/>
		<position pos="15"/>
	</galaxyview>
</galaxyviews>

obsolete

repo: alaingilbert/pyogame


text:
[Feature Request] Provide more triggers on which plugins may be loaded

Feature Description
Currently, there are a few triggers to choose when to load a plugin: Instant, Short Delay, Long Delay, Disabled. All of them are time-based.
You could implement more trigger types base on Obsidian provided events after which plugins may lazy-load, similarly to neovim's lazy package manager.
For example, a user could set a plugin to load when a specific file is opened, when any file is opened, when entering edit mode, etc.
Here are some examples of triggers that could be implemented :

AfterPlugin : Load the plugin after another plugin has loaded, useful if multiple plugins are used together or if they depend on another
FileOpened : When any file is opened, if the plugin isn't loaded then load it. Alternatives could include specifying a filetype, directory, tag, regex for the title etc.
FileCreated
FileDeleted
FileMoved
EditStarted : When editing a page
CustomAction : User could specify "groups" that they manually activate with a command. Eg, grouping all the plugins only useful when editing pages could be requested by the user when they need to.
AppReady : Instead of having a "short" delay, request the plugin to load once Obsidian has loaded the editor
etc.

If there's a roadmap I would like to see this on it.

authors: clorl codey-badger

repo: alangrainger/obsidian-lazy-plugins


text:
Improve bower registry loading

Loading the bower registry for the first time or when it's time to refresh it takes too long. It could use the default bower cache to show some results until the registry is fully load, so the user can browse while loading it.

Hello Albertina,
There is any option to load registry on demand? For example: first time loading take a lot of time. If I want to install bootstrap, jquery etc. I don't need all the registry. Maybe, you can make an AJAX call to get this packages without loading all the registry.
Sorry for my english :(.

authors: albertinad erknrio

repo: albertinad/brackets-bower


text:
Assume that item has no attachments if there is no body

Some response from the Graph API was returning empty body. This could be something left over from older version of the platform, but this causes issues in our codebase.

Does this PR need a docs update or release note?

[x] :white_check_mark: Yes, it's included
[ ] :clock1: Yes, but in a later PR
[ ] :no_entry: No

Type of change

[ ] :sunflower: Feature
[x] :bug: Bugfix
[ ] :world_map: Documentation
[ ] :robot: Supportability/Tests
[ ] :computer: CI/Deployment
[ ] :broom: Tech Debt/Cleanup

Issue(s)

#

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

@vkamra I merged some kiota changes today in https://github.com/alcionai/corso/pull/2875 , but the version that hit this should not have it.

repo: alcionai/corso


text:
Cannot read property 'objectKeys' of null

I've been running into this error in Telescope's settings form, but I'm not sure if it's due to my code, the recent 0.9.2 update, or Autoform itself. Any ideas?
 Exception in template helper: TypeError: Cannot read property 'objectKeys' of null
    at Object.autoFormFieldNames (http://localhost:3000/packages/aldeed_autoform.js?6a8584551942ab1f4c8b0e541477c6ff50579a59:4001:19)
    at http://localhost:3000/packages/blaze.js?5ec4e54b22ab2196bcc772669c0619f71666393e:2610:16
    at http://localhost:3000/packages/blaze.js?5ec4e54b22ab2196bcc772669c0619f71666393e:1602:16
    at Spacebars.call (http://localhost:3000/packages/spacebars.js?fa6d15347dd76a8b1464ca3a0d4605598857db91:169:18)
    at Spacebars.mustacheImpl (http://localhost:3000/packages/spacebars.js?fa6d15347dd76a8b1464ca3a0d4605598857db91:106:25)
    at Object.Spacebars.dataMustache (http://localhost:3000/packages/spacebars.js?fa6d15347dd76a8b1464ca3a0d4605598857db91:138:39)
    at http://localhost:3000/packages/aldeed_autoform.js?6a8584551942ab1f4c8b0e541477c6ff50579a59:1557:22
    at null.<anonymous> (http://localhost:3000/packages/blaze.js?5ec4e54b22ab2196bcc772669c0619f71666393e:2420:27)
    at http://localhost:3000/packages/blaze.js?5ec4e54b22ab2196bcc772669c0619f71666393e:1787:16
    at Object.Blaze._withCurrentView (http://localhost:3000/packages/blaze.js?5ec4e54b22ab2196bcc772669c0619f71666393e:2017:12)

I have the same issue:
{{#autoForm  id="ctypeform" collection="CTypes"  }}
   {{#each afFieldNames omitFields="icon"}}
      {{> afQuickField name=this.name options=afOptionsFromSchema }}
   {{/each}}
   {{> afQuickField name="icon" type="cfs-file" collection="ctypeicons" template="bootstrap3"}}

<button type="submit">Submit</button>

{{/autoForm}}

I update all the package and my meteor list is:
$ meteor list
...
aldeed:autoform            5.0.2  Easily create forms with automatic insert and update, and automatic reactive validation.
aldeed:collection2         2.3.2  Automatic validation of insert and update operations on the client and server.
aldeed:simple-schema       1.3.0* A simple schema validation object with reactivity. Used by collection2 and autoform.
cfs:autoform               2.1.1  Upload files as part of autoform submission
cfs:gridfs                 0.0.31  GridFS storage adapter for CollectionFS
cfs:standard-packages      0.5.4  Filesystem for Meteor, collectionFS
...

@huvber  are you defining your schema on the client also?

yes I put in the lib directory. I will paste the schema definition:
CTIcons = new FS.Collection('ctypeicons',{
  stores: [ new FS.Store.GridFS('ctiStore')]
});
CTypes = new Meteor.Collection('ctypes');
CTypes.attachSchema(new SimpleSchema({
  name: {
    type:   String
  },
  io_type: {
    type:   String
    allowedValues: ['Input', 'Output','I/O']
  },
  icon: {
    type: String,
    autoform: {
      afFieldInput: {
        type: 'cfs-file',
        collection: 'ctypeicons',
      }
    }
  }
}));

This might be related to #790 ?

I also tried using schema instead of collection but the result is the same. I will notified as I did in the #790 that wth quickForm everythings work properly, but I need to use autoForm because I need special behaviour for the file input

I have the same issue I think Exception in template helper: TypeError: Cannot read property 'schema' of undefined

@guidouil Same error since i have upgraded to Meteor 1.0.4.1 :(
duke

@huvber @guidouil @dukye: aldeed:autoform@5.0.3 should now be compatible.

well it did change the error message, but it didn't solve the problem for all types of shema...
I have a schema with sub objects that use to work and now I get Exception in template helper: Error: Invalid field name: (not a string) other autoform do work with 1 level schema. Interestingly it does work with autoform 4.2.2 and meteor 1.0.4 ... thanks for your time and hard work

@guidouil can you open a new issue with instructions to reproduce?

ok

make sure if your schema are in the client and server.

authors: MurWade SachaG aldeed dukye guidouil huvber livimonte

repo: aldeed/meteor-autoform


text:
🛑 WBO is down

In 7c9cef8, WBO (https://wbo.alefvanoon.xyz) was down:

HTTP code: 525
Response time: 105 ms

Resolved: WBO is back up in 0221524.

repo: alefvanoon/Status


text:
Remember last mode

When the user leaves the home page (screen) and then returns, the last selected stopwatch mode is reset.
Please implement so that the selected mode is not reset.
Steps to reproduce the behavior

Open any project.
Start any activity.
Click on the time to switch the time display mode for the current activity.
Go to any page (screen).
Go to home page.

Actual behavior
The stopwatch displays the total time.
Expected behavior
The stopwatch displays the time of the current activity.
Screenshots

Affected versions

v1.0 (build: 20230808)

Fixed in v1.1.

repo: alekseynemiro/multi-duper-stopwatch


text:
🛑 R-HOME is down

In 2bef3ab, R-HOME ($R_HOME) was down:

HTTP code: 403
Response time: 107 ms

Resolved: R-HOME is back up in 0b05732.

repo: alenhorvat/monitoring


text:
Emit LegalEntities for participants in email conversations

When parsing email messages, the sender, recipient and carbon-copied parties should be emitted as LegalEntities in followthemoney schema. We may need to extend the schema for Email to support linking them to the message object. I assume the ID of each of these entities should be based on their email address in a normalised form.

Fixed in #34.

repo: alephdata/ingestors


text:
?pin option is not working

I am using ?pin=v57, but v55 is being used.
/m/s/P/g/l/deno-gfm ❯❯❯ curl -i "https://esm.sh/sanitize-html@2.5.2?pin=v57"
HTTP/2 200
date: Thu, 04 Nov 2021 20:41:42 GMT
content-type: application/javascript; charset=utf-8
content-length: 213
access-control-expose-headers: X-TypeScript-Types
cache-control: public, max-age=300
vary: Origin
x-typescript-types: https://cdn.esm.sh/v55/@types/sanitize-html@2.5.0/index.d.ts
cf-cache-status: DYNAMIC
expect-ct: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=Z%2BgZgvPvUIB4Lbt9WLtA7FvHM90cTg6xIOkAWhpt5WDAbc2Z2cov0MOrsE%2FnVJG%2BYAhCgEZq5KDQjbBItnTrEeVfjDvqSn3g3T6MWSppg6PmUGsPO%2FgLdjP29AzphJlrx%2FcNq48%3D"}],"group":"cf-nel","max_age":604800}
nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
server: cloudflare
cf-ray: 6a90aa26bb2d3258-FRA
alt-svc: h3=":443"; ma=86400, h3-29=":443"; ma=86400, h3-28=":443"; ma=86400, h3-27=":443"; ma=86400

/* esm.sh - sanitize-html@2.5.2 */
export * from "https://cdn.esm.sh/v55/sanitize-html@2.5.2/es2015/sanitize-html.js";
export { default } from "https://cdn.esm.sh/v55/sanitize-html@2.5.2/es2015/sanitize-html.js";

fixed in https://github.com/alephjs/esm.sh/commit/0e47247f91c4335ccd5e6cbba7fa1d1340b8662e, and i am creating a front layer on cloudflare edge to get faster response instead of requesting the origin server to check npm version.

authors: ije lucacasonato


text:
Reset size

How to reset size and resize it with jquery

this.el.sizes = localStorage.getItem('split-sizes');     $(squareMe).on('slotResized',function(e){       const { sizes, divider, originalEvent } = e.detail;       localStorage.setItem('split-sizes', sizes);     })
I tried this but not working

Fixed
var sizeH = localStorage.getItem('split-sizes-h')
var sizeV = localStorage.getItem('split-sizes-v')
$('square-me').attr('sizes-h', sizeH)
$('square-me').attr('sizes-v', sizeV)
$('square-me').on('slotResizedH',function(e){
var { sizes, divider, originalEvent } = e.detail;
sizes = JSON.stringify(sizes)
sizes = sizes.replace("[","").replace("]","")
console.log(sizes)
localStorage.setItem('split-sizes-h', sizes);
})
$('square-me').on('slotResizedV',function(e){
var { sizes, divider, originalEvent } = e.detail;
sizes = JSON.stringify(sizes)
sizes = sizes.replace("[","").replace("]","")
localStorage.setItem('split-sizes-v', sizes);
})

Fixed.
var sizeH = $('square-me').attr('sizes-h') || localStorage.getItem('split-sizes-h')
var sizeV = $('square-me').attr('sizes-v') || localStorage.getItem('split-sizes-v')
$('square-me').attr('sizes-h', sizeH)
$('square-me').attr('sizes-v', sizeV)
$('square-me').on('slotResizedH',function(e){
var { sizes, divider, originalEvent } = e.detail;
sizes = JSON.stringify(sizes)
localStorage.setItem('split-sizes-h', sizes);
})
$('square-me').on('slotResizedV',function(e){
var { sizes, divider, originalEvent } = e.detail;
localStorage.setItem('split-sizes-v', sizes);
})

Fixed .
var sizeH = $('square-me').attr('sizes-h') || localStorage.getItem('split-sizes-h')   var sizeV = $('square-me').attr('sizes-v') || localStorage.getItem('split-sizes-v')   $('square-me').attr('sizes-h', sizeH)   $('square-me').attr('sizes-v', sizeV)   $('square-me').on('slotResizedH',function(e){     var { sizes, divider, originalEvent } = e.detail;     localStorage.setItem('split-sizes-h', sizes);   })   $('square-me').on('slotResizedV',function(e){     var { sizes, divider, originalEvent } = e.detail;     localStorage.setItem('split-sizes-v', sizes);   })

Fixed.
 var sizeH = $('square-me').attr('sizes-h') || localStorage.getItem('split-sizes-h')
  var sizeV = $('square-me').attr('sizes-v') || localStorage.getItem('split-sizes-v')
  $('square-me').attr('sizes-h', sizeH)
  $('square-me').attr('sizes-v', sizeV)
  $('square-me').on('slotResizedH',function(e){
    var { sizes, divider, originalEvent } = e.detail;
    localStorage.setItem('split-sizes-h', sizes);
  })
  $('square-me').on('slotResizedV',function(e){
    var { sizes, divider, originalEvent } = e.detail;
    localStorage.setItem('split-sizes-v', sizes);
  })

This is example to reset size
$('#reset-screen').on('click', function() {
var totalrow = $('square-me').attr('m')
var totalcol = $('square-me').attr('n')
var resetsizeh = 1 / totalrow
var resetsizev = 1 / totalcol
var resetrowarr = []
var resetcolarr = []
for (let i = 0; i < totalrow; ++i) {
resetrowarr.push(resetsizeh)
}
for (let i = 0; i < totalcol; ++i) {
resetcolarr.push(resetsizev)
}
$('square-me').attr('sizes-h', resetrowarr)
$('square-me').attr('sizes-v', resetcolarr)
localStorage.setItem('split-sizes-h', resetrowarr);
localStorage.setItem('split-sizes-v', resetcolarr);
});

This is example code to reset
 $('#reset-grid').on('click', function() {
 var totalrow = $('square-me').attr('m') //get attribute m
 var totalcol = $('square-me').attr('n')  //get attribute n
 var resetsizeh = 1 / totalrow
 var resetsizev = 1 / totalcol
 var resetrowarr = []
 var resetcolarr = []

 for (let i = 0; i < totalrow; ++i) {
      resetrowarr.push(resetsizeh)
 }

 for (let i = 0; i < totalcol; ++i) {
      resetcolarr.push(resetsizev)
  }

 $('square-me').attr('sizes-h', resetrowarr)
 $('square-me').attr('sizes-v', resetcolarr)
 localStorage.setItem('split-sizes-h', resetrowarr);
 localStorage.setItem('split-sizes-v', resetcolarr);

 });`

I'm glad it worked, thanks for the example! :)

authors: alesgenova giegiey

repo: alesgenova/square-me


text:
Missing voice settings support

Hello, thanks for such a great plugin. Since they changed to V2, I couldn't find anything that would help me connect my chatbot with unity.
I have tested with my own, it works, however, any idea why the voice is the same (standard male voice) even after I have changed the TTS settings in my Dialogflow console?
In the console it shows me the output audio as I have set (female voice with UK accent) but in the Unity project is still a male voice. Please let me know if you have any ideas of what could be the issue here.
Once again, legend, thanks so much.
Originally posted by @alvarocaiza in https://github.com/alessandroTironi/Unity-DialogflowV2Agents/issues/7#issuecomment-735992240

Hi, I am sorry for how late this response comes.
I am not working on this project anymore and I did not work on voice settings, but I think that the best thing to do in these cases is referring to the Google documentation about the entity system of a DF request. In particular, the DFOutputAudioConfig class currently implemented is missing some parameters that should allow to set the voice settings. I doubt that the output audio being a male voice depends on some Unity settings, since the plugin is simply reading the raw audio bytes sent by Dialogflow, so it should be a matter of sending the right parameters through the detect intent request.

Hi @alvarocaiza @alessandroTironi did you find anything on voice setting parameters for female voice ?  Please let me know. That would be a great help. Thanks

From OutputAudioConfig, navigate through SynthesizeSpeechConfig and finally VoiceSelectionParams. This last object has a param named "ssmlGender", that should allow to select  the gender's voice. All you have to do is ensuring that DF receives a JSON with these parameters.


text:
I18n Issue

I have some fields with modeltranslation activated, but the filter shows only the last saved filed value in the filter.
Is there any way to use the modeltranslation for displaying the correct (means translated) value?

I'm going to close this as Out of Scope for the moment. Happy to consider documented, tested pull requests. We may have capacity to reconsider in the future.

authors: carltongibson jukof

repo: alex/django-filter


text:
Add setPopup support to Marker

https://www.mapbox.com/mapbox-gl-js/api/#Marker#setPopup

I am trying to attach a popup to a marker and was wondering if setPopup (which I think I need) was ever added!


text:
mac build执行完成安装后，打开应用报错

Describe the bug

打包的dist下面目录如图：

mac目录下只有应用程序，没有其他文件。请问asarUnpack配置对mac是不生效吗
Electron-Vite Version
1.0.23
Electron Version
20.3.1
Vite Version
4.3.9
Validations

[X] Follow the Code of Conduct.
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

看文档故障排除章节

preview正常，打包后异常。使用npm构建有个报错，我使用的是cnpm，这是否会影响

现在执行npm构建也可以

preview正常，打包后异常。使用npm构建有个报错，我使用的是cnpm，这是否会影响

建议不要使用cnpm

直接用npm会报错。使用cnpm安装，npm来打包会有上面截图的问题，一堆的module找不到


text:
IntentSleepTimer not working due to AMAZON.DURATION Format

Amazon provides sth. like PT10M for 10 minutes. We expect an integer. We have two options:

parse amazon value
change to number?

@Extrawurst  What are you thinking about this?

actually the returned duration has a standardized format ISO-8601 (see https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference#duration)
std.datetime supports the same format: https://dlang.org/phobos/std_datetime.html

It's right that Amazon uses the ISO 8601 duration format. But Duration is only a part of the complete standard - which is used by dlang as well. But in my point of view there is no "parsing" function to convert a ISO-8601 string to an duration object.

repo: alexa-d/alexa-openwebif


text:
How can i make Alexa to trigger/execute a script .sh file i have in my Pi with a custom trigger word please?

How can i make Alexa to trigger/execute a script .sh file i have in my Pi with a custom trigger word ?
E.g "Alexa trigger wifi on" and then a wifi_on.sh script is executed from within my Pi.
Or say “Alexa turn on projector” and then a script I have called say ‘projector_on.sh’ is executed in the Pi locally?

Anyone pls?

Since this is pretty frequently asked, it's now in the F.A.Q.: https://github.com/alexa-pi/AlexaPi/wiki/Q&A-(FAQ)#how-do-i-run-a-local-command--script-when-i-say-x

@renekliment excuse my ignorance but that url you just posted points to an empty uncreated FAQ with no question or answer. Did i do something wrong?
Have you posted an answer somewhere?
Regards

@jabulonboaz The link works. Make sure you click it so you don't miss something in the URL. You can also get there from local wiki. Post a screenshot if your issue persists.

@renekliment thank u i found it now but the answer is very disappointing as i lack the skills to do number 2 and even though i know how to write my own skill and have done so in the past to do option 1 that won't work for my original ask which is local integration as in everything is triggered from the Pi HW behind the same LAN.

authors: jabulonboaz renekliment

repo: alexa-pi/AlexaPi


text:
The file extension .png will be added only if the file has extensions other than .png or .PNG

Pull Request Label:

[ ] Bug
[ ] New feature
[x] Enhancement
[ ] New component
[ ] Typo

Pull Request Checklist:

[x] Have you followed the guidelines for contributing?
[x] Have you checked that there aren't other open pull requests for the same fix or component?
[ ] Have you ran the tests locally with bats tests?

Used grep to identify if the user input of the file includes the .png or .PNG extensions... If it does not, it appends .png to the file name

Looks good to me, any reason you threw the -q flag onto grep, if it works it work just wanting to know for the sake of my own curiosity lol thanks for the contribution :+1:

Mostly because whenever the pattern matching would succeed, it would print the filename out. I added the -q to suppress that.

authors: alexanderepstein rincemust

repo: alexanderepstein/Bash-Snippets


text:
I can't add zabbix datasource to grafana

Not added to the zabbix datasource
Expected behavior
I use basic authentication with admin user and password but it does not connect.
Screenshots

Software versions
Grafana 9.1.0
Zabbix 6.2
Grafana-Zabbix Plugin 4.2.10

Do you use any proxy like nginx or apache? If so, did you configure any ports on the proxy? For me it works as follows: http://IP:PORT/api_jsonrpc.php, without using /zabbix in the address, that must be the problem.

Done.

authors: brunocarvalhoti laurixia

repo: alexanderzobnin/grafana-zabbix


text:
License?

Sorry if I missed, but did you intend this to have an OSS license? Very helpful repo. Thanks!

I'm not really sure what it's licensed under. I'd say MIT is always a good choice, but I'm not too familiar with all the options.

Thanks @benfletcher, I think MIT fits well in this context. I added already, thanks 🙏

authors: alexanmtz benfletcher

repo: alexanmtz/material-sense


text:
Set swift_version in the Podspec

FYI, your source is fully compatible with 4.2 as written.

It's also source compatible with Swift 5 as-written :)

I already added he swift 5 version actually, gonna close this PR.

:+1: Thanks for doing the upgrade

authors: DaemonF alexaubry

repo: alexaubry/HTMLString


text:
Requestrr

Checked

[X] If a new addon, I have checked on  Google that such as addon doesn't already exists
[X] If a new feature, I have searched in the discussions & issues that it was not already covered

Which addon?
Requestrr Home Assistant add-on
Is your feature request related to a problem? Please describe
can the repo change to https://github.com/thomst08/requestrr to get the latest version? also right now my settings get erased with restarting the image
Describe the solution you'd like
change the repo to https://github.com/thomst08/requestrr

Hi, thanks for sharing! I fear that the new repo has a different structure than the linuxserver one so it will require a bit of refactoring before being able to push it in production, I'll look at that

Thank you! i appreciate your time looking in to this! also thank you for all the add ons! I feel like its the best add on repo :).  Also if i can help in anyway i will. i tried making the addon yesterday without success but i feel like i was close.  and the main reason i wanted to move to the new repo was because HA addon would erase all my Requestrr data once the addon was restarted.

ahah thanks very much ! currently it is not starting but it's on a very good path. Which data is erased? from what i see there is just a /config folder with files and that's all ?

should be good could you please test? the path for config has changed I've put the info in the changelog it must be accessed in /addon_configs/**-requestrr using my Filebrowser addon

thank you so much! it is working perfectly!! i will close this issue.  thanks again!!!

authors: alexbelgium dumbledorethor

repo: alexbelgium/hassio-addons


text:
🐛 [MyElectricalData] cannot touch cache.db

MyElectricalData

Addon name : MyElectricalData
Addon version : 0.8.13-8

Describe the bug
L'addon ne démarre plus:
touch: cannot touch '/config/myelectricaldata/cache.db': No such file or directory

To Reproduce
Start addon
Full addon log
Starting...
/etc/cont-init.d/00-banner.sh: executing
-----------------------------------------------------------
 Add-on: MyElectricalData
 Use Enedis Gateway API to send data in your MQTT Broker (latest channel)
-----------------------------------------------------------
 Add-on version: 0.8.13-8
 You are running the latest version of this add-on.
 System: Home Assistant OS 9.5  (aarch64 / raspberrypi4-64)
 Home Assistant Core: 2023.1.7
 Home Assistant Supervisor: 2023.01.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums
/etc/cont-init.d/00-global_var.sh: executing
 https://github.com/alexbelgium/hassio-addons
-----------------------------------------------------------
CONFIG_LOCATION='/config/myelectricaldata/config.yaml'
TZ='Europe/Paris'
mqtt_autodiscover='true'
verbose='true'
/etc/cont-init.d/01-custom_script.sh: executing
[13:14:59] INFO: Execute /config/addons_autoscripts/enedisgateway2mqtt.sh if existing
[13:14:59] INFO: ... no script found
/etc/cont-init.d/32-nginx_ingress.sh: executing
sed: can't read /etc/nginx/servers/ssl.conf: No such file or directory
/etc/cont-init.d/32-nginx_ingress.sh: exiting 2
/etc/cont-init.d/91-mqtt_autodiscover.sh: executing
[13:15:00] INFO: mqtt_autodiscover is defined in options, attempting autodiscovery...
[13:15:01] INFO: ... MQTT service found, fetching server detail (you can enter those manually in your config file) ...
/etc/cont-init.d/91-mqtt_autodiscover.sh: exiting 2
/etc/cont-init.d/99-run.sh: executing
touch: cannot touch '/config/myelectricaldata/cache.db': No such file or directory
/etc/cont-init.d/99-run.sh: exiting 1

System

Supervisor version:
Host system version: Home Assistant 2023.1.7-->

Bonjour, merci pour le log
"/etc/cont-init.d/32-nginx_ingress.sh: exiting 2" : résolu dans la nouvelle version
"/etc/cont-init.d/91-mqtt_autodiscover.sh: exiting 2" : je ne vois pas la cause possible... j'ai rajouté des messages d'erreurs pour trouver l'issue. Vous avez bien un service mqtt tel que l'addon mosquitto qui tourne ? Sinon il faut définir les paramètres mqtt manuellement dans le fichier de config
"touch: cannot touch '/config/myelectricaldata/cache.db': No such file or directory" : curieux. j'ai rajouté un script pour vérifier le format de "CONFIG_LOCATION"
Pouvez-vous installer la version 0.8.13-9 ? Merci d'avance

Bonjour @alexbelgium,
Après installation, j'ai toujours la même erreur.
J'ai bien un serveur mqtt, sa configuration n'a pas changé.
Détail de la conf:
cycle: 14400
debug: true
home_assistant:
  discovery_prefix: homeassistant
  enable: true
influxdb:
  bucket: "enedis/autogen"
  enable: true
  hostname: ftyidfyd-influxdb
  method: synchronous
  org: myelectricaldata
  port: 8086
  token: hometotot:toto
mqtt:
  client_id: myelectricaldata
  enable: true
  hostname: core-mosquitto
  password: "toto"
  port: 1883
  prefix: myelectricaldata
  qos: 0
  retain: true
  username: "toto"
myelectricaldata:
  "22149782812123":
    activation_date_daily: ""
    activation_date_detail: ""
    cache: true
    consumption: true
    consumption_detail: true
    consumption_detail_max_date: "2021-07-03"
    consumption_max_date: "2021-07-03"
    consumption_price_base: "0.1740"
    consumption_price_hc: "0.1330"
    consumption_price_hp: "0.1936"
    enable: true
    name: ""
    offpeak_hours_0: 01H36-8H06;12H06-13H36 # LUNDI
    offpeak_hours_1: 01H36-8H06;12H06-13H36 # MARDI
    offpeak_hours_2: 01H36-8H06;12H06-13H36 # MERCREDI
    offpeak_hours_3: 01H36-8H06;12H06-13H36 # JEUDI
    offpeak_hours_4: 01H36-8H06;12H06-13H36 # VENDREDI
    offpeak_hours_5: 01H36-8H06;12H06-13H36 # SAMEDI
    offpeak_hours_6: 01H36-8H06;12H06-13H36 # DIMANCHE
    plan: HC/HP
    production: false
    production_detail: false
    production_detail_max_date: "2021-06-01"
    production_max_date: "2021-06-01"
    production_price: 0
    refresh_addresse: false
    refresh_contract: false
    token: FITFIVKJH685964875UOFUFIUTFI

J'ai peut-être trouvé la cause, et poussé une nouvelle version

J'ai supprimé le fichier cache.db, à priori le script n'arrivait pas à le modifier.
Après reboot de l'addon, il démarre et a recréé un fichier cache.


text:
🛑 Secret Website 1 is down

In 37fe258, Secret Website 1 ($SECRET_WEBSITE_1) was down:

HTTP code: 429
Response time: 154 ms

Resolved: Secret Website 1 is back up in 417ffce.

repo: alexchapar/status-page


text:
Cross compiling for a uefi target doesn't work properly.

When cross compiling a uefi target on a linux host, cc builds object files into ELF files and not PEs, and bundles them into a linux stile libMyLib.a library and not a windows style MyLib.lib library.
CC already has some code which special cases cross compiling for windows targets, so it might be sufficient to just special case uefi as well.

Here is a sample build.rs file I was playing with:
use std::path::Path;
use std::process::Command;
use std::{env, error::Error};

const ASM_FILES: [&str; 2] = ["host_entrypoint.S", "isr.S"];

fn main() -> Result<(), Box<dyn Error>> {
    // build directory for this crate
    let out_dir = env::var("OUT_DIR").unwrap();
    let src_dir = &format!("{}/src", env::var("CARGO_MANIFEST_DIR").unwrap());

    // extend the library search path
    println!("cargo:rustc-link-search={}", out_dir);

    for file_name in ASM_FILES.iter() {
        let full_file_name = &format!("{}/{}", src_dir, file_name);
        cc::Build::new()
            .compiler("clang")
            .file(full_file_name)
            .target("x86_64-unknown-uefi")
            .compile("asm");
        println!("cargo:rerun-if-changed={}", full_file_name);
    }

    Ok(())
}

Okay, did some more debugging, first of all, the fact that they are being built into ELF files and not PEs is clang's fault when you give it that target. This can be alleviated by passing the target "x86_64-unknown-windows" instead.
Second of all, it looks like cc overwrites an archive as opposed to appending to it, so running that build invocation in a loop is a problem as the final lib won't contain any code from the first files. I can either create a different lib for each file, or batch them up with cc::Build::files. I assume this is by design.
Now, I'm still getting an issue with cc outputting a file named "libasm.a" and rust-lld -flavor link expecting asm.lib. I hacked up some changes to cc which I will PR shortly.

I dug deeper, solved that issue, and found others, but honestly, it looks like cc doesn't have strong support for cross compilation.

repo: alexcrichton/cc-rs


text:
Default to emcc for wasm32-unknown-unknown if it's available on the $PATH.

On related note one can make a case for forcing -ffreestanding on the unknown target to ensure that emcc doesn't have ideas about using emscripten run-time...

Thanks for the PR here, but AFAIK emscripten isn't compatible with wasm32-unknown-unknown, so I'm not sure if this would work. Does this work for a project for you locally?

Does this work for a project for you locally?

Yes. For now I do it by setting CC environment variable to emcc and AR to emar. It might happen that it depends on the fact that our C library doesn't have any dependencies on the C run-time, by its design. I even compile with -fno-builtin to ensure that compiler doesn't slip in C run-time calls behind the curtains. For reference, -ffreestanding is kind of a "stronger" version of -fno-builtin. Well, standalone C code is probably not as common place as this PR implies, which means that it would probably be more appropriate to stick to setting CC and AR...

Well, standalone C code is probably not as common place as this PR implies

On the other hand, I wonder what are the real-life expectations? Is it actually so that most of the stock C libraries can be compiled for wasm32-unknown-unknown with stock clang? What I'm trying to say is that if there is working C code that works with wasm32-unknown-unknown Rust target, is it possible that it can't have dependencies on C run-time?
Just in case for reference. The reason for all this it that we do have some #include <std*.h> for type definitions, which is problematic with stock clang --target=wasm32. ..

can be compiled ... with stock clang?

It's kind of a slippery question, isn't it? I mean it's not necessarily exclusively about "stock clang", but about what you call and link with... Either way, the point I'm trying to make is that if the only thing that actually works is standalone C, then it doesn't matter which compiler do you use...

OK, after further consideration I would agree that it might be less appropriate to default to emcc... It still might be helpful to fall back to emcc if clang doesn't recognize --target=wasm32. Or rather try to fall back, because it will still be tested for availability on the $PATH... Should I pursue this? Or should we just close this? :-)

I consider the lack of response as "close." But before I do, I wonder following. Formally speaking using system ar is not guaranteed to work with arbitrary binary formats(*), such as binary wasm32. One can make a case for querying clang -print-search-dirs and checking for availability of llvm-ar on the programs path. Actually, one can make the case for using llvm-ar in all clang cases, which should ensure that cross-compilations work smoothly...
(*) Well, ar can archive arbitrary files, but it can be ar's responsibility to maintain common name lookup table, which is binary-executable-format-specific.

AFAIK the wasm32-unknown-unknown Rust target has no equivalent with a C toolchain right now. It's akin to a "kernel" target on native platorms where there is nothing to import from the environment so the C headers are theoretically possible but must bring everything, including the allocator. This doesn't really work out well because there's no established libc, so I'm hesitant to support this because while it may work for your specific use case I feel that C support for wasm32-unknown-unknown is never going to work out "in the large"

It's akin to a "kernel" target on native platorms

Right, hence the suggestion to forcing -ffreestanding.

authors: alexcrichton dot-asm


text:
Can you publish new version on crates.io?

I want use rustls with cookie, but it depends on ring 0.13.0-alpha

No, sorry. ring v0.13.0-alpha is not semver compatible with any other alpha version, and due to ring's linking issues (see https://github.com/briansmith/ring/issues/535, https://github.com/briansmith/ring/pull/619), this would mean we'd need to release a new major version for every alpha release. As such, we'll wait until either https://github.com/briansmith/ring/pull/619 is merged and/or ring v0.13 is released.

ring v0.13.2 seems to be out. Is there any chance a new cookie version will be released soon? ring v0.12.0 does not build on Windows...

A new release has been published.

authors: SergioBenitez jeizsm r-arias

repo: alexcrichton/cookie-rs


text:
Possible performance regression between versions 0.2.20 and 1.0.7

While working on a program that handles compressed tarballs, I noticed a pretty steep performance regression after switching to version 1.0.7 of flate2.
Here's a small program that demonstrates the issue:
use std::env;
use std::fs::File;
use std::time::Instant;

use failure::Error;
use flate2::read::GzDecoder;
use tar::Archive;

fn main() -> Result<(), Error> {
    let args: Vec<String> = env::args().collect();
    let tar_gz_path = &args[1];
    let tar_gz = File::open(&tar_gz_path)?;
    let tar = GzDecoder::new(tar_gz)?;  // Note: remove the ? operator with 1.0.7.
    let mut archive = Archive::new(tar);
    let entries = archive.entries()?;

    let now = Instant::now();

    entries
        .filter_map(|entry| { entry.ok() })
        .for_each(|entry| {
            entry.path().unwrap();
        });

    println!("Took {} seconds.", now.elapsed().as_secs());

    Ok(())
}

The archive I used for testing is 86M with about 800 files (available at https://drive.google.com/open?id=1mQ1rUd2rPcXI0nqYLTgtuOxNVp1FZbOQ). The timing results are:

0.2.20: 3 seconds
1.0.7: 30 seconds

/cc @alexcrichton, @cramertj

Thanks for the report! Can you perhaps provide some more information how to reproduce? Locally on my machine the results I see is that on master it the program takes ~800ms whereas previously on 0.2.20 (the tagged commit) it takes 1.9s. I'm running on x86_64 Linux and this is with the miniz backend. Are you perhaps on a different platform and/or running with a different backend?

I'll have the same performance improvement please :)
I'm on the same platform. As for the backend, I'm not explicitly requesting zlib or the Rust one via Cargo.toml so I guess I'm on miniz as well? Is there any way to verify I am?

Hm ok, so these are the test files I was using and the timings I get are:
$ cargo run --release ../flate2-rs/rust_flate2_perf_regression.gz
    Finished release [optimized] target(s) in 0.02s
     Running `target/release/wut ../flate2-rs/rust_flate2_perf_regression.gz`
flate2 0.2.20 took 1.357231056s.
flate2 1.0.7 took 784.678576ms.
$ cargo run --features zlib --release ../flate2-rs/rust_flate2_perf_regression.gz
    Finished release [optimized] target(s) in 0.02s
     Running `target/release/wut ../flate2-rs/rust_flate2_perf_regression.gz`
flate2 0.2.20 took 928.456151ms.
flate2 1.0.7 took 759.291956ms.
$ md5sum ../flate2-rs/rust_flate2_perf_regression.gz
707240e615f663dc4ef8c1c9f5f62b46  ../flate2-rs/rust_flate2_perf_regression.gz

If you don't explicitly activate any features (and you're the only crate depending on flate2 so there's nothing else in play) then the miniz backend should be used by default. You should be able to test out that program locally though to see what's going on.

I'm getting similar results when building the test program with cargo:
flate2 0.2.20 took 1.819789554s.
flate2 1.0.7 took 1.029916683s.

I previously built it using Fuchsia's build system. This suggests an issue with how we produce our Rust binaries there, not with the crate itself.
Thanks for your help!

authors: alexcrichton pylaligand


text:
Readme contribution guidelines: reference to Serde

Currently the contribution guidelines at the bottom of README.md mention Serde, but I think they should instead refer to this crate.

Thanks!

authors: alexcrichton jelford

repo: alexcrichton/futures-await


text:
Implement Value::lookup for empty path to return self

Currently there is no way to lookup self. Because of "".split('.').next() == Some(""), the current functionality attempts to find children with key "".
This implements Value::lookup with empty string to return self.

Thanks!

authors: alexcrichton kerhong

repo: alexcrichton/toml-rs


text:
Make compatible with 'React v15.5.0'

[x] Fixes dependencies for velocity-react & radium
[x] Uses prop-types package instead of React.PropTypes (closes #63)
[x] Uses ES6 classes instead of React.createClass in tests (closes #64)
[x] Uses react-dom/test-utils package instead of react-addons-test-utils in tests (closes #65)
[x] Some code clean-up
[x] Deletes deprecated tests (reactid isn't used anymore since React v15.0)

Coverage decreased (-0.3%) to 99.184% when pulling a1e257f0a763827e4a4bc801220d030cadadf66a on MichaelDeBoey:react-15.5 into 3046fc01edefb1b0806fa66d71ae5a761fdcf2b5 on alexcurtis:master.

Coverage decreased (-0.3%) to 99.184% when pulling b3a284ddd67e41436bf2168f4ab7f6ce7e8a2bf4 on MichaelDeBoey:react-15.5 into 3046fc01edefb1b0806fa66d71ae5a761fdcf2b5 on alexcurtis:master.

@alexcurtis The coverage decreased with 0.3%, but I haven't changed added anything new, so I think we could pass this one...?

Coverage decreased (-0.3%) to 99.184% when pulling a0aedac253e4d8c54f3ada79cb80d9c36320df55 on MichaelDeBoey:react-15.5 into 3046fc01edefb1b0806fa66d71ae5a761fdcf2b5 on alexcurtis:master.

Coverage decreased (-0.3%) to 99.184% when pulling 7dacf541abf087d3c15047e3e603cab4080c9b94 on MichaelDeBoey:react-15.5 into 3046fc01edefb1b0806fa66d71ae5a761fdcf2b5 on alexcurtis:master.

Coverage decreased (-0.3%) to 99.184% when pulling 14b593cb0b09bcb23395ceba9064169f48072088 on MichaelDeBoey:react-15.5 into 3046fc01edefb1b0806fa66d71ae5a761fdcf2b5 on alexcurtis:master.

I would love to see this PR merged :)

@alexcurtis I think we're all waiting for this one... 🙂

@MichaelDeBoey Would you be up for helping me out as a project maintainer?
Your work looks great and I'm swamped and could really do with a hand.

@alexcurtis Yeah sure I'd like to help you out. Don't know if I have the time to be a real maintainer, but I can defo help you out if you want. 🙂

+1 to merge this :)

@alexcurtis I think the best is to merge this one for now, so everybody can take advantage of the React v15.5 compatibility. 🙂
You can PM me for settling the maintainer thing 😉

Any update on the merge @alexcurtis

@alexcurtis Any news on this one? 🙂

@alexcurtis @MichaelDeBoey
Hey, Is there a plan to merge the fix in the nearest future ?
We are considering to use react-treebeard in the Storybook. Here

@igor-dv I can merge it as soon as @alexcurtis will give me the correct permissions to do so 🙂

If @alexcurtis gives me permission to publish this one to npm I'll update the package.json and release it 🙂

Hey, @MichaelDeBoey , did you manage to run the example after the changes ?
After the transpilation of the src/index.js to lib/index.js it looks like this:
//....

exports.default = {
    Treebeard: _treebeard2.default,
    decorators: _decorators2.default,
    animations: _animations2.default,
    theme: _default2.default
};

in example there is an import :
import {Treebeard, decorators} from '../src/index';

which doesn't work anymore.. because of the default export (it returns object)
when changing the src/index.js to the named export:
//....

export {
    Treebeard,
    decorators,
    animations,
    theme
};

It starts working again.

@igor-dv I try to look at this one today 🙂

Hello, when are you going to update the lib with this commit on npm ? :)

Since this repo is a bit abandoned by its owner, I've forked it to here. So you can meanwhile use it with the latest changes.. The package in npm is called storybook-react-treebeard.

@emmagoldblum I'd love to update the lib on npm too, but I can only do so when @alexcurtis gives me the right permissions
Till that time I can only update the repo here on Github 😕

@MichaelDeBoey please send me your npm username and ill add you as an owner

@alexcurtis Where should I send it to?

@MichaelDeBoey I've sent you an email to your public email address (info@michaeldeboey.be)

Any news on this? @alexcurtis @MichaelDeBoey

@ibiBgOR I think I'll have some good new tonight 😉

v2.0.0is released as of now! 🙂

authors: MichaelDeBoey alexcurtis azizali coveralls emmagoldblum ibiBgOR igor-dv kazazor travisdahl

repo: alexcurtis/react-treebeard


text:
Should packs have an 'init' command?

Thanks for your work on this, amazing speed difference checking a large project!
Just was creating a new rails app as a reproduction for a separate issue I am having with packs. I thought I could just use packs without packwerk installed, but I dont see an init command to setup configuration for me (eg root pack yml). It would be nice to be able to init the root pack and packwerk.yml directly using packs cause I guess then you wouldn't need packwerk at all?

In relation to the issue I was creating a repro for, I guess it is unsupported behaviour. We are using automatic_namespaces but packs readme says zeitwerk default namespaces are not support, so Im guessing thats the issue Im having.

Hey @stevegeek thank you for opening this issue!
Actually @mclark just added support for automatic namespaces for GitHub.
If you're feeling brave, want to try it out and update the docs to remove the not supported bit and add directions for use?
Similarly regarding the init question -- you're right this functionality doesn't exist. Would be happy to accept a contribution for this functionality! Alternatively, setting up packwerk is really just a matter of adding a packwerk.yml, the format of which you can find in the packwerk repo (or here within the test suite).
Let me know if you have any issues setting up packwerk or pks in the meantime while we don't have support for this. Would be happy to help. We could also just have written directions in the interim period.

@alexevanczuk thanks for the detailed reply! I will def see if the latest changes help with the issue I was having. And could try my hand at implanting the init command if I find some time

Happy to say I think the latest version fixes the issue for me!
stephen$ time bin/packwerk check packs/api_filter_query/
📦 Packwerk is inspecting 43 files
...........................................
📦 Finished in 7.09 seconds

No offenses detected
No stale violations detected

real    0m10.250s
user    0m6.969s
sys     0m22.673s

to
stephen$ time pks check packs/api_filter_query/
No violations detected!

real    0m0.200s
user    0m0.088s
sys     0m1.252s

Actually sorry, I was checking the wrong pack! I still see some unexpected violations. packs is picking up a definition of a class from another pack rather than a class with the same name defined in the lexical scope. I will see if I can produce repro

Hey @stevegeek correct -- we will need to add support for automatic namespaces. Check out some of the PRs that @mclark recently merged -- I think with his work we should pretty easily be able to also parse for the metadata required by automatic namespaces and set that as the default namespace.
How do ya feel about trying to throw together a PR? If not, I can look into adding this!

Closed by #214

authors: alexevanczuk stevegeek

repo: alexevanczuk/packs


text:
vader.vim missing from release build

Hi
The directory spec/integration/runtime/vader.vim/ is empty in release tarballs. It looks like it's a git submodule, but is not fully included in the release. This makes it impossible to run the tests without cloning from git!
Would it be possible to include the submodule in release tarballs?
Thanks !

I don't know much about releases, but I looked into it a little bit and it doesn't look like there's a way to include submodules in Github releases. I don't personally see this as a problem; if you need to run the tests you should be using a cloned repo, as the README suggests. I think the tarballs should be used for installation only.
Is there a use case here I'm missing?

Hi.
I'll describe my use case: I am currently working on upgrading the Debian/Ubuntu package for neovim-ruby to the latest release. We have scripts that update ruby packages' source code using rubygems. (Not using git repos)
During package building (.deb), tests are ran. Now since vader.vim isn't included in the release, the tests that require it obviously fail, and package creation aborts.
I can work around it by either packaging vader.vim for Debian or disabling the tests that require it.
Hope that makes it a little bit more clear !
Thanks !

I just converted vader.vim from a submodule to a subtree. I'll try to release 0.5.1 tomorrow sometime, and it should include the vader.vim files.

I just released 0.5.1. Can you check if this works for you?

Hi.
Thanks, that fixed the testing issue I had !

Feel free to reopen if you have issues.

Quick test: it seemed to work fine on my side. I'll wait for an official release before going further. Thanks

@jpleau 0.7.1 was just released, FYI

Awesome thanks. I actually upgraded my packaging yesterday to match current git master, will update everything this week!

authors: alexgenco jpleau

repo: alexgenco/neovim-ruby


text:
Unicode strings break layout

Unicode strings break layout.
I have tried xsv table for comparison that handles it well.

Can I see some examples. I do use a library that is supposed to handle unicodes, but it must be falling short if you are experiencing this issue.

name,count
太吾绘卷,123
A line,123

        tv dim: 2 x 2
        name   count
     1  太吾绘卷   123
     2  A line 123

Makes sense. I am away on a work trip the rest of the week I will follow up next week.

If I recall correctly, you need to consider both graphemes and unicode width to be able to do this correctly, and this has some perf cost. Is this possible to help you on this somehow? Should I try a PR?

Please do submit a PR
Get Outlook for iOShttps://aka.ms/o0ukef

From: Guillaume Plique @.>
Sent: Tuesday, March 21, 2023 6:36:31 AM
To: alexhallam/tv @.>
Cc: Alex Hallam @.>; Comment @.>
Subject: Re: [alexhallam/tv] Unicode strings break layout (Issue #154)
If I recall correctly, you need to consider both graphemes and unicode width to be able to do this correctly, and this has some perf cost. Is this possible to help you on this somehow? Should I try a PR?
—
Reply to this email directly, view it on GitHubhttps://github.com/alexhallam/tv/issues/154#issuecomment-1477605888, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACG6GBLTTASWXIPYSYL6MZDW5GAC7ANCNFSM6AAAAAARECOUKU.
You are receiving this because you commented.Message ID: @.***>

May I kindly ask if there has been any progress so far?

authors: Yomguithereal alexhallam honzajde zy6p

repo: alexhallam/tv

license: Unlicense


text:
All file paths give me "error: unrecognized arguments"

When I try to add a path as an argument for input or output, I always get the error "error: unrecognized arguments".

I tried running the program from where I saved the shaders, and it still failed to recognize that "nyoooom.glsl" was the shader file's name.

@JapanYoshi use my form that updated to python3 https://github.com/danilw/shadertoy-to-video-with-FBO

authors: JapanYoshi danilw

repo: alexjc/shadertoy-render


text:
Send Less Data From Server to Client

Trim it down. Too much to store in local storage.

Large CSV File
Before: ~ 10.9 MB
After: ~ 0.5MB

repo: alexlee-dev/colorange


text:
Add easy-use scripts for logs utility

logs utility doesn't have its easy-use scripts yet

Closing for now, moved to #57

repo: alexlemaire/git-assist


text:
Template generation hangs after first request

Templated-docs version: templated-docs==0.2.10
Python version: 2.7.9
Operating System: Debian 8.0
Django version: 1.9.10
LibreOffice version: 4.3.3.2 430m0(Build:2)

Description
I'm trying to use a base case example filling a receipt with data from my database in a Django App.
Everything seems to be working as expected, no errors in the Django development server nor requests, but I only get the file the first time that I make the GET request to the method that I'm using to generate de DOCX file with my data. Then if I call this method for second time and so on, the GET remains waiting for a response from server that nevers is produced.
It's sounds to me like if the first request is not ending correctly de libreoffice proccess being used to generate the template output, but I'm just guessing.
DEBUG SERVER SAMPLE OUTPUT:
Django version 1.9.10, using settings 'extrematic.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
create libreoffice object
Uno initialized 1
initialized
[29/Sep/2016 14:13:36] "GET /expediente/398/solicitud_pago/ HTTP/1.1" 200 62645
create libreoffice object

METHOD THAT I'M USING TO PASS DATA TO TEMPLATE:
@csrf_exempt
@staff_member_required
@require_http_methods(["GET",])
def solicitud_pago(request, expediente):
  expediente = Expediente.objects.get(pk=expediente)
  servicios = Servicio.objects.filter(expediente=expediente)
  context = {'user': request.user, 'expediente': expediente, 'servicios': servicios, 'fecha': datetime.date.today() }
  filename = fill_template('solicitud_pago.odt', context, output_format='docx')
  visible_filename = 'solicitud_pago.docx'
  return FileResponse(filename, visible_filename)

Thanks in advance for your help and for all the effort building this app.
Regards,
Javier Civantos

Hi Javier, thanks for the thorough report! I believe that is the same bug @dukeimg once spotted in #3. I've just pushed the 0.3.0 version to PyPi, please check if it solves your problem.

I've setting up an VM with the same settings and the problem was still there. Then I updated to V 0.3.0 from PyPi and now It seems to be working properly :+1:
Thank You so much for taking the time to solve this so quickly.
Regards,
Javier Civantos

Javier, I'm glad to hear that everything works now. Closing this.

authors: alexmorozov civantos

repo: alexmorozov/templated-docs


text:
Split up address on reverse_geocode

For my project, my main model has fields for different aspects of an address (:address, :city, :state, :country, and :zip_code). However when the reverse geocoding happens after validation it saves the whole address string to the address field.
Is there a way to break it up in the after_validation block or do I need to do it somewhere else?

You could do it any time after (reverse) geocoding occurs. If your after_validation hook calls geocode manually, then you can do it in there. Otherwise, if it's in a separate method you'll just have to ensure that it runs after geocoding has completed.

authors: RBIII alexreisner

repo: alexreisner/geocoder


text:
Autocomplete / suggestions list

Does this library support an autocomplete feature? For example with Google Maps Places API. I can type stadium. I get a list of suggestions. Is there support for such a thing here?
I've recently come across https://github.com/alexreisner/geocoder/pull/1383
It seems, the consensus around having such a feature is beyond the scope of this library. But wondering if anything has changed since then

#1383 is still the latest discussion. I acknowledge the usefulness of the feature but I don't yet see a way to add it that doesn't add a significant amount of complexity to the gem.

Understood, guess would have to roll out a custom implementation. Will close this ticket for now

authors: alexreisner krzkrzkrz


text:
Fixing squid: S1213 The members of an interface declaration or class should appear in a pre-defined order" Part 4

This pull request is focused on resolving occurrences of Sonar rule
squid:S1213 - “The members of an interface declaration or class should appear in a pre-defined order".
This PR will remove 150 min TD.
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S106
Please let me know if you have any questions.
Fevzi Ozgul

Coverage remained the same at 39.925% when pulling 47c826531f527da7b0c85b06a41d71d85ba0de28 on DevFactory:release/The_members_of_an_interface_declaration_or_class_should_appear_in_a_pre-defined_order_part_4 into 38449cef286c4c772ec13081ae1100542cca3527 on alexvoronov:master.

authors: coveralls devFozgul

repo: alexvoronov/geonetworking


text:
Reduce cognitive complexity of AstraUtils#isStaticallyImportedMethod

See https://sonarcloud.io/project/issues?resolved=false&types=CODE_SMELL&id=alfasoftware_astra&open=AXhfYNiw01lXSQw-3UdK

Hello @RadikalJin ,
I want to try on this function :) Can I be assigned?
Thank you 👌

Thanks very much for submitting this PR, @cmuagab - it looks like breaking the function up into smaller functions is the way to go.
Unfortunately it looks like there has been a functional change - see the tests in TestMethodInvocationRefactor and TestImportsRefactor, in this build: https://github.com/alfasoftware/astra/runs/6294952071?check_suite_focus=true.

Merci beaucoup d'avoir soumis ce PR,@cmuagab- il semble que diviser la fonction en fonctions plus petites est la voie à suivre. Malheureusement, il semble qu'il y ait eu un changement fonctionnel - voir les tests dans TestMethodInvocationRefactoret TestImportsRefactor, dans cette version : https://github.com/alfasoftware/astra/runs/6294952071?check_suite_focus=true .

Thank you for your responsiveness ! 😍
I made the changes, the tests are ok.
My cognitive complexity is 13 according to me.

Thanks very much for submitting this PR, @cmuagab - it looks like breaking the function up into smaller functions is the way to go. Unfortunately it looks like there has been a functional change - see the tests in TestMethodInvocationRefactor and TestImportsRefactor, in this build: https://github.com/alfasoftware/astra/runs/6294952071?check_suite_focus=true.

Thank you for your responsiveness ! 😍
I made the changes, the tests are ok.
My cognitive complexity is 13 according to me.

Great stuff! I've made a couple of tweaks - mostly formatting but also noticed that, although not caught by any unit test - there was a potential issue with returning false too early here: https://github.com/alfasoftware/astra/pull/92/commits/f6b77be1c6977bd7f1b26298b6d7dc3222bd2a1a#diff-d04ef1893e85db481c55f07e071e0e14bc32303f660d1612c23cff78a2c05767R652
I've tweaked it so that if the boolean is false, we continue checking the rest of the imports.
This is a really nice change, thank you for your contribution to Astra, @cmuagab! Merging now.

authors: RadikalJin cmuagab

repo: alfasoftware/astra


text:
Disable options in TSelect

Hey buddy,
I'm using your amazing creation and, let me tell you, You did some really cool stuff.
Anyway, I bumped into some issue, I'm using the TSelect component (actually the the TRich one but with no axios) and there is no way I can disable some option.
There's no way to do it, or I'm just too blind too see it?
That'll be really nice to have, cause sometime you wanna show options that user can't select for he has no permission to, but you wanna show 'em anyway.
Thanks.

@NikODipS That was an important feature and was added in v1.3.3, you just to add a disabled: true attribute to your list of options (only works for array format https://www.vue-tailwind.com/docs/select#array-of-objects).
Also, this version adds a new disabledOption class for the rich select component that now also accepts disabled options,
The docs should be updated at any moment mentioning that

Oh thank you so much,
I just realized I'm using the 1.3.0.
Thanks

authors: NikODipS alfonsobries

repo: alfonsobries/vue-tailwind


text:
baresip IOT linphone 401Wrong MESSAGE-INTEGRITY attribute in same NAT

hi any comment how to IOT baresip vs linphone with ICE/STUN
baresip v0.4.13 Copyright (C) 2010 - 2015 Alfred E. Heggestad et al.
Local network address: IPv4=en0:192.168.0.188
aucodec: PCMU/8000/1
aucodec: PCMA/8000/1
aufilt: vumeter
auplay: coreaudio
ausrc: coreaudio
vidcodec: H264
vidcodec: H263
vidcodec: MP4V-ES
vidsrc: avformat
vidisp: opengl
medianat: stun
medianat: turn
medianat: ice
using stunserver: 'stun:stun03.vccloud.quantatw.com'
qic6@quantatw.com: Using sipnat: `outbound'
qic6@quantatw.com: Using medianat `ice'
Populated 1 account
Populated 4 contacts
Populated 2 audio codecs
Populated 1 audio filter
Populated 3 video codecs
Populated 0 video filters
baresip is ready.
qic6@quantatw.com: {1/UDP/v4} 200 OK (kamailio (3.2.3 (x86_64/linux))) [1 binding]
All 1 useragent registered successfully! (113 ms)

call: connecting to 'sip:tl-qqq@quantatw.com'..
ice: audio: Default local candidates: 114.25.62.62:35072 / 114.25.62.62:35073
ice: video: Default local candidates: 114.25.62.62:9822 / 114.25.62.62:9823
call: SIP Progress: 100 trying -- your call is important to us (/)
call: SIP Progress: 180 Ringing (/)
main: long async blocking: 186>100 ms (h=0x10b37cb20 arg=0x7f8c6ad01470)
call: SIP Progress: 180 Ringing (/)
main: long async blocking: 177>100 ms (h=0x10b37cb20 arg=0x7f8c6ad01470)
{      audio.1} Set default remote candidate: srflx:114.25.62.62:7076
{      audio.2} Set default remote candidate: srflx:114.25.62.62:7077
{      video.1} Set default remote candidate: srflx:114.25.62.62:9078
{      video.2} Set default remote candidate: srflx:114.25.62.62:9079
chklist: audio: pruned candidate pairs: 4
{      audio.1}  host <--->  host  FSM:      Frozen ===> Waiting
{      audio.1}  host <---> srflx  FSM:      Frozen ===> Waiting
{      audio. } starting connectivity checks with 4 candidate pairs
chklist: video: pruned candidate pairs: 4
{      video. } starting connectivity checks with 4 candidate pairs
audio: Set audio decoder: PCMU 8000Hz 1ch
audio: Set audio encoder: PCMU 8000Hz 1ch
audio tx pipeline:   coreaudio ---> vumeter ---> PCMU
audio rx pipeline:   coreaudio <--- vumeter <--- PCMU
Set video encoder: H264 packetization-mode=0 (500000 bit/s, 25 fps)
qic6@quantatw.com: Call established: sip:tl-qqq@quantatw.com
Set video decoder: H264 packetization-mode=0
video: no video source 'avformat': No such file or directory
video: could not set encoder format to [720 x 400] No such file or directory
video tx pipeline:        src ---> H264
video rx pipeline:     opengl <--- H264
main: long async blocking: 333>100 ms (h=0x10b37cb20 arg=0x7f8c6ad01470)
{      audio.1}  host <--->  host  FSM:     Waiting ===> InProgress
{      audio.1} Tx en0:host:192.168.0.188:35072 ---> host:192.168.0.102:7076 (InProgress)
{      video.1}  host <--->  host  FSM:      Frozen ===> InProgress
{      video.1} Tx en0:host:192.168.0.188:9822 ---> host:192.168.0.102:9078 (InProgress)
{      audio.1} Rx en0:host:192.168.0.188:35072 <--- host:192.168.0.102:7076 '401 Wrong MESSAGE-INTEGRITY attribute'
connchk: {audio.1} STUN Response: 401 Wrong MESSAGE-INTEGRITY attribute
{      audio.1}  host <--->  host  FSM:  InProgress ===> Failed
{      audio.1}  host <---> srflx  FSM:     Waiting ===> InProgress
{      audio.1} Tx en0:host:192.168.0.188:35072 ---> srflx:114.25.62.62:7076 (InProgress)
{      video.1} Rx en0:host:192.168.0.188:9822 <--- host:192.168.0.102:9078 '401 Wrong MESSAGE-INTEGRITY attribute'
connchk: {video.1} STUN Response: 401 Wrong MESSAGE-INTEGRITY attribute
{      video.1}  host <--->  host  FSM:  InProgress ===> Failed
{      video.2}  host <--->  host  FSM:      Frozen ===> InProgress
{      video.2} Tx en0:host:192.168.0.188:9823 ---> host:192.168.0.102:9079 (InProgress)
{      video.2} Rx en0:host:192.168.0.188:9823 <--- host:192.168.0.102:9079 '401 Wrong MESSAGE-INTEGRITY attribute'
connchk: {video.2} STUN Response: 401 Wrong MESSAGE-INTEGRITY attribute
{      video.2}  host <--->  host  FSM:  InProgress ===> Failed
{      video.1}  host <---> srflx  FSM:      Frozen ===> InProgress
{      video.1} Tx en0:host:192.168.0.188:9822 ---> srflx:114.25.62.62:9078 (InProgress)
sip:tl-qqq@quantatw.com: session closed: Connection reset by peer            ]
sip:qic6@quantatw.com: Call with sip:tl-qqq@quantatw.com terminated (duration: 7 secs)
main: long async blocking: 133>100 ms (h=0x10b37cb20 arg=0x7f8c6ad01470)
terminated by signal 2
Stopping 1 useragent..

it's fixed by Android linphone after openssl instead with polarssl version

okay, that is great news.
Please note that libre's STUN stack has been used in production environment for many years
and has 100% compliancy with IETF specifications and most large vendors.
it also has regression testcases in retest that can be used to verify the code:
http://www.creytiv.com/pub/retest-0.4.2.tar.gz
if someone was wrong it might be due to build-errors, but the retest will reveal that quickly.

authors: alfredh lecheel

repo: alfredh/baresip


text:
TypeScript Guide

I'm currently trying to migrate from using @types/algoliasearch to using algoliasearch@4.1.0 (from 3.35.1).
I was using a generic class to handle all interactions with algolia in my project and to do that I needed to access the QueryParameters interface. Here is an example
import algoliasearch, { SearchIndex } from 'algoliasearch';

export class AlgoliaSearch {
  private index: SearchIndex;

  constructor(index: SearchIndex) {
    this.index = index;
  }

  // Cannot access RequestOptions or SearchOptions
  search<T>(params: RequestOptions & SearchOptions) {
    return this.index.search<T>(params);
  }
}

Only after looking through your type definitions did I realize that I had to install 2 different packages: @algolia/cient-search and @algolia/transporter for the right types.
Is there any way you guys can put up a TypeScript guide?
Thanks!

I would also be happy to spend some time to help contribute to the guide as well, there are just a lot of gotchas when using algoliaSearch >= 4.0 with TypeScript that I have been running into

Exporting all types from the algoliasearch would fix your problem? https://github.com/algolia/algoliasearch-client-javascript/issues/1080

RequestOptions is only available as part of the @algolia/transporter package as well as SearchOptions is only available from @algolia/client-search. When I tried to export those types from algoliasearch they aren't directly exported so they can't be found

@shadow1349 Got! So indeed, if we re-export all the types from algoliasearch, that would fix your problem. So let's consider this issue, a duplicated of #1080.
Maybe you can help us there?

repo: algolia/algoliasearch-client-javascript


text:
chore: prepare release 2024-06-26

Summary
This PR has been created using the apic release script. Once merged, the clients will try to release their new version if their version has changed.
Version Changes

csharp: 7.0.0-beta.5 -> prerelease (e.g. 7.0.0-beta.6)
dart: 1.14.0 -> minor (e.g. 1.15.0)
go: 4.0.0-beta.19 -> prerelease (e.g. 4.0.0-beta.20)
java: 4.0.0-beta.36 -> prerelease (e.g. 4.0.0-beta.37)
javascript: 5.0.0-beta.6 -> prerelease (e.g. 5.0.0-beta.7)
kotlin: 3.0.0-beta.31 -> prerelease (e.g. 3.0.0-beta.32)
php: 4.0.0-beta.5 -> prerelease (e.g. 4.0.0-beta.6)
python: 4.0.0b20 -> minor (e.g. 4.0.0b21)
ruby: 3.0.0.beta.5 -> minor (e.g. 3.0.0.beta.6)
scala: 2.0.0-beta.5 -> prerelease (e.g. 2.0.0-beta.6)
swift: 9.0.0-beta.6 -> prerelease (e.g. 9.0.0-beta.7)

Skipped Commits
It doesn't mean these commits are being excluded from the release. It means they're not taken into account when the release process figured out the next version number, and updated the changelog.

Commits without language scope:

chore: update issue template (#3259)
docs: add saveObjects, deleteObjects and partialUpdateObjects to helpers (#3256)

Commits with unknown language scope:

fix(scripts): run all clients on main (#3260)
chore(docs): add doc for the test server (#3249)
chore(docs): add ref to waitForAppTask helper (#3251)

OK all green this time!!

repo: algolia/api-clients-automation


text:
fix(javascript): expose sub algoliasearch client's type

🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-590
Changes included:
Sub algoliasearch client's type are not exposed, which can be useful in complex implementations like in the Crawler. It also help to differentiate which client does what.
🧪 Test
CI :D

I think we did it before it was published as multiple packages but it's no longer useful imo, e.g: you can import SearchClient with @algolia/client-search instead of { SearchClient } from 'algoliasearch' wdyt?

Wouldn't typescript complain until you've added @algolia/client-search as a dependency if so? IIRC it was something people were complaining about

There was a bump on the open-issue for v4: https://github.com/algolia/algoliasearch-client-javascript/issues/1080#issuecomment-1154125872

yeah okay for this issue I get it 👌🏻

authors: bodinsamuel shortcuts


text:
Best way to output multiple executables for the same chapter and language

Current Behaviour
Currently SCons assumes that each language's implementation of each chapter has only a single file that needs building. Having multiple files that are compiled together into a single executable is a special case that justifies a SConstruct file to handle it specifically, but often there are two or more files that are compiled into separate executables, such as in Stacks and Queues. An minimal example of the current structure generated is
arcane-algorithm-archive/
|──build/
|   |──c/
|   |   +  barnsley.exe
|   |   +  euclidean_algorithm.exe
|   |
|   |──python/
|   |   +  barnsley.py
|   |   +  euclidean_algorithm.py

If a language has multiple implementations for a chapter, or implements parts of the chapter in separate files then the executable generated from one file will overwrite the other (SCons will actually detect this, throw an error and not build either which is arguably worse).
Desired behaviour
We want all the files to be compiled into separate executables. In order to do this they need either different names or to be put into different folders. Multiple ways to do this have been suggested, described below along with pros and cons for them.
Option 1: Duplicate the structure of arcane-algorithm-archive/contents
This would be putting the executables into folders depending on their chapter, in folders based on language. The executables would be named the same as the source file (with the extension changed as necessary). The structure of this is below
arcane-algorithm-archive/
|──build/
|   |──barnsley/
|   |   |──python/
|   |   |   +  barnsley.py
|   |   |──c/
|   |   |   +  barnsley_1.exe
|   |   |   +  barnsley_2.exe
|   |
|   |──euclidean_algorithm/
|   |   |──python/
|   |   |   +  euclidean_algorithm.py
|   |   |──c/
|   |   |   +  euclidean_algorithm.exe

Pros:

Easy to navigate
Will not run have naming issues in future unless the structure of arcane-algorithm-archive/contents is changed
Building specific chapters is easy with SCons

Cons:

Deeply nested
Redundant folder dulplication of the language folders
Building specific languages is difficult with SCons (unless this is implemented specifically)

Option 2: Same as Option 1, but with languages being the outer folders
This has most of the same pros and cons as Option 1, however building specific languages is easy and specific chapters hard
Option 3: Suffix files with _source_file_name
This would have the same structure as currently, however the executable names would be chapter_filename. The folder structure this would generate is below
arcane-algorithm-archive/
|──build/
|   |──c/
|   |   +  barnsley_barnsley_1.exe
|   |   +  barnsley_barnsley_2.exe
|   |   +  euclidean_algorithm_euclidean.exe
|   |
|   |──python/
|   |   +  barnsley_barnsley.py
|   |   +  euclidean_algorithm_euclidean.py

Pros:

Folders are no more deeply nested than currently
Building specific langauges is easy

Cons:

Many redundant file names e.g. barnsley_barnsley.py
'Feels' like a rehash of Option 2, with prefixes instead of folders

Option 4: Only suffix with file name when multiple files are present
Example structure:
arcane-algorithm-archive/
|──build/
|   |──c/
|   |   +  barnsley_barnsley_1.exe
|   |   +  barnsley_barnsley_2.exe
|   |   +  euclidean_algorithm.exe
|   |
|   |──python/
|   |   +  barnsley.py
|   |   +  euclidean_algorithm.py

Pros:

Folders are no more deeply nested than currently
Building specific langauges is easy
No redundant file names

Cons:

Still 'feels' like a rehash of Option 2

Option 5: Use subfolder when multiple files are present
This is a mix of Option 4 and Option 2. The executables are named after the chapter name when there is only 1 file, and named after the source file name when multiple are present
arcane-algorithm-archive/
|──build/
|   |──c/
|   |   |──barnsley/
|   |   |   +  barnsley_1.exe
|   |   |   +  barnsley_2.exe
|   |   +  euclidean_algorithm.exe
|   |
|   |──python/
|   |   +  barnsley.py
|   |   +  euclidean_algorithm.py

Pros:

Building specific langauges is easy
No redundant file names
Uses folders instead of prefixes

Cons:

Sometimes more deeply nested than currently, albeit rarely
(Slightly) harder to traverse programatically

Conclusion
All of these are technically possible, with the exception of being able to build by language in Option 1 and the equivilents in the other options. This isn't a problem with SCons, a decision will be needed regardless of if its built with SCons, make, or our own script.

If anyone has another suggestion I'm happy to add it to the post.
My personal prefernce is Option 5. None of these solutions are perfect, but it feels like it's the best of them

Okay, I think I need to explain my thought process during the creation of the SCons hierarchy (or atleast what I remember of it).
I originally worked to provide Option 2, but elected against it because of the deep hierarchy concern.
Because of this, I chose to do the current behaviour.
IMO Option 2 is the better of the 5 options that you provide.
The reason why is that we could provide VariantDirs where all the build artifacts stay iside the variant dir.
Although, it is slightly annoying to do, I think we could provide Alias targets to compile all the chapter's code into their relevant folders.
Option 5 is way more annoying to deal with from both the compilation and exploration points of view.
I think it might confuse users, but that could be just me.
However it is the best one after Option 2 from the compilation point of view.
Overall, I don't know what hierarchy to choose from between Option 2 and Option 5.

@leios and @stormofice, your opinions are probably the most important in this matter.
What do you think about this issue?
Others can obviously weigh in, and don't hesitate to do so :smiley:

As I need to adjust the file traversal and execution of language implementations in the verifier anyway (to make use of SCons), it doesn't matter too much which option gets picked (at least regarding the effort to implement it).
I personally lean towards Options 2 and 5, but slightly prefer Option 2, as it resembles the original file hierarchy more closely.
In my opinion the filenames generated by Option 3 and 4 are a bit too complex and Option 1 is a little messy regarding the deep hierarchies it would create (as discussed above).

I also agree with everyone else. I think option 2 is good. I am a bit concerned about chapters with sub-chapters (like convolutions, for example), but I think option 2 will cover that as well.
Thanks a bunch for looking at this!

Sounds like there's agreement on Option 2. I'll get to work on a PR to make SCons work.

Perfect, looking forward to seeing it in PR form! :)

authors: Amaras PeanutbutterWarrior leios stormofice

repo: algorithm-archivists/algorithm-archive


text:
Noto 2.1.3

Hello
After the update, I can no longer open your app.
The icon in Android is gone and after installation, the open menu is grayed out
On the Android window of your app.
All my notes are blocked without being able to see them. I hope an update will come soon. If I uninstall, I lose everything.
Xiaomi Redmi 8
Android Version 10 Android 10
MIUI
V12.5.2.0.QCNEUXM
Architecture
64-bit
Instruction sets
arm64-v8a armeabi-v7a armeabi Qualcomm®
Snapdragon™ 439
CPU
4 x Cortex-A53
Cores 8
RAM size 4 GB

In an application manager, when I go to Noto and ask to open your application.
There is an error message from Android, with written this app is not allowed to run.

Hi, I'm sorry you're having this issue. Don't worry. I'll try to make sure the app works for you.
Please provide me with the information below:
Are you using the APK version from GitHub?
Did you choose a different icon for the app in the previous versions?
What Android version are you using?

Also are you by any chance using a custom launcher?

Thank you for your reply
Yes I use github apks. For previous versions too
I didn't change the icon. This is the default icon
Android 10
I use Xiaomi's default launcher
Thanks again

Okay, could you try installing the APK again without reinstalling the app, and open it directly when it shows you the menu that says "App is installed"?

Same problem f-droid version

Did the icon disappear without even launching the app?

Could you please try with this APK?

I can't.  As I told you, when the installation is complete.  The menu called "open" is grayed out or disabled.

What about the APK I sent, does it have the same issue?

Yes, Same problem

Please try again with this APK.

One more thing, do you have Play Store installed? If you do, try to launch the app from there.

Yes, the Play Store is installed.  But the "open" button is gone.  So I can't open your app, from PlayStore.  There is only the button to uninstall.

Yes with this APK I can now open.  But before it opens, there is a black screen for 1 or 2 seconds.
In the PlayStore, I found the button to open with this APK

Many thanks

Usually I don't have a black screen, before opening your app.  I opened it several times and each time now there is a black screen (the display lasts 1 or 2 seconds, and after your application opens).  I wanted to report.  Excuse me for not having answered quickly, I try to answer you but I am currently at work.
I didn't have time to look if there were any other problems. I only opened.

@Archeix7 Are you still facing this issue with the APK I have attached in my previous comment?

@franco27 Did you use the app before version 2.1.0? The reason I'm asking that is because I have changed the implementation of some part of the app in version 2.1.0, and now with the latest version (2.1.3) I reverted the changes back to the way it was, due to a bug happening in version 2.1.0. So, the black screen was always there in versions before 2.1.0.
Feel free to take your time in responding! And I'm happy that the app is working for you now!

Could you please try to install this version, and let me know if it still works?

I confirm this APK is still working.
I've been using your app since version 1.x

@Archeix7 Are you still facing this issue with the APK I have attached in my previous comment?
Yea, it's work

@Archeix7 Are you still facing this issue with the APK I have attached in my previous comment?

Working now, thx

repo: alialbaali/Noto


text:
fixed apk , fixed method returned string not working fine

`public class App extends Application {
private static final String TAG = "test";

private static final String APATCH_PATH = "/out.apatch";
/**
 * patch manager
 */
private PatchManager mPatchManager;

@Override
public void onCreate() {
    super.onCreate();
    // initialize
    mPatchManager = new PatchManager(this);
    mPatchManager.init("1.0");
    Log.d(TAG, "inited.");

    // load patch
    mPatchManager.loadPatch();
    Log.d(TAG, "apatch loaded.");

    // add patch at runtime
    try {
        // .apatch file path
        String patchFileString = Environment.getExternalStorageDirectory()
                .getAbsolutePath()+"/Download" + APATCH_PATH;
        mPatchManager.addPatch(patchFileString);
        Log.d(TAG, "apatch:" + patchFileString + " added.");
    } catch (Exception e) {
        Log.e(TAG, "", e);
        Toast.makeText(getApplicationContext(),"catch : "+e.getMessage(),Toast.LENGTH_LONG).show();
    }

}

}
`
`class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    setContentView(R.layout.activity_main)
    main_txt.text = sayGoodBye()
    Toast.makeText(this,sayGoodBye(),Toast.LENGTH_SHORT).show()
}

fun sayGoodBye():String{
    return "hello"
}

}
`
after replacing sayGoodbye function return string with goodbye string and generate apatch file with below command :
bash apkpatch.sh -f app2.apk -t app1.apk -o . -k test.jks -p 123 -a test -e 123
and copy apatch to sdcard/download dirctory the output is :

milad0x6d @.***> 于 2020年3月6日周五 下午7:50写道：

`public class App extends Application {
private static final String TAG = "test";
private static final String APATCH_PATH = "/out.apatch";
/**

patch manager
*/
private PatchManager mPatchManager;

@Override
public void onCreate() {
super.onCreate();
// initialize
mPatchManager = new PatchManager(this);
mPatchManager.init("1.0");
Log.d(TAG, "inited.");
// load patch
mPatchManager.loadPatch();
Log.d(TAG, "apatch loaded.");

// add patch at runtime
try {
    // .apatch file path
    String patchFileString = Environment.getExternalStorageDirectory()
            .getAbsolutePath()+"/Download" + APATCH_PATH;
    mPatchManager.addPatch(patchFileString);
    Log.d(TAG, "apatch:" + patchFileString + " added.");
} catch (Exception e) {
    Log.e(TAG, "", e);
    Toast.makeText(getApplicationContext(),"catch : "+e.getMessage(),Toast.LENGTH_LONG).show();
}

}
}
`
`class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContentView(R.layout.activity_main)
main_txt.text = sayGoodBye()
Toast.makeText(this,sayGoodBye(),Toast.LENGTH_SHORT).show()
}
fun sayGoodBye():String{
return "hello"
}
}
`
after replacing sayGoodbye function return string with goodbye string and
generate apatch file with below command :
bash apkpatch.sh -f app2.apk -t app1.apk -o . -k test.jks -p 123 -a test
-e 123
and copy apatch to sdcard/download dirctory the output is :
[image: Screenshot_1583495083]
https://user-images.githubusercontent.com/35612406/76080933-43d96600-5fbd-11ea-898e-1deb022349b1.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alibaba/AndFix/issues/370?email_source=notifications&email_token=ABLPWEFWRQWF2SV3QKMW2WTRGDPQLA5CNFSM4LC6SK3KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ITCQWHA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLPWEFOZZ6A6W453SQKAV3RGDPQLANCNFSM4LC6SK3A
.

您好，您发的邮件我已收到！

你好，谢谢，我回去看看。
On Fri, Dec 17, 2021, 3:13 AM cugyong @.***> wrote:

您好，您发的邮件我已收到！
—
Reply to this email directly, view it on GitHub
https://github.com/alibaba/AndFix/issues/370#issuecomment-996279358, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AIPWN5X77TF6WE3P43PC3BDURJ2RNANCNFSM4LC6SK3A
.
You are receiving this because you authored the thread.Message ID:
@.***>

authors: cugyong miladev777 wangankang

repo: alibaba/AndFix