text:
Make everything an Object

Currently Ints are not Objects:
$ bin/007 -e='say(42 ~~ Object)'
0

This issue makes the case that they — and in fact everything — should be.
The usual case against making "primitive types" not inherit from Object is performance: they need to be closer to the metal so they can be fast. 007 has no such concerns. Languages like Java have done weird, unnerving dances with Integer wrapper types, just to have somewhere OO-y to store properties and methods. In a move nobody quite understands, JavaScript copies this design, and somehow makes it worse.
Ruby takes the stance that fixnums are objects, because hey, everything is:
$ irb
irb(main):001:0> 42.is_a?(Fixnum)
=> true
irb(main):002:0> 42.is_a?(Object)
=> true

I'd like to take this stance in 007 too, but I believe I have an even better argument than just "everything's an object": an object is something that you do property access on. Do our ordinary Int and Str and Array values have properties? Yes, they do! Hence, we'd expect them to be a kind of object.
Of course, this goes for Q nodes, too. They're just a type of object, and should typecheck as such. They don't, currently:
$ bin/007 -e='say(Q::Identifier { name: "foo" } ~~ Object)'
0

So Object.ACCEPTS should... Just return true? :P

So Object.ACCEPTS should... Just return true? :P

That's the gist of it, yes. (007 doesn't have an .ACCEPTS, nor currently True, but if it had both, it would.)
Perhaps more importantly, it means that properties that Object has (get, has, update, extend, id) should also be available on all other types.

All of a sudden I'm uneasy about a choice I made early on with objects: that the Object type has the special behavior of allowing any property key, both at creation, and during modification later.
Though I can't quite put my finger on it, I think this will interact badly with #33. This issue makes it a bit clearer why that might be.
Object currently implies one more thing, besides being the Top type: it allows arbitrary property names. All subtypes have fixed sets of property names.
This violates Liskov substitutability, and leads to the usual problems when doing upcasts.
my n: Int = 42;
my o: Object = n;
n.gnarxl = 7000;    # compiles fine, blows up at runtime: .gnarxl doesn't exist on Int

Perhaps my biggest shame in all of this is that I've for a long time disliked what Perl 6 does with the type hierarchy and Mu/Any/junctions. It feels somehow wrong to "special-case" the type system itself like that, encoding dispatch rules into it that don't fall out of the ordinary message passing mechanism itself, but needs to be supplied by the dispatcher/language/substrate. The special case introduced with Object is not far removed from this.
Currently I'm thinking of whether to fix this. An obvious fix would be this:

Make Object instances non-extendable. They'd essentially only contain the standard built-in methods. Object can still be a concrete class; experience shows that people like to create these for e.g. id uniqueness reasons.
Create a new type Hash that takes over the old job of Object.
Consider making Hash accept not just Str keys, but any hashable key. (But maybe make this a separate task.)
Make the syntaxes { ... } and new { ... } create a Hash instead of an Object. If you want to create an Object, you'd have to do it as new Object { ... }.

why does this compile fine though?

Oh, sorry, I just noticed I had a typo in the example I wrote:
my n: Int = 42;
my o: Object = n;
n.gnarxl = 7000;    # compiles fine, blows up at runtime: .gnarxl doesn't exist on Int

The last line should of course be
o.gnarxl = 7000;    # compiles fine, blows up at runtime: .gnarxl doesn't exist on Int

Does that make it clearer why it compiles fine?

Yes, much more sense :)

Then: I'm very much against a top type that's Hash.

Make the syntaxes { ... } and new { ... } create a Hash instead of an Object. If you want to create an Object, you'd have to do it as new Object { ... }.

I agree with my past self about { ... }, but disagree about new { ... }. It's better to associate new with objects instead of objects and hashes. Also, by removing that use of new, we also remove the last place where the type after new is optional. (Making the syntax more consistent.)
After all, if new { ... } created hashes, why shouldn't new [ ... ] create arrays? Which it could, of course... and maybe one could make the argument that these are allocations of non-primitive types, so new kind of makes sense. But (ironically), this issue is all about how there are no primitive types in 007 — so let's just simplify things and go with { ... } without the new.

Putting Object at the top will end up affecting the way we think about boolification. Right now we say "objects are truthy iff they have more than zero properties". That's clearly not going to cut it for all the types.

I'm increasingly convinced that we're going to need to abandon types declared in Perl 6 using Perl 6's class and role. That was a stopgap solution anyway.
What we need to do is to get ourselves a minimal MOP-like thing, with a .declare-type method. Details pending.

Here are the things that we'd expect to work once Object is on top:

[ ] Should be able to update Q object properties
[ ] get and put should work on any of the Val:: objects and Q:: objects
[ ] has should work on everything
[ ] update should work on everything (and respect key restrictions)
[ ] Everything should have an id

Putting Object at the top will end up affecting the way we think about boolification. Right now we say "objects are truthy iff they have more than zero properties". That's clearly not going to cut it for all the types.

Essentially, this is going to push us to having a userland boolification protocol.
And a stringification protocol too, from what I can see.
My initial idea is to just call those methods .Bool and .Str, respectively.

In starting this one, I realized pretty soon that #184 is blocking on it.

Oh, mostly because the Val::Sub type contains a properties static-lexpad which can currently get away with being an Object, but really wants to be a Dict post-#184, because it needs to hold arbitrary keys and values.
Though, hm, I guess in a pinch it could do a poor-man's dictionary by being an Array, so it's not a total blocker...

I'm going to slap the "needs-more-design" label on this one, because likely there are more horrors lurking in these waters, similar to the boolification protocol thing.
For example, it does feel like 007 will need to be aware of the primitives/reference types distinction in some way, but I'm not sure how. Can you create several instances of the Int 5? If so, then why do they all compare equal? If not, then what mechanism makes sure you only ever have one 5?

Been thinking about this one. I think one significant first step could be had by declaring _007::Type in the Perl 6 code base, and then instantiate it for each 007 type we have. Then we have something like _007::Object which are everything that isn't a _007::Type. We can smooth over the differences between _007::Type instances and _007::Object instances so that it isn't noticeable from 007 userland.

For example, it does feel like 007 will need to be aware of the primitives/reference types distinction in some way, but I'm not sure how. Can you create several instances of the Int 5? If so, then why do they all compare equal? If not, then what mechanism makes sure you only ever have one 5?

This has been neatly resolved in #242. The answer is that no, 007 doesn't have primitive types. However, some types are "wrapped" and their exact specification disappears into the Perl 6 layer.

authors: masak vendethiel


text:
Question: Create Alternate C3 Rendering Pipeline Using Raster Canvas

I'm working on a project that requires generating a lot of data points (100k+). Our current implementation uses C3. SVG is clearly the bottleneck, so we are exploring how best to replace the SVG rendering with canvas.
After looking through C3's source, it seems like the generation of data points in SVG format using generateDraw[name of graph type], and the actual rendering with redraw[name of graph type] methods are modular in a way that would lend itself to adding an alternate raster Canvas methods. Mouse events would need to be handled differently, but this doesn't seem insurmountable.
My question is, can anyone with more experience in the code base advise if this is a foolhardy approach for reasons I'm not considering? If I make these additions, would this be something people would be interested for me to refactor to the point where it's clean enough to offer as a pull request? Thanks.

Wow, interesting. C3 uses D3 for everything, which is entirely SVG. So you'd likely need a library to abstract the rendering in a way similar to D3 (does such a thing exist?).
I admittedly have zero experience in Canvas, so I'm not very helpful, but that's a crazy-cool idea. I wonder if you could render SVG in a virtual DOM à la React and then use Canvg to convert to Canvas like SVG Crowbar does, and whether this would be any better for performance?

Actually, D3 can apparently be used with Canvas. Who'd've thunk? https://bocoup.com/weblog/d3js-and-canvas/

Yeah, D3 doesn't inherently require using SVG. It's a misconception. It does have SVG helper methods, but the actual generation of SVG elements always occurs within the enter() handlers and whatnot instead of the core library.

FYI, I've implemented a subset of C3's functionality using Canvas rendering, and created a pull request: https://github.com/cnatale/c3
More info is available here: https://github.com/masayuki0812/c3/pull/1436
Performance improvements have been very impressive. My company's QA is still running tests, but we're seeing an increase in the number of data points a graph can display of anywhere from a factor of 10-100. Raster rendering also greatly cuts down on memory footprint, since the graph doesn't need to keep around all the SVG elements representing graph segments, or the vertical strips used for mouseover detection.
Note that animations are not currently implemented (although hover highlighting is), so if you need animated transitions definitely stick with the SVG version for now.

:100:

looks like the issue is closed

source: gharchive/issue

authors: aendrew buremba cnatale michaelrodov

license: mit

license_type: permissive

license_source: bigquery


text:
🛑 POH events bot from render hosting is down

In e28d437, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in cf28318 after 8 minutes.

repo: masch/poh-events-uptime

license: MIT

license_source: github-api


text:
🛑 POH events bot from render hosting is down

In 04dbde5, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in f09ec1a.


text:
Added both windows and linux/mac setup commands to the readme

Added both windows and linux/mac setup commands to the readme.

hey, don't do sync for branches other than main, especially if there is an active PR for the branch, sync only the main branch and after sync the main branch create a new branch to make changes for the PR

so cancel the pr and make a new one you mean? sorry but im not so good with git lol

so cancel the pr and make a new one you mean? sorry but im not so good with git lol

not for this, but for the future

I see, ok thanks for the information

source: gharchive/pull-request


text:
🛑 RESTREAM-IR-12-ZirSakht-3 is down

In b8194b1, RESTREAM-IR-12-ZirSakht-3 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-12-ZirSakht-3 is back up in 1f7f7cf.


text:
🛑 RESTREAM-IR-12-ZirSakht-3 is down

In fbba3c0, RESTREAM-IR-12-ZirSakht-3 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-12-ZirSakht-3 is back up in b9e655c.


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In 87e4921, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in e85fb0d.


text:
🛑 Iran 7 - ParsOnline 2 is down

In d17d098, Iran 7 - ParsOnline 2 ($IR_7) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 7 - ParsOnline 2 is back up in a2d8454.


text:
Update pom.xml

Update pom-scijava from 33.2.0 to 37.0.0

@tinevez may I ask you to review this?

repo: mastodon-sc/mastodon-selection-creator


text:
When Charlemagne DLC is enabled, CTD occurs

シャルルマーニュシナリオで始めると856年の7月13日でどうしても落ちる

セーブデータをもらいたい

特定の年代でCTDは昔からある問題みたい

PDX側の対応を待つしか無いと思われるのでClose

中のソースを読んでないからわからないが、おそらくnullpoに近いことが起きてるんだと思う


text:
Cannot build.

Following instructions to build master (as of today)
git clone
npm run bootstrap
fails with (npm log)
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node',
1 verbose cli   '/home/rage/.npm-global/bin/npm',
1 verbose cli   'run',
1 verbose cli   'bootstrap' ]
2 info using npm@6.5.0
3 info using node@v8.15.0
4 verbose run-script [ 'prebootstrap', 'bootstrap', 'postbootstrap' ]
5 info lifecycle material-components-web-components@~prebootstrap: material-components-web-components@
6 info lifecycle material-components-web-components@~bootstrap: material-components-web-components@
7 verbose lifecycle material-components-web-components@~bootstrap: unsafe-perm in lifecycle true
8 verbose lifecycle material-components-web-components@~bootstrap: PATH: /home/rage/.npm-global/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/rage/Documents/Polymer/material-components-web-components/node_modules/.bin:/home/rage/.npm-global/bin:/home/rage/bin:/home/rage/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
9 verbose lifecycle material-components-web-components@~bootstrap: CWD: /home/rage/Documents/Polymer/material-components-web-components
10 silly lifecycle material-components-web-components@~bootstrap: Args: [ '-c',
10 silly lifecycle   'npm install && ./scripts/bootstrap.sh && npm run build' ]
11 silly lifecycle material-components-web-components@~bootstrap: Returned: code: 1  signal: null
12 info lifecycle material-components-web-components@~bootstrap: Failed to exec bootstrap script
13 verbose stack Error: material-components-web-components@ bootstrap: `npm install && ./scripts/bootstrap.sh && npm run build`
13 verbose stack Exit status 1
13 verbose stack     at EventEmitter.<anonymous> (/home/rage/.npm-global/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at EventEmitter.emit (events.js:214:7)
13 verbose stack     at ChildProcess.<anonymous> (/home/rage/.npm-global/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack     at emitTwo (events.js:126:13)
13 verbose stack     at ChildProcess.emit (events.js:214:7)
13 verbose stack     at maybeClose (internal/child_process.js:915:16)
13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid material-components-web-components@
15 verbose cwd /home/rage/Documents/Polymer/material-components-web-components
16 verbose Linux 4.15.0-43-generic
17 verbose argv "/usr/bin/node" "/home/rage/.npm-global/bin/npm" "run" "bootstrap"
18 verbose node v8.15.0
19 verbose npm  v6.5.0
20 error code ELIFECYCLE
21 error errno 1
22 error material-components-web-components@ bootstrap: `npm install && ./scripts/bootstrap.sh && npm run build`
22 error Exit status 1
23 error Failed at the material-components-web-components@ bootstrap script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Any help would be appreciated.
Thanks.

Just ran a fresh clone and build and it worked fine.
> git clone git@github.com:material-components/material-components-web-components.git
> npm run bootstrap

Closing this now but please let us know if you are still having issue.

I just did a clean clone and got the same error.

Apologies, after I set up wsl on my Windows machine, it now builds fine.

Thanks for the report.

authors: JustinXinLiu frankiefu rainerlopez


text:
Slider scroll fix

Fixed issue where slider when scrolled horizontally or when resized would not slide properly by calling layout (which gets bounding client rect) on touchstart or mousedown.
Also changelog for this and my other icon-button, ripple and snackbar PRs
Fixes #574

also added change fixing scroll x. I seemed to have previously only fixed the initial display being none issue (linked in issue)


text:
DO NOT MERGE Tests: Madaz master

tests for https://github.com/material-components/material-components-web-react/pull/662/

Codecov Report

Merging #664 into rc0.10.0 will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           rc0.10.0    #664   +/-   ##
========================================
  Coverage      94.8%   94.8%
========================================
  Files            68      68
  Lines          2849    2849
  Branches        429     429
========================================
  Hits           2701    2701
  Misses           51      51
  Partials         97      97

Continue to review full report at Codecov.

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


text:
Unable to pass variables to job?

Hello!
I seem to be struggling to pass variables to my job... Also trying out your PR which is making things better but still having issues (https://github.com/mateusjunges/trackable-jobs-for-laravel/pull/33)
I call my job with:
GenerateAudioLogsPlaylist::dispatch($startTimestamp, $endTimestamp)
And my job looks similar to...
<?php

namespace App\Jobs;

use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Storage;
use Junges\TrackableJobs\Concerns\Trackable;

class GenerateAudioLogsPlaylist implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels, Trackable {
        __construct as __baseConstruct;
    }

    protected $startTimestamp;
    protected $endTimestamp;

    /**
     * Create a new job instance.
     *
     * @return void
     */
    public function __construct($startTimestamp, $endTimestamp)
    {
        $this->startTimestamp = $startTimestamp;
        $this->endTimestamp = $endTimestamp;
        $this->__baseConstruct($startTimestamp, $endTimestamp);
    }

I get the following which makes sense because your construct requires two variables trackable/shouldBeTracked), but how do I go about passing in variables?
Too few arguments to function App\Jobs\GenerateAudioLogsPlaylist::__construct(), 1 passed in /var/www/app/vendor/laravel/framework/src/Illuminate/Foundation/Bus/Dispatchable.php on line 17 and exactly 2 expected

Hi @scottgrobinson  I'm returning from my vacation trip today, I'll look into this tomorrow. Thanks for reporting.

@mateusjunges Thanks for letting me know! I worked around this with a status table for my single job (as it's just the one job I needed this for). I won't specifically need this fix myself but appreciate the update :)

@scottgrobinson In general you don't need to track the runtime of the job as this is already done with the timestamps of the records.
Calculate the runtime with the started_at and finished_at timestamp or with created_at and finished_at if the job got retried.
Also Laravel Horizon Dashboard gives you more details on runtime, you may be able to load the runtime direct from the Redis Database.

Hi @scottgrobinson sorry for my late response.
Actually, with #33 the __constructor method expects null or a Model instance as the first parameter, and a bool as the second parameter, indicating whether the job should be tracked or not, so you can't pass the two timestamps to the __baseConstruct method.
Also, what @DimaVIII said is correct, you can calculate the duration of the job using the started_at and finished_at fields.

I seem to be struggling to pass variables to my job... Also trying out your PR which is making things better but still having issues (#33)

About this, the PR is not production ready yet, so please don't use it on production before it is released. Since I was on vacations I was not working on it, but I'll get back to it during this week.
Please let me know if there is anything more that I can help you with.

authors: DimaVIII mateusjunges scottgrobinson

repo: mateusjunges/trackable-jobs-for-laravel


text:
Create 0000-01-02-mathewgomas.md

---layout: slide
title: “Welcome to our second slide!”
Your test
Use the left arrow to go back

Commit changes

repo: mathewgomas/github-slideshow


text:
Equations not properly rendering in website, despite following documentation.

Issue Summary
I'm using Artix Linux, DWM, with Clojure's Cryogen framework to write a blog.
I tried to put MathJax into the posts s. The website function as a markdown rendered to html (Jekyll, Hugo etc style). So, I use pandoc to convert Org-mode notes to Markdown.
This is the scripts in the head of every post:
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
<script>
      MathJax = {
	  tex: {
	      // packages: ['base,asm'],        // extensions to use
	      inlineMath: [              // start/end delimiter pairs for in-line math
		  ['\\(', '\\)']
	      ],
	      displayMath: [             // start/end delimiter pairs for display math
		  ['$$', '$$'],
		  ['\\[', '\\]'],
		  ['\begin{equation}', '\end{equation}']
	      ],
	      processEscapes: true,      // use \$ to produce a literal dollar sign
	      processEnvironments: true, // process \begin{xxx}...\end{xxx} outside math mode
	      processRefs: true,         // process \ref{...} outside of math mode
	      digits: /^(?:[0-9]+(?:\{,\}[0-9]{3})*(?:\.[0-9]*)?|\.[0-9]+)/,
              // pattern for recognizing numbers
	  }};
    </script>

Steps to Reproduce:

Have leiningen installed in your system.
git clone https://github.com/BuddhiLW/Blobing.git
cd Blobing
lein serve
http://localhost:3000/

This is what gets rendered:

The markdown conversion messes up the TeX markup before MathJax gets to it. See http://docs.mathjax.org/en/latest/input/tex/html.html?highlight=markdown#interactions-with-content-management-systems and most of https://github.com/mathjax/MathJax/issues?q=markdown for many (many) discussions.

Ok!
Well, in general I exchanged $<code>$ for \( <code> \). \(e^2_M\) for \(e\^2\_M\), so ^ for ^ and _ for _.

It worked. Although, it will be very annoying to do that by hand every time. Well... Anyhow, thank you!

Some markdown parsers have support for ignoring TeX fragments built in or via plugins (e.g., kramdown, markdown-it). This usually makes things easier for authors.

authors: BuddhiLW pkra

repo: mathjax/MathJax


text:
Please add a way to specify the license file location

Hi,
we're running Matlab in an apptainer container. This runs on a cluster node we connect to via ssh using the VS Code Remote SSH extension. The container image is public so we cannot put any license information in there. The workaround so far is to specify the license server as an environment variable. This works fine when running slurm jobs and starting matlab from the shell etc. But the VS Code extension does not seem to care about the env variable so it starts the activation app. This fails if the user is connecting from a windows machine because activation needs X which the user does not have. (It works fine from Linux because X11 forwarding is enabled. Still, not ideal because just checking out from the lic server would be more convenient).
I would like to suggest to add a preference to the extension similar to the -c command line switch, so users can enter their license location. Alternatively one could make sure to honor the environment variable which I have checked is visible when I open a terminal!
Thanks!

Hi @thht, thanks for raising this to us!
Can you clarify which environment variable you are referring to?

I'm referring to the MLM_LICENSE_FILE env variable.

authors: dklilley thht

repo: mathworks/MATLAB-extension-for-vscode


text:
🛑 Gestor Applicados21 is down

In 5dc0c96, Gestor Applicados21 (https://applicados21.e-valuados.com) was down:

HTTP code: 502
Response time: 69 ms

Resolved: Gestor Applicados21 is back up in 0b2f8a0.

repo: matiasmir/status


text:
Getting security alerts while using this action for enterprise project

Hi Team,
I need this actions to be used by my project and since it's not allowed by default our enterprise GitHub Team need to review and add it for our project. Our GitHub Team has found alert and mentioned below point.

Can you please look into it and help.

"The actions requested are available on our github instance but we are seeing dependabot alerts. Since those repo have vulnerabilities, we won’t be able to make it public. Look like it’s patched on the master but they haven’t release it. Please file issue with the actions owner to release patched version. After that, we can make it available for your team to use."

Hi @manoj27730 thanks for bringing this to our attention. We have bumped the mentioned dependencies in the new release v1.3.2.
Thanks,
David

repo: matlab-actions/run-tests


text:
/client/r0/keys/query: Ensure 400 on non-spec input

Synapse allows this test case due to lack of type checking but
Dendrite rejects it. This form (or a variant of it) is used by
iOS clients.

https://github.com/vector-im/element-ios/issues/3539 is the iOS bug for reference.

repo: matrix-org/complement


text:
Refresh from URL steals focus, displays "Updating..."

When I tell BitBar to refresh using the URL syntax "bitbar://refreshPlugin?name=blablabla", two things happen which I find undesirable.

BitBar steals the application focus, or at least un-focuses the app I'm in. An example of this is that I'm using Keyboard Maestro which will periodically ask BitBar to refresh a plugin. This happens in the background, as a result of some action like a timer. When it happens, The app I'm in loses focus.

When I use the URL plugin refresh, BitBar displays "Updating" in the Mac Menubar. Is this really necessary, when I'm only refreshing one plugin? It's annoying and distracting. ;p

Or is there another syntax which will not cause this to happen? I'm really just saying "I know you're supposed to run on the hour, but please run right now". So perhaps "refresh" is the wrong thing to use? Thanks.
PS: Love BitBar!!

Wow, I was going to post something here very similar to what you wrote yesterday, so you beat me to the punch. I agree that the "Updating" text in the menubar seems a little unnecessary. Given BitBar plug-ins auto refresh on a schedule determined by the timing you set for the plug-in, and in those cases it does so completely silently, I would also love to see some method of invoking that silent refresh without seeing the menubar icon change to the Updating text. Maybe they can keep the original method, but add an additional url syntax to make it update in a silent way, just as the plug-ins do now.
And yes, the app stealing focus is also annoying, but I think this happens because technically the open bitbar:// url syntax is actually activating BitBar, and since its an app, it will change the focus to that app. That said, I hope this issue can be fixed with some way of not making it steal the focus, but that might be tricky.

I think you can use the -g option with open, so the app won't focus.

I wouldn't want a refresh via the URL scheme to be silent, so I could notice any malicious activity i.e. from a website.

Ah, thanks for that. Just tested and yes indeed adding -g to open fixes the focus stealing problem. Nice!
As for the concern about malicious activity, I guess I'm not understanding the concern. You're worried about a site refreshing your BitBar plugins surreptitiously? Or am I misunderstanding what you mean here?

Thanks for the tip. I'm confused, though. Where is this "open" to which I should add the "-g"? Thanks!

@mm2270 Exactly. Imagine a script that uses a paid API key like forecast.io. I admit it is unlikely but still a possibility.

@dagware I include code in my scripts that when certain lines are selected in the menu, it calls the following syntax:
open bitbar://refresPlugin?name=pluginname.*?.sh

If I change it to:
open -g bitbar://refresPlugin?name=pluginname.*?.sh

It does the same refresh, but does not steal the focus.

@iosdeveloper OK, I see what you mean about a paid api where it could rack up a big overage bill, or blow through a quota very quickly if it were being done silently. As you said though, that seems very unlikely to happen, but I guess its still enough of a concern for some that it probably shouldn't be changed.
I'd still love to see it not say "Updating". Maybe the icon can become greyed out temporarily while its updating. Or maybe instead of "Updating" can it just change to ... while its refreshing? That would be a little less distracting, but still noticeable for anyone that needed to monitor those refreshes.

@mm2270 Ah, I get it. I'm actually calling this from another app (Keyboard Maestro), so I don't think this will work for me.

@dagware I don't use Keyboard Maestro, but from what I've read about it, it can do a million different things. I can't believe one of those things isn't the ability to run a simple shell command. That's all that open -g command is, so I'd be surprised if you couldn't make KM refresh your plug-in with the open command instead of accessing the URL directly.

I tried that, actually (and yes, KM can do a million different things). I wonder if I'm doing something else wrong.
Hmmm. I just ran it from terminal, and it worked. I must be doing something wrong from KM. I'll check on there forum. Thanks for the clarification!

Yes, it works from KM. I'm just an idiot. ;)
Still would like it to not display "Updating" though...

@dagware Looks like my comment above was labeled as "todo" which means they are planning on looking at it. Probably not to be completely silent, but less intrusive at least. Good enough for me! :) Thanks @iosdeveloper!

Cool! There's so many things I would consider doing if it would update silently.

Just circling back on this, I wanted to post that I was able to make the changes myself to change the Updating... text when manually refreshing (or refreshing using the URL method) to simply ...
It seems the one location this is in is the ExecutablePlugin.m from the Xcode project. I located it by searching and found the following section in that file.
- (void)performRefreshNow {
  self.content = @"Updating ...";

I just changed it to:
- (void)performRefreshNow {
  self.content = @"...";

And rebuilt BitBar successfully. I needed to quit and relaunch BitBar after moving the new build into place, but after that any manual refreshing only shows ... in the menu briefly.
It occurred to me you could use this method to change it to anything you want, possibly localizing it for example to your native language, or even replacing it with a symbol, such as ⟳ to indicate a refresh is taking place. The only reason I say this is because when BitBar is first starting up from a fresh launch or after choosing Refresh All from the Preferences submenu, it shows ... for all plug-ins, so using ... also for a manual or programmatic refresh could be confused with a launch or full refresh. So maybe using something else, also discrete, but unique might make more sense. Either way is good though.
For anyone wanting to do this now, you can just pull down the project and make the change yourself. Hope that helps.

@mm2270 I liked your suggestion to grey it out during refresh.

@iosdeveloper Oh, yeah. I like that idea too, and hope to see that implemented. I was only posting the above as an interim solution until that gets done. I wouldn't know how to make the icon/text for the plug-in grey out, so that will be up to you guys to do :)
BTW, any chance we'll be seeing a new full build at some point? Its been a while since the last one and I see that there have been several PRs with some interesting new features, which haven't been incorporated yet into the master, I don't think.

@mm2270 You can switch to the latest beta release, which should contain these PRs. Some still need testing and feedback. We might also be simplifying the Plugin API before releasing v2.0.0.

@iosdeveloper Thanks. I'd forgotten about the beta builds. So I'm trying it out now, and there seem to be issues with it. My custom plug-ins are not displaying fully with the v2 beta 4 version. This is happening on 2 of them that I have loaded.
Essentially, the menu becomes truncated at some arbitrary location and doesn't display everything it should be displaying. Its almost as if the echo or print to generate the menu is being cut off prematurely and BitBar is only receiving some of the information, not all of it.
So for now, the beta is a no go for me given this issue. If there's anything I can do to assist with tracking down the problem, I'd be glad to help.

@mm2270 Do you use ~~~ in your scripts? This is reserved now for long running plugins.

@iosdeveloper No, none of my scripts are using that. I'm aware of that change in the beta and it was actually one of the things I was curious about experimenting with. But those characters are not in the output.
To be clear, the script output is pretty long, and depending on screen size, might require some menu scrolling to see all the output. It can take several seconds on a refresh when the script runs to complete. I did some testing and I noticed that it seems to get cut off at slightly different locations when I refresh it manually. So its not even being cut off in the same place each time it refreshes.
I'm not sure what it could be. Is there a limit in the beta for how long the script can run before it finalizes the menu information to display? I can do some testing with another plugin that has lots of lines but completes much faster to see if its a timing thing.

@mm2270 No limit. It should read all standard output until the script exits. I would really like to fix this bug but I'm unable to reproduce it. Could you try to come up with a minimal script you can share with me that does not contain anything sensitive? Maybe we stop reading too early after the script exits.

@iosdeveloper. Hey, sorry. I saw your post, but didn't get a chance to respond until now. I'd be happy to post up an example plugin script that exhibits the cut-off issue i described. I'll work on something.
As an aside, I got several email notices about a BitBar 1.9.2 beta 1 release, but when I click the links in the email notification, it brings me to a github 404 page. Where is the 1.9.2 beta 1 version I can access? I don't see it on the beta release branch. Should I be testing out these scripts with this 1.9.2 beta as well, or were you looking for something to test around the 2.0 beta only?

Sorry, these were published accidentally while testing the https://github.com/sparkle-project/Sparkle integration that I'm working on.

Ah, Ok. No worries. I just wanted to make sure I wasn't missing anything. So the latest beta right now is still 2.0 beta 4. Is that right?

@mm2270 Correct.

@mm2270 Please open a new issue with the example script, so we can track it better.

@dagware @mm2270 Grayed out status item in v2 beta 5.

@mm2270 Standard output truncation should be fixed in v2 beta 6.

@iosdeveloper. Just commenting back that, yes, with the latest beta 6 release, my plug-ins are now fully rendering in the menu(s). So far all refreshes, both from the command line and from the menus themselves have rendered the full menu out, not truncated like I was seeing before. Nice! Thanks for fixing that!
Also, I'm loving the grayed out icon/menu text now for refreshing, and I'm playing with the checkmark function as well. Looks good! One new feature I haven't been able to really make sense of yet is the screenshot url. Any further documentation on how to use that? Its not super clear how that works right now in the docs. I think I could make use of it in one of my plugins, but I'm just not clear on the syntax to use with that.

@mm2270 The screenshot endpoint was initially added to enable automated screenshots in the plugins repo from Travis CI. Here is a proof of concept: https://github.com/iosdeveloper/ScreenshotTest/blob/master/screenshot.sh#L6

Thanks! That helps. I was able to get it working by looking at the example. And thanks for the clarification on its original intent. Not certain it will prove useful in normal use, but its good to know it can be done anyway.

authors: dagware iosdeveloper mm2270

repo: matryer/bitbar


text:
Add test coverage summary to report comment

@mattallty what do you think about adding a summary of the overall test coverage report to the reporting comment, for example like this:

File
% Stmts
% Branch
% Funcs
% Lines

All files
91.2
94.15
90.42
81.55

Test coverage detailed results

   ... detailed results
   https://github.com/mattallty/jest-github-action/issues/27

We've done something like that in https://github.com/FirmNav/jest-code-coverage-commenter/blob/master/src/code-coverage.ts which may work for inspiration

We've done something like that in https://github.com/FirmNav/jest-code-coverage-commenter/blob/master/src/code-coverage.ts which may work for inspiration

I find the solution in a similar package
https://github.com/marketplace/actions/jest-coverage-comment

authors: Jacse MishaKav tobiasbueschel

repo: mattallty/jest-github-action


text:
Bug in Umbraco V8.8.0

I've encountered a bug when using AuthU in Umbraco 8.8.0.
The bug is described in a post here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/103925-authu-not-working-properly-after-upgrade-to-umbraco-880
The problem stems from the validation of an IUser where an error is thrown from a function called IMembershipMemberService<IUser>.SetLastLogin
I've implemented a fix with another validation function which I was told the new umbraco version wants use in replacement of the current:
var user = this.MemberProvider.GetUser(username, false);
return user != null && user.IsApproved && !user.IsLockedOut;

My solution is posted here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/103925-authu-not-working-properly-after-upgrade-to-umbraco-880#comment-324587
The solution is to change the ValidateUser function of the MembershipProvideOAuthUserService  to the following:
public bool ValidateUser(string username, string password) {
    try {
        return Current.UmbracoContext.Security.ValidateBackOfficeCredentials(username, password);
    }
    catch {
         return false;
    }
}

I've also reported this behavior as an issue to the Umbraco CMS repo : https://github.com/umbraco/Umbraco-CMS/issues/9244

@nikcio Did you experience this for both backoffice user authentication, and members, or just backoffice users? Thanks!

@nikcio Did you experience this for both backoffice user authentication, and members, or just backoffice users? Thanks!

As I remember I only tried authenticating backoffice users.

As I remember I only tried authenticating backoffice users.

This error should be fixed in future versions and will only throw a warning instead of an error. See this issue posted on the Umbraco CMS repo for more info: umbraco/Umbraco-CMS#9244

This error should be fixed in future versions and will only throw a warning instead of an error. See this issue posted on the Umbraco CMS repo for more info: umbraco/Umbraco-CMS#9244

authors: nikcio somoreingold

repo: mattbrailsford/umbraco-authu


text:
The unit test does not work with Simple Mapping (sub-transformation) step

I created a unit test in the transformation with the Simple Mapping (sub-transformation) step. However, when I ran the unit test, it shows an error in the attached image.

Was this issue resolved ?

repo: mattcasters/pentaho-pdi-dataset


text:
[Bug]: Error when using Vue 3 component in Nuxt 3

Contact Details
talha@karasu.xyz
What happened?
I am trying to use your Vue 3 component in Nuxt 3. It works as expected, but there is an error on the console. ParticlesComponent is inside the <ClientOnly> tag, but that doesn't fix it.
Error on console:
Uncaught TypeError: can't access property "destroyed", n is undefined      vue3-particles.es.js:2400:10

tsParticles Version
2.2.3
Which library are you using?
Vue.js 3.x (vue3-particles, particles.vue3)
tsParticles Configuration
{
  fullScreen: {
    enable: true,
    zIndex: 1
  },
  fps_limit: 60,
  interactivity: {
    detect_on: 'canvas',
    events: {
      onclick: { enable: true, mode: 'push' }, onhover: {
        enable: true, mode: 'attract',
        parallax: { enable: false, force: 60, smooth: 10 }
      }, resize: true
    }, modes: {
      push: { quantity: 4 }, attract: {
        distance: 200, duration: 0.4, factor: 5
      }
    }
  }, particles: {
    color: { value: '#e04622' }, line_linked: {
      color: 'e04622', distance: 150, enable: true, opacity: 0.4, width: 1
    }, move: {
      attract: {
        enable: false,
        rotateX: 600, rotateY: 1200
      }, bounce: false, direction: 'none', enable: true, out_mode: 'out', random: false,
      speed: 2, straight: false
    }, number: { density: { enable: true, value_area: 800 }, value: 80 }, opacity: {
      anim:
        { enable: false, opacity_min: 0.1, speed: 1, sync: false }, random: false, value: 0.5
    }, shape: {
      character: {
        fill: false, font: 'Verdana', style: '', value: '*', weight: '400'
      }, image: {
        height: 100, replace_color:
          true, src: 'images/github.svg', width: 100
      }, polygon: { nb_sides: 5 }, stroke: {
        color: '#e04622', width: 0
      }, type: 'circle'
    }, size: {
      anim: { enable: false, size_min: 0.1, speed: 40, sync: false }, random: true,
      value: 5
    }
  }, polygon: {
    draw: { enable: false, lineColor: '#e04622', lineWidth: 0.5 }, move: { radius: 10 },
    scale: 1, type: 'none', url: ''
  }, retina_detect: true
}

What browsers are you seeing the problem on?
Firefox, Chrome, Microsoft Edge
Relevant log output
Uncaught TypeError: can't access property "destroyed", n is undefined
    NuxtJS 34
        P
        play
        intersectionManager
        vs
        vs
        loadOptions
        load
        load
        mounted
        nextTick
        mounted
        callWithErrorHandling
        callWithAsyncErrorHandling
        __weh
        flushPostFlushCbs
        flushJobs
        promise callback*queueFlush
        queueCb
        queuePostFlushCb
        resolve
        hydrateSuspense
        hydrateNode
        hydrateSubTree
        componentUpdateFn
        run
        update
        setupRenderEffect
        mountComponent
        hydrateNode
        hydrate2
        mount
        mount
        initApp
        async*
vue3-particles.es.js:2400:10

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi @talhabw, I need a reproducible sample to see more error details. I don't have that error in the Nuxt 3 demo here: https://github.com/tsparticles/nuxt3-particles-demo

Ok, it's not necessary providing a sample. I've seen that the #4606 is still a thing, the guardCheck function has a bug. It happens only in detectsOn: "canvas".

Hi, sorry for not providing an example from the start. You are indeed right, I experimented with my config a little and realized it only happens when detectsOn: "canvas".

authors: matteobruni talhabw

repo: matteobruni/tsparticles


text:
Finality paragraph update

Removed the word that so the sentence makes more sense:

the more L1 blocks generated after the initial block is processed…

Alternatively could've had:

the more L1 blocks that are generated after the initial block is processed…

Prefer the former as there are less words & possibly less cognitive load

docs were updated, so closing this as deprecated

authors: githubdoramon kuzivany


text:
Upgrade dependencies

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Upgrade dependencies.
Issue link
#805
Test Cases
a. General usecases of React UI (Almost covered by CircleCI)
b. Modal to add a new server (Almost covered by CircleCI)
c. Spellchecker
d. Animation (Hovering URL, "Saving..." indicators of Settings Page)
Additional Notes
https://circleci.com/gh/yuya-oc/desktop/901#artifacts

For now, I haven't seen significant issues on Windows 10.
@jasonblais @esethna Wondering if you could take a little look.

I've downloaded this on my Mac now, looks good so far. Will post here if I find any issues.

@jasonblais @esethna For now, I think we didn't get significant issues on this. If there is missed problem, we can get later. How about?

Works well for me. @esethna can you help sign off as well if you haven't seen issues?

Looks good on my windows machine

Thanks all!

authors: esethna jasonblais yuya-oc

repo: mattermost/desktop


text:
Network map missing ports

Documentation for: https://github.com/mattermost/docs/issues/4107
Updated:

Self-Managed Admin Guide > Architecture Overview > Basics

Added new section called Mattermost Services Ports

@sadohert - The port details documented as part of this PR have been graciously provided by @streamer45. Can you provide a second set of eyes as a technical reviewer, please?

repo: mattermost/docs


text:
Add Install from tar guide

Summary
We are making changes to how we present information on our deploy and download web pages and we need a documentation page that provides non-platform specific information on how to install Mattermost from the tarball releases we make. This content is almost a direct replica of the installation instructions for Debian Buster with some slight tweaks to the intro/outro.
I have two unanswered questions:

Is installing from tarball synonymous with installing from source? I like the latter language better but I want to make sure its technically correct.
Since this is a replica of other content, should we replace the Debian instructions and reference a single file in both locations?

Ticket Link
n/a

@nab-77 Can help us with the terminology question. While I welcome opportunities to include the term "tarball" in our product docs ;) (because who wouldn't really?!?), if "source" is technically equivalent, I agree that it's the term that will speak to the widest audience. The term "tarball" will only be understood by a subset of potential audiences.
We should absolutely be writing content once and reusing it where appropriate. Docs can help with a content reuse strategy using include directives in our RST files.

After speaking with @nab-77 , we decided to change this to Install from Tar and I replaced the Debian instructions according to the request from @cwarnermm. The Debian Buster page is the only place that references the doc page that this PR deprecates.

Super clear update. I also assume @BenLloydPearson we will pull this content into the relevant tab on the reworked /deploy page.

@nab-77 we decided not to go the embed direction because that introduces a risk of having docs changes ripple into breaking changes on our website. Instead, we will direct people who download the tarball to visit this docs page.

@BenLloydPearson - Great update! This new page isn't yet accessible from the navigation pane. You'll need to add this new page to the toctree on the landing page.

@cwarnermm This should be all set now.

Super clear update. I also assume @BenLloydPearson we will pull this content into the relevant tab on the reworked /deploy page.

@nab-77 we decided not to go the embed direction because that introduces a risk of having docs changes ripple into breaking changes on our website. Instead, we will direct people who download the tarball to visit this docs page.

There are so many great examples wtih ISVs where you do layout steps on such a /deploy (or /install) page. Why would we not include the tarball install steps (as we are doing with Docker) on this page and save that click out to docs? This page is all about getting an instance up and running.

authors: BenLloydPearson cwarnermm nab-77


text:
iOS App cannot connect while on celluar

Submit feature requests to http://www.mattermost.org/feature-requests/. File non-security related bugs here in the following format:
Summary
When off Wifi, the app no longer can connect.
Environment Information

Device Name: iPhone X
OS Version: 14.4
Mattermost App Version: 1.39.0
Mattermost Server Version: 5.30.0

Steps to reproduce
How can we reproduce the issue?
Disable wifi
Expected behavior
Describe your issue in detail.
Service as normal
Observed behavior
What did you see happen? Please include relevant error messages and/or screenshots.

Possible fixes
If you can, link to the line of code that might be responsible for the problem.
Connect to wifi

As you can see in the attached screenshot I'm able to connect to our community server without wifi just fine!
[Uploading 108613335...]

Oh if it works for you then I must be making it up.

It could just be that the request to get the teams you belong failed for some reason

For sure it is some reason, that's what I'm trying to figure out
I turn off Wifi, I can't connect, turn it on, it works.

You can see the behavior here.
https://www.youtube.com/watch?v=bFbi85yTaEY

If you go to your phone settings and look for Mattermost, is cellular data enabled?

Yes, and I toggled it to see if maybe it was somehow thinking it wasn't enabled.

Can you reach the server by entering the url in chrome or safari while on cellular network?

What about connecting to https://community.mattermost.com ?

https://community.mattermost.com loads on Wifi and Cellular.
The server I'm trying to access only works on Wifi, off wifi if I go to the site directly I'm getting an SSL error.

Then it doesn't seem to be an app issue.. sadly can't say for sure what it could be

resolved, looks like it was an ipv6 issue on the server

authors: enahum officiallymarky

repo: mattermost/mattermost-mobile


text:
Add test notification tool

Summary
Add test notification tool to the notification settings. This will only show after 10.3 (current target for the feature). It won't show on any other server.
Ticket Link
https://mattermost.atlassian.net/browse/MM-60736
Related PR
Web/Server: https://github.com/mattermost/mattermost/pull/28334
Release Note
Add the test notification tool for servers above v10.3.0.

I reduced the required version to 10.0 just to simplify the testing of this feature. This has to be reverted before we merge.

@larkox Looks like the Build Apps action failed. Could you help generating the builds?

@abhijit-singh They should be these ones:
https://community.mattermost.com/core/pl/qyu9tf6xxtdofy6qon77c3b5da
https://community.mattermost.com/core/pl/1758pnjxwbntpmzx43ownd39jo

@yasserfaraazkhan I already moved the version to 10.3, so you may have to test with a local server. But apart of that, this should be ready to test (and merge :smile: ).

authors: abhijit-singh larkox


text:
Framework Docs

Summary
Bindings and calls are described in detail. Install, provisioning, and authentication need to be fleshed out still.
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-33252

Could you please add an introduction to the docs to help me and other understand who the audience is and what this document cover?

@hanzei Will do. For a brief answer here, this doc is meant to help the security team review the framework. The idea was for me to submit a WIP that includes bindings and calls, and @levb (and others possibly?) to include additions for installing, provisioning, and authentication in this same PR.
The ultimate audience is probably App developers. I'll write an introduction as such, and continue documenting the interactivity pieces.

Closing in favor of https://github.com/mattermost/mattermost-plugin-apps/pull/100

repo: mattermost/mattermost-plugin-apps


text:
MM-21421: Fix height and width parameters for inline image.

Summary
This component was changed to inherit from PureComponent. When that was done, the variable props included more than just the properties for the image. When this was done, instead of passing props to the SizeAwareImage, individual properties were set and passed.
Width and Height and Title are no longer being passed to SizeAwareImage. This PR adds those three properties, so that SizeAwareImage will set them.
Ticket Link
https://mattermost.atlassian.net/browse/MM-21421
Screenshots

Creating a new SpinWick test server using Mattermost Cloud.

Mattermost test server created! :tada:
Access here: https://mattermost-webapp-pr-4623.test.mattermost.cloud

Account Type
Username
Password

Admin
sysadmin
Sys@dmin123

User
user-1
User-1@123

Test server destroyed

@sbishel Hey, Build failure for linting errors. Can you fix this and merge? Milestone is set for 5.19v so i added it to the PR. So, This has to be cherrypicked to the release branch

/update-branch

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 2d496bf1986f4da5ad5ef941b08aa073de780e7d

@sbishel
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-#4623-upstream-release-5.19-1578411840
Branch 'automated-cherry-pick-of-#4623-upstream-release-5.19-1578411840' set up to track remote branch 'release-5.19' from 'upstream'.
+++ Downloading patch to /tmp/4623.patch (in case you need to do this again)

+++ About to attempt cherry pick of PR. To reattempt:
  $ git am -3 /tmp/4623.patch

Applying: add height, width, and title to properties
Using index info to reconstruct a base tree...
M	components/markdown_image.jsx
M	components/markdown_image.test.jsx
Falling back to patching base and 3-way merge...
Auto-merging components/markdown_image.test.jsx
CONFLICT (content): Merge conflict in components/markdown_image.test.jsx
Auto-merging components/markdown_image.jsx
Patch failed at 0001 add height, width, and title to properties
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

+++ Conflicts detected:

UU components/markdown_image.test.jsx

+++ Aborting in-progress git am.

+++ Returning you to the master branch and cleaning up.

authors: mattermod sbishel sudheerDev

repo: mattermost/mattermost-webapp


text:
Added E2E Cypress test to verify Accessibility Support in different Buttons

Summary
Added E2E Cypress test to verify Accessibility Support in different Buttons
Ticket Link
Fixes https://mattermost.atlassian.net/browse/MM-22624
Screenshots

/update-branch


text:
MM-27826: Test revoking own and others sessions.

Summary
E2E tests for revoking own and others sessions via the system console.
Ticket Link
https://mattermost.atlassian.net/browse/MM-27826

/update-branch

Error trying to update the PR.
Please do it manually.

authors: mattermod mkraft


text:
Move privacy & cookie consents storage location

Privacy and cookie consent are currently stored on localStorage, which means subdomains get a different version, thus showing the popups even though the user has already agreed.
By storing it on cookies, we will be able to hold only one copy of the consent. We might be able to time it with a policy change so we dont have to create additional fallback handlings

Yes, using the cookie upstream version should work, but note that it needs to be forked still, as their "consent" status can not be configured to use a hash instead of a static string, or so it was when I first added it (After talking with them it seems like it is a conscious decision, so it probably has not changed in that regards)

Understood! We'll wind forward your forked version and use that :) And then merge into #1125 too

authors: RabsRincon mattgodbolt

repo: mattgodbolt/compiler-explorer


text:
Show each day event  in each coulmn. Now it  shows like 2nd  day event start s only after the completion of 1 day event

I am using bootstrap calendar and i need to know how to  Show each day event  in each coulmn. Now it  shows like 2nd  day event start s only after the completion of 1 day event

This is done intentionally, if they didn't stack like this then you wouldn't be able to see all of the events as they would overlap one another.


text:
Add testing

After https://github.com/mattn/anko/pull/183
Added testing function into VM so can be used by core, package, and VM.

Codecov Report

Merging #187 into master will decrease coverage by 1.07%.
The diff coverage is 57.65%.

@@            Coverage Diff             @@
##           master     #187      +/-   ##
==========================================
- Coverage   82.72%   81.64%   -1.08%
==========================================
  Files          40       41       +1
  Lines        2772     2866      +94
==========================================
+ Hits         2293     2340      +47
- Misses        350      387      +37
- Partials      129      139      +10

Impacted Files
Coverage Δ

vm/env.go
100% <100%> (ø)
:arrow_up:

vm/vmExpr.go
81.01% <100%> (+0.32%)
:arrow_up:

vm/testing.go
31.88% <31.88%> (ø)

Continue to review full report at Codecov.

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

repo: mattn/anko


text:
Add pm2_id as a part of notification title

Regarding: #15
Inject [pm2_id] in to title and fallbackText, that title would be formatted as name[pm2_id] event, and fallbackText would be name[pm2_id] event: description.

@abawchen Thanks for the pull request!
Thinking about it now, I agree with @ma-zal, probably only need to show the pm2 process id for processes that are clustered.
Also, I don't know if I am ready for us to move to ES6+ code just yet (for example the let's) because we don't know what version of node people are running. Let's keep it so it will run on older versions of node for now.

@mattpker & @ma-zal
Thanks for input, and I push a commit to show pm id only for clustered processes and switch back to ES5 syntax.
But I think we don't cover those processes running with force mode -- if we want to cover force mode, it has to get process description from pm2.describe to check if any process runs with the app name and wrap scheduleSendToSlack as a callback like:
function parseProcessName(process, callback) {
    pm2.describe(process.name, function(err, processDescription) {
        var displayName = process.name + (processDescription.length > 1 ? '[' + process.pm_id + ']' : '');
        callback(displayName);
    });
}

parseProcessName(data.process, function(name) {
    scheduleSendToSlack({
        name: name,
        event: data.event,
        description: description,
        timestamp: Math.floor(Date.now() / 1000),
    })
});

@abawchen Thanks. I'm merging the "cluster only" version. But we can try your next idea of function parseProcessName in separate branch. We have to try, if calling pm2.describe() have some performance impact.

@ma-zal Thanks, it would be more complicated then I expect -- it has to call pm2.connect before calling pm2.describe -- it may be extract those pm2-related from index.js or it would be a little mess by putting them all together. So I just stop it before going further :p

authors: abawchen ma-zal mattpker


text:
Empty bag Key will conflict with other actions.

There is a conflict with press E to open the door.
Recommended to change to a key with a low reuse rate such as C.
Also, you can add a prompt that shows the use of pack slots like ( 0/15 ).

the key used is the one from the Basegame ( same as the shotgun reload ) in settings Item Tertiary use


text:
[BUG] Syntax error: "(" unexpected when trying to review a NextJS prject

Current Behavior:
When trying to run code-review-gpt in github actions for a NextJS 13 app, it gives the following error:
ERROR	Error: Error: Failed to get files with changes: Error: Failed to execute command. Error: Command failed: git diff -U0 --diff-filter=AMRT 5645654654654656 546546456456456546 /home/runner/work/myapp/src/app/(session)/login/page.tsx
/bin/sh: 1: Syntax error: "(" unexpected

Error: Process completed with exit code 1.

Steps To Reproduce:

Initiate a new NextJS project and enable the app router
Create a page within a route group: https://nextjs.org/docs/app/building-your-application/routing/route-groups
Try to run code-review-gpt in for the project in github actions

Suggestions on the root cause
I think the problem is because in NextJS 13 route groups, we use () in the folder name.  When I checked, some suggest that the problem might be with the shell. I set my Github actions to use the bash shell shell: bash, but it still did not work.

Hey, thanks for your issue. I'll have a look at what we can do to support NextJS this week

Hey, thanks for your issue. I'll have a look at what we can do to support NextJS this week

Awesome thanks!

authors: THPubs mattzcarey

repo: mattzcarey/code-review-gpt


text:
Add redis and ability to save stdout

I just lacked these features to start using this script.
Сcache can use redis out of the box. And usually when people start looking for something for clang-tidy they already have redis setted up for ccache.
I also need the saved error output.

thanks for the PR

authors: bin-i matus-chochlik

repo: matus-chochlik/ctcache


text:
The global.css file is overwritten by Smelte

Whatever change I make to global.css, it does not keep it. The recompilation of any .svelte file overwrites it. Where do I make persistent changes to global.css from?

this is my rollup.config.js, the project css is written to bundle.css... while smelte write to global.css
if you want to use global.css, maybe just change the smelte to output to something like "static/smelte.css"

svelte({
        // enable run-time checks when not in production
        dev: !production,
        hydratable: true,
        // we'll extract any component CSS out into
        // a separate file — better for performance
        css: css => {
          css.write(`${buildDir}/bundle.css`);
        }
      }),
smelte({
        purge: production,
        output: "static/global.css", // it defaults to static/global.css which is probably what you expect in Sapper
        postcss: [], // Your PostCSS plugins
        whitelist: [], // Array of classnames whitelisted from purging
        whitelistPatterns: [], // Same as above, but list of regexes
        tailwind: {
          colors: {
            primary: "#d42626",
            secondary: "#009688",
            error: "#f44336",
            success: "#4caf50",
            alert: "#ff9800",
            blue: "#2196f3",
            dark: "#212121"
          }, // Object of colors to generate a palette from, and then all the utility classes
          darkMode: true,
        },
        // Any other props will be applied on top of default Smelte tailwind.config.js
      }),

repo: matyunya/smelte


text:
🛑 API transact - PROD is down

In 4b115d5, API transact - PROD (https://transact.prod.api.eflow.com.ar/swagger) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API transact - PROD is back up in b185c1c.

repo: mauribesson/upptime


text:
Fleece.Redis

[x] First iteration of codec for redis
[x] fieldStr
[x] fieldInt64
[x] fieldBool
[x] Tests of simple mappings

First step to Redis compatible Fleece. Thought here is that this would actually be sweet to max with ofJson/toJson.

It's not generic enough due to the type constraints on how redis works

repo: mausch/Fleece


text:
Can the 56k files factory be stopped please?

Just compiled this morning latest patch to logging and the log is a joke. It produces a 56k file every 11 seconds when not armed and it just keeps going. If i arm it logs correctly and as soon as i disarm it restarts to make 56k files, over and over.
This thing has been going on for months now, can it be fixed please?
Would like it to stay opened for people that may encounter same problem, so that they know log is broken at the moment.

Is this the same issue as #221?

As stated in #311, this is not a good issue description and it's a duplicated issue. So re-posting it doesn't make anything better. This project isn't directly funded by anybody. As far as I know, many contributors are working on it in their spare time. There might be some like me, which use mavlink-router at work and therefore can do some fixes and additions in their working hours. But then, I can only justify to fix things we need. What I want to say is, that ranting and spamming us with duplicated issues, doesn't increase the willingness to fix it.
I would like to close this issue, because it's quite useless for:

the developer community because the issue was already reported with a detailed description
any user because it doesn't hit the most obvious search/ the title isn't very useful (I would search for "many log files" instead of "56k files factory" when I have that issue)

Don't worry i fixed the issue myself, took me around 3 hours yesterday afternoon.
Can close it, thanks.

Feel free to open a PR so we can add this fix in the next release, which is planned for January.

Will do when i'll have some spare time, it works for me now, so i am ok.

authors: highfreq jbeyerstedt

repo: mavlink-router/mavlink-router


text:
goto_location function

Hello
I'm in my third bachelor engineering technology. For my bachelorsassignment we have to write code for an autonomous flight test.
We're supposed to write a mission using some specific functions. One of the functions we miss is a 'goto_location' function.
Right now I'm trying to convert the distance in degree's between two coördinates into a distance in meters but I still get some errors.
I am using following code:
`
import math
"""radius of the Earth"""
r = 6373.0
class Waypoint():
def init(self, lat, lon):
self.lat = lat
self.lon = lon
async def distancelat(self, wp1, wp2):
    """LATITUDE"""
    self.wp1 = wp1
    self.wp2 = wp2
    lat1rad = math.radians(wp1.lat)
    lat2rad = math.radians(wp2.lat)

    # change in coordinates
    dlon = 0
    dlat = lat2rad - lat1rad
    # Haversine formula
    a1 = math.sin(dlat / 2) ** 2 + math.cos(lat1rad) * math.cos(lat2rad) * math.sin(dlon / 2) ** 2
    c1 = 2 * math.atan2(math.sqrt(a1), math.sqrt(1 - a1))
    distancelat = float(r * c1*1000)
    return distancelat

async def distancelon(self, wp1, wp2):
    """LONGITUDE"""
    self.wp1 = wp1
    self.wp2 = wp2
    lon1rad = math.radians(wp1.lon)
    lon2rad = math.radians(wp2.lon)
    lat1rad = math.radians(wp1.lat)
    lat2rad = math.radians(wp2.lat)

    # change in coordinates
    dlon = lon2rad - lon1rad
    dlat = 0
    # Haversine formula
    a = math.sin(dlat / 2) ** 2 + math.cos(lat1rad) * math.cos(lat2rad) * math.sin(dlon / 2) ** 2
    c = 2 * math.atan2(math.sqrt(a), math.sqrt(1 - a))
    distancelong = float(r * c*1000)
    return distancelong

`
By using using the offboard function 'set_position_ned' I try to make the drone fly to it's new location.
wp1 = Waypoint(47.3977395, 8.5455929) wp2 = Waypoint(47.398039859999997, 8.5455725400000002) mnorth = Waypoint.distancelat(wp1, wp2) meast = Waypoint.distancelon(wp1, wp2) await drone.offboard.set_position_ned(     (PositionNedYaw(mnorth, meast, -5, 0)))
When trying to complete the mission I get the errors 'no RC and no offboard'. Another error I get is that parameter 'wp2' is ''unfilled''.
Is there any way i can solve this? Is there an easier option?
Hope to hear from you soon and thanks in advance
Katrijn Chys

goto_location will come in the next release, actually :-). And it should come very, very soon. Would that help?

Hello
Thank you for the quick answer.
The final presentation of our bachelors assignment is next Thursday but due to circumstances we were only able to start programming two weeks ago. I don't know if it will be in time for us, but it surely will be on time for the next group.
Is there  a way to request the coördinates of the launch position?
I also have a few question about the script 'mission.py'. I wasn't able to make the drone loiter above a waypoint. I entered this in the code:
mission_items.append(MissionItem(47.398039859999997,
8.5455725400000002,
3,
10,
False,
float('nan'),
float('nan'),
MissionItem.CameraAction.NONE,
float(30),
float('nan')))
When running the script I get this error.
[cid:8f9b94f7-388f-4b5e-a832-160c6c28bc9f]
What do I have to enter to make the drone loiter for 30 seconds above waypoint 2?
We have to make the drone fly from launch to waypoint 1, to waypoint 2, back to launch twice in a row without landing in between and with different altitudes. Is there a way to make the drone return to launch and not land?
Thanks in advance!
Katrijn Chys

Van: Jonas Vautherin notifications@github.com
Verzonden: dinsdag 5 mei 2020 17:11
Aan: mavlink/MAVSDK-Python
CC: Katrijn Chys; Author
Onderwerp: Re: [mavlink/MAVSDK-Python] goto_location function (#179)
goto_location will come in the next release, actually :-). And it should come very, very soon. Would that help?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-624114172, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APOXURIAKA7UI3JOLSCYAOTRQAUBVANCNFSM4MZSYJBQ.
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-624114172", "url": "https://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-624114172", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

The error I get while running the script is ''Distance between waypoints too close: 0 meters''

Ok, got it. That's something to look into for me.

I have seen the "Distance between waypoints too close: 0 meters" issue recently (when working with MAVSDK-Java). The issue I had there was that my mavsdk_server was not up-to-date (I was using the latest protos for MAVSDK-Java).
@KatrijnChys: how do you install MAVSDK-Python? Using pip install?

To install it I opended settings in PyCharm and clicked the '+' under 'project interpreter'. Searched for 'mavsdk' and clicked on  'install package'.
This is how my teacher taught us.

I guess PyCharm is using pip under the hood. So that's fine.
Does mission.py work if you don't modify it at all?

When I run it without modifying it works perfectly. Also when adjusting the coördinates and altitude it workt great.

Right. So maybe @julianoes is right and MAVSDK is doing something weird with the loiter_time (I would guess something like adding an extra waypoint, which is refused by PX4).

MAVSDK-Python 0.7.0 is out, and contains goto_location(...)!
Regarding the loiter_time, @KatrijnChys would you mind trying again with the latest release and open a new issue if that's still failing?

?I'm currently having some troubles with connecting the drone to the code. I'm not able to run any scripts form examples. For example when running the mission.py script, I don't get any error's. I only get "Waiting for mavsdk_server to be ready...".
I tried reïnstalling the simulator and the mavsdk library but it still doesn't work.

Van: Jonas Vautherin notifications@github.com
Verzonden: woensdag 13 mei 2020 23:49
Aan: mavlink/MAVSDK-Python
CC: Katrijn Chys; Mention
Onderwerp: Re: [mavlink/MAVSDK-Python] goto_location function (#179)
MAVSDK-Python 0.7.0 is out, and contains goto_location(...)!
Regarding the loiter_time, @KatrijnChyshttps://github.com/KatrijnChys would you mind trying again with the latest release and open a new issue if that's still failing?

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-628263969, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APOXURI7I72X6THHZFG5AWTRRMIXXANCNFSM4MZSYJBQ.
[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-628263969", "url": "https://github.com/mavlink/MAVSDK-Python/issues/179#issuecomment-628263969", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

@KatrijnChys how are you starting mavsdk_server?
You now need to add the gRPC port mavsdk_server -p 50051.

@JonasVautherin @KatrijnChys

The error I get while running the script is ''Distance between waypoints too close: 0 meters''

I can reproduce that problem. I've created an issue: https://github.com/PX4/Firmware/issues/14904

@KatrijnChys how are you starting mavsdk_server?
You now need to add the gRPC port mavsdk_server -p 50051.

How do I add the gPRC port?

This is not related to goto_location, is it? Can  you open a new issue, explain your setup, and show us the code that opens the connection? We will answer there.

@julianoes In MAVSDK_Python I am using the goto_location function and it takes lat, lon, alt and yaw as params. So, I what I want is, I have to move the drone let's say 20ms north and 15ms west from current location, how to do that. Currently I am using a function to convert lat, lon into north and east, but it's not working as expected.
def get_location_offset_meters(original_location, dNorth, dEast, alt):
    earth_radius = 6378137.0 #Radius of "spherical" earth
    #Coordinate offsets in radians
    dLat = dNorth / earth_radius
    dLon = dEast / (earth_radius *math.cos(math.pi * original_location.latitude_deg / 180))

    #New position in decimal degrees
    new_lat = original_location.latitude_deg + (dLat * 180 / math.pi)
    new_lon = original_location.longitude_deg + (dLon * 180 / math.pi)
    new_alt = original_location.absolute_altitude_m + alt
    new_relative_alt = original_location.relative_altitude_m + alt
    return Position(new_lat, new_lon, new_alt, new_relative_alt)

could you please look into it?

@JonasVautherin didn't you write the code for these conversions somewhere at some point?

You mean this?
def global_from_local(north_m, east_m, ref_lat, ref_lon):
    world_radius_m = 6371000
    ref_lat_rad = math.pi / 180 * ref_lat
    ref_lon_rad = math.pi / 180 * ref_lon
    x_rad = north_m / world_radius_m
    y_rad = east_m / world_radius_m

    c = math.sqrt(x_rad * x_rad + y_rad * y_rad);

    if (c == 0):
        return ref_lat, ref_lon

    sin_c = math.sin(c)
    cos_c = math.cos(c)

    ref_sin_lat = math.sin(ref_lat_rad)
    ref_cos_lat = math.cos(ref_lat_rad)

    lat_rad = math.asin(cos_c * ref_sin_lat + (x_rad * sin_c * ref_cos_lat) / c)
    lon_rad = (ref_lon_rad + math.atan2(y_rad * sin_c, c * ref_cos_lat * cos_c - x_rad * ref_sin_lat * sin_c))

    global_lat = 180 / math.pi * lat_rad
    global_lon = 180 / math.pi * lon_rad

    return global_lat, global_lon

Yes :smile:

Hi, @julianoes Do we have this feature now in MavSDK Python?
I read the documentation and it says about "set_current_mission_item" method. But that method is only getting the index of the current mission, which should I do if I want to give the coordinates of the new location?

@MuhammadBilal1 yes: http://mavsdk-python-docs.s3-website.eu-central-1.amazonaws.com/plugins/action.html#mavsdk.action.Action.goto_location

authors: AzeemMuzammil JonasVautherin KatrijnChys MuhammadBilal1 julianoes

repo: mavlink/MAVSDK-Python


text:
How to set vehicle's flight mode?

Sorry, I ask for a simple question?
We can get the flight mode by telemetry plugin?
But how to set ?
Sorry , I spent much time finding this function. But I didnot find.
Thanks for your help

Depends on which mode you want. To go to hold mode, you can do it from the action plugin. To go to mission mode, you start_mission from the mission plugin. To go to offboard, that's in the offboard plugin.
Does that help?

Thanks, I  get.

authors: JonasVautherin happyzihao

repo: mavlink/MAVSDK


text:
🛑 Evia CosmoDash API is down

In fb14134, Evia CosmoDash API (https://api.cosmodash.evia.network) was down:

HTTP code: 502
Response time: 454 ms

Resolved: Evia CosmoDash API is back up in 8153fd8 after 8 minutes.


text:
add a custom starfield effect

it has custom sprites, colours, and alpha values, and you can have these be allocated in two different ways:

shuffled, where each star gets a random sprite, colour, and alpha independently;
not shuffled, where the first star gets the first (sprite, colour, alpha) triple, the second gets the second, and so on, repeating from the start when we run out

also fixes #10

please make sure to test this; i'm not absolutely sure it works

just noticed the MMHOOK_Celeste.dll sitting in the root directory. you can delete that i think

actually i might want to change the non-shuffled behaviour of the starfield before you merge this

done!

Thanks :+1:


text:
RTL and localization

Is there any support for localization, especially for RTL language. it seems ,it doesn't respect to the default RTL support of iOS, how can I use it for multiple language and RTL?

What do you exactly want?
On Tue, Dec 11, 2018 at 4:28 PM Hamid Shahsavari notifications@github.com
wrote:

Is there any support for localization, especially for RTL language. it
seems ,it doesn't respect to the default RTL support of iOS, how can I use
it for multiple language and RTL?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/maxep/MXSegmentedPager/issues/226, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQFR11enbEuP3s52u52mqT1gXFeFcNUIks5u36v1gaJpZM4ZNWsn
.

for example, I have 3 tabs , I want it to be like this:
tab1  tab2  tab3 --> in English
tab3 tab2  tab1  --> in Persian
but now it is like this:
tab1  tab2  tab3 --> in English and Persian

you should transform it

I tried to but i didn't get any success

It's not just the order of the tabs, it's also the alignment. In the attached screenshots you will see how our Android app handles this correctly using native controls and how the iOS app version looks like.

Please re-open, the issue still stands

Any update on this ? This was closed automatically without any response

authors: hamidire kyriakopoulos magnett shimadaryabari1991

repo: maxep/MXSegmentedPager


text:
make simplify helper functions directly available from the module root

to be able to import like this:
import { simplifySparqlResults } from 'wikibase-sdk'

as an alternative to
import { simplify } from 'wikibase-sdk'
const { sparqlResults: simplifySparqlResults } = simplify

I think the simplify object remains useful for use-case relying on simplify[attribute] (example), so maybe it's fine to also keep it?
@EdJoPaTo @mshd what do you think?

This is nice and I would like to see every instance independent function be exported like that. 🙃

Personally I wouldn’t add them to the Wbk interface. I think the Wbk interface is good for instance specific things but not for the instance indepent methods. In the long runs all of them should be removed there in my opinion but that’s breaking.

This is nice and I would like to see every instance independent function be exported like that.

Personally I wouldn’t add them to the Wbk interface. I think the Wbk interface is good for instance specific things but not for the instance indepent methods. In the long runs all of them should be removed there in my opinion but that’s breaking.

@EdJoPaTo I agree with both proposition, and would be fine with publishing a new major version with the breaking changes. I can't work on it this week, so if you're up for it, you can claim the task; otherwise I might do it in the coming weeks.

@maxlath looks like everything is already exported directly. The breaking change is the removal of the common stuff in the wikibase-sdk.ts. That's easy and as I assume more breaking changes in order to simplify the typings especially for the simplify methods I think we should wait with another breaking change release.
https://github.com/maxlath/wikibase-sdk/blob/41841fa76efd999937b711bb36d7e821d160691f/src/wikibase-sdk.ts#L23-L29

authors: EdJoPaTo maxlath

repo: maxlath/wikibase-sdk


text:
Add english translations

This should be everything needed to write a thesis in English. (apart from the user content)

I've just found out that the TU actually has a list of official translations:
https://service.tu-dortmund.de/en/group/intra/englischer-sprachgebrauch
For example, "Gutachter*in (Erst- / Zweitgutachter/in)" is translated to "reviewer (primary / secondary reviewer)".
Also, in the "Styleguide" it says American English should be used. I'm not sure if the language setting here should therefore be american instead of english.

Also, in the "Styleguide" it says American English should be used. I'm not sure if the language setting here should therefore be american instead of english.

It should yes.

@NicoJG concerning the rest, these are simply the terms used in past theses. There are as far as I know no official guidelines for these at TU Dortmund, but they match guidelines of other German universities.
Maybe it would be good to inquire about official guide lines with the deans office.

authors: NicoJG maxnoe

repo: maxnoe/tudothesis


text:
EROFS: read-only file system on .plist

I am using an auto-update api for an electron app. Grabs latest .zipped up .app from server, downloads and extracts it to overwrite the existing .app. It works fine on my osx, but when another user on a diff machine runs the update, the extraction fails with an error:
EROFS: read-only file system on .plist
It is not able to extract and overwrite the contents of the existing .app because .plist seems to be read-only for other users.
Any solution?

UPDATE:
This is due to osx Sierra AppTranslocation

See:
https://wiki.keyboardmaestro.com/assistance/Translocation_Problem#:~:text=In macOS Sierra%2C Apple added,!)%2C%20the%20application%20will%20be

repo: maxogden/extract-zip


text:
Tap for timing

Closes #485
Did a few refactors:

Moved CommandPanel and MetadataPanel into S2VX.Game.Editor.Containers folder
Made a base class that CommandPanel, MetadataPanel, and TapPanel inherit from

When tapping using keypresses, the tap panel triggers even if the cursor isn't over the tap area. Is that intended?

When tapping using keypresses, the tap panel triggers even if the cursor isn't over the tap area. Is that intended?

Yeah, I noticed that. That's the default behavior of the default OnKey handlers. I kept it like that cause you'll need to do extra work to account for position. You'll probably have to do some additional special position checks if you want to account for that or use the key binding containers like the play screen.

When tapping using keypresses, the tap panel triggers even if the cursor isn't over the tap area. Is that intended?

I did some more experimentation, and I think I was able to make it more consistent with my latest changes. By using an IsHovered check, OnKey handlers now properly processes a tap only when the mouse is over the tap receptor. Also, I switched the OnClick handler to OnMouseUp because I noticed that OnClick actually doesn't trigger for right click for some reason.

authors: Xenocidel maxrchung


text:
Add JSON data for year 2019

Complete this data https://github.com/mazipan/talks/blob/master/all_talks.json for year 2019

i would love to take that

authors: mazipan quanKM

repo: mazipan/talks


text:
Проблема с NotesList

В AmoGetMethod есть лишний if, который не дает указать параметр type, необходимый в NotesList
if($key !== 'domain' && $key !== 'type' && $key !== 'url' && isset($value) && !is_array($value))
Уберите $key !== 'type', чтобы у других людей не возникало с этим проблем

Спасибо большое за обратную связь. В скором времени я выложу новую версию, реализованную на Guzzle и учту Ваше замечание.
Отправлено с iPhone

23 сент. 2015 г., в 21:47, NSLS notifications@github.com написал(а):
В AmoGetMethod есть лишний if, который не дает указать параметр type, необходимый в NotesList
if($key !== 'domain' && $key !== 'type' && $key !== 'url' && isset($value) && !is_array($value))
Уберите $key !== 'type', чтобы у других людей не возникало с этим проблем
—
Reply to this email directly or view it on GitHub.


text:
Create your Internship Repo

Create your GitHub repo. Your repo should outline your vision and provide a Roadmap for your research or work. Here are some resources on how to draft a detailed README and create a Roadmap.
When you have created your repo, please comment with the link here. Be sure to make the repo public.

Here is the link to my repo
https://github.com/simeonhebrew/Bioinformatics-Internship

A link to my repo
https://github.com/Asatsa/internship_repo1

Here is the link to my repo
https://github.com/Gatheru-rose/intern_roadmap

Here is the link to my repo
https://github.com/Kauthar-Omar/My-Bioinformatics-Internship

There goes my link https://github.com/totodingi/bioinformaticsInternship

authors: Asatsa Gatheru-rose Kauthar-Omar kipkurui simeonhebrew totodingi


text:
startswith query

Hello,
The following gives me the syntax error - "Unexpected token startswith in position 41". I was looking at samples in https://github.com/mbdavid/LiteDB/wiki/Expressions and I see startswith is supported. Is startswith supported or something else is wrong with this query?
IBsonDataReader rdr = db.Execute("select $ from Patients WHERE nameLast startswith  'John'");
I figured I can use LIKE 'John%' if startswith is not supported.

@sanjeevbaral The documentation in our github wiki is for v4, the updated documentation for v5 is in our homepage.
You should use db.Execute("select $ from Patients WHERE nameLast like 'John%'");.

Thank you!

authors: lbnascimento sanjeevbaral

repo: mbdavid/LiteDB


text:
Problem with latest react-select package

Hello,
I just encountered a problem which I was able to determine was caused by a revision to the react-select component.
The  uses the select component and what I found was that when I recently tried using the LocalAnalyzer I was shown a blank browser window after the 'Downloading AWCY Runs' dialog. I looked into the console log and saw that the problem was related to a Render call in the component.
I then looked at a repository I checked out in august of this year. There things worked. I compared the versions of the npm components and started rolling back each one.
It seems that react-select@1.0.0-rc.10 is the culprit in this case. When I rolled it back to rc.5 then the LocalAnalyzer started to work again.
Maybe the version # could be pegged to rc.5 until the bug with rc.10 is resolved.
Thank you,
Michael Uman

I see, thanks for the bug report. I'll follow up with a patch to update the latest dependencies, and fix them so things hopefully don't break in the future.

Fixed by #38

Excellent work! Thank you!

repo: mbebenita/aomanalyzer


text:
RAM usage

Some notes about RAM usage based on my experience of  sam's fs_path branch and my branch.
Tasks' stack size

stk_timer_30_task > 64 bytes
stk_dap_task > 168
stk_serial_task > 240
main_task > 88
task running USBD_RTX_MSC_EP_BULK_Event > 308

Make full use of LPC11U35 extra 2KB RAM
Use the following scatter file. We need to put data of startup_lpc11uxx.o and system_lpc11uxx.o in ER_IROM1, for ER_IROM2 is powered on in SystemInit() of system_lpc11uxx.o.
LR_IROM1 0x00000000 0x10000  {    ; load region size_region (64k)
  ER_IROM1 0x00000000 0x10000  {  ; load address = execution address
   *.o (RESET, +First)
   *(InRoot$$Sections)
   .ANY (+RO)
  }
  RW_IRAM1 0x10000000 0x2000  {
   .ANY (+RW +ZI)
   system_LPC11Uxx.o (+RW +ZI)
   startup_LPC11Uxx.o (+RW +ZI)
  }
  RW_IRAM2 0x20000000 0x800  {
   .ANY (+RW +ZI)
  }
}

@sg- I'm testing the intel hex parser you implemented - https://github.com/xiongyihui/intelhex_parser.
There are some changes.

@xiongyihui Nice find! I saw that @toyowata also mentioned something like this in a note about adding support for other LPC11U35 based interface target combinations. Can you point to where in SystemInit the RAM is powered? I dont see mention of it in the datasheet searching on SRAM1. Here is @toyowata memory file.
https://github.com/toyowata/CMSIS-DAP/blob/refactor/shared/cmsis/TARGET_NXP/TARGET_LPC11UXX/TOOLCHAIN_ARM_STD/LPC11U35.sct

The SRAM1 area should be powered on at very early stage if SystemInit() function, because stack can be assigned in this area (depends on allocation by linker).  So, I moved SYSAHBCLKCTRL to the top of SystemInit() function in system_LPC11Uxx.c.
https://github.com/toyowata/CMSIS-DAP/commit/8769040560bd0d226f7affd950fa3582ef39abbf

SRAM1 is powered on at line 452 of system_LPC11Uxx.c
  LPC_SYSCON->SYSAHBCLKCTRL |= (1 << 26) | (1 << 27);

If stack is placed at SRAM1. the MCU will fail at Reset_Handler of startup_LPC11Uxx.c.
Registers will be push into stack to call SystemInit(), but stack isn't powered on yet.
Reset_Handler   PROC
                EXPORT  Reset_Handler             [WEAK]
                IMPORT  SystemInit
                IMPORT  __main
                LDR     R0, =SystemInit
                BLX     R0
                LDR     R0, =__main
                BX      R0
                ENDP

Hi @xiongyihui
I totally agreed with you.  The SYSAHBCLKCTRL shold be set in the beginning of the Reset_Handler, not in the SystemInit().

Please re-open this issue on DAPLink if it is still relevent:
https://github.com/mbedmicro/daplink

authors: c1728p9 sg- toyowata xiongyihui

repo: mbedmicro/CMSIS-DAP


text:
Failed to flash FRDM-KW24D

I was in assumption that FRDM-KW24D is supported.
However, the release package contains 0243_k20dx_frdmkw24f_0x8000.bin binary. I assumed that is it only typo, and tried to flash and got following error on Mac:

It did not update the firmware. Just rebooted the bootloader.
Then I tried again in Linux:
I did not see any error messages, but following was visible in dmesg
[10529801.975734] usb 3-5.1: new full-speed USB device number 13 using xhci_hcd
[10529801.994286] usb 3-5.1: New USB device found, idVendor=0d28, idProduct=0000
[10529801.994293] usb 3-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[10529801.994296] usb 3-5.1: Product: MBED BOOTLOADER
[10529801.994299] usb 3-5.1: Manufacturer: MBED
[10529801.994301] usb 3-5.1: SerialNumber: ffff1000C82F6E5FD82F91A0
[10529801.995390] usb-storage 3-5.1:1.0: USB Mass Storage device detected
[10529801.995511] scsi15 : usb-storage 3-5.1:1.0
[10529802.991977] scsi 15:0:0:0: Direct-Access     MBED     BOOTLOADER            PQ: 0 ANSI: 2
[10529802.992326] sd 15:0:0:0: Attached scsi generic sg4 type 0
[10529802.992627] sd 15:0:0:0: [sdd] 240 512-byte logical blocks: (122 kB/120 KiB)
[10529802.992844] sd 15:0:0:0: [sdd] Write Protect is off
[10529802.992848] sd 15:0:0:0: [sdd] Mode Sense: 03 00 00 00
[10529802.993076] sd 15:0:0:0: [sdd] No Caching mode page found
[10529802.993080] sd 15:0:0:0: [sdd] Assuming drive cache: write through
[10529802.994713] sd 15:0:0:0: [sdd] No Caching mode page found
[10529802.994717] sd 15:0:0:0: [sdd] Assuming drive cache: write through
[10529803.002725]  sdd:
[10529803.003801] sd 15:0:0:0: [sdd] No Caching mode page found
[10529803.003805] sd 15:0:0:0: [sdd] Assuming drive cache: write through
[10529803.003809] sd 15:0:0:0: [sdd] Attached SCSI removable disk
[10529829.404406] usb 3-5.1: USB disconnect, device number 13
[10529829.438580] FAT-fs (sdd): unable to read boot sector to mark fs as dirty

Then board just lid all leds on board. It did not restart the bootloader.
Board did not reappear anymore, even after unconnecting&reconnecting. Now only bootloader mode works(connect with RESET pressed).

@sg- @c1728p9 @maclobdell Please check.

Using the bootloaders provided by NXP, the result is the same.
http://www.nxp.com/products/software-and-tools/hardware-development-tools/startertrak-development-boards/opensda-serial-and-debug-adapter:OPENSDA#FRDM-KW24D512
The default firmware flashes OK, but version 0242 does not.

@flit should the FRDM-KW24F firmware in DAPLink be renamed to FRDM-KW24D? Also, it looks like the offset specified in info.py is wrong for the KW24F - currently it is 0x8000, but the bootloader expects 0x5000. Can you confirm? It might also be worth checking some of the other new freescale targets to make sure they have the right offset.

@c1728p9 Yes, it should be KW24D, not F. No FPU on that one.

@flit when you get a chance could you submit a PR to update this and any other NXP targets with the wrong name?

Sure thing. I don't think there are any other incorrect names.

This is fixed by #228. Please re-open this issue if this is not the case.

authors: SeppoTakalo c1728p9 flit

repo: mbedmicro/DAPLink


text:
Update us_ticker.c

Using MRT instead of SCT, needed to free up SCT for PWM
Code ported from LPC824 libs

How did you test this? Can you share the test output?

did anyone test exactly the same implementation on the LPC824?
I inspected the code and ran tests with wait and tickers checking the time
intervals on some outputpins with a logic analyser.

From: mbed-devel@googlegroups.com [mailto:mbed-devel@googlegroups.com] On
Behalf Of Martin Kojtal
Sent: donderdag 12 februari 2015 13:59
To: mbedmicro/mbed
Subject: Re: [mbed] Update us_ticker.c (#905)
How did you test this? Can you share the test output?

Reply to this email directly or view it
https://github.com/mbedmicro/mbed/pull/905#issuecomment-74066364  on
GitHub.
<https://github.com/notifications/beacon/AFAC14Wcq6jQMSIO2ykYXS1Q9N49t_Q4ks5
nrJsMgaJpZM4DfFlc.gif>
--
You received this message because you are subscribed to the Google Groups
"mbed-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to mbed-devel+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

@mbednotifications Use a signature please. Was that you Wim?

Yes, was me.
Wim

From: Martin Kojtal [mailto:notifications@github.com]
Sent: donderdag 12 februari 2015 14:26
To: mbedmicro/mbed
Cc: Wim
Subject: Re: [mbed] Update us_ticker.c (#905)
@mbednotifications https://github.com/mbednotifications  Use a signature
please. Was that you Wim?

Reply to this email directly or view it
https://github.com/mbedmicro/mbed/pull/905#issuecomment-74069627  on
GitHub.
<https://github.com/notifications/beacon/AKMUNAwwpuKZEh-qghmIDdcDcFC15_mKks5
nrKFrgaJpZM4DfFlc.gif>

Wim, did you test this using our test framework? asking , if you can share the results. Anyway, we will run the tests

@Willem23 : do you need any help setting up our regression test ?
Some guidelines: http://developer.mbed.org/teams/SDK-Development/wiki/Mbed-SDK-automated-test-suite

Martin, Przemek,
I did not use the testsuite. Will have to take a look first to see how that works.
I do have an update on the us_ticker() that avoids one mult and div as discussed above. Will issue pull request.
Wim

@Willem23 : if it's on top of  this one, just push commits to your branch (I see it's your master), will be reflected here

repo: mbedmicro/mbed


text:
add-on-comma and add-on-space not working in mobile?

add-on-comma, add-on-space attributes working fine on desktop but not working in mobile devices.
How can I fix this? I want to make this work on mobile devices too.

Hi, @ragunathans , did you find a way to make it works on mobile devices?

repo: mbenford/ngTagsInput


text:
Heather Douglas: new volunteer via Mozilla Science Lab Collaborate

Hello, I'm a science researcher in biochemistry, and I see the need for accessible, reusable, code in the fields of science.  I'd like to see more professors cite the code that they use as a means of increasing reproducibility in science.This issue was created by @claxtonh via Mozilla Science Lab Collaborate

Thanks @claxtonh!
You can take a look at what's happening in the space:

Code as a Research Object blog posts:

Code as a research object: updates, prototypes, next steps
What else is needed for code reuse
JSON-LD for software discovery, reuse and credit

JSON-LD.org

Schema.org

Take a look at our jsonld schema: https://github.com/mbjones/codemeta/blob/master/codemeta.jsonld. Let us know if you think this would be a good representation of software!
We also have a few disucssions going on:

(JSON-LD) Metadata for software discovery
How should software be cited?
What information is needed to reuse code?

authors: acabunoc claxtonh

repo: mbjones/codemeta


text:
support lower version pytest that can run in python2.7

I use Python 2.7.5, pytest-2.9.2, py-1.10.0, pluggy-0.3.1.

Hi @wynemo, firstly apologies for the late reply.
I have considered your changes, and after some thinking about it I don't want to support a Python version that reached its End of Life on 01-01-2020.

authors: mbkroese wynemo

repo: mbkroese/pytest-timestamper