text:
[R009_validazione] chiarimenti su forcingCode

Buongiorno,
dopo il rilascio della versione 1.11.x abbiamo inserito un atto di separazione-divorzio (usecase343000) e non ci risulta chiaro come interpretare ed intervenire per soddisfare l'errore segnalato relativo al soggetto già presente:
es.
{
"testataRichiesta":{
"idComune":3655
,"idOperazioneComune":"20230150000010"
,"dataOraRichiesta":"2023-08-10T17:18:45Z"
,"nomeApplicativo":"ASCOT Stato Civile"
,"versioneApplicativo":"21.99.0000"
,"fornitoreApplicativo":"Insiel S.p.A"
}
,"evento":{
"idTipoEvento":"3"
,"idtipocontenuto":"1"
,"idUsecase":"343000"
,"descrizioneCasoUso":"Conferma o mancata conferma di accordo di separazione o divorzio"
,"stato":"CONFERMATO"
,"secretato":"0"
,"dataformazione":"2023-08-08"
,"ora":"15"
,"minuto":"56"
,"numeroatto":"20230150000010"
,"idComuneRegistrazione":3655
,"nomeComuneRegistrazione":"DUINO AURISINA-DEVIN NABRE\u017DINA"
,"idProvinciaRegistrazione":"32"
,"siglaProvinciaRegistrazione":"TS"
,"certificabile":"1"
,"composizioneCompleta":"testo accordo Il presente atto viene letto ai dichiaranti i quali, insieme con me e con l\u0027avvocato presente per assisterli, lo sottoscrivono.\r\n"
,"interprete":{
}
,"separazione":{
"tipoAccordo":"2"
,"presenzaConiuge1":true
,"presenzaAvvocatoConiuge1":true
,"avvocatoConiuge1":{
"cognome":"GGGGGGG"
,"nome":"FFFFFFFFFFFFFFFA"
}
,"foroAvvocatoConiuge1":"CREMONA"
,"presenzaConiuge2":true
,"presenzaAvvocatoConiuge2":true
,"avvocatoConiuge2":{
"cognome":"TTTTTTTT"
,"nome":"PJJJJJJJJJJJJ"
}
,"foroAvvocatoConiuge2":"FIRENZE"
,"attoMatrimonio":{
"idComuneRegistrazione":"006"
,"nomeComuneRegistrazione":"TRIESTE"
,"siglaProvinciaRegistrazione":"TS"
,"idProvinciaRegistrazione":"032"
,"idtipocontenuto":"1"
,"dataformazione":"1972-08-12"
,"numeroatto":"739"
,"annoAtto":"1972"
,"tipologia":"3"
,"parte":"II"
,"serie":"A"
}
,"parteInGiudizioPendente":false
,"accordoSeparazione":{
"idComuneRegistrazione":"091"
,"nomeComuneRegistrazione":"ROMA"
,"siglaProvinciaRegistrazione":"RM"
,"idProvinciaRegistrazione":"058"
,"idtipocontenuto":"1"
,"dataformazione":"2000-08-10"
,"numeroatto":"2"
,"annoAtto":"2000"
,"tipologia":"4"
,"parte":"2"
,"serie":"C"
}
}
,"intestatari":[
{
"cognome":"DA DADADA"
,"nome":"FFFFFFFFF"
,"sesso":"M"
,"dataNascita":"19XX-SS-GG"
,"idComuneNascita":"006"
,"nomeComuneNascita":"TRIESTE"
,"idProvinciaNascita":"032"
,"siglaProvinciaNascita":"TS"
,"idStatoNascita":"90"
,"nomeStatoNascita":"ITALIA"
,"idComuneResidenza":"3655"
,"nomeComuneResidenza":"DUINO AURISINA-DEVIN NABRE\u017DINA"
,"idProvinciaResidenza":"32"
,"siglaProvinciaResidenza":"TS"
,"idStatoResidenza":"90"
,"nomeStatoResidenza":"ITALIA"
,"idNazionalita":"100"
,"nazionalita":"ITALIANO"
,"flagDichiarante":true
,"flagComparente":true
,"flagFirmatario":true
}
,{
"cognome":"TRTRTRTR"
,"nome":"CLCLCLCLC"
,"sesso":"F"
,"dataNascita":"1950-08-10"
,"idComuneNascita":"006"
,"nomeComuneNascita":"TRIESTE"
,"idProvinciaNascita":"032"
,"siglaProvinciaNascita":"TS"
,"idStatoNascita":"90"
,"nomeStatoNascita":"ITALIA"
,"idComuneResidenza":"3655"
,"nomeComuneResidenza":"DUINO AURISINA-DEVIN NABRE\u017DINA"
,"idProvinciaResidenza":"32"
,"siglaProvinciaResidenza":"TS"
,"idStatoResidenza":"90"
,"nomeStatoResidenza":"ITALIA"
,"idNazionalita":"100"
,"nazionalita":"ITALIANA"
,"flagDichiarante":true
,"flagComparente":true
,"flagFirmatario":true
}
]
}
}
e abbiamo ottenuto come risposta:
{
"testataRisposta": {
"idComune": 3655,
"idOperazioneComune": "20230150000010",
"idOperazione": "1616944",
"idEsito": 1
},
"errors": [
{
"code": "400003",
"severity": "E",
"text": "Il soggetto è già presente con id 2123214,2123345"
},
{
"code": "400003",
"severity": "E",
"text": "Il soggetto è già presente con id 2123218,2123349"
}
],
"forcingCode": "1691737634337_XXXYYY77G66G24A"
}
Per ovviare a questi errori, nella request di validazione, nella sottosezione relativa agli intestatari, dobbiamo recuperare ed inserire l'id (soggetto ANSC) per ogni soggetto?
Abbiamo visto che nel caso in cui noi non avessimo a disposizione l'id dell'intestatario lo potremmo dedurre mediante il servizio [R005 -consultazione]/ansc/soggetto inserendo campi di ricerca quali cognome, nome, e codice fiscale.
Nel caso relativo all'esempio fatto, ci vengono indicati ben 4 id (soggetto) presenti da definire sull'evento: deduciamo si riferiscano 2 a instestatario1 (id 2123214,2123345) e 2 intestatario2 (id 2123218,2123349). Come passiamo selezionare il soggetto in questione cioè: sarà l'USC che dovrà selezionare il soggetto a cui si fa riferimento tra quelli restituiti da R005 e attribuirlo al soggetto corretto?
Nel caso l'USC definisca che il soggetto non corrisponde a nessuno di quelli restituiti, viene utilizzato il forcingCode? Cosa comporta? Inserimento di un nuovo intestatario con nuovo codice? Questo forcingCode che valori può assumere (sembra composto da doppio valore "numero-cfis_USC" ma hi lo determina e con che logica viene determinato, è un progressivo)? Che significato ha il forcingCode nella response: restituisce un nuovo valore rispetto a quello inviato nella request o mantiene lo stesso valore e serve in altre situazioni relative ai servizi?

Salve @MichelaGarzoni
Consigliamo di leggere la #295 in merito che dovrebbe rispondere alle sue domande.
Il forcingCode può essere utilizzato una sola volta.
Le chiediamo di chiudere la issue qualora la risposta sia stata esaustiva.
Cordiali Saluti.
Supporto ANSC.

Grazie, non avevo visto tale issue. Ora la leggo per capire se abbiamo interpretato correttamente il nuovo rilascio.
Chiudo la segnalazione e al più se mi serviranno ulteriori chiarimenti ne aprirò una nuova.

authors: MichelaGarzoni amusarra


text:
Improve Cfd state assertions in actor-level tests

It was really hard to figure out which assertion was failing.
Add more descriptive logs and additional assertions.

bors r+

bors r+

source: gharchive/pull-request

repo: itchysats/itchysats

license: MIT

license_type: permissive

license_source: github-api


text:
When restoring from backup + restart the password is not displayed in properties

What did I do:

Install itchysats package from code of https://github.com/itchysats/itchysats-wrapper/pull/1/commits/35352a2e81757584285d6938249e4dbc4506d369
Create a backup
Uninstall itchysats
Then I ran into https://github.com/itchysats/start9-itchysats-wrapper/issues/3
I restarted embassy to see if that can solve the problem
When embassy was restarted I was able to get to the basic auth login
When I tried to access the itchysats password in the service properties I ran into this error:

Docker Error YAMLError: duplicated mapping key at line 18, column 1: version: 2 ^ at generateError (file:///embassy.js:2527:12) at throwError (file:///embassy.js:2530:11) at storeMappingPair (file:///embassy.js:2642:20) at readBlockMapping (file:///embassy.js:3162:17) at composeNode (file:///embassy.js:3336:84) at readDocument (file:///embassy.js:3450:5) at loadDocuments (file:///embassy.js:3487:9) at load (file:///embassy.js:3506:23) at parse (file:///embassy.js:3516:12) at async properties (file:///embassy.js:4326:12)

This results in being unable to access the ItchySats interface because the password is missing. (Note: one can fetch it from the logs, those are accessible).
I could temporarily resolve this issue by uninstalling and restoring again, the password was properly configured then and I was able to access the user interface. So I think the configuration process of restoring is fine - but I then ran into https://github.com/itchysats/start9-itchysats-wrapper/issues/3 issue again.
After another restart I ran into the issue reported above again, so I ended up in an endless loop of being unable to access the interface 😅
I solved it by saving the password outside of the properies... With the DNS problem solved I was then able to access the interface.
It has to be evaluated if this is a problem with how we setup the password configuration or if this is a problem of the underlying configuration stack when restore from backup + restarting.

The problem of the duplicated values is that we append to stats.yml but the file should be replaced.
This should be fixed on #1

I can't test this at the moment but it should be solved with https://github.com/itchysats/start9-itchysats-wrapper/pull/1/commits/b584c105b4145efedf585f4e35f25f8549d599fe - I will see to test it tomorrow morning.

I can't test this at the moment but it should be solved with b584c10 - I will see to test it tomorrow morning.

I tested it just now (package, fresh install of package as service, create backup, remove, recover from backup, restart) and the problem is resolved!
Closing this issue.

source: gharchive/issue


text:
🛑 iterate GmbH Website is down

In 1a15436, iterate GmbH Website (https://iterate.ch/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: iterate GmbH Website is back up in 2467c16.

repo: iterate-ch/upptime


text:
Update comparation with git-lfs

As far as I know, git-lfs is open and free too: https://git-lfs.github.com/

👍

authors: mroutis shcheklein


text:
august heartbeat

Here's the August Heartbeat.  I'd like this to go out today/tonight if possible because I'd like to include it in tomorrow's monthly email.
Need help with Docs updates.  Per @daavoo's excellent suggestion, I will be incorporating Doc updates monthly in the Heartbeat.  Let me know how I should edit this section.  There are probably important things from the last couple months that I should include and haven't.   My plan for the Twitter swag grab is to ask people to put the doc updates in the comments. 😁 🤫
Also please help with the section about @isidentical's project.  I do not understand what this is, so I don't know how to make this better.  😬

@jorgeorpinel @shcheklein I don't know what's going on with the links check.  They are correct and go where they are supposed to. 🤷🏻♀ This is ready to merge.

⚠ dayum looks like this didn't build. Error log:
       Uploading ".cache" to s3://.../...-prod-cache/
       ".cache" uploaded in: 37.430s
       "public" uploaded in: 52.502s
       Cleaning all local cache!
Error: CloudFlare cache clear request returned non-ok status 403: Forbidden
    at module.exports (/tmp/build_b1fb9cb4/scripts/clear-cloudflare-cache.js:52:11)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:94:5)
    at async main (/tmp/build_b1fb9cb4/scripts/deploy-with-s3.js:136:5)
error Command failed with exit code 1.
       info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
-----> Build failed

Yelp @rogermparent @julieg18 is this maybe related to the images mentioned under https://github.com/iterative/dvc.org/pull/2723#pullrequestreview-732328532 above?

authors: jendefig jorgeorpinel


text:
fix: revert code, upgrade server

The main cause of the issue seems to be deep down related to Sentry not supporting way to parse headers with core nodejs causing server crash which caused the outage.
Current issue should be fixed after the upgrade: https://github.com/getsentry/sentry-javascript/pull/10938
logs looks fine

Enabled Always online for dvc.org

Used this opportunity to refactor error handling

@yathomasi so, why did we have the issue with GH itself though - what was the error Sentry was trying to report about?

@yathomasi so, why did we have the issue with GH itself though - what was the error Sentry was trying to report about?

It was trying to set headers to tracking outgoing requests, Github api in this case. I feel, it's not required in our project specially in the nodejs side.

It was trying to set headers to tracking outgoing requests, Github api in this case. I feel, it's not required in our project specially in the nodejs side.

kk, I see. thanks.

authors: shcheklein yathomasi


text:
Matlab crashes on Mesh.rayIntersections()

When calling Mesh.rayIntersection() with a large number of rays, MATLAB crashes when exiting the function.

This is probably because the matlab struct does not have the same padding as the C struct.

I've padded the matlab struct in the same way as the C struct and checked that the number of bytes copie are correct.
But it still crashes. So that's not the problem (at least not the only one).

The intersesting thing ist, that matlab does even crash when the C function is not called at all.
Maybe matlab tries to free the pointer after the last iteration, but because pointer arithmetic was used, it points to one element pas the last memory address, resulting in freeing in invalid address.
This would be an absolute stupid bug in matlab.

Even when the C code is allocating the memory, matlab crashes when it leaves the function.
Seems to be an issue with libstruct.
Workaround: Make a special C functin just for the matlab API that writes the entries of the CQCT_RayMeshIntersection_t struct to single buffers. This also simplifies the matlab wrapper code a lot.

repo: ithron/CortidQCT


text:
Dependencies Problem

Trying to import OSM Data via LoadOSMData() causes a System.IO.FileLoadException for me.
When I use protobuf-net version 2.0.0.668, the System.IO.FileLoadException is caused by a missing version 2.3.7.0, with an inner exception of a missing version 2.0.0.668
However, when I use version 2.3.7.0, the System.IO.FileLoadException is caused by a missing version 2.0.0.668, but only if not started from Visual Studio.
The exceptions occur in the same line.
I'm using Itinero 1.4.0-pre44 and OSMSharp 6.0.0 via Nuget and reinstall all packages when changing protobuf-net version.
This seems very odd to me, can you point me to a solution?

When using the 2.3.7.0 version, I now get a
ProtoBuf.ProtoException:
Unexpected end-group in source data; this usually means the source data is corrupt
in Visual Studio.

Thanks for reporting anyway, if there's anything we can do on our side to let us know. I checked and OsmSharp is the only dependency using protobuf and it uses one version. No conflict to be found in the Itinero packages AFAIK.

I just found what (probably) causes the issue:
To use Itinero.IO.Osm v.1.4.0-pre44, I couldn't use the target framework .NET 4 as is, since Itinero has an indirect dependency of System.Net.Http, Version=1.5.0.0. I then upgraded to .NET 4.5 and since that point my described errors occur.

I'll close it again since it is definitely not your fault.
I didn't copy the .config file to the directory I was running the program from.

authors: pingurus xivk

repo: itinero/routing

license_source: bigquery


text:
Prepare to set this repo public

To avoid too much overhead and to make things clear for users of Itinero1 we need to:

[ ] Provide a basic roadmap and an idea about where this project is going to go.
[ ] Cleanup the readme, build processes and provide packages.
[ ] ...

migrating to routing2, is there a basic sample. Looks like a lot has changed in initialization and routing requests.

authors: mikelor xivk


text:
Android tablet page offset artifact fix

Hi,
I had some trouble doing some sales presentations on my android 5.01 tablet with the color picker.
It had some issues with zooming: it was not able to place to the right place the colorpicker box, and was selecting off colors.
I made a fix, sorry for the styling mishap :(
(detects if it's an android, and only then applies fixes)
relevant codes:
default variables:
android:
functions / event handlers:
reposition:
mousedown:
I hope it will be useful for others too.
Bests,
Ferenc

Thanks, but one does not simply change the code style of a whole project, this is very hard to follow and review.
Please, could you do only the necessary changes, generate the minified files and rebase your commit?
Thank you

Hi Javi,
Committed with corrected formatting.
(Sorry, I'm a bit new to github contributing, and I can't import the
formatting specification into my IDE)
Bests,
Ferenc
On Mon, Nov 7, 2016 at 1:09 PM, Javi Aguilar notifications@github.com
wrote:

Thanks, but one does not simply change the code style of a whole project,
this is very hard to follow and review.
Please, could you do only the necessary changes, generate the minified
files and rebase your commit?
Thank you
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/itsjavi/bootstrap-colorpicker/pull/185#issuecomment-258819809,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQRCdjj3W9EJwfkfTV5M6awNyvzL9w5ks5q7xT1gaJpZM4Kqx0M
.

No problem @sasf54 we all have been new some day ;)
But can you squash your commits into a single one? So I can properly review this
thanks

Hi Javi,
Sorry, that's the best I can do :(
(it's in two commits, and the final state are definitely comparable with
the master branch...)
Bests,
Ferenc
On Mon, Nov 7, 2016 at 4:36 PM, Javi Aguilar notifications@github.com
wrote:

No problem @sasf54 https://github.com/sasf54 we all have been new some
day ;)
But can you squash your commits into a single one? So I can properly
review this
thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/itsjavi/bootstrap-colorpicker/pull/185#issuecomment-258868731,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQRCQe5qYYT0YG7Jq1ZGRJrc4ZiZnirks5q70WAgaJpZM4Kqx0M
.

repo: itsjavi/bootstrap-colorpicker


text:
fix duplicate projects subpath

CURSE_URL_BASE already had /projects appended to it, missed it by mistake. Originally wrote redirect_url assuming CURSE_URL_BASE was https://minecraft.curseforge.com

It worked, but the files downloaded were still HTML pages not JAR files
-------- Original Message --------
On Aug 3, 2019, 7:47 AM, Geoff Bourne wrote:

@itzg approved this pull request.
Ah, I guess it worked somehow with the manifest you provided for testing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Aha. Thanks for the quick fix.

authors: iamtpage itzg

repo: itzg/docker-minecraft-server


text:
年终讲（2）———— 产品说：我想输入简体自动呈现繁体

前边的废话
听到这个需求什么感觉？ 当时我手中的大刀已经快控制不住了。 事情过去了几周之后，我看到了一篇文章，又让我想起了这个需求。 文章链接
参考这篇文章，我做出了如下效果

为了效果明显一点，我特意慢慢打字，注意看输入法出来的文字

写在最后
根据参考文章，使用了这个属性 font-feature-settings: "trad";。
理论上说，这个方法可以实现。但是中国汉字那么多，不好说哪个字就出现了问题，一些常用汉字还是可以的。这个办法只是呈现出繁体，获得值的时候其实还是简体😀

我宛如一个智障。😀

简单粗暴👍

authors: kvkens liushaozhen wxgg

repo: iuap-design/blog


text:
To support ParameterEvent with CFT

Just for internal review.
Signed-off-by: Chen Lihui Lihui.Chen@sony.com

@fujitatomoya
Thank you for your comments.

i guess that use_sim_time parameter event is addressed on this PR.
i was thinking that the following can be enhanced as well with content filtering.

ParameterEventHandler Class

https://github.com/ros2/rclcpp/blob/6cc89caa639bc3f5ef543cf7440dafec588dab05/rclcpp/include/rclcpp/parameter_event_handler.hpp#L167-L179

Yes, you're right. (NOTE: IT'S MERGED YESTERDAY)
It can be enhanced with content filter options, but this should be configured by user, because this is a ParameterEventHandler for user, and user might want to know all parameters.
I mean
  template<typename NodeT>
  ParameterEventHandler(
    NodeT node,
    const rclcpp::QoS & qos =
    rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_parameter_events)),
    const rclcpp::SubscriptionOptionsWithAllocator<AllocatorT> & options = (       <<<< must be add this argument.
      rclcpp::SubscriptionOptionsWithAllocator<AllocatorT>())

AsyncParametersClient Class

https://github.com/ros2/rclcpp/blob/6cc89caa639bc3f5ef543cf7440dafec588dab05/rclcpp/include/rclcpp/parameter_client.hpp#L196-L212

Sorry, I don't think we should update this interface. We can update outside called to call this interface which this PR did.

Yes, you're right. (NOTE: IT'S MERGED YESTERDAY)

right :smile: this is really new.
i am subscribing all activity, so i just saw that is merge in the master, then we can take advantage of this class :+1:
adding option would be no problem, and user should be able to reconfigure the filtering expression and expression parameters at runtime.

Sorry, I don't think we should update this interface. We can update the outside caller to call this interface which this PR did.

i see, after user get the subscription, they want to do whatever they want, right? that makes sense.

Close it. This PR is combined in the https://github.com/iuhilnehc-ynos/rclcpp/pull/4

authors: fujitatomoya iuhilnehc-ynos

repo: iuhilnehc-ynos/rclcpp


text:
Is there a way to fetching return values of transactions

I have a factory contract that has transaction methods that create child contracts and return their address. Looks something like this.
contract GreeterFactory {

    mapping (address => bool) created;

    function makeGreeter(string greeting) returns (address) {
        var g = new Greeter(greeting);
        created[g] = true;
        return g;
    }

    function verify(address greeter) returns (bool) {
        return created[greeter];
    }

}

Is there a way in Embark framework to fetch the return value of such transactions?

you need to add the constant keyword for the verify function ```function verify(address greeter) constant returns (bool) {`` , for makeGreeter I would recommend you use a solidity Event

authors: iurimatias omkarkhair

repo: iurimatias/embark-framework


text:
Drag and drop doesn't work if tab is not nested in the main window

Drag and drop doesn't work if tab is not nested in the main window. It just shoots everything in early hours that I don't even see on the screen.
A temporary work around could be if I could have a duplicate window of the day planner on a second screen and another one as side panel for editing.
PS: it's already mentioned in another topics but I'd like being able to treat some night crunches that are going beyond midnight as day of work that I started.
PSS: Thank you very much for your plugin Ivan, it's so useful for me. Your work is much appreciated

Drag and drop doesn't work if tab is not nested in the main window. It just shoots everything in early hours that I don't even see on the screen.
I came here to report the same issue. I use multiple monitors and I like to drag the weekly planner to a different screen when I am planning out my week.

Thank you so much for making this! I LOVE the new updates.

repo: ivan-lednev/obsidian-day-planner


text:
Fixed Windows Caching

Whoa it's a Pull Request!
Fixes https://github.com/ivanvotti/ember-svg-jar/issues/24. This is a non-borky alternative approach to  #1, basically.
The gist is that Windows doesn't like colons in the filename, and this package uses the value of optionsHash() (a JSON string) to generate a cache key. async-disk-cache will happily try and use this key as a temp folder name, which leads to a fun ENOENT bomb-out on Windows. Doh!
In particular, this makes testing Ember addons that utilize ember-svg-jar troublesome on Windows (e.g. https://github.com/tim-evans/ember-file-upload/issues/36).
This PR simply runs optionsHash() through SHA-1 when computing the cache key, which magically solves everything. Wheee!
Why SHA-1?
It was convenient, and we needn't worry about being uber-cryptographically-secure here. Feel free to suggest a different hash algo choice if picky.
Why not Base64/URL encoding?
I didn't want to hit Windows' infamous MAX_PATH limitation (can't have paths longer than 260 characters on Windows 8.x and earlier), and a very long optionsHash() may potentially lead to that if we just encode it, so I took the hash function route.
Did writing this PR text take longer than actually coding the fix?
Yarp. 🌵

Thank you. I'll check it out soon.

@XaserAcheron The original broccoli-persistent-filter uses md5-hex in cacheKeyProcessString like this:
Filter.prototype.cacheKeyProcessString = function(string, relativePath) {
  return md5Hex(string + 0x00 + relativePath);
};

We could just rely on that behaviour and write something like this:
SVGOFilter.prototype.cacheKeyProcessString = function(string, relativePath) {
  return Filter.prototype.cacheKeyProcessString.call(this, string + this.optionsHash(), relativePath);
};

This way we don't need to add sha1 to the project. What do you think?

I don't hate that idea. It relies on the base library a bit, but it's not unreasonable to trust that it won't spontaneously become Windows-incompatible or anything. I'll give the PR an update soonish.
[wow, double negatives]

@XaserAcheron @ivanvotti Any resolution on this? We have devs coming on board that prefer to code on Windows, and this issue has blocked them.

I hit this issue. Can we get this merged? :)

Welp. That increases its importance a bit. :P
I've got a bit of bandwidth, so I can make the suggested change super-quick and ensure it still works, that way everyone's happy and unblocked.

All right, updated. In the true spirit of this PR, it took much longer to set up my dev environment again than to actually make the fix. ;)
Pinging @ivanvotti for re-review. Dunno why I didn't think of doing it this way in the first place, really.

It will be done today. Sorry guys for the delay, I just didn't expect that so many folks are using Windows these days for web development. I'm definitely going to buy one (probably Windows 7) to adjust my public libs.
@XaserAcheron, @wycats are you particularly interested in broccoli-svg-optimizer fixed or ember-svg-jar? If it's the last one, I'll publish a new release with the fix today.

For what it's worth, I simply ran into this while ember test-ing an addon that included ember-svg-jar, so my own use case is pretty trivial. Seems you're already looking into full Windows support for ember-svg-jar anyhow, so that part's covered.
Thanks for remembering we goofy Windows folk! ;)

authors: XaserAcheron ivanvotti sohara wycats

repo: ivanvotti/broccoli-svg-optimizer

license: mit


text:
error when compiling mio

hi, first of all,  thanks for your example, pretty straightforward.
i would like to use the crate mio for another project (this target is not supported and I'm trying to make it work).  when compiling, I get a lot of errors related to libc, e.g:

obviously these variables are not defined in libc. I tried to find these variables, but unfortunately I only found them in an older commit in newlib-esp32. do you know where they are defined? is it even possible to compile the crate for this target? please forgive me for asking these questions, as I am still quite new to this field. I would appreciate any help. thanks in advance!

Unfortunately, it won't be as easy as figuring out "from where these variables come".
If I'm not mistaken, these are from the kqueue OS functionality. mio needs either kqueue or epoll to work, however I don't think ESP-IDF supports either. ESP-IDF does support the older select and poll though, but mio is somewhat not so keen on supporting those (as in a lot of changes and performance issues - not that large number of file descriptors are a real issue on the ESP-IDF.)
You might have better luck with smol-rs, which at least does have a patch for support of poll.

thanks for your quick reply.  the problem is that i want to make use of hap-rs and i don't know if i can easily adapt to smol-rs. i'm trying to dig deeper into it. if you have any further hints, please let me know. i'll close this one for now. thanks!

Difficult task... unless the owner of hap-rs would like to make his crate async runtime agnostic. Meaning, it should be able to work with any async runtime (be it tokyo, async-std or smol-rs).
This is by the way the general trend in Rust recently - crates should not depend on a concrete async runtime. The runtime should be chosen by the consumer of the crate - so you might have a strong point convincing the author to make those changes. Especially if you are willing to contribute. Whether that's realistic - given how many moving parts are there right now in Rust async support - I don't know. In any case I would highly suggest you take a look at the hap-rs crate in terms of its memory, code footprint and other dependencies (beyond tokyo). If it  is too big, then it is a no go anyway, as you are targeting device with < 500KB RAM and < 2MB flash (on average).

ok, i'll see what i can do about the async runtimes. i already had the flash memory bigger in mind, but not the ram. good point! thanks for the good support.

i reached out to the owner of hap-rs, since haps-rs has strong dependency on tokio's net feature, it might take a while to have something working with the xtensa target.
in the meantime, i thought of making the esp-homekit-sdk available with your cargo-pio crate. do you have any comments/thoughts on that? thanks!

I'm looking at reviving support for tokio (many have tried before, but I think we're getting quite close this time).  See https://github.com/tokio-rs/mio/pull/1687 to follow along with the first steps.

@jasta I have not looked at your patch yet, but to confirm: you DO plan to support a poll()+event_fd() combo, in addition to a poll()+pipe() combo, right?
Bottom line is, the pipe() API is not supported by the ESP IDF. However, they do support a subset of the Linux eventfd() API.

Correct.  Right now I have mio tests fully passing on Linux with poll+eventfd.

I really need to upstream my changes to polling which make it compatible with the ESP IDF... :(

Bummer, looks like your socket2 changes weren't merged either: https://github.com/rust-lang/socket2/compare/master...esp-rs-compat:socket2:master .  Just bumped into this one as I'm working to get a demo of tokio + esp32 off the ground.  Any gotchas I should be aware of if I try to upstream this work?

authors: ivmarkov jasta schphil


text:
jsx option when using tsconfig.json

Thanks for this project, made the switch to TypeScript a breeze...
I might be missing something obvious here, but using v2.8.0 I can't get the jsx option to work when specified via tsconfig.json, or via a manual override:
{
   "compilerOptions": {
      "target": "es5",
      "module": "system",
      "declaration": false,
      "noImplicitAny": false,
      "removeComments": true,
      "noLib": false,
      "jsx": "react"
   }
}

And:
var tsProject = ts.createProject('app/tsconfig.json', {jsx: "react"});

...

gulp.task('ts', function() {
   return gulp.src('app/**/*.{ts,tsx}')
   .pipe(print(function(filepath) {
      return "transpiled: " + filepath;
   }))
   .pipe(ts(tsProject))
   .js.pipe(gulp.dest(filepath.js.dest));
});

I always get errors of the sort:
... XYZ  must have extension '.ts' or '.d.ts'.

A quick debug of tsProject shows:
...
  config:
   { compilerOptions:
      { target: 'es5',
        module: 'system',
        declaration: false,
        noImplicitAny: false,
        removeComments: true,
        noLib: false } },
  options:
   { declaration: false,
     noImplicitAny: false,
     removeComments: true,
     noLib: false,
     target: 1,
     module: 4,
     jsx: undefined,
     sourceMap: true }
...

Running a manual compilation using tsc works just fine:
tsc --jsx react --module system --rootDir app --outDir dist app/**/*.{ts,tsx}

Any ideas?

Indeed I can't get this working at all with v2.8.0
$ tsc --version
message TS6029: Version 1.6.0-dev.20150803

Which suggests I'm missing something basic... any pointers much appreciated.

Sorry, hit Cmd-Enter too quickly on the last post. I meant to say that I can't get this working even with explicit configuration (i.e. not using tsconfig.json)

Sorry for the noise; I didn't get to this part of the README
All sorted now.

repo: ivogabe/gulp-typescript


text:
kubectl get nodes returning an error

Walking through the make demo scenario, when I get to the step kubectl get nodes I'm getting the following error:
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding

OS: Fedora 32
Docker: Docker version 19.03.8, build afacb8b7f0
k3d: k3d version v3.0.0-beta.1
kubectl: Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.2", GitCommit:"52c56ce7a8272c798dbc29846288d7cd9fbae032", GitTreeState:"clean", BuildDate:"2020-04-16T11:56:40Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
I can't figure out what I'm missing...

Hi @dwaynebradley, thanks for opening this issue!
Can you please paste the output of the whole script up to this point?
And the output of docker ps -a at the time this is happening?

Any update on this @dwaynebradley ?

Hey @iwilltry42 ! Unfortunately, after upgrading to Windows 10 2004, I cannot even get my Fedora VM to boot any longer. No idea what happened. Good thing there wasn't anything critical in there. I guess you can just go ahead and close this for now as I don't have a means of recreating the error.

Hi @dwaynebradley. Damn, that's bad luck 😕
You may as well use k3d with windows or WSL though, if you want to use it 👍

I too am experiencing the same issues.   Seems k3d cluster seem to be working fine but after a period of time the cluster will completely hang when attempting to run kubectl commands.   Only solution I've found is to blow away the whole thing and start over.
Here is output from:
docker ps -a
super@sjb-svr1:~$ kubectl get nodes
Error from server (InternalError): an error on the server ("") has prevented the request from succeeding

super@sjb-svr1:~$ docker ps -a
CONTAINER ID        IMAGE                      COMMAND                  CREATED             STATUS                      PORTS                             NAMES
84f07b6ed0f9        rancher/k3d-proxy:v3.0.1   "/bin/sh -c nginx-pr…"   22 hours ago        Up 22 hours                 80/tcp, 0.0.0.0:43891->6443/tcp   k3d-nemesis-cluster-serverlb
1b5da4368e2f        rancher/k3s:v1.18.6-k3s1   "/bin/k3s agent"         22 hours ago        Up 22 hours                                                   k3d-nemesis-cluster-agent-2
4f2bc8370100        rancher/k3s:v1.18.6-k3s1   "/bin/k3s agent"         22 hours ago        Up 22 hours                                                   k3d-nemesis-cluster-agent-1
a45c1a926e30        rancher/k3s:v1.18.6-k3s1   "/bin/k3s agent"         22 hours ago        Up 22 hours                                                   k3d-nemesis-cluster-agent-0
124ade58aac9        rancher/k3s:v1.18.6-k3s1   "/bin/k3s server --t…"   22 hours ago        Exited (255) 17 hours ago                                     k3d-nemesis-cluster-server-2
0a899a45d37e        rancher/k3s:v1.18.6-k3s1   "/bin/k3s server --t…"   22 hours ago        Exited (139) 17 hours ago                                     k3d-nemesis-cluster-server-1
f31ead93be87        rancher/k3s:v1.18.6-k3s1   "/bin/k3s server --c…"   22 hours ago        Exited (139) 20 hours ago                                     k3d-nemesis-cluster-server-0

Hi @sjbeskur , looks like all your server nodes crashed. If you can checkout the logs of them (docker logs), you'll probably notice some lines talking about leader election failing, etc. This is a k3s-internal issue caused by dqlite, which always requires a quota of servers. So if there's an error in 1 out of 3 nodes, dqlite will fail leader election, making all the server nodes crash.

authors: dwaynebradley iwilltry42 sjbeskur


text:
🛑 28mao is down

In 40893d7, 28mao (https://meuicat.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 28mao is back up in f2ed831.

repo: iwyang/check


text:
🛑 06IILeeのBlog is down

In ac3745e, 06IILeeのBlog (https://www.iilee.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 06IILeeのBlog is back up in e2359b4.


text:
🛑 05Takagi is down

In ae4aa34, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in 9ec0e6f after 29 minutes.


text:
🛑 21Eurkon is down

In 14f916b, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 2f6b350 after 10 minutes.


text:
🛑 21Eurkon is down

In afe2916, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 90c44b9 after 17 minutes.


text:
🛑 21Eurkon is down

In 4ef7c04, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in c4a08b9 after 9 minutes.


text:
ec-lab files for ixdat parser tests

Files generated by EC-lab that contain values from available EC/CV experiments. The purpose is to use them as a test files for functional tests of ixdat parser.

Looks great, merged

authors: KennethNielsen matenestor

repo: ixdat/ixdat-large-test-files


text:
🛑 Ixtanet Main is down

In c1bd182, Ixtanet Main ($MAIN_ROUTER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ixtanet Main is back up in 19d6d0e.

repo: ixtanet/upptime


text:
⚠ Ixtanet SAT has degraded performance

In e577b82, Ixtanet SAT ($MEDIA_SAT) experienced degraded performance:

HTTP code: 200
Response time: 20633 ms

Resolved: Ixtanet SAT performance has improved in 20dae7a after 290 days, 23 hours, 2 minutes.


text:
[Auto Generated Report]java.io.FileNotFoundException: https

Plugin Name:
Plugin Version: 1.3.3
OS Name: Windows 10
OS Version: 10.0
Java Version: 11.0.10
App Name: WebStorm
App Full Name: WebStorm
Is Snapshot: false
App Build: WS-211.7142.46
StackTrace:

java.io.FileNotFoundException: https:\github.com\zthxxx\kugimiya-rainbow-fart\function_01.mp3 (文件名、目录名或卷标语法不正确。)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at com.github.izhangzhihao.rainbow.fart.RainbowFartTypedHandler$FartTypedHandler.playVoice(RainbowFartTypedHandler.kt:80)
	at com.github.izhangzhihao.rainbow.fart.RainbowFartTypedHandler$FartTypedHandler.releaseFart(RainbowFartTypedHandler.kt:72)
	at com.github.izhangzhihao.rainbow.fart.RainbowFartLookupHandler$itemSelected$1.invokeSuspend(RainbowFartLookupHandler.kt:21)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)

Plugin Name:
Plugin Version: 1.3.3
OS Name: Windows 10
OS Version: 10.0
Java Version: 11.0.8
App Name: IDEA
App Full Name: IntelliJ IDEA
Is Snapshot: false
App Build: IU-202.6948.69
StackTrace:

java.io.FileNotFoundException: https:\github.com\SaekiRaku\vscode-rainbow-fart.git\manifest.json (文件名、目录名或卷标语法不正确。)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at kotlin.io.FilesKt__FileReadWriteKt.readText(FileReadWrite.kt:125)
	at kotlin.io.FilesKt__FileReadWriteKt.readText$default(FileReadWrite.kt:125)
	at com.github.izhangzhihao.rainbow.fart.ResourcesLoader.runActivity(ResourcesLoader.kt:34)
	at com.intellij.ide.startup.impl.StartupManagerImpl.runActivity(StartupManagerImpl.java:300)
	at com.intellij.ide.startup.impl.StartupManagerImpl.lambda$runPostStartupActivities$3(StartupManagerImpl.java:236)
	at com.intellij.openapi.project.DumbServiceImpl.doRun(DumbServiceImpl.java:348)
	at com.intellij.openapi.project.DumbServiceImpl.updateFinished(DumbServiceImpl.java:340)
	at com.intellij.openapi.project.TrackedEdtActivityService$TrackedEdtActivity.run(TrackedEdtActivityService.java:100)
	at com.intellij.openapi.application.TransactionGuardImpl$2.run(TransactionGuardImpl.java:201)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
	at com.intellij.openapi.application.impl.ApplicationImpl.lambda$invokeLater$4(ApplicationImpl.java:322)
	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:84)
	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:132)
	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:47)
	at com.intellij.openapi.application.impl.FlushQueue$FlushNow.run(FlushQueue.java:188)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:313)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:776)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:746)
	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:971)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:841)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:452)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:744)
	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$9(IdeEventQueue.java:451)
	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:802)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:499)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

repo: izhangzhihao/intellij-rainbow-fart


text:
Add support for the DW-H5600 watch

We have a request to add support the the DW-H5600 watch. I have open this feature request to discuss this.
If you have the watch, and would like to contribute code, please let me know.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

To clarify, at this point we are just trying to get the watch to work with the basic functions which the app already supports. We are not adding new features, like sport-related activities, messeging, etc.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

The watch does not connect.  When I open your app, it shows 'No Watch' in the bottom left of the screen and Forget on the bottom right.  I try (on the watch) the hold bottom left button for 3 seconds, then single press bottom right and nothing happens.
There is only one World City that can be set on this watch.

OK, seems like this watch connects a bit differently to the app. as can be seen here:
https://youtu.be/MCQBiIZsTpY?si=fLiGHXxsKrQZjxm9&t=171
Can you try to connect to this app as you would to the official app? Make sure the official app is not running.

@shawner47
I was just informed that the app works (partially) with the GBD-100 watch. The DW-H5600 has similar functions. If you get it to connect, you might see the it working, save for the fitness functions.

@shawner47
OK, let us see what happens of you just try to cennect the watch to the app as is. Does it connect?
How many World Cities does this watch have?

The watch does not connect. When I open your app, it shows 'No Watch' in the bottom left of the screen and Forget on the bottom right. I try (on the watch) the hold bottom left button for 3 seconds, then single press bottom right and nothing happens. There is only one World City that can be set on this watch.

I was following bog standard casio instructions ( https://www.youtube.com/watch?v=vDvxbFBCX0k ) but replaced the official move app with g-shock smart sync and it kinda worked. First, i tried if my phone will pair with the watch, without app, and it kinda did, but the watch said failed to connect, phone said connected. Had to "forget" it, and then it worked.
I would try to prepare the watch for pairing, then start the app. It kinda appears suddenly and without some big notification, and under you should have your model listed. For me, most of the settings work - alarms, home city, world clock etc. I did not try to add specific training timers yet.

Thank you for that information! I've been out of town for the holidays so
haven't had time to test but will hopefully do so this week. I will let you
know my results once I do get the chance.
Thank you again!
Best,
Shawn
On Wed, Nov 22, 2023, 15:13 Ivo Zivkov @.***> wrote:

@shawner47 https://github.com/shawner47
I was just informed that the app works (partially) with the GBD-100
https://www.amazon.ca/Casio-G-Shock-GBD100-1-G-Squad-Trainer/dp/B089C95M4J
watch. The DW-H5600 has similar functions. If you get it to connect, you
might see the it working, save for the fitness functions.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1823450046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXCW3ECWYRVJRLWOK2BEDYFZMILAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMRTGQ2TAMBUGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

closing

No news/ updates of whether it works with this model?

My understanding is that you can connect to this watch, and the app will
support the basic time functions (i.e. not the fitness related functions).
I do not have this watch, so I'm asking opeple to try it and report back.
By connecting, I mean pear with Bluetooth. I understand the single button
connection is not applicable to this watch.
So, if you have this watch, please try to pair it, and let us know what
happens here in this discussion.
Thanks
On Wed., Jan. 24, 2024, 4:21 p.m. githubtefo, @.***>
wrote:

No news/ updates of whether it works with this model?
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1908936960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37VIZXGNDZ2YZQ3QG63YQF3NRAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBYHEZTMOJWGA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Holy moly!  I am so sorry that I forgot to follow up.  I WAS able to connect the watch after removing the actual CASIO app.  I had to reconnect it each time I opened this app but it DID work.  That said, I went back to the mfg's app because I don't see a way to get the heartrate and step counter information in this one.  At least, I couldn't when I tested.

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

@izivkov - apologies again for that update's lateness!  If you do decide you want to try to go into the fitness functions and integrate with Google Fit (this would be exactly what I was hoping to do), I'd be happy to help test if I can, even if that only means verifying functionality of alpha/beta/RC builds.
Thanks again!

Thanks for the feedback @shawner47.
@githubtefo: Does this help? Adding the fitness function is a whole new kettle of fish. I would like to add this and possibly integrate with Google Fit, but I would need to get the watch, and also, it is quite a bit of work. Having said that, some people use this watch in time-only mode and find functions like 'Actions' and the 'Google Calendar' integration useful.

@izivkov - apologies again for that update's lateness! If you do decide you want to try to go into the fitness functions and integrate with Google Fit (this would be exactly what I was hoping to do), I'd be happy to help test if I can, even if that only means verifying functionality of alpha/beta/RC builds.
Thanks again!

No problem, and thanks for the offer. I just think that at this time, I do not have the time to tackle this. I also think that to support this watch fully, I would have to implement e-mail notifications, etc. I'd rather focus on fewer watches with a better app.
I'm working on a couple of other projects related to G-Shock. How would you like to configure your watch from a web browser, without an app? I have this almost done, but there are some restrictions in the browser, so I'm not sure it will be practical to release to the general public.

@shawner47 I am curous, do all functions actually work with this watch. Do Google Events (remonders) work? How about Home Time? All settings work?

No worries on other projects taking up time.  I was just offering in case you needed test subjects.
When I tested before, Google Reminders did not work.  I can't speak to Home Time because I don't think I actually tested that.  I know that setting an alarm did work for me.  There is still a good bit of this watch I haven't explored though.  My main reasoning was that I love the design of the old Casios and my FitBit had just died so I wanted this due to the HR, step and sleep monitors.

👍
On Wed., Jan. 24, 2024, 6:39 p.m. Shawn, @.***> wrote:

No worries on other projects taking up time. I was just offering in case
you needed test subjects.
When I tested before, Google Reminders did not work. I can't speak to Home
Time because I don't think I actually tested that. I know that setting an
alarm did work for me. There is still a good bit of this watch I haven't
explored though. My main reasoning was that I love the design of the old
Casios and my FitBit had just died so I wanted this due to the HR, step and
sleep monitors.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1909104260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37QFXOUFFHN7R2XRPADYQGLTLAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBZGEYDIMRWGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

It helps, indeed!
My main reason of using this App would be for Calendar reminders (Nextcloud/webdav, not Google but I assume is the same?), notification alerts and send basic functions like play/pause/volume to the device.
I am OK on activating the Official Casio App from time to time to retrieve my fitness records. I just dont want to having it on background all the time because of privacy.

just ordered the DWH5600MB-1 - will keep you posted how it goes!

If you are using non- Google calendar, download version 12.1 of the app, not 12.2. There is an issue with 12.2 for non Google calendar users, which we will fix in the next version.
Regards

OK, got the watch!
First impressions: I managed to pair it. It is getting disconnect it/ reconnect it every minute from your App (Official App is not even installed).
What works so far:

Sync the local time
Some settings: Time Format, Auto Light and Power Saving Mode.

What I couldn't make it work (yet):

Actions (like Toggle Flashlight)
Calendar events: I use Etar. I tried to create a new calendar event with alarm ON but it never showed up on the watch. I will see if the already set calendar events for tomorrow morning will show up.

If calendar events is a YES, I will stay with your App and rescind for the Official (full of Trackers).
Thank you!

Just take a look at my message above yours. If you are using a non-Google calendar, like Etar, please use version 12.1 of the app, not 12.2. How did you install the app? Did you use F-DROID? If so, you can find older version of the APK there.
I know about this problem, and will fix it in the next version. You can find out the reason here.

Yes! Using v12.1 of your App...
I'm not even seeing the "Event" Tab in the App (only the tabs Time, Alarms, Actions and Settings)

OK, looking into it a little, I was under the impression that this watch did not support reminders. https://www.g-central.com/specs/g-shock-dw-h5600/. This is why they are hidden in the app. Are you sure your watch supports them? Do they appear in the official app?

mmm you may be right - I see this on the product description: "Notification function (incoming calls, incoming e-mails, new social media posts, calendar notifications, reminders)" https://www.casio.com/us/watches/gshock/product.DW-H5600MB-1/
It is possible the calendar events/ reminders work through Notifications rather than through reminders.

Would you like me to send you an APK with reminders enabled to try? Are you
comfortable installing from APK?
On Wed, Feb 28, 2024 at 9:38 PM githubtefo @.***> wrote:

mmm you may be right - I see this on the product description:
"Notification function (incoming calls, incoming e-mails, new social media
posts, calendar notifications, reminders)"
https://www.casio.com/us/watches/gshock/product.DW-H5600MB-1/
It is possible the calendar events/ reminders work through Notifications
rather than through reminders.
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1970294003,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37TYJZQ6SGC6KEM7KJ3YV7S27AVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZQGI4TIMBQGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

Sure - please upload it here and I will try it.
Although, from the watch I cannot see any menu for reminders, so most likely all calendar events work through notifications in this model.

Almost confirmed. I installed the official App and everything (including calendar events) is going to the Notifications widget :( I really wanted to keep away of the Official App and use yours, so I will keep an eye on your project in case you decide to implement it. Happy to support those efforts too!

No worries, thanks for the heads up!
I'm always looking for people to contribute to the project. A couple of
people are already handling some issues. Depending on what you feel
comfortable with, this project can use your contribution accordingly.
Regards,
Ivo
On Thu, Feb 29, 2024, 10:39 PM githubtefo @.***> wrote:

Almost confirmed. I installed the official App and everything (including
calendar events) is going to the Notifications widget :( I really wanted to
keep away of the Official App and use yours, so I will keep an eye on your
project in case you decide to implement it. Happy to support those efforts
too!
—
Reply to this email directly, view it on GitHub
https://github.com/izivkov/CasioGShockSmartSync/issues/57#issuecomment-1972451949,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA7M37UZSOELNQEVXNGNHBDYV72ARAVCNFSM6AAAAAA7UVTERWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZSGQ2TCOJUHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

repo: izivkov/CasioGShockSmartSync


text:
Implement pre-commit

Resolves #4

Pre-commit added via PR#8


text:
i can simulate "ctrl" pressed ?

i can simulate this ?
on mouseover event simulate ctrl pressed to open a link on new tab
the reason is the link is on iframe.

You can simulate the Ctrl key being pressed like this (i assume you rather want a click event instead of a mouseover):
$('#myEle').simulate('click', { ctrlKey: true })

However, this will most likely not open a link in a new tab unless the website explicitly implements that via window.open() or similar. The reason for this is that simulated events do not trigger browser behavior but only website behavior. That means you can trigger behavior which has been defined via JavaScript (for example with $('#myEle').on('click', /*...*/)) or behavior of the DOM but not behavior the browser adds on top of that (like opening in new tab/window).

authors: iwacham j-ulrich

repo: j-ulrich/jquery-simulate-ext


text:
Formatting, mostly indent

Well 161 and 162 are already up for vote, so maybe we shouldn't change those yet. If/when they need a revision, we can possibly apply these formatting changes to them too. But for the others, we can apply them now, if you all agree.
This fixes some tabs and alignment of constraint text. The bulk of the formatting is in the misc edits paper, where I try to make the wording and formatting more consistent across all the many small edits in that paper.

I'm not allowed to request a review apparently, so I'll just @ you two: @everythingfunctional  @tclune


text:
Support for Value Mappings

https://hub.jmonkeyengine.org/t/implementing-value-mappings-for-shader-nodes/40079

Is there any more documentation on this feature?

repo: jMonkeyEngine/sdk


text:
Partial Incompatibility With Patch 2.2 New Photo Gallery Menu

With an entirely fresh install of Cyberpunk, I have then installed the following (per Mod Settings requirements):

ArchiveXL
Redscript
Red4Ext
Mod Settings

Steps to recreate:

Load any savegame with the four mods above active
Open the character menu, navigate to the far right and highlight "Journal" entry
In the new submenu that opens, open the new "Photo Gallery" submenu added with 2.2
Observe blank UI
5 (Optional). Close game, uninstall Mod Settings, repeat above steps to verify other mods/dependencies aren't the source of the issue

Expected Behaviour: The "Photo Gallery" menu should be populated with in-game screenshots taken using Photo Mode (which are stored in C:\Users[username]\Pictures\Cyberpunk 2077)

I'm unsure how relevant this is, but my Windows photos library is on another drive (located D:\Pictures\Cyberpunk 2077)


text:
Update vue-cookie.js

add polyfill for Number.isInteger

polyfill for Number.isInteger


text:
Players are able to abuse mentions.

Describe the bug
Players are able to use mentions/tags such as @everyone and @here from the Minecraft server with no plugin side options to nullify this behavior.
To Reproduce
Steps to reproduce the behavior:

Setup plugin and Discord
Log into running server.
Try using @everyone

Expected behavior
MCPEToDiscord should recognize tags like this and break them so that it's not possible to spam Discord members with notification from inside the MCPE server.
Screenshots
If applicable, add screenshots to help explain your problem.
Pocketmine Version
3.8.1
MCPEToDiscord Version
Build - 187A

Thanks for the report, it’s been known for a very long time but I haven’t had as the one time I get round to  fixing it, my plan was to make a banned words list and have the default mentions in that list.
Will be fixed in 1.4.1

Feel free to use 1.4.1 branch for a quick fix, it should remain stable but again its a dev build expect the un-expected.
Will be with 1.4.1 once i add a few other things from my todo list.


text:
ApolloCaffe error

Hi,
I am trying to reproduce the results but I got some error like this when running run.sh on VQA dataset:
Traceback (most recent call last):
File "main.py", line 255, in
main()
File "main.py", line 31, in main
do_iter(task.train, model, config, train=True)
File "main.py", line 97, in do_iter
batch_data, model, config, train, vis)
File "main.py", line 118, in do_batch
predictions = forward(data, model, config, train, vis)
File "main.py", line 170, in forward
dropout=(train and config.opt.dropout), deterministic=not train)
File "/mnt/sdc1/shangxuan/775/nmn2/models/nmn.py", line 440, in forward
question_hidden = self.forward_question(question_data, dropout)
File "/mnt/sdc1/shangxuan/775/nmn2/models/nmn.py", line 648, in forward_question
bottoms=[word], param_names=[wordvec_param]))
File "/mnt/sdc1/shangxuan/775/apollocaffe/python/apollocaffe/layers/caffe_layers.py", line 203, in init
super(Wordvec, self).init(self, name, kwargs)
File "/mnt/sdc1/shangxuan/775/apollocaffe/python/apollocaffe/layers/layer_headers.py", line 6, in init
self.parse(sublayer, name, kwargs)
File "/mnt/sdc1/shangxuan/775/apollocaffe/python/apollocaffe/layers/layer_headers.py", line 57, in parse
raise AttributeError('Layer %s has no keyword argument %s=%s' % (param_type, k, v))
AttributeError: Layer Wordvec has no keyword argument vocab_size=3591
I am using your fork of Apollo Caffe, so I am not sure where the problem goes.

https://github.com/Russell91/apollocaffe/issues/65 This seems a workaround.


text:
test_caffe_model

Thanks for your sharing and nice work! @jacobgil
How can i get the Gradient class activation maps with the model trained with caffe rather than pytorch models?
Thank you very much!

This code uses PyTorch.
To use this code, you could convert the caffe model to PyTorch.

repo: jacobgil/pytorch-grad-cam


text:
Can't get characteristics list of a service

I want to get all characteristics list of a service. Every time I get empty characteristics array. I have used following ways to get characteristics list:

`service.discoverCharacteristics(null, function(error, characteristics) {
      });`

service.once('characteristicsDiscover', (characteristics)=>{      });    service.discoverCharacteristics();

Both of these approaches do not work.

It is solved by setting minSdkVersion to 21 for Android.

Cool that you found a solution! Here the solution was to search for specific characteristics by supplying the uuid.

@nielsswinkels I'm having the same issue even though the minSdkVersion is set to 21.

repo: jacobrosenthal/react-native-ble


text:
Cyrilics encoding problem

Result data is encoded by json_encode() in format \u0415\u0413. The solution is to add an option JSON_UNESCAPED_UNICODE
public function sendData($data) {
.....
+ $options = $options | JSON_UNESCAPED_UNICODE;
echo json_encode($data, $options);
}

Done. Thank you!

authors: aligin jacwright

repo: jacwright/RestServer


text:
Agent sidecar resources defined in README.

Not really sure how much resources a sidecar needs. Is 128Mi too much?
resources:
  limits:
    memory: 128Mi
  requests:
    memory: 128Mi

Sorry I haven't seen this before. The agent itself needs only a few resources, but I don't think we tested the limits yet. My initial reaction, however, would be that 128mb should be enough to keep a reasonably sized buffer.
@kevinearls, would be nice to test the limits of this :)

authors: astub jpkrohling

repo: jaegertracing/jaeger-kubernetes


text:
Enable some form of metrics from Jaeger backend processes

At the moment even though all Jaeger processes are instrumented for metrics, the binaries do not enable them by default. Options are:

enable expvar metrics by default (at /debug/vars endpoints)
enable Prometheus metrics by default
make the type of metrics configurable (expvar, prometheus, whatever other types are supported by go-kit)

At the moment we're missing a factory for Prometheus metrics, either need to implement it or wait for go-kit's new "provider" interface. Implementing in manually should be very straightforward.

Prometheus metrics are now default in all Jaeger components.
TODO:

[ ] review & normalize metric names similar to https://github.com/jaegertracing/jaeger-client-go/pull/222
[ ] update documentation on where the metrics are exposed in each component

Closing since both TODOs have their own issues

repo: jaegertracing/jaeger


text:
[Feature Request] .m3u and .mp3 stream links

Is your feature request related to a problem? Please describe.
There is no problem, but I would like to be able to stream links like: https://www.ilovemusic.de/iloveradio.m3u
Describe the solution you'd like
I would like to have the option for playing .m3u and .mp3 links
Describe the basic flow/steps of using this feature
How this feature would be used:

To Stream online radio

Additional context
Please check the following links to confirm that your feature has not already been requested:
https://github.com/jagrosh/MusicBot/labels/enhancement
https://github.com/jagrosh/MusicBot/wiki/Things-That-Won't-Be-Added

Uhh...

Both of these formats are already supported

authors: MarlonMagDich MichailiK jagrosh

repo: jagrosh/MusicBot


text:
Ability to shuffle playlist + Repeat playlist after it completes

Just as the title says, If the bot is able to shuffle the playlist playing (which is impossible right at the moment), then it would be much more convenience as a radio bot. Also, if the situation is ok, it would be a great idea to allow repeating the playlist after it finished playing every song (now it just stops there, and exit)

This is already possible... there is a shuffle command to shuffle the songs that you have added.
If you are playing from a playlist file, you can add #shuffle or //shuffle on a separate line to automatically shuffle the playlist when loaded.
If you set an autoplaylist for a server, it will continue to repeat and not leave the channel.

authors: ThisTNTSquid jagrosh


text:
Update pom.xml

Update of lavaplayer
This pull request...

[✅ ] Fixes a bug
[ ] Introduces a new feature
[ ] Improves an existing feature
[ ] Boosts code quality or performance

Description
Update of lavaplayer fixes the issue with youtube failing searches as per https://github.com/sedmelluq/lavaplayer/blob/master/CHANGELOG.md#1350----2020-06-17
Purpose
Dependancy update required.
Relevant Issue(s)
This PR closes issue #... 454, 443

There is no point in this PR, since jagrosh is aware of the updated Lavaplayer build. He just wants to assure that YouTube won't change the format again, breaking Lavaplayer and that the new Lavaplayer version is stable.

I've already fixed this in my local branch, so this is redundant with the next release

authors: Sanduhr32 djsmithuk jagrosh


text:
CDI instance injection ordering

Linking to this previous
https://issues.redhat.com/browse/CDI-535
Description
We should allow ordering of bean instance injection using the Instance when an instance injection is used.

@starksm64 since you brought it up again, do you have any specific use case for this? Just wondering.
BTW I think Weld has something similar implemented as part of WeldInstance.
See https://github.com/weld/api/blob/master/weld/src/main/java/org/jboss/weld/inject/WeldInstance.java#L65-L108

It came up on the Quarkus developer list regarding a problem with ordering of a security provider instance.

During the meeting we have agreed that we will bulk-close all open CDI issues in the RH JIRA tracker with a comment pointing people to GH issue tracker to recreate the issue here if they think it is still relevant. That way we won't recreate issues needlessly and they will pop up organically as all people that partook in any given JIRA will get email notifications.
I will look into doing that, ideally before this week is over.

I stumbled upon this again in the context of https://github.com/smallrye/smallrye-reactive-messaging/pull/1856, where they are adding their own notion of [message] interceptors and want them ordered according to priority (ideally in the same way CDI orders interceptors according to priority :-) ).
I mentioned above that an Instance.Handle should allow everyone to implement their own comparator, but I think I was actually wrong about that -- Bean doesn't expose the priority value. Checking if the Bean class implements Prioritized seems rather pointless, because that may be true only for custom Bean implementations. It's never true for managed beans (or producers, assuming we had #556). Even Bean instances for synthetic beans registered via BeanConfigurator don't implement Prioritized (or at least don't have to, and don't in practice in Weld).
Am I missing something?

Yes, due to various ways in which you can define beans getting priority is no easy feat.
Plus you can even still define an alternative without any @Priority and not implementing Prioritized and still enable it via beans.xml. The latter makes it very difficult (impossible?) to tell if a bean is even enabled by just looking at the metatada.

Having a priority comparator would be nice, but the Weld one is somewhat weird (in the treatment of beans without priority) and in general, the less implementation code in the API, the better.

WeldInstance.getPriorityComparator() was the only option to make it possible and usable (to some extent).
FTR ArC has the io.quarkus.arc.InjectableBean#getPriority() method and honors the priority during programmatic lookup (@Inject Instance<Foo>) and when injecting a list of beans (e.g. @Inject @All List<Foo>).

So I'm mostly thinking about ordering, which was the original purpose of this issue. Enablement is a different kind of thing and not enabled beans don't even make it to Instance<T>, do they?
Iteration order of Instance is unspecified at the moment, so we could do either of these:

specify that iteration order is from lowest priority value to highest priority value;
add an additional method Instance.inPriorityOrder() that would return "the same" Instance, just with a well defined iteration order;
add some means of obtaining a priority-based comparator for Bean<?> or Instance.Handle<?> (Weld provides one on WeldInstance, which doesn't seem like the best place, but I can't think of a better one?);
anything else?

In all cases, an additional question is how to order beans that have no priority value. (The comparator in Weld currently treats them as priority value of 0. ArC's InjectableBean.getPriority() also returns 0 in such case. I'm personally not sure.)

In all cases, an additional question is how to order beans that have no priority value. (The comparator in Weld currently treats them as priority value of 0. ArC's InjectableBean.getPriority() also returns 0 in such case. I'm personally not sure.)

Zero is fine if higher priority goes first which is IMO more intuitive.

Enablement is a different kind of thing and not enabled beans don't even make it to Instance, do they?

I only pointed it out because you can effectively get enabled alternative without any priority attached to it and it is still valid.

specify that iteration order is from lowest priority value to highest priority value;

Why not highest to lowest? Then you can keep zero for enabled beans without numeric value on priority.

If CDI has to process multiple things in priority order (interceptors, decorators, is there anything else?), lower priority values always come before higher priority values.
Indeed Weld and ArC sort from higher to lower, which is IMHO unfortunate.

If CDI has to process multiple things in priority order (interceptors, decorators, is there anything else?), lower priority values always come before higher priority values.

For alternatives and ambiguous names the beans with the highest priority values are taken. Interceptors with lower priority values are called first which effectively means that interceptors with higher priority values are "closer" to the the target method invocation and thus can affect the "context", e.g. change the call arguments and override the arguments set by interceptors with lower priority values. So the semantics is IMO a bit disputable.

Indeed Weld and ArC sort from higher to lower, which is IMHO unfortunate.

I disagree.

If CDI has to process multiple things in priority order (interceptors, decorators, is there anything else?), lower priority values always come before higher priority values.
Indeed Weld and ArC sort from higher to lower, which is IMHO unfortunate.

What's unfortunate about that?
With alternatives, CDI spec dictates that that higher priority wins. Therefore, it IMO makes sense to do the sorting higher to lower or, in other words, starting by what would CDI pick as a winner during typesafe resolution.

For alternatives and ambiguous names the beans with the highest priority values are taken. Interceptors with lower priority values are called first which effectively means that interceptors with higher priority values are "closer" to the the target method invocation and thus can affect the "context", e.g. change the call arguments and override the arguments set by interceptors with lower priority values. So the semantics is IMO a bit disputable.

+1

Right. There are basically 2 contexts where priority matters:

There's multiple things and you need to pick one. In that case, CDI picks the one with highest priority value.
There's multiple things and you need to order them. In that case, CDI orders from lowest priority value to highest priority value. In case there's something being "wrapped", this indeed means that highest priority value means closest to the "wrapped" thing.

I take it you argue that iterating over alternatives in priority order is different from applying interceptors/decorators because there's nothing being "wrapped", but I just see an unnecessary inconsistency and confusion.

In case there's something being "wrapped", this indeed means that highest priority value means closest to the "wrapped" thing.

But you don't need to wrap anything in case of injecting multiple beans. It's a different use case.

There's multiple things and you need to order them. In that case, CDI orders from lowest priority value to highest priority value.

Not really, you actually do both based on whether you are looking at the ordering prior to "wrapped" method invocation or post the invocation.
For instance, with interceptors, you basically do:
lowest-to-highest -> methodInvocation -> highest-to-lowest

I take it you argue that iterating over alternatives in priority order is different from applying interceptors/decorators

Actually the opposite, I think it is very similar in that the highest priority has the most "power" in terms of controlling/affecting the actual "wrapped" method based on being invoked immediately before/after the method itself.

authors: Ladicek manovotn mkouba starksm64

repo: jakartaee/cdi


text:
Migrating from Svelvet to Rollup

Why?
See here https://github.com/jakedeichert/svelvet/issues/83
Below is a quick guide to help you migrate to rollup.

npm uninstall svelvet
npm install rollup
npm install @rollup/plugin-node-resolve
npm install rollup-plugin-svelte
npm install rollup-plugin-terser

rollup.config.js
import fs from "fs";
import path from "path";
import resolve from "@rollup/plugin-node-resolve";
import svelte from "rollup-plugin-svelte";
import { terser } from "rollup-plugin-terser";

const IS_PRODUCTION = process.env.NODE_ENV === "production";
const extensions = [".js", ".svelte"];

export default {
    input: "src/AppRoot.svelte",
    output: {
        dir: "public/dist",
        format: "es",
    },
    watch: {
        include: "src/**",
    },
    plugins: [
        resolveRootImports({ root: "src", extensions }),
        svelte({
            dev: !IS_PRODUCTION,
            include: "src/**/*.svelte",
        }),
        resolve({ extensions }),
        IS_PRODUCTION && terser(),
    ],
};

function resolveRootImports({ root, extensions }) {
    return {
        resolveId: (importee) => {
            if (importee[0] === "/") {
                for (const ext of extensions) {
                    const rootPath = `${root}${importee}${ext}`;
                    const fullPath = path.resolve(__dirname, rootPath);
                    if (fs.existsSync(fullPath)) return fullPath;
                }
            }
            return null;
        },
    };
}

package.json
Replace svelvet with rollup:
"scripts": {
    "dev": "rm -rf public/dist && rollup -c -w",
    "build": "rm -rf public/dist && rollup -c"
},

Can you run them side-by-side? E.g. svelvet for development and rollup/webpack for production. I don't see why you couldn't, but that seems like the best of both worlds, so maybe we don't need that first npm uninstall svelvet line :smile:

You can totally keep running svelvet until a better tool comes around 😅
Though, as I just posted in your other issues, snowpack v2's svelte support is definitely worth checking out. Probably a good replacement :)

authors: benmccann jakedeichert

repo: jakedeichert/svelvet


text:
Add support for BUN_VERSION env var

Heroku already support NODE_VERSION env var so it only makes sense to add support for BUN_VERSION also.
Render already has this feature. https://docs.render.com/bun-version

Pin a certain Bun version with a runtime.bun.txt or runtime.txt with e.g. v1.0.7 in it.

... are you aware the above is already supported, or do you need the env var anyway?

env var is better. runtime.bun.txt feels like a nonstandard file.

authors: jakeg touhidurrr

repo: jakeg/heroku-buildpack-bun


text:
improve dag validation tests

closes #21

/gcbrun

/gcbrun


text:
Add engine settings

For now two things. Disable RPC, and add an option to go back to the boot screen when you exit a Game.

Implemented in https://github.com/jakubg1/OpenSMCE/commit/2a01fc6d3a5b5af0f3a0711e0a302aa3515661d7


text:
Upload progress for form file fields

It would be very useful to be able to se some sort of progress indicator when uploading large files using form file fields. The default behaviour could be silent, but an option to enable the progress indicator would be nice.

This would nice. I'll consider adding this once streamed uploads (#201) have been being implemented.

authors: jakubroztocil kolis

repo: jakubroztocil/httpie


text:
Usage with angular2-meteor: Cannot find module 'meteor/jalik:ufs'

This is probably not directly related to jalik-ufs, but  I am unable to import this module properly.
I get the error Cannot find module 'meteor/jalik:ufs' in the console log.
Webstorm highlighst import { UploadFS } from 'meteor/jalik:ufs'; in my code, stating that it can't resolve the symbol UploadFS and the directory meteor in meteor/jalik:ufs.
What am I missing here?
I tried to implement UploadFS like described here on the angular-meteor website

Hi @janus-reith, honestly I am not using Angular so I can't really help you on this side but if you have installed the package and imported it, you should be able to use it without problem.
Try to update Meteor, you could also download the UploadFS souce code and put it inside you project's directory under a folder like /path/to/yourproject/packages/ufs. This will force Meteor to use the package locally instead of downloading it.

Thanks for your help, tried it with the UFS Source.
While meteor recognizes the local package, the issue persists:
collections/images.ts (3, 26): Cannot find module 'meteor/jalik:ufs'.
collections/methods.ts (2, 26): Cannot find module 'meteor/jalik:ufs'.
collections/methods.ts (18, 33): Property 'result' does not exist on type 'EventTarget'.
collections/methods.ts (5, 36): Cannot find name 'File'.
collections/methods.ts (12, 24): Cannot find name 'FileReader'.
collections/methods.ts (15, 26): Cannot find name 'ProgressEvent'.

Are you using another kind of syntax ? I see that your files are ending with .ts.
Maybe it's related to code compilation ? I am using standard JavaScript.
Could you post the code at lines mentioned in the errors ? (images.ts and methods.ts).
Thank you.

I am using Typescript/typings module.
I am starting to think that my issues here are actually just warnings related to Typescript as it is missing some kind of declarations(or whatever, I am quite new to TypeScript)
However, this is the code:
images.ts:
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { UploadFS } from 'meteor/jalik:ufs';

export const Images = new Mongo.Collection<Image>('images');
export const Thumbs = new Mongo.Collection<Thumb>('thumbs');

function loggedIn(userId) {
    return !!userId;
}

Thumbs.allow({
    insert: loggedIn,
    update: loggedIn,
    remove: loggedIn
});

Images.allow({
    insert: loggedIn,
    update: loggedIn,
    remove: loggedIn
});

export const ThumbsStore = new UploadFS.store.GridFS({
    collection: Thumbs,
    name: 'thumbs'
});

export const ImagesStore = new UploadFS.store.GridFS({
    collection: Images,
    name: 'images',
    filter: new UploadFS.Filter({
        contentTypes: ['image/*']
    }),
    copyTo: [
        ThumbsStore
    ]
});

methods.ts:
import {Meteor} from 'meteor/meteor';
import { UploadFS } from 'meteor/jalik:ufs';
import { ImagesStore } from './images';

export function upload(sourceFile: File, resolve?: Function, reject?: Function) {
    // pick from an object only: name, type and size
    const file = {
        name: sourceFile.name,
        type: sourceFile.type,
        size: sourceFile.size,
    }
    const reader = new FileReader();

    // handle progress
    reader.onload = (ev: ProgressEvent) => {
        if (ev.type === 'load') {
            const upload = new UploadFS.Uploader({
                data: ev.target.result,
                file,
                store: ImagesStore,
                onError: reject,
                onComplete: resolve
            });

            upload.start();
        } else if (ev.type === 'error') {
            throw new Error(`Couldn't load file`);
        }
    };
    // as ArrayBuffer
    reader.readAsArrayBuffer(sourceFile);
}

@janus-reith if you're using the last version 0.6.1 of UploadFS, you should change your code following this : https://github.com/jalik/jalik-ufs#breaking-changes
Also, is the methods.ts file accessible to the client or server ? because FileReader is not available on server side I think.
I still don't understand, do you have warnings or errors ? is the code working ? Can you upload files ?
I need to be sure that it's not a bug, you know. ;)

Sadly I am still trying to figure that out and can't give an exact answer,, meteor handles the client-server bindings and I'm still learning how to use it :)
I stopped implementing the code at the point when i got these errors, I will finish it and give feedback if it works as intended.
Thank you for your fast responses!

I am sure now that the output is a warning and not an error and related to Typescript.
Still I would really appreciate your help here, as I'm somehow unable to get my code compatible to 0.6.2.
I hope this is not too much to ask.
console.log(FileStore.getPath()) outputs "/uploads/files" in the browser console as intended,
console.log(FileStore.getFilePath(sourceFile)); outputs undefined.
I also can't find a folder called /uploads/files or the file I uploaded.
/both/collections/files.ts:
import { Meteor } from 'meteor/meteor';
import { Mongo } from 'meteor/mongo';
import { UploadFS } from 'meteor/jalik:ufs';

export const Files = new Mongo.Collection<Image>('files');

export const FileStore = new UploadFS.store.Local({
    collection: Files,
    name: 'files',
    path: '/uploads/files',
    mode: '0744', // directory permissions
    writeMode: '0744', // file permissions
});

/both/collections/methods.ts:
import {Meteor} from 'meteor/meteor';
import { UploadFS } from 'meteor/jalik:ufs';
import { FileStore } from './images';

export function upload(sourceFile: File, resolve?: Function, reject?: Function) {
    // pick from an object only: name, type and size
    const file = {
        name: sourceFile.name,
        type: sourceFile.type,
        size: sourceFile.size,
    }
    const reader = new FileReader();

    // handle progress
    reader.onload = (ev: ProgressEvent) => {
        if (ev.type === 'load') {
            const upload = new UploadFS.Uploader({
                data: ev.target.result,
                file,
                store: FileStore,
                onError: reject,
                onComplete: resolve
            });

            upload.start();
        } else if (ev.type === 'error') {
            throw new Error(`Couldn't load file`);
        }
    };
    console.log(FileStore.getPath());
    console.log(FileStore.getFilePath(sourceFile));
}

relevant part of /client/imports/ng2fupload/ng2fupload.component.html:

Drop an image to here

/client/imports/ng2fupload/ng2fupload.component.ts:
import { Component } from '@angular/core';
import { MeteorComponent } from 'angular2-meteor';
import { FileDropDirective } from 'angular2-file-drop';
import template from './ng2fupload.component.html';
import { upload } from '../../../both/collections/methods';

@Component({
    selector: 'fuploadcard',
    template,
    directives: [FileDropDirective]
})
export class ng2FileUploadComponent {
    public fileIsOver: boolean = false;
    public uploading: boolean = false;

    constructor() {}

    public fileOver(fileIsOver: boolean): void {
        this.fileIsOver = fileIsOver;
    }

    public onFileDrop(file: File): void {
        console.log('Got file');
        this.uploading = true;

        upload(file, (result) => {
            this.uploading = false;
        }, (error) => {
            this.uploading = false;
            console.log(`Something went wrong!`, error);
        });
    }
}

@janus-reith what is the solution to this problem? I have tried coping the source files in packages/ufs but it makes no difference I am also using meteor with angular 2

@JohannesMerkt please provide more details if your issue is the same and be sure to read the doc to understand how the package works.

I was following the Meteor Angular 2 Socially tutorial here: https://angular-meteor.com/tutorials/socially/angular2/files-and-uploadfs
It is a bit tricky, because  since Meteor Atmosphere does not provide a typescript declaration for uploadFS and this causes Cannot find module 'meteor/jalik:ufs' error. In that tutorial they solve the error very late in the tutorial and I didn't see that.
So everthing is working now

@JohannesMerkt I cannot help you with TypeScript but I am glad you found the solution.

If you're also following the WhatsApp Clone with Ionic 2 and Meteor CLI tutorial, you need to include this declarations.d.ts file in your project root directory.

@JohannesMerkt could you please tell me how they solved it ? i can't get past it ...

@ManyRouc please try those three require statements, and tell us if something worked.
const UploadFS = require('meteor/jalik:ufs');
or
const UploadFS = require('meteor/jalik:ufs').default;
or
const UploadFS = require('meteor/jalik:ufs').UploadFS;

Note: you could also console.log() the imported object to better understand what is wrong.
Like :
import all from 'meteor/jalik:ufs';
console.log(all);

authors: JohannesMerkt ManyRouc jalik janus-reith kamoroso94

repo: jalik/jalik-ufs


text:
🛑 Registry1 is down

In 89c46f3, Registry1 (https://registry1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Registry1 is back up in e1d3f98 after 13 minutes.

repo: james-martinez/dso-mil


text:
🛑 Portal is down

In 9401246, Portal (https://portal.cnap.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal is back up in 0d7cffc after 5 minutes.


text:
🛑 Registry1 is down

In 5f219a9, Registry1 (https://registry1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Registry1 is back up in 45e6d7f after 3 minutes.


text:
Start server promise always rejected

When I try to start server - I always catch an exception in promise catch block, but then server starts and becomes operational.
10 Seconds is not enough to start java server on MacOS (Sierra 10.12), it needs a little bit more. I have fixed that with setting  startupRetries to 200
Please make in configurable
Command I use to start server:
mockServer.start_mockserver({
    serverPort: config.port,
    verbose: true
}).then(() => {
    logger.info(`Mock server started on port [${config.port}]`);
    const mockServerClient = mockServer.mockServerClient;

}).catch((err) => {
    logger.info(`Unable to start mockServer [${JSON.stringify(err)}]`);
});

Normally I release a new versions across the board for all components but the new release is not available for the main MockServer application.  However, I have bumped the version of the next release for the main MockServer application so I can release a new point version of mockserver-node.  It is now released.

authors: AleksNFedorov jamesdbloom

repo: jamesdbloom/mockserver-node


text:
How to decode "Fitness Machine Control Point" data

Dear Sir
very thx your post  https://jjmtaylor.com/post/fitness-machine-service-ftms/
can help me about  FTMS at android
i try decode data

i found this project https://github.com/sputnikdev/bluetooth-gatt-parser   . the basic BLE  data info  it work  --like  Service -- device_information

but i lost fitness_machine service xml file !!  so i found it  & relation Characteristics xml !!  at

https://www.bluetooth.com/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Services/org.bluetooth.service.fitness_machine.xml
https://www.btstage.net/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Characteristics/org.bluetooth.characteristic.fitness_machine_control_point.xml

when i think it is ok !!  but  the app will crash !!!??

i look the xml  https://www.btstage.net/wp-content/uploads/Sitecore-Media-Library/Gatt/Xml/Characteristics/org.bluetooth.characteristic.fitness_machine_control_point.xml

the value is empty !!!!!!

now  i want  write some value at  fitness_machine_control_point

how  set value ?  and get right  Response Codes ?
THX

Hi @CMingTseng,
Unfortunately I don't have any experience with the implementation of fitness machine control points using the FTMS protocol.  All of my work has been in the passive collection of FTMS data.
If you haven't already seen it, you might try investigating https://www.bluetooth.com/specifications/specs/fitness-machine-service-1-0/ for more information about control points.

authors: CMingTseng jamesjmtaylor


text:
[Bug] Long text on android fails

Bug
Version Number of Plugin: Latest 2.0.0
Device Tested On: Android
Simulator Tested On: Android
Expected Behavior
All length of text that is passes
Actual Behavior
Fails silently
Steps to reproduce the Behavior
Send a long string over the limit.

I am thinking we should expose a new:
public int MaxSpeechLength {get;}
Android docs:
https://developer.android.com/reference/android/speech/tts/TextToSpeech.html#getMaxSpeechInputLength()
Thoughts @aritchie

I've sent some large tts messages that have worked fine.  Curious what the max length is.  As a practice, I plan to submit each sentence or phrease to a separate Speak() call.
Probably best to document max length and throw an argumentexception when it is too large

Yeah, could do that and maybe expose it so they know

authors: aritchie jamesmontemagno

repo: jamesmontemagno/TextToSpeechPlugin


text:
SelectPhotoAsync issue on Galaxy S4 (Android)

Hi
When I try to use the SelectPhotoAsync on the Galaxy S4, it works perfectly except that, after I select the image, it flashes the Splash Screen for a second before returning to the previous screen.
Any idea what could be causing this?

Which version of android is it running? Can you create a http://gist.github.com with the full catlog?

I also facing the problem as follow:
I used media picker (from the Xlabs) in my Xamarin app. Its working in Xiomi note, Nexus 6,LG and Mi3 W.
But when I test with Note2 and Note3. Its crash when tacking photo or select the photo from gallery.
I try to use the CrossMedia plugin. Still crash.
Pls, help me. Is there any other idea?
I added the permission on manifest as follow:
android.permission.CAMERA And android.permission.WRITE_EXTERNAL_STORAGE

I will need crash log or logcat file to get more information.

hi @jamesmontemagno
error is as below :
Android.Views.InflateException: Binary XML file line #37: Error inflating class  ---> System.Exception:  --->
System.Exception: Binary XML file line #35: Error inflating class  ---> System.Exception:  --->
System.Exception: Can't convert to color: type=0x2
at --- End of managed exception stack trace ---
at java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
at at android.content.res.TypedArray.getColor(TypedArray.java:327)
at at android.widget.TextView.(TextView.java:1003)
at at android.widget.TextView.(TextView.java:908)
at at java.lang.reflect.Constructor.constructNative(Native Method)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at at android.view.LayoutInflater.createView(LayoutInflater.java:600)
at at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at at com.android.internal.widget.ActionBarView.initTitle(ActionBarView.java:1200)
at at com.android.internal.widget.ActionBarView.setDisplayOptions(ActionBarView.java:982)
at at com.android.internal.widget.ActionBarView.(ActionBarView.java:398)
at at java.lang.reflect.Constructor.constructNative(Native Method)
at at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at at android.view.LayoutInflater.createView(LayoutInflater.java:600)
at at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:702)
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at at android.view.LayoutInflater.rInflate(LayoutInflater.java:769)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
at at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:3296)
at at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:3359)
at at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1886)
at at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3131)
at at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
at at android.app.ActivityThread.access$900(ActivityThread.java:175)
at at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1308)
at at android.os.Handler.dispatchMessage(Handler.java:102)
at at android.os.Looper.loop(Looper.java:146)
at at android.app.ActivityThread.main(ActivityThread.java:5602)
at at java.lang.reflect.Method.invokeNative(Native Method)
at at java.lang.reflect.Method.invoke(Method.java:515)
at at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at at dalvik.system.NativeStart.main(Native Method)
--- End of inner exception stack trace ---

hi @jamesmontemagno
Problem solved.   android:theme="@android:style/Theme.Material"  is not support in Note2 and 3.
I  changed to android:theme="@android:style/Theme.Holo".  Now working.
Thanks.

You should take a look into AppCompat: https://blog.xamarin.com/android-tips-hello-material-design-v7-appcompat/

authors: DavePilks TunTunAg jamesmontemagno


text:
Added Maven and Java 1.8 Support

The changes in this request add support for Maven and Java 1.8. There are also changes to reduce the amount of unused and duplicate code.

More changes forthcoming, but I wanted to get these up for review before I went any further.

Awesome, thanks for picking up some stuff with this @andysenn. I have had zero time since I first got the code together months ago.

repo: jamf/HealthCheckUtility


text:
Feature for readJSON

added a case for readJSON in covert.go file
added a file readjson.go in /convert/jenkinsjson/json to implement readJSON

also added unit test case for readJSON and all related files.
added a case for readYaml in covert.go file
added a file readyaml.go in /convert/jenkinsjson/json to implement readYaml
added unit test case for readYaml and all related files.

repo: jamie-harness/go-convert