text:
chore: Remove unused import LineBreaking from track.rs

Fixes this compiler warning using the suggested fix.
warning: unused import: `LineBreaking`
 --> psst-gui/src/ui/track.rs:4:55
  |
4 |     widget::{CrossAxisAlignment, Either, Flex, Label, LineBreaking, ViewSwitcher},
  |                                                       ^^^^^^^^^^^^
  |
  = note: `#[warn(unused_imports)]` on by default

warning: `psst-gui` (bin "psst-gui") generated 1 warning (run `cargo fix --bin "psst-gui"` to apply 1 suggestion)
    Finished `release` profile [optimized] target(s) in 4m 25s

Thanks, I left this in the last PR by accident.

authors: brannondorsey jacksongoode

repo: jpochyla/psst


text:
Add CPU temperature gauge.

Add a real time CPU temperature gauge to the system information page.
Reading /sys/class/thermal/thermal_zone0/temp will not work in all cases as suggested.
Maybe install the lm-sensors package?

Could you use /opt/vc/bin/vcgencmd measure_temp?
pi@raspberrypi:~ $ /opt/vc/bin/vcgencmd measure_temp |grep -o '[0-9;.]*'
54.8
pi@raspberrypi:~ $

What was your issue you encountered in using /sys/class/thermal/thermal_zone0/temp? I was able to get it to work fine. I'll open a PR with the gauge added. Give me a few minutes to finish up.

That is not a proper path on all distro. (File does not exist on Debian for example) The lm-sensor package seems to be the go to way. But I will take a look at your earlier suggestion once I have the v2.3.0 image which just needs shrunk, archived, and uploaded.

I opened PR #231. I tried to use the lm-sensor package, and it will not work for Raspberry Pi's AFAIK. However, that isn't to say that one can't go back to the install.sh script and based on the operating system, install lm-sensor and make the necessary changes to system.php to make the appropriate modifications to the file based on the operating system. Thoughts?
root@raspberrypi:/# sudo sensors-detect
# sensors-detect revision 6209 (2014-01-14 22:51:58 +0100)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): YES
modprobe: FATAL: Module cpuid not found.
Failed to load module cpuid.
Silicon Integrated Systems SIS5595...                       No
VIA VT82C686 Integrated Sensors...                          No
VIA VT8231 Integrated Sensors...                            No
AMD K8 thermal sensors...                                   No
AMD Family 10h thermal sensors...                           No
AMD Family 11h thermal sensors...                           No
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             No
Intel AMB FB-DIMM thermal sensor...                         No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): YES
Sorry, no supported PCI bus adapters found.

Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
root@raspberrypi:/#

RPi Support added with Pull Request https://github.com/jprochazka/adsb-receiver/pull/231.
Please note this is Raspberry Pi specific at this time and will not work on Debian or Ubuntu at this time. By the time v2.4.0 is ready support for PC distributions will be added.

As for the "sensors" post.
I added lm-sensor, well actually it was already installed by Linux Mint, Running the command "sensors" returned the following.
joe@mint ~/Projects/adsb-receiver $ sensors
coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +33.0°C  (high = +76.0°C, crit = +100.0°C)
Core 1:       +28.0°C  (high = +76.0°C, crit = +100.0°C)

Went ahead and installed lm-sensor on my RPi receiver and as you reported no information was to be had. Pretty sad Raspbian is not keeping up on this package. It offers a lot of important information which would be nice to pass along...
Anyways I have been working in virtual machines mostly. Installing Linux mint on a physical machine the file /sys/class/thermal/thermal_zone0/temp appears to exist. This covers Linux Mint/Ubuntu but could have sworn I was unable to find said file on Debian...

source: gharchive/issue

authors: jdwall jprochazka

repo: jprochazka/adsb-receiver

license: mit

license_type: permissive

license_source: bigquery


text:
能跑起来？

能简单的跑起来？-(笑: library not found for -libstdc++.6.0.9
跑个demo 也是不容易 rx 适合用来做demo吗？
打扰了

已经放弃治疗了吧，还是swift 3的版本

专门下载一个就是了啊，不是什么私有库

彻底GG了  3.0  搞鸡毛

已更新到swift5.0

authors: UninhibitedSoul equalriver hyhSuper jettangtzj zengxiang

repo: jpush/jchat-swift


text:
Work on the documentation.

This patch fixes minor issues with the development branch such as copying of properties for customizers and then documents most of the changes to using jpype in the userguide.  There are still some stray symbols in the module such as nio that I have yet to track down.  I also have not yet tested jpype.beans module to see if the previous autoproperty behavior is working.  Hopefully this won't break anything for python 2.7.

@marscher any objections to the documentation?  There are three unrelated lines but the rest is trying to get the documentation to match our current development head.  Once this pull is in I will merge the Proxy, Beans and a portion of the Compiler used to improve the leak checker.  That should put us at a release candidate.  I can then push this to my production server where it will get hit for a week.  Assuming nothing comes up we should then be able to do a 0.7.0 release.  But we will need to be prepared for a few minor releases as it gets pushed out to distibutions especially for missing files in the dist which I do not catch.  Do you have enough time availability for that?

Can you please remove the double space at each sentence start?
The following regular expression should do the job:
s/\.\ {2}/\ /g

what about the imports.rst file? It is not included in the current index.

Please do not undo anything, I just wanted to understand the new
behavior. It makes total sense not to enforce the conversion, if it is
not needed.
In the final changelog we should mention this.

I see. That can be very useful.

@marscher Thanks for the very thorough review.  I made the changes as suggested and did another full read through myself.  I think imports.rst should be in the index, but I haven't touched it yet.  Also I need to test that these files actually go into the dist.

@marscher Any idea how to get two multiline preformated code blocks to exist side by side in a rst table?  I would like to get the quickstart guide to rst, but I couldn't figure out how to formulate that.   Assuming that  it were possible, I can make the document generator produce that output.

On 5/15/19 7:04 PM, Karl Nelson wrote:

@marscher https://github.com/marscher Any idea how to get two
multiline preformated code blocks to exist side by side in a rst table?
I would like to get the quickstart guide to rst, but I couldn't figure
out how to formulate that. Assuming that it were possible, I can make
the document generator produce that output.

Sorry, I have no idea. RST is very obscure sometimes. Maybe you can use
Markdown for this purpose and convert it with pandoc to get the desired
formatting?

I found one example using rst and a code-block.  I made the change, but I need to get a rst viewer so I can see what it does the output.

Okay I think it is working.  At least it renders something viewable in restview.   Hopefully it will parse with other RST formatters.

Merging this pull for now.  I can clean  up other issues in the documentation later.  In particular finishing the rather hairy change log.

source: gharchive/pull-request

authors: Thrameos marscher

repo: jpype-project/jpype

license_source: github-api


text:
Any plans for supporting JSX?

Are there any plans for supporting JSX. And if not do you have any suggestions how I could combine esprima and JSX?

I used esprima-fb. Thanks.

repo: jquery/esprima


text:
npm test fails on Windows

Steps to reproduce:
git clone https://github.com/jquery/esprima.git
npm install
npm test

Expected: no error, every step is successful.
Actual: failing to run tsfmt:
> esprima@4.0.0-dev code-style C:\Users\ariya\esprima
> tsfmt --verify src/*.ts && tsfmt --verify test/*.js

src/*.ts does not exist. process abort.

This was tested on Windows 10 with Node.js v7.3.0 and npm 3.10.10.

This is because Windows doesn't have support for globbing by default. This could be fixed if tsfmt accepts strings and globs it instead of depending on the shell for globbing.

authors: ariya demoneaux


text:
Test diff output shouldn't depend on object property order

If one uses deepEqual to compare two objects and the equality test fails, the diff output seems to depend on the order in which properties were set on the object (probably because it uses for...in). I made a trivial example using jsfiddle
I haven't quite figured out how to trick it into behaving its worst, but I've definitely seen it produce rather terrible output when property order doesn't match across objects. For more easily figuring out 'where' in the object differences occur, it would be nice if the output were improved (perhaps by sorting the properties of each object before doing a diff?).

A little edgy casy, isn't it? Would you be interested in helping to patch that? You know, pull request and such.

Definitely interested. I haven't checked how hard it is to fix this yet, at work, crunch time, yada yada. Will give it a shot when I'm on my commute home.

Done, see issue #208. I suck too much at github to get the pull request for multiple commits to show up in this issue. Not sure if you want to close this one in favour of #208, so leaving it open for now.

authors: gijsk jzaefferer

repo: jquery/qunit

license: MIT


text:
Is this repo still maintained?

@jroimartin seems stopped his activity on this repository for a long time.

Seems like that's the case,
But there are a view forks that seems to be kinda maintained.

jesseduffield/gocui
makyo/gotui

Someone could make a Github organization with a fork of this project and a number of maintainers that want to help to get this project up and running again.

@mjarkk sounds like a good idea, maybe it would even be interesting to put the gocui based programs in that organization.

I'm thinking of creating an organization with some awesome go projects that are sadly not maintained because there are more libraries like this where the developer stopped using github.
With a github organization there can more people to respond to PRs,
@glvr182 Would you like to help?

@mjarkk Gladly!

For the curious, the org is https://github.com/awesome-gocui and the forked repo is https://github.com/awesome-gocui/gocui

@jroimartin Of course there's no obligation, but it would be really neat if you could mark this repo as archived and point new users to the org fork.

authors: MichaelMure glvr182 igitur inductor mjarkk

repo: jroimartin/gocui


text:
Issue 324

closes #324

It looks like this didn't make it into 5.1+?

repo: jrottenberg/ffmpeg


text:
Mapper afterFind/ afterFindAll.. not firing on related "with".

This isn't an issue if you believe it's right.   v3
When executing a DataStore.find or findAll  w/    with: [...] options.
The mapper afterFind/ and afterFindAll will only fire for the top level record(s).
The adapter afterFind/ and afterFindAll will fire for the related records..
When calling loadRelations.. the mapper afterFind/ afterFindAll fire's for everything.
Huge js-data fan.... K

@kvandelden do you suggests any changes to the way things work here? Perhaps you might have an idea of how this business logic should go or maybe you might suggest a flag option?

I managed without the related records firing after* events.
I ended up writing a bulk record loader to avoid record by record "loadRelationships" calls.  This performed better by avoiding latency due to resolving a single record's relationships at a time.  The loader would log keys it has to resolve while traversing the relationship tree... (recursively down hasMany relationships).. and finally resolving the belongsTo relationships once all the hasMany relationships were resolved.  Each belongsTo relationship target is resolved with a single findAll call.
Thanks, K

@kvandelden we're working on a v4 of js-data. Is this something that you might want to contribute to in the next release? @luisvt has started the TS rewrite already and is on branch v4 in case you're interested.

Cory,  I am excited to see js-data advancing into typescript. We use a modified version of js-data in our PwC Performance Analyzer product...  We have enhanced, extended the library in a number of ways to improve performance for our data scale.. (Hash Index vs B-Tree, ), usability in line of business applications.. (Key generation, soft deletes, time stamp fields, bulk/atomic saving service).   Some of the extensions don't fit the js-data API/ expected test behaviors.. i.e. we generate unique keys for all our records at row creation time, therefore we can use a dictionary for indexing.. also, the bulk writing mechanism API is outside of the standard API for saving records.
https://github.com/kvandelden/js-data/commits/master
At the moment, I am committed to deliver an addition to our product.. and consequently, I will not be able to contribute until April.
Looking forward to helping out then..
Thanks, Kurt

repo: js-data/js-data-adapter


text:
World center and Autorotate

It is a lot of code and I tried to figure it out myself but without success.
Question: the world center 0,0,0 is at the center of the viewer. I would like to shit it so that it is in the bottom left (for example). Moving the object is not an option, since i want the camera to move around it.
Question2: where in the code would I need to look if I want to add an z-axis-autorotate feature?
For both questions i would know how to do it with THREE.js but can't figure my way through this, sorry and thank you!

hi @loelkes !
Neither is trivial to do with the current 3D viewer, but in a week or so I will release a new , written from scratch 3D viewer (using regl) that will support

centering the camera on any object/ point
autorotate can be added trivially
zoomToFit to focus on a given object and have the camera fit it inside the viewport etc

you can see it in action in a preview video for the upcoming Jscad desktop app : both the web & desktop version will use the same 3D viewer

Oh, OK. Thanks for the update.

authors: kaosat-dev loelkes


text:
Create local installer

Replaces the installer which downloads the script from the Internet.
Addresses issue #5

Would be great if this could be merged.
I think an even more intuitive way though would be to replace the install.sh script with a Makefile. And maybe also support installing to somewhere else, e.g. ~/.local/bin/

Thanks everyone 👍🏼


text:
Conflict with JQuery UI Autocomplete

When I add bootstrap-modal and bootstrap-modalmanager, jquery autocomplete no longer displays matches of an input inside the modal.

Sorry, I moved off autocomplete to typeahead right away, so I don't know if this fixed it.

repo: jschr/bootstrap-modal


text:
🛑 Grafana is down

In 7f4eb15, Grafana ($SERVER_BASE/grafana/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Grafana is back up in 84f8542.

repo: jscmidt/upptime


text:
🛑 API is down

In 095d262, API ($SERVER_BASE/api/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API is back up in 6b608c2.


text:
🛑 Tandoor is down

In a68e718, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in 297461a after 9 minutes.


text:
🛑 Tandoor is down

In 8a859a1, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in 7e96001 after 10 minutes.


text:
🛑 Tandoor is down

In 6fe8fa1, Tandoor ($SERVER_BASE/recipes/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Tandoor is back up in b083ae7 after 9 minutes.


text:
package.json declares dist/index.js as main script but repository does not have it

When import resolves the react-ladda module, it looks for the main script but dist/index.js is only built when npm run build inside the node_modules/react-ladda.
It might be a good idea to include the dist/ directory to the repository?

Fixed in react-ladda@5.0.3.

authors: jaunesarmiento jsdir

repo: jsdir/react-ladda


text:
Fix @default not working with @memberof + @name

/** @namespace */
Namespace = {};
/**
 * @constant
 * @default
 * @memberof Namespace
 * @name foo
 */
Namespace.foo = "bar";

The constant value is not displayed.
Workaround, using @alias:
/** @namespace */
Namespace = {};
/**
 * @constant
 * @default
 * @alias Namespace.foo
 */
Namespace.foo = "bar";

The @name tag specifies that it causes jsdoc to ignore the code the comment is attached to. Simply changing the @name tag to @alias works however, ie
/** @namespace */
Namespace = {};
/**
 * @constant
 * @default
 * @memberof Namespace
 * @alias foo
 */
Namespace.foo = "bar";

@DNoved1 is correct. This is working as intended.

authors: DNoved1 hegemonic ofavre


text:
Fixes jshjohnson/Choices/#447

This is the problem:
Current implementation forces invalid HTML by requiring use of placeholder attribute on an option element to make it act as placeholder.
Steps to reproduce:
Run HTML validation of current recommended manner of implementing single select box.
This is my solution:
Change placeholderOption so that it uses the option element that has an empty value attribute as the placeholder, as per W3C recommendation:

If a select element has a required attribute specified, does not have a multiple attribute specified, and has a display size of 1; and if the value of the first option element in the select element’s list of options (if any) is the empty string, and that option element’s parent node is the select element (and not an optgroup element), then that option is the select element’s placeholder label option.

@jshjohnson why is stalebot configured to closed PRs if you don't even review them before ?

This is such a no-brainer fix, please! :)

@Nettsentrisk Would you mind incrementing a major version please? 👍

Closing this in favour of https://github.com/jshjohnson/Choices/pull/617 which keeps backwards compatibility 👍

authors: Nettsentrisk jshjohnson stof

repo: jshjohnson/Choices


text:
how to support  operation expression?

examlpe.
JsonPath.read(json, "$.[?(@.type == 'redis')].indexs[?(@.redis_maxclients - @.redis_connected_clients > 50)]")

or even better... have the API return true or false after it evaluates the expression, not filter it.
boolean isTrue = JsonPath.evaluateExpression(json, "$.[?(@.type == 'redis')].indexs[?(@.redis_maxclients - @.redis_connected_clients > 50)]")

hi, I'm trying to solve it.

repo: json-path/JsonPath


text:
Assign current_user.id to a resource on create?

So how in the world do you assign the current user from the session when you're creating one of his resources? I've spent a couple hours trying to make it work and am striking out. This should be a wiki page.

Hi John - does https://jsonapi-suite.github.io/jsonapi_suite/how-to-scope-to-current-user explain things? Also, feel free to email richmolj@gmail.com for a slack invite where you can ask questions like this

Hey Rich. I guess that makes sense, but the docs could be clearer. Here's what I wound up doing. I do kinda wish the current_user was referenced in the controller action for maintainability OR this was a callback instead of overriding the default create method. But I can live with this.
class EventResource < ApplicationResource
  # [...]

  # Overriding #create method. Would prefer a #before_create callback.
  def create(attributes)
    attributes[:user] = context.send(:current_user)
    super
  end
end

I agree the docs could be clearer - a PR to the gh-pages branch is always welcome! 👏
I typically have current_user in my controller, and access like this:
# app/controllers/application_controller.rb
def current_user
  # your auth logic
end

# app/resources/application_resource.rb
def current_user
  @context.current_user
end

So the final code in your case would end up:
def create(attributes)
  attributes[:user] = current_user
  super
end

I'm split on the callbacks - I wouldn't turn down a PR, but I'm not totally sold the extra abstraction is worth it.

authors: JonCrawford richmolj


text:
How are experiments created through the GUI structured?

Hello there,
I'm working on an app, BrainWaves, that will make heavy use of jspsych in order to allow students to perform and design their own neuroscience experiments.
I'm trying right now to design a system for reading timelines in my app so that they can be displayed through a jspsych-react component. I don't want to reinvent the wheel, however, and I'd like my app to be compatible with the other tools people will be using to create jsPsych experiments such as the Redux GUI.
One source of inspiration is the Experiment Factory experiments. However, I find the design of those experiments very rigid and imperative. I would like to move to a design that's more flexible and allows users to easily modify timeline parameters without code.
Because I'm using the same technologies as this GUI (React + Redux), I'd love to see what data structures are used when saving user-created timelines. Is there an example of that? I wasn't able to find anything briefly poking through the source code and playing with the app itself

Awesome, That's a very nice way to do it! I assume that tree graph structure is preserved when saving the experiment file to disk?
And yes, I hope to make use of this GUI as much as possible. How that will happen, I'm currently unsure; I definitely want to slim down the experiment creation experience to only contain what's relevant for our specific EEG-based use case.
I will stay in touch! Cheers!

Yes, the tree graph structure is preserved since the order of elements in array is always preserved. But there is one downside for this kind of structure. It introduces many complications when adding, moving (from one position to another position in the tree) and deleting a node with children. It won't be a problem if this tree graph is traditional (nested). However, with the flattened data structure, implementation is cumbersome.

Hey Gavin,
Here's an example of the data structure I came up with for storing jsPsych experiments in Redux. I think it's a little different from what you did so I thought I'd share. Note that I've included jsPsych variables.
Also, @teonbrooks
const experimentState = {
  mainTimeline: ["welcome", "faceHouseTimeline", "end"], // array of trial and timeline ids
  trials: {
    welcome: {
      type: "callback_html_display",
      id: "welcome",
      stimulus: "Welcome to the experiment. Press any key to begin.",
      post_trial_gap: 1000,
      on_load: () => console.log("start")
    },
    end: {
      id: "end",
      type: "callback_html_display",
      stimulus: "Thanks for participating",
      post_trial_gap: 500,
      on_load: console.log("stop")
    }
  },
  timelines: {
    faceHouseTimeline: {
      id: "faceHouseTimeline",
      timeline: [
        {
          type: "callback_image_display",
          stimulus: "./assets/face_house/fixation.jpg",
          trial_duration: () => 300 + Math.random() * 200
        },
        {
          stimulus: jsPsych.timelineVariable("stimulusVar"),
          on_load: jsPsych.timelineVariable("callbackVar"),
          type: "callback_image_display",
          choices: ["f", "j"],
          trial_duration: 300
        }
      ],
      sample: {
        type: "with-replacement",
        size: 170
      },
      timeline_variables: [
        // list of image paths and callback fns
        {
          stimulusVar: "./assets/face_house/faces/Andrew.jpg",
          callbackVar: () => console.log("face")
        },
        {
          stimulusVar: "./assets/face_house/houses/House_1.jpg",
          callbackVar: () => console.log("house")
        }
      ]
    }
  }
};

And to parse this into a legitimate jsPsych timeline that the library can accept is super easy:
// ./jspsych/functions.js
// Converts a normalized timeline template into a classic jsPsych timeline array
export const parseTimeline = (mainTimeline, trials, timelines) => {
  const jsPsychObject = { ...trials, ...timelines };
  return mainTimeline.map(id => jsPsychObject[id]);
};

hi Dano, that looks good! However, I'd still suggest use id to refer to trial/timeline objects (consider it like pointer in C/C++ or reference in Java). For example, when you want to nest another timeline (who also has nested timelines. let's be extreme here ;) ) and then modify one trial that is nested in some deep nested timeline, it will be hard to identify the wanted trial and modify it while complying to the idea of not mutating state in redux  (unless making a deep copy of the whole thing every time).

As for pares timeline to jsPsych format, a simple dfs would work.

I agree that everything should be referenced by id and I've done that here except for the trials inside the secondary timeline. I was hesitant to break those out on their own because I'm not entirely sure how the jsPsych timeline variables work.
I would argue that putting trials and timelines into objects instead of having them at the root level in the store is more Redux-y. I believe it makes type checking and mapping state to React props easier to understand

Ah, now i see what are trails and timelines for. As for type checking, I kept a type property in each node. In fact, there is a inheritance relationship here (although DynamoDB keeps me from declaring a actual ES6 class in real implementation). TimelineNode class and TrialNode class both extend GraphNode class. A graphNode instance is responsible for holding generic information (e.g. id, children) and extra GUI information. I did that because merely holding jsPsych related information is not enough for our desired features. Otherwise, your way would make mapping much easier. :)

Inheritance in JavaScript! Oh woahhhh 😀

repo: jspsych/jsPsych-Redux-GUI


text:
Possibility to import packages directly from the browser?

Is it possible (right now or planned for later) to use jsr.io like esm.sh or alternatives to fetch packages from the browser without needing a build step?

Duplicate of #133

authors: glebbash lucacasonato

repo: jsr-io/jsr


text:
JAVA-3053: Add test that reads ignore db/collection readConcern in txn

Updated read-concern.java with new tests.
Evergreen patch: https://evergreen.mongodb.com/version/5c07e4cf0305b97b4ef34173

As far as I could tell, the test is enough. Is there something particular in the logs that you would look for? I would like to make sure we are compliant.

I was thinking more about code inspection than log inspection.  I took a quick look at the spec changes and I don't see any problems.
LGTM

authors: jstewart-mongo jyemin

repo: jstewart-mongo/mongo-java-driver


text:
Add new code of conduct file

Description
Add new CODE_OF_CONDUCT.md file which is standard file. You can refer sample code of conduct files.
PR requirement:

star this repo to make it cooler
add issue number in PR description (closes issue #_)

Can you please share sample code of conduct files?

@VyjayantiN , you can refer here - https://github.com/jsvigneshkanna/tailwind_ui_components

Done in PR - #2

It did not count to hacktoberfest 2022

authors: VyjayantiN jsvigneshkanna


text:
display-name ignoreTranspilerName is too strict

The purpose of ignoreTranspilerName is to ignore inferred names:
const SFC = () =>
; // inferred name
const Foo = class extends React.Component {} // inferred name

It should not, however, ignore explicit names:
function SFC() { return
; } // explicit name
class Foo extends React.Component {} // explicit name

I think that the ignoreTranspilerName option should be deprecated, and replaced with new options that cover the current use cases:

always require an explicit displayName (ignoreTranspilerName: true)
only require an explicit displayName on React.createClasses (ignoreTranspilerName: false)

As well as cover these additional use cases:

always require an explicit name - ie, an explicit displayName or a named function or named `class
always require a name - either explicit, or ES6-inferred
Never allow an explicit displayName? (i don't really care about this one, but it seems useful for consistency)

@yannickcr @lencioni @EvNaverniouk thoughts?

Voting for option 2!

These aren't exclusive options, they're use cases :-) also there's two lists, which "option 2" do you have in mind?

@ljharb if it can be inferred then I think not explicitly setting a displayName is fine. Anonymous functions or classes though should still be required to have a display name.
export default function () {
  return {'foo'};
}

This should throw an error.

Yes, that's what it's already doing - but in my example, I need "always require an explicit name", because I never want to rely on name inference.

@ljharb yeah you're talking about having three options right? I agree to that.

Explicit everything.
Inferred if possible otherwise you gotta do it bro!
Do not set a display name.

This is the one that I like that's why I said I like option 2. Now I just realized it could mean "2." Hahaha.

How about "always" | "only-unnamed" | "only-create-class"?
┌────────────────────────────────┬────────┬──────────────┬────────────────────┐
│                                │ always │ only-unnamed │  only-create-class │
├────────────────────────────────┼────────┼──────────────┼────────────────────┤
│ function Cat() {}              │ fail   │  pass        │  pass              │
│ class Cat extends Component {} │ fail   │  pass        │  pass              │
│ export default () => <></>     │ fail   │  fail        │  pass              │
│ exports.Cat = () => <></>      │ fail   │  fail        │  pass              │
│ const Cat = createClass({})    │ fail   │  fail        │  fail              │
└────────────────────────────────┴────────┴──────────────┴────────────────────┘

@golopot exports.Cat = () => {} doesn't have inference; maybe add const Cat = () => {} which should be fail/fail/pass?

Any update on this? Agree that it should not report positive on SFCs that have explicit names - which is almost every component in 2022.
function DontComplainAboutMyName() {
  return

;
}

@SevenOutman it doesn’t report on those, as far as I’m aware. This issue is about reporting on arrow function components that lack inferred names.

it doesn’t report on those, as far as I’m aware.

Oops, turns out it was reporting anonymous arrow function components wrapped with forwardRef. My mistake.

authors: SevenOutman golopot ljharb rodoabad

repo: jsx-eslint/eslint-plugin-react


text:
Running 5 hours with the empty error.txt and empty .vcf output files.

I run nanopolish variants on HPC, it went well and about 5 hours later it finished running. However, the .vcf file was empty and error files was also empty. I even don't know how to troubleshoot. Even more, I run another assembles of the same strains using nanopolish variants, it generated the .vcf files that I want. Could someone have the same experiences? could you please give me a solution?

I run  Nanopolish variants on 8 assemblies with the same script, only 5 successed, the other 3 failed with empty .vcf and empty error.txt files.

Nanopolish variants is now largely deprecated, and you will likely get better results from medaka or clair3. This is especially true for R10.4.1 data, which nanopolish variants does not support. If you have a specific reason for using nanopolish let me know and I will try to help look at this issue.

repo: jts/nanopolish


text:
y_crdt - Current state?  | applyDelta?

Hey there,
I'm currently exploring the idea of creating a collaborative text editor using flutter_quill that utilizes the Quill Delta format for representing changes. I'm interested in achieving something similar to this: https://github.com/yjs/y-quill/tree/master.
In short, I'm considering using yjs as the underlying structure for sharing delta changes.
I came across your implementation and it got me really excited. However, I noticed that it's still a work in progress and there are some missing functions, such as applyDelta, that are crucial for my needs.
Could you let me know if you've used this package in your projects or if there's a way that I could contribute to help make this work?

Hi, thanks for the issue!
I have not used y-quill and at the moment have not found the need for more granular text edits or advanced in this particular functionality. However, it would of course make sense to have the complete y-rs api in this package. I can't remember the reason I didn't add the method right away. Perhaps it required other methods or models that increased the complexity.
However, there are multiple packages, examples and documentation that you could follow. The most important step is defining the wit interface, from that you can generate de dart and rust interface that requires to fulfill the requirement. Perhaps a suggestion is to make the api very close to that in the y-wasm package and use other similar functionalities that are already implemented in the dart package as a template.

Thanks for responding 👍 . I had read from that time quite a bit about this and many people tried to port it using other flutter packages but it cannot be done automatically yet and manually it seems a monumental effort.
So I will keep exploring. Another option is to use functions directly in Rust and communicate with Flutter application using the interface. I will see :)
Thank you again for letting me know.


text:
🛑 wtw - hogar is down

In 3a846e9, wtw - hogar (https://affinitytechnology.willistowerswatson.com/salesv2/home/new-quote?sname=uala&pid=495&uid=da83b849-37eb-4d65-ba7b-813b5bd401da) was down:

HTTP code: 502
Response time: 88 ms

Resolved: wtw - hogar is back up in 30951d3.

repo: juangravano/statuspage


text:
[Wiki][Compass] Añadir página de detalle de lo implementado con el compass

Especificar librería, utilización e integración del sonido en nuestra aplicación.

Página de la wiki: https://github.com/juanmanuelcarrera/feelmusic/wiki/Características-técnicas#librerías

repo: juanmanuelcarrera/feelmusic


text:
React-select with createform libraries. How can I handle a multiselect?

I'm using a multiselect by react-select library. How can I save the options in my object?
{...register('skills.programmingLanguages')} is not working
import { createForm } from '@createform/react';

export const usePersonForm = createForm({
  initialValues: {
    firstName: '',
    lastName: '',
    jobTitle: '',
    skills: {
      programmingLanguages: [],
      frameworks: [],
      specializations: [],
      languages: [],
      otherSkills: [],
    },
  },
});

<CreatableSelect
  isClearable
  id="programmingLanguages"
  closeMenuOnSelect={false}
  components={animatedComponents}
  isMulti
  options={programmingLanguages}
  // {...register('skills.programmingLanguages')}
/>

and of course it's not working reset function
<button type="reset" className="base-form__button base-form__button-violet">
  Reset
</button>

How can I solve this problem?
I read the doc (https://www.useform.org/using-your-form/custom-components) but it didn't help me
Thank you

Hey @TangoPJ, could you try our last release v3.3.19 and this doc https://www.useform.org/using-your-form/custom-components
Tell me if it helped you.

@jucian0 Thank you, I upgraded the package to the v3.3.19 version and It worked for me :) except reset functionality, I'll research the problem

I'm closing the issue you reported due to inactivity. If you have any doubt, just open the issue again!


text:
hadoop: add pitest

mvn test-compile org.pitest:pitest-maven:mutationCoverage

Codecov Report
Base: 58.64% // Head: 58.62% // Decreases project coverage by -0.02% :warning:

Coverage data is based on head (4f926e6) compared to base (3675ec9).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3021      +/-   ##
==========================================
- Coverage   58.64%   58.62%   -0.03%
==========================================
  Files         141      141
  Lines       24730    24730
==========================================
- Hits        14502    14497       -5
- Misses       8336     8341       +5
  Partials     1892     1892

Impacted Files
Coverage Δ

pkg/chunk/utils_unix.go
66.66% <0.00%> (-25.00%)
:arrow_down:

pkg/fuse/context.go
64.28% <0.00%> (-10.72%)
:arrow_down:

pkg/chunk/disk_cache.go
73.95% <0.00%> (-1.00%)
:arrow_down:

pkg/vfs/reader.go
78.99% <0.00%> (-0.64%)
:arrow_down:

pkg/meta/tkv.go
74.00% <0.00%> (-0.12%)
:arrow_down:

pkg/meta/redis.go
68.97% <0.00%> (-0.05%)
:arrow_down:

pkg/meta/sql.go
63.53% <0.00%> (+0.51%)
:arrow_up:

pkg/meta/tkv_mem.go
87.50% <0.00%> (+0.69%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

authors: codecov-commenter tangyoupeng

repo: juicedata/juicefs


text:
종류별로 탭으로 보기

컴포넌트 타입별로 탭으로 보기.
기본은 전체 보기.

이건 나중에 필요하면 구현해야겠음. 현재는 안함.


text:
wgpu_buffer_map_async does not work: unable to write to buffer after creation.

Hey,
I am unable to use wgpu_buffer_map_async after creating my buffer.
When calling this function I get the following error:
wgpu_buffer_map_async(buffer=7, callback=7, userData=0, mode=1, offset=0, size=-1)
Aborted(assert(wgpu[buffer]) failed!)
app.js:8 Uncaught RuntimeError: Aborted(assert(wgpu[buffer]) failed!). Build with -sASSERTIONS for more info.

Reads like you got it resolved as closed, this was maybe issue #33(?)

authors: alienself juj


text:
don't read arbitrary sized blobs into memory

https://github.com/juju-solutions/jujuresources/blob/master/jujuresources/backend.py#L92
Glad to see this facility being developed, but some sanity around dealing with large files would be nice.

Good point.  There are a couple of places where I'm reading URLs of arbitrary size, as well.  I've got a fix to chunk or limit things, but I need to fix / update the tests.

authors: johnsca kapilt

repo: juju-solutions/jujuresources


text:
Link Icons in overview

Obviously.

commit https://github.com/juliankoehn/mchurl/commit/d4f431f8660b765e787476c4a5569b11e7f9e3a7

authors: juliankoehn kikmedia

repo: juliankoehn/mchurl


text:
Include mapaddress text

Geocodes appear to be approximates in a lot of cases. In certain instances, the listing will have the address in the mapaddress div tag and it doesn't seem like this reads that. This is a feature request to include that information.
Example page - https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html
Example return:
{
  'id': '7104679926',
  'repost_of': None,
  'name': 'Room for Rent',
  'url': 'https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html',
  'datetime': '2020-05-07 08:47',
  'last_updated': '2020-05-07 08:47',
  'price': '$669',
  'where': None,
  'has_image': True,
  'geotag': (39.955682, -76.718121)
}

Page with inspection open:

Unfortunately, I believe this is a craigslist.org http://craigslist.org/ problem.

On May 29, 2020, at 9:59 PM, Favian Contreras notifications@github.com wrote:
Geocodes appear to be approximates in a lot of cases. In certain instances, the listing will have the address in the mapaddress div tag and it doesn't seem like this reads that. This is a feature request to include that information.
Example page - https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html
Example return:
{
'id': '7104679926',
'repost_of': None,
'name': 'Room for Rent',
'url': 'https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html',
'datetime': '2020-05-07 08:47',
'last_updated': '2020-05-07 08:47',
'price': '$669',
'where': None,
'has_image': True,
'geotag': (39.955682, -76.718121)
}
Page with inspection open:
https://user-images.githubusercontent.com/2354042/83319871-f274f780-a1f6-11ea-857b-5c4c41f28e8b.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/juliomalegria/python-craigslist/issues/75, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALT4J535KSZHHK5LXEORDE3RUCHBTANCNFSM4NORCK5A.

This is just a scraper, which is why I identified the tag that displays this. This tag is in the output of the following code (which is found in this package):
import requests
from bs4 import BeautifulSoup

response = requests.get('http://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html')
soup = BeautifulSoup(response.content, 'html.parser')
print(soup)

Unclear how this is a craigslist problem given it is output from the craigslist request call.

This is not this library's problem as it is Craigslist's. Check out the html source for the link you provided (btw the link will expire eventually).
html source

As stated above, this issue is to include the mapaddress div tag in the result, which in this case is "239 E Boundary Ave". Please look at what is highlighted in the original image on the inspection frame for reference.

Hey @BigFav,
I think this would be a great addition. Thanks for the feature request! Seems pretty simple to do, I'll work on it today or tomorrow.
However, just FYI, this won't get the lat,lng from that address. The geotag will remain the same, from the approx info provided by Craigslist, however there'll be a new field "address" is the mapaddress is present. Your example return was a bit confusing, but it would be something like this:
{
  'id': '7104679926',
  'repost_of': None,
  'name': 'Room for Rent',
  'url': 'https://york.craigslist.org/apa/d/york-room-for-rent/7104679926.html',
  'datetime': '2020-05-07 08:47',
  'last_updated': '2020-05-07 08:47',
  'price': '$669',
  'where': None,
  'has_image': True,
  'geotag': (39.955682, -76.718121),
  'address': '239 E Boundary Ave'.         <<<< NEW
}

Thanks @irahorecka for stepping in to help 👍

Definitely doesn't map sense to be used as geotag, was just noting it is more accurate than geotag. Where does where come from? From my naive perspective, it seems like it could go there.

I had forgotten about where. This comes from result-hood in the list results. In the US, this always seems to be only the neighborhood, for e.g.

However in other countries, result-hood seems to contain the full address:

And in others (for example here in Berlin) is a mix of both: only the city/neighborhood, or the full address:

I'm hesitating whether to just override where with the value of mapaddress if it exists, or to have 2 separate fields. I guess option C would be to concatenate them. For example in:
https://sfbay.craigslist.org/pen/apa/d/san-bruno-updated-1br-1ba-with-parking/7134532065.html
mapaddress is "443 San Anselmo Ave N near Mastick and Martin" and where is "san bruno". The resulting where could be: "443 San Anselmo Ave N near Mastick and Martin, San Bruno".
Any thoughts?

Two separate fields is the simplest to me as it puts the power in the hands of the user; this tool is simply a scraper. My question was more for information purposes, apologies for the confusion.

@juliomalegria wondering if there's any progress on implementing this new extracted object. I'm considering doing something similar but if the work is already in flight think it makes sense to check in.

Key @KeeonTabrizi, I'm sorry. This change is very much in flight. As a matter of fact, it was ready, I had just forgotten to push it. I'll do it now and release a new version.

This was resolved in commit 1f8c44c. I've just released version 1.0.9 in PyPI

authors: BigFav KeeonTabrizi irahorecka juliomalegria

repo: juliomalegria/python-craigslist


text:
Feature Request: Option to hide some fields

The request
I would like to somehow be able to dissociate what is shown to what is returned. For example, the output of git --no-pager log --format=oneline --abbrev-commit -n 5 in this repository
6fd6fff [vim] Ignore 'dir' option if empty
d1387bf Use IO.console when possible
4c923a2 [uninstall] Remove both patterns of source command (#97)
4ee85f1 [install] Join line numbers when multiple matches found
829c7f9 Merge branch 'mjwhitta-master'

I'd like to be able to show only the commit messages, without the sha, but at the same time, when I choose one, I want the sha to be in the output. So fzf would show me this:
[vim] Ignore 'dir' option if empty
Use IO.console when possible
[uninstall] Remove both patterns of source command (#97)
[install] Join line numbers when multiple matches found
Merge branch 'mjwhitta-master'

And when I choose the last one, I get this, the full line:
829c7f9 Merge branch 'mjwhitta-master'

Possible interface
The interface could, for example, be similar to that for limiting the search scope. Only in this case we either choose what to hide, or what to show.

There's always someone who likes the opposite :)
I mean - to show N fields but only pass one (some) of them (specified by -nth ) to the output.
A kind of -xnth, which would not only specify  the fields to make selection on, but also forced to only take those fields from selection.
Generalizing the idea, inside an item line i'd like to distinguish fields i can make filtering on from the  fields that are accepted e.g.
John  23 single baseball
Bob 29 married guitar
Suzi 22 single cooking
Mary 30 single baseball
Dan 44 single guitar
I would like select all singles who like baseball but only printout their name and age.
Perhaps there's a way to achieve that w/o implementing a new -xntht option?
I could not manage that using --with-nth and -nth - they seem to contradict for use case like that

@tagwint

Perhaps there's a way to achieve that w/o implementing a new -xntht option?

You can post-process the output. e.g. awk, sed.

Sure I can, and I also can chain fzf calls. There's nearly always more than one way of doing things :)

@tagwint Yes, and so there's no point of adding the option. It's not like --nth or --with-nth which cannot be done with pre or post processors.

I have this file:
http://0x0.st/iCwK.pls
I want to cat this file into fzf and remove the last word (or last 11 characters) without altering the output. (idk if this is the correct place) but after so long still I am unable to find the solution. So that's an issue.
I can achieve this if someone there is any inverse of :
cat file.pls | fzf --with-nth -1 ?

@Bugswriter, I think maybe you could do this?
file.pls:
a b c d

Demo:
cat file.pls | fzf --with-nth='1..-2'

That then shows a b c as the search, and selecting it outputs the whole line: a b c d.
Is that what you want?

Oh I can do this. thank you so much for replying the solution.
I was looking for this so long.

Im fighting with this  fc -t '%a.%m﹒%I:%M:%S%p' -rl 100 | fzf --with-nth=2..
Works, just cant scroll or select anything, on the very rare occasion I do select something, it does not execute.
The basic premise of this is to change what the history widget displays.

@tagwint Yes, and so there's no point of adding the option. It's not like --nth or --with-nth which cannot be done with pre or post processors.

This usecase cannot be done with pre- or postprocessors, because we care about the display that fzf gives while selecting, not just the output of the command. In this example, we want to display the names and ages, while searching the other two fields. The output of fzf afterwards can be manipulated by other commands, but the display cannot.
Note this would be quite simple if fzf did what the manpage implies, and allows you to separately specify indexes to display and to search:
       -n, --nth=N[,..]
              Comma-separated list of field index expressions for limiting search scope.  See FIELD INDEX EXPRESSION for the details.

       --with-nth=N[,..]
              Transform the presentation of each line using field index expressions

Based on this, you would expect this to work:
echo -e 'John 23 single baseball\nBob 29 married guitar\nSuzi 22 single cooking\nSingle 44 married piano' | fzf --nth 3.. --with-nth 1,2

If we enter 'single' then we should see John and Suzi, if we enter 'married' we should see Bob and the person named Single.
We specify that we want to search from the third field onwards, but display the first and second field. However, fzf currently filters first on with-nth and then applies the indexes of nth onto the reordered fields - I can't think of any reason to do it that way, it is strictly less powerful than the intuitive reading of the manpage would suggest.

@TamaMcGlinn

I can't think of any reason to do it that way

I answered to the question early on: https://github.com/junegunn/fzf/issues/102#issuecomment-61823320
I did not like fzf searching against non-visible parts of an item, and whether you like it or not, that ship has sailed long ago. I agree that the man page needs clarification.

@TamaMcGlinn

Imagine the confusion when we do it the other way round

Suppose we're applying --nth against the original string.
echo foo bar baz qux foo | fzf --with-nth 3,2,4 --nth ..

You see baz bar qux on the screen but ^b doesn't match the item.
bazbar doesn't match either
Likewise, no match on x$
fofo matches the item. But it's really hard to see why it's matching.

I would contend that the ship has been standing in the harbour in quarantine for three years. I just applied PR1447 and it works exactly I described above. No need to update documentation.
Your example is incorrect, I tried it and all 4 statements about what would match are wrong, presumably you meant to make the --nth actually be some subset, not all fields using '..'; nevertheless I understand where you are taking the point, and you could make the point using my example above.
You are saying that you can then pass parameters to fzf which make it behave 'strange' - but, the user put the parameters there, right? If the user explicitly says 'search on fields 3 and 4, but show fields 1 and 2', why do we care whether said user understands what he told fzf to do?

For what it's worth, my main reason for wanting this is that I have a large preview window which shows the context including the actual line matched and some coloring using grep, so displaying the full line also in the list of matches is duplicate information which just doesn't fit. I am trying to abbreviate that so that I can always see the first part. Currently it shows some part of the match with ellipses on either end of the line, which is not helpful at all.

I would contend that the ship has been standing in the harbour in quarantine for three years.

You're underestimating the implication of breaking the backward compatibility. Many users of fzf have relied on the current behavior and have written many scripts and we don't want to break them all of a sudden after 7 years.

I can always see the first part

--no-hscroll

authors: Bugswriter TamaMcGlinn drewauff jdevera junegunn srsudar tagwint

repo: junegunn/fzf


text:
Escape sends backspace (or something like that) on tmux

Category

[x] fzf binary

OS

[x] Linux

Shell

[x] bash

my dotfiles
Whenever I use the history function (<c-r>) on tmux, fzf interprets <esc> like what seems to be <backspace>. I use bash in vi-mode, and I have my <esc> swapped with <caps_lock> using xmodmap. I tried using setxkbmap, but the problem remains. It goes away if I "unswap" the keys.
Here's how it actually looks (I'm pressing <escape> when the characters are being deleted):
https://asciinema.org/a/6c1FkIisFJNLnUiKnMRii5j4E

Hi @mrbig033,
Does this still happen?

Hi @mrbig033,
Does this still happen?

This does not happen anymore, but I cannot say the issue was resolved since my environment is now completely different from what it two years ago.
I won't close the issue myself since I'm not sure what is the etiquette here.
Sorry about that and thank you for answering.

Hi @mrbig033, maybe it was your environment, maybe it was fzf, but if the issue is solved, please close the PR. Someone else looking for an issue can still find this.


text:
Travis: VADER_OUTPUT_FILE=/dev/stderr for neovim

Without this there is no output from Neovim on Travis.

Didn't know that, thanks!

authors: blueyed junegunn

repo: junegunn/vim-plug


text:
Question: Font Embedding vs. Outlines

It seems now when I use a font, the entire font gets embedded into the document. For me this can lead to large file sizes, espcially if I only use that font for a few characters. Is there an option to only render the given characters as outlines rather than embedding the entire font? Or is it already doing that?

Rendering the characters as outlines isn't the right answer. Instead it needs to be able to select a font subset to embed. However I don't expect that to be an easy thing to achieve, with code pages and higher unicode involved.
This will become relevant to me if/when I complete the FPDI port and start combining multiple documents that each embed the same fonts, or different subsets of the same font. And for good reasons I've used fonts that cover a lot of alphabets (Russian, Polish etc) so they're going to be big fonts. Effective font subsetting will be essential.

Hi @marcusatbang thanks for responding. The reason I mentioned outlines, is that it is (or was at  least) fairly common practice to simply outline your fonts before sending them to the printer. This way you avoid a lot of font headache. However subsetting does seem like a better solution. Does this mean the library would detect which characters were used and create a kind of dynamic font that only has those characters?

Don't thank me too much. I'm not actually going to write it.   :)
That's how font subsetting works, in theory. A specific version of the font is built that contains the characters (or the character planes) you need. But this is more complicated in PDF because fonts bigger it predates unicode, and fonts bigger than a single code page may end up represented in a complex way. I don't even understand all the complexities involved.
I imagine this could be an expensive operation, so it may be best to put it behind an explicit call or flag. Something like pdf.EnableFontSubset(true). Even so, some sort of font-combining may be inescapable when loading documents as templates.
If flattening glyphs to outlines is valuable step in print preflight, that would be a whole separate topic.

Good summary, @marcusatbang. I had not thought about the potential repercussions of font subsetting with templates.

@scisci If you know in advance which characters in a font you are going to use, you could manually create your own font subset using an external tool.

On the grounds that some sort of strategy should be used wherever file templates are used, and approaches may evolve over time, I'd like to amend my previous flag suggestion to something more flexible like:
pdf.SetFontStrategy(gofpdf.FontStrategyAlwaysSubset)

BTW, I've seen at least one source that suggested renaming subset fonts with a prefix like so: a95f6ec+MinionProRegular

In some cases, the files generated from makefont can be quite large. For people looking for a workaround until this is fixed, I was able to shrink the pdf size from a 15.5 MB file to a 270kb file by piping the output to ghostscript.  incomplete example follows:
        cmd := exec.Command("gs", "-sDEVICE=pdfwrite", "-dCompatibilityLevel=1.4", "-dPDFSETTINGS=/screen", "-dNOPAUSE", "-dQUIET", "-dBATCH", "-sOutputFile=-", "-")
        inPipe, err := cmd.StdinPipe()
        errChan := make(chan error, 1)
        go func() {
	        errChan <- cmd.Start()
        }()
        pdf.Output(inPipe)

@farkerhaiku Thanks for this technique! I have added an example to the contrib directory that demonstrates this: ghostscript.go.

authors: farkerhaiku jung-kurt marcusatbang scisci

repo: jung-kurt/gofpdf


text:
🛑 kawaki is down

In 15a4bec, kawaki (https://www.pegasusknight.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kawaki is back up in 37fc582.

repo: junjanjon/WatchSomeSites


text:
🛑 chatwork-kcw is down

In b5c29d7, chatwork-kcw (https://kcw.kddi.ne.jp/) was down:

HTTP code: 503
Response time: 462 ms

Resolved: chatwork-kcw is back up in 3b87699.


text:
Update project in package.json

After populating the sample we can do a search and replace to update the name of the project in package.json.
Let's also check if other resources need that too.

Resolved in 7e8580a33385739b490571df0511664d5a09c1b8

repo: junobuild/create-juno


text:
Does not work with equals simbol in custom tag parameter

These spaces between the equal symbols and the parameter broke my template.

fixed

repo: junstyle/vscode-django-support


text:
"Address already in use" in inspector when Jupyter is already running

Really excited to see this package, thanks for putting it together!
I opened an ipynb file and got red error pop about an error. Looking at the inspector console, I saw:
kernelGateway.stderr Traceback (most recent call last):
  File "/usr/local/bin/jupyter-kernelgateway", line 7, in <module>
    kernel_gateway.launch_instance()
  File "/usr/local/lib/python3.5/site-packages/jupyter_core/application.py", line 267, in launch_instance
    return super(JupyterApp, cls).launch_instance(argv=argv, **kwargs)
  File "/usr/local/lib/python3.5/site-packages/traitlets/config/application.py", line 591, in launch_instance
    app.initialize(argv)
  File "/usr/local/lib/python3.5/site-packages/kernel_gateway/gatewayapp.py", line 203, in initialize
    self.init_http_server()
  File "/usr/local/lib/python3.5/site-packages/kernel_gateway/gatewayapp.py", line 285, in init_http_server
    self.http_server.listen(self.port, self.ip)
  File "/usr/local/lib/python3.5/site-packages/tornado/tcpserver.py", line 126, in listen
    sockets = bind_sockets(port, address=address)
  File "/usr/local/lib/python3.5/site-packages/tornado/netutil.py", line 196, in bind_sockets
    sock.bind(sockaddr)
OSError: [Errno 48] Address already in use

I then shut down a local instance of Jupyter already running on my machine, closed and re-opened the previous ipynb file from before and the file loaded without error and I see this in my inspector console:
kernelGateway.stderr [KernelGatewayApp] The Jupyter Kernel Gateway is running at: http://localhost
Kernel:  python3
Starting WebSocket: ws://localhost:8888/api/kernels/8f416440-3976-4067-ac88-c119e6070800

Which looks good. Maybe it would be good to catch this state and provide a more useful error message to the user?

Related https://github.com/indexzero/node-portfinder/issues/13

Fixed 0n 0.0.8 with https://github.com/jupyter/atom-notebook/commit/e0e4d413265dc725ae2ce96b5bef74b06bd5fbe1

Excellent, thanks for the quick fix.

authors: amoeba gnestor

repo: jupyter/atom-notebook


text:
Fix propagation of fragments across multiple slides/subslides.

This fixes #9
Essentially, we avoid labelling "-" cells with a previous data-fragment-index if we find a new slide/subslide. The fragments (and the group of fragments and "-" cells) only have sense inside a slide/subslide... it is an "intraslide" property and the data-fragment-index information has to be bounded to the slide/subslide containing the fragment/s (or fragments / "-" sequence).
I think the fix should be back-ported to the next 3.2 because right now you have unwanted fragments in your slides and that's very annoying.
Thanks!

Pinging @toastmaker and @damontallen who report the issue in the ipython repo some days ago... just to let you know there a proposed fix to be reviewed.

@damianavila do you want to make a PR against IPython's 3.x branch for the backport?

@minrk, do you use some automatic tool to do it? If not the case, and you have to do it manually, I can do it by myself to not bother you... no problem.

The automatic backport tools only worked for the single repo, so we are doing manual PRs for now.

OK, I will submit the fix to the ipython3 branch...

Backport submitted

authors: damianavila minrk


text:
URGENT: file saved in wrong directory (possible data loss)

I am observing data loss in some situations where JupyterLab is saving files:

Open a new text file in JLab in a directory other than the top-level notebook directory.
You will see that file in the file browser.
However, when you edit the file, it is actually saving the file at the top-level notebook directory.

I think this is related to the new file opening dialogs and may also be a problem with notebooks.
@blink1073

Same as https://github.com/jupyter/jupyterlab/issues/1015

Can we update the title? This isn't really data loss. It's "files saving to the wrong directory".

The problem is that the user often won't realize where the real file is saved. They will keep editing the version in their CWD, but each time they load from disk, those changes will be gone. I didn't realize the file had been saved elsewhere until much later...

@afshin I have confirmed this affects notebooks as well...

authors: afshin ellisonbg sccolbert

repo: jupyter/jupyterlab


text:
nbdime announcement

We've just published the first release of nbdime: tools for diffing and merging notebooks. nbdime provides tools for viewing diffs of notebooks in the terminal, viewing rich diffs in a browser, automatically resolving merge conflicts, and a web-based tool for three-way merging of notebooks. Check it out, let us know how it goes, and help out if you can! This work is led by Martin Alnæs and Vidar Fauske at Simula Research Laboratory, and supported by the OpenDreamKit project, funded by the EU H2020 program.

@Ruv7 Any chance to get this in the current issue? It's pretty cool.

Yes, this is great! Thanks Min.

Included in the December newsletter.

authors: Ruv7 minrk willingc

repo: jupyter/newsletter


text:
My binder badge fires tracking cookies

We recently incorporated mybinder badges into https://github.com/sphinx-gallery/sphinx-gallery. This is a great enhancement for us. But at the same time I noticed that the badges would not load on my browser. The reason is I use privacy badger, which blocks domains that are tracking me, and mybinder behaves like an evil tracker which got blocked.
Do you really need all this aggressive tracking of your users installed badges?

How could I test this? I just installed privacy badger and visited https://github.com/scikit-optimize/scikit-optimize which has a binder badge. As far as I can tell there was no alarm from the extension (green zero on the badger logo). Same for visiting the badge image.
Do I have to somehow configure the extension? (Only just installed it)
We have GA installed on mybinder.org but if you don't visit it you should be fine.

Yes you can test. We integrated a binder badge for every example in in Sphinx-Gallery docs. Take as an example:
https://sphinx-gallery.github.io/auto_examples/plot_seaborn.html#sphx-glr-auto-examples-plot-seaborn-py
Which is what I add from the screenshot.

You will see that privacy Badger says there is a potential tracker and associates it to mybinder.org, thus it blocks it.
I don't know why it shows up as a tracker in our docs website, but it doesn't say that it is a tracker when the page is on github(at least from the scikit-optimize website you just showed)

We have GA installed on mybinder.org but if you don't visit it you should be fine.

Indeed, you should not be tracked unless you visit the website. Also from what I see in privacy badger is mybinder.org that is considered the third party tracker not Google analytics

Some ideas why this happens:

visiting mybinder.org sets a cookie with GA=blah in it so I assume this is related to google analytics (my requests contained a DNT: 1 header), the domain of the cookie is mybinder.org
if I turn on "tracking protection" in Firefox the cookies don't get set
when I load the sphinx example when the cookies are set I get a warning like @Titan-C (for me it isn't automatically blocked, preference in privacy badger??)
when I load the sphinx example without the cookies set then there is no warning

We have some custom JS that tries to respect the DNT preference of the user. So in principle you should not end up with a cookie if DNT is enabled. However, in the webdev console the requests I send when visiting mybinder.org have a DNT: 1 header (even though in my FF preferences I did not enable DNT, "Send websites a “Do Not Track” signal that you don’t want to be tracked" is set to "Only when using Tracking Protection").
We use navigator.doNotTrack to check if DNT was enabled by the user. If I enable DNT explicitly then this is set to "1", if I only send  the DNT header then this is undefined. The MDN docs make me believe that it should be set to "1" when the DNT header is set to 1.
Action: should we check the request headers when deciding to include the GA JS?

For the scikit-optimize example I linked the badge doesn't actually get served by mybinder.org but by github.com. Which is why there is no tracking alert.

Thanks for reporting this because we do care about respecting people's privacy. Which is why we exclude the GA JS when we think the user doesn't want to get tracked but apparently the check is incomplete.

Action: should we check the request headers when deciding to include the GA JS?

Is this the main thing to be done here? Agree we should be respecting whatever privacy levels people specify

Thank you for reporting it!
I think the core problem here is that because mybinder.org is our website and the image is also being served from there, any cookies we set (now or in the future) will be sent along to image requests (if I understand it correctly) - making it 'tracking'.
I think the 'real' fix for this is to use a different domain for just serving the image. This should be fairly easy to set up, and should prevent any cookies we set to mybinder.org from being sent when requesting the image.
We can do this in mybinder.org-deploy by:

Adding an additional domain that just points to binderhub (static.mybinder.org, say)
Change the code that generates badges to point to images from static.mybinder.org rather than mybinder.org
(Optional) redirect mybinder.org/badge.svg to static.mybinder.org/badge.svg (if we want), but not required for original work.

This should separate our badge images from mybinder.org enough to satisfy all privacy-enabling addons I'm aware of. Note that switching to shields.io doesn't solve any of these problems, since they can already track you even more efficiently than we can :)
Long term I'd also like to move away from Google Analytics to a self hosted Piwik, but that's not anytime soon.
As others have said, we take privacy seriously. Thank you for reporting this, @Titan-C!

authors: Titan-C betatim choldgraf yuvipanda

repo: jupyterhub/binderhub


text:
feat(pm_auth): pm_auth service migration

Type of Change

[ ] Bugfix
[x] New feature
[ ] Enhancement
[ ] Refactoring
[ ] Dependency updates
[ ] Documentation
[ ] CI/CD

Description

PM Auth service migration
Additional Changes

[x] This PR modifies the API contract
[ ] This PR modifies the database schema
[x] This PR modifies application configuration/environment variables

Motivation and Context

How did you test it?

Create merchant account -

curl --location --request POST 'http://localhost:8080/accounts' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
  "merchant_id": "merchant_1701764398",
  "locker_id": "m0010",
  "merchant_name": "Sarthak",
  "merchant_details": {
    "primary_contact_person": "John Test",
    "primary_email": "JohnTest@test.com",
    "primary_phone": "sunt laborum",
    "secondary_contact_person": "John Test2",
    "secondary_email": "JohnTest2@test.com",
    "secondary_phone": "cillum do dolor id",
    "website": "www.example.com",
    "about_business": "Online Retail with a wide selection of organic products for North America",
    "address": {
      "line1": "1467",
      "line2": "Harrison Street",
      "line3": "Harrison Street",
      "city": "San Fransico",
      "state": "California",
      "zip": "94122",
      "country": "US"
    }
  },
  "return_url": "https://google.com/success",
  "webhook_details": {
     "webhook_username": "ekart_retail",
    "webhook_password": "password_ekart@123",
    "payment_created_enabled": true,
    "payment_succeeded_enabled": true,
    "payment_failed_enabled": true
  },
  "sub_merchants_enabled": false,
  "metadata": {
    "city": "NY",
    "unit": "245"
  },
  "primary_business_details": [
    {
      "country": "US",
      "business": "default"
    }
  ]
}'

Create API key
Create Plaid Connector account

curl --location --request POST 'http://localhost:8080/account/merchant_1701763754/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
  "connector_type": "payment_method_auth",
  "connector_name": "plaid",
  "connector_account_details": {
    "auth_type": "BodyKey",
    "api_key": "some key",
    "key1": "some key"
  },
  "test_mode": false,
  "disabled": false,
  "business_country": "US",
  "business_label":"default",
  "status": "active",
  "metadata": {
    "city": "NY",
    "unit": "245"
  }
}'

Create payment connector account -

curl --location --request POST 'http://localhost:8080/account/merchant_1701763754/connectors' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: test_admin' \
--data-raw '{
    "connector_type": "fiz_operations",
    "connector_name": "stripe",
    "connector_account_details": {
        "auth_type": "HeaderKey",
        "api_key": "some key"
    },
    "test_mode": false,
    "disabled": false,
    "payment_methods_enabled": [
        {
            "payment_method": "card",
            "payment_method_types": [
                {
                    "payment_method_type": "credit",
                    "card_networks": [
                        "Visa",
                        "Mastercard"
                    ],
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                },
                {
                    "payment_method_type": "debit",
                    "card_networks": [
                        "Visa",
                        "Mastercard"
                    ],
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                }
            ]
        },
        {
            "payment_method": "bank_debit",
            "payment_method_types": [
                {
                    "payment_method_type": "ach",
                    "recurring_enabled": true,
                    "installment_payment_enabled": true,
                    "minimum_amount": 0,
                    "maximum_amount": 10000
                }
            ]
        },
        {
            "payment_method": "pay_later",
            "payment_method_types": [
                {
                    "payment_method_type": "klarna",
                    "payment_experience": "redirect_to_url",
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                },
                {
                    "payment_method_type": "affirm",
                    "payment_experience": "redirect_to_url",
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                },
                {
                    "payment_method_type": "afterpay_clearpay",
                    "payment_experience": "redirect_to_url",
                    "minimum_amount": 1,
                    "maximum_amount": 68607706,
                    "recurring_enabled": true,
                    "installment_payment_enabled": true
                }
            ]
        }
    ],
    "metadata": {
        "city": "NY",
        "unit": "245"
    },
    "connector_webhook_details": {
        "merchant_secret": "MyWebhookSecret"
    },
    "business_country": "US",
    "business_label": "default",
    "pm_auth_config": {
        "enabled_payment_methods": [
           {
                "payment_method": "bank_debit",
                "payment_method_type": "ach",
                "connector_name": "plaid",
                "mca_id": "mca_F6MPzhuQvzhHhOsVdgxi"
            }
        ]
    }
}'

Payments create -

curl --location --request POST 'http://localhost:8080/payments' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_O08Uv8O5PjAfrxsSLuduC1bn3FTWEpk0N2vvAKnvhAfc7jISAnrNgkTtcbibjO00' \
--data-raw '{
    "amount": 6540,
    "currency": "USD",
    "confirm": false,
    "capture_method": "automatic",
    "capture_on": "2022-09-10T10:11:12Z",
    "amount_to_capture": 6540,
    "customer_id": "StripeCustomer",
    "business_country": "US",
    "business_label": "default",
    "email": "guest@example.com",
    "name": "John Doe",
    "phone": "999999999",
    "phone_country_code": "+1",
    "description": "Its my first payment request",
    "authentication_type": "no_three_ds",
    "return_url": "https://google.com",
    "shipping": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "US",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594430",
            "country_code": "+91"
        }
    },
    "billing": {
        "address": {
            "line1": "1467",
            "line2": "Harrison Street",
            "line3": "Harrison Street",
            "city": "San Fransico",
            "state": "California",
            "zip": "94122",
            "country": "US",
            "first_name": "joseph",
            "last_name": "Doe"
        },
        "phone": {
            "number": "8056594427",
            "country_code": "+91"
        }
    },
    "statement_descriptor_name": "joseph",
    "statement_descriptor_suffix": "JS",
    "metadata": {
        "udf1": "value1",
        "new_customer": "true",
        "login_date": "2019-09-10T10:11:12Z"
    }
}'

List PM for merchant -

curl --location --request GET 'http://localhost:8080/account/payment_methods?client_secret=pay_57JSBXgwKCHdgIyvLXDi_secret_1arVvWIGuP7XlWPMrt8W' \
--header 'Accept: application/json' \
--header 'api-key: pk_dev_588a676d99f8470ca0eb3a6d5b955f2a' \
--data-raw ''

Link token API -

curl --location --request POST 'http://localhost:8080/payment_methods/auth/link' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: pk_dev_588a676d99f8470ca0eb3a6d5b955f2a' \
--data-raw '{
    "client_secret": "pay_57JSBXgwKCHdgIyvLXDi_secret_1arVvWIGuP7XlWPMrt8W",
    "payment_id": "pay_57JSBXgwKCHdgIyvLXDi",
    "payment_method": "bank_debit",
    "payment_method_type": "ach"
}'

Get public token from plaid -

curl --location --request POST 'https://sandbox.plaid.com/sandbox/public_token/create' \
--header 'Content-Type: application/json' \
--header 'api-key: dev_O08Uv8O5PjAfrxsSLuduC1bn3FTWEpk0N2vvAKnvhAfc7jISAnrNgkTtcbibjO00' \
--data-raw '{
    "client_id": "some key",
    "secret": "some key",
    "institution_id": "ins_20",
    "initial_products": [
        "auth"
    ],
    "options": {
        "webhook": "https://www.genericwebhookurl.com/webhook"
    }
}'

Exchange token API -

curl --location --request POST 'http://localhost:8080/payment_methods/auth/exchange' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: pk_dev_588a676d99f8470ca0eb3a6d5b955f2a' \
--data-raw '{
    "client_secret": "pay_57JSBXgwKCHdgIyvLXDi_secret_1arVvWIGuP7XlWPMrt8W",
    "public_token": "public-sandbox-19e07c9f-8b96-4e96-81a1-e3e3d5c70dc6",
    "payment_id": "pay_57JSBXgwKCHdgIyvLXDi",
    "payment_method": "bank_debit",
    "payment_method_type": "ach"
}'

Pm list for customer (take any payment token) -

curl --location --request GET 'http://localhost:8080/customers/StripeCustomer/payment_methods' \
--header 'Accept: application/json' \
--header 'api-key: dev_O08Uv8O5PjAfrxsSLuduC1bn3FTWEpk0N2vvAKnvhAfc7jISAnrNgkTtcbibjO00'

Payments confirm with payment_token -

curl --location --request POST 'http://localhost:8080/payments/pay_57JSBXgwKCHdgIyvLXDi/confirm' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header 'api-key: dev_O08Uv8O5PjAfrxsSLuduC1bn3FTWEpk0N2vvAKnvhAfc7jISAnrNgkTtcbibjO00' \
--data-raw '{
    "payment_method": "bank_debit",
    "payment_method_type": "ach",
    "payment_token": "token_2OqGjTK08Gen3iTEJq6u"
}'

Checklist

[x] I formatted the code cargo +nightly fmt --all
[x] I addressed lints thrown by cargo clippy
[x] I reviewed the submitted code
[ ] I added unit tests for my changes where possible
[ ] I added a CHANGELOG entry if applicable

Also add the filter to filter out payment method auth connector accounts in routing

That was already added to main in a fix PR - https://github.com/juspay/hyperswitch/pull/3019

repo: juspay/hyperswitch


text:
🛑 AutoBangumi is down

In 3a752b7, AutoBangumi (https://autobangumi.mkacg.com) was down:

HTTP code: 530
Response time: 113 ms

Resolved: AutoBangumi is back up in 5264d8e after 29 minutes.


text:
🛑 Bitwarden is down

In 1f33671, Bitwarden (https://bitwarden.mkacg.com) was down:

HTTP code: 530
Response time: 75 ms

Resolved: Bitwarden is back up in 4a8fe41 after 37 minutes.


text:
🛑 Matrix is down

In 9d7e18f, Matrix (https://matrix.mkacg.chat) was down:

HTTP code: 530
Response time: 275 ms

Resolved: Matrix is back up in f2c29b2 after 10 minutes.


text:
Added Arch Linux instructions

Wrote some instructions for getting this to work on Arch Linux, which worked for me.

You forgot the bower installation.

bower installation is in there on the pacman -S line.  The bower install command is also there.

Oh wow. Totally missed that. I'm used to npm install -g bower haha.

authors: AidanGG justinleewells nubs

repo: justinleewells/pogo-optimizer


text:
手机页面输入框无法输入

使用memo:next和memo:latest docker镜像部署，使用手机浏览器打开时，出现输入框无法聚焦的问题，倒是无法输入。
使用了微信内置浏览器，Chrome，Safari测试，情况一样。

应该已经修复了，再试试看

更新后手机客户端样式和以前不一样了

更新后手机客户端样式和以前不一样了

最近在尝试调整页面布局，手机端样式已被移除。

authors: boojack happy2h yylqing

repo: justmemos/memos


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[ ] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Please Close this issues

Sorry, your issue will be closed as you did not submit your information in the correct format.

authors: alinemati33 jeffwami stevenstc

repo: justswaporg/justlists


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL: http://communityinu.org/
JustList Name: Community Inu
Link to the official homepage of the JustList manager: https://github.com/justswaporg/justlists/issues/new?assignees=&labels=add-justlist&template=add-a-justlist.md&title=Add+JustList%3A+{JustList+name}

Sorry, your issue will be closed as you did not submit your information in the correct format.

authors: addijee jeffwami


text:
Add JustList: {JustList name}

Before submission deletes this line:
THIS IS NOT A TOKEN LISTING REQUEST FORM. IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[ ] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[ ] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


text:
🛑 Journals is down

In f34100a, Journals (https://tecnoscientifica.com/journal/tasp) was down:

HTTP code: 504
Response time: 10038 ms

Resolved: Journals is back up in d7e5096 after 7 minutes.

repo: justudin/tsp-status


text:
Updates Dockerfile so that it can be independently used from make.

This is useful for creating an autobuild on Dockerhub. Running a make docker will still work as well.

This will include a full blown golang build environment in the image. The current build layout results in a much smaller package without unnecessary dependencies.

authors: dominikschulz ghellings


text:
🛑 SALUD SOCIAL is down

In 3d689db, SALUD SOCIAL (https://saludsocial.tonoip.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SALUD SOCIAL is back up in b172b35.

repo: jveyes/upptime


text:
Add canvas peer dependency

Could you add canvas as a peer dependency (as described here: https://docs.npmjs.com/files/package.json#peerdependencies ). If you do so, then it will work on tonic (https://tonicdev.com/npm/smartcrop-node) automatically.
Thanks!
Francisco

Why should I add a dependency to this module it doesn't depend on because some module built on top of it requires it?
IMO if you want to use smartcrop with node you should use either smartcrop-sharp or smartcrop-gm.
Node-canvas has been a pain to build & deploy (at least for my setups).
Cheers,
Jonas

Hi @jwagner, I apologize, I did mean to file this on smartcrop-node and instead filed it here. Oops!

authors: jwagner tolmasky


text:
Still unclear on https and separately port mapping containers

New at the docker port mapping and https concepts and grubbing around like a blind truffle pig at the solution for this.  Think I am co-mingling theories too.
I was under the general impression that nginx acting as the reverse proxy should be where SSL termination occurs? The creator of this code, many on the github issues discussion and elsewhere are talking of additional certs at the container level.  Also notable is the second container I am launching (described below) creates its own certs at docker run time.
Trying to install onlyoffice's (3 docker containers) office suite which includes:

document manager

mail server

team collaboration app which pulls in the other two.

http://helpcenter.onlyoffice.com/server/docker/community/docker-installation.aspx
On a Linode VPS, after setting up DNS and allowing changes to filter through, launched nginx-proxy after creating self signed certs and pointing to them
#docker run -d -p 80:80 -p 443:443 --restart='always' -e DEFAULT_HOST=www.foo.asia -v /home/misc_certs:/etc/nginx/certs -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
I get #502 bad gateway on the default host of www.foo.asia and foo.asia even though I set the former in the docker run command.  Also tried "https://" versions of.  I assume I should get the nginx welcome page here?
Have tried keeping the ports for the onlyoffice containers the same as recommended but they clash (with something, maybe a logging app) so I remapped them.
Launching the document manager with no SSL at the container level works for the subdomain docs.foo.com (a test subdomain).
#docker run -e VIRTUAL_HOST=docs.foo.asia -i -t -d -p 8080:80 onlyoffice/documentserver
Launching the mail server appears to work when I remap the ports since the original ones are bound already, at least one is so I changed them all. But I get a #502 error when trying to reach mail.foo.asia.
#docker run --privileged -e VIRTUAL_HOST=mail.foo.asia -e VIRTUAL_PROTO=https -i -t -d -p 26:25 -p 144:143 -p 588:587
-v /opt/docker/Data:/etc/pki/tls/mailserver -h mail.foo.asia onlyoffice/mailserver
Haven't gotten to the final container yet since my first attempt at docker-compose.yml building gives me an MySQL error. So I decided to build piece by piece.
Appreciate any insights.  I guess my two big pain points are use of certs at the container level and port mapping when 80 and 443 (or any other ports) are already bound. Do I map internal container ports to non-standard external ones and is there a standard practice on choosing them?

At least for the nginx-proxy launch, I guess a #503 is expected per this discussion to change it --> Issue #146

repo: jwilder/nginx-proxy


text:
[ERROR] Problem with config: invalid type: map, expected a string; using default value

Which operating system does the issue occur on?
macOS Mojave (version 10.14.5)
Using version 0.3.3 of Alacritty installed through brew cask install alacritty, and the default configuration in ~/.alacritty.yml. When starting Alacritty, it shows the error:
[ERROR] Problem with config: invalid type: map, expected a string; using default value
is there a way to enable verbose output to show which line in the configuration it complains about?

If you post your config, I can take a look. This is likely pretty simple to spot, it might be a field without a value for example.

@chrisduerr I used the one provided in this repo, https://github.com/jwilm/alacritty/blob/master/alacritty.yml

@pengux You've taken the config for the current master branch, which was updated recently. Your alacritty version is 0.3.3 so its expected, that it fails with the new config. alacritty can generate actual config in case it can't find any of them in default config locations, so you can remove your config and alacritty will generate default one in ~/.config/alacritty/alacritty.yml or you can grab one for 0.3.3 version by checking out the tag v0.3.3 on github/your cloned repo.

@kchibisov Thanks! That did the trick! rm ~/.alacritty.yml

authors: chrisduerr kchibisov pengux

repo: jwilm/alacritty


text:
Wrong alt-i key esc seq in macOS

I'm having trouble with following alt-i mapping in macOS.
  - { key: I,         mods: Alt,       chars: "\x1bi" }

following is cat output when pressing alt-i followed by shift q:
^[i^Q

The problem is that there is unnecessary ^ put in between i and Q.
iTerm2 correctly outputs ^[iQ by the way.
Extra ^ gets inserted with any alphabetical letter right after alt-i.
Because of this issue I cannot use kakoune text editor inside alacritty.

I forgot to mention, that I've built alacritty from master 856cddc

Do you have alt_send_esc enabled or disabled? And does changing it help?
Also are we talking about a literal ^, or about the terminal escape sent when pressing control and a button?
And I'd assume you're letting go of alt in between keys?

alt_send_esc didn't work for me, I mean with default config where it's enabled, I had diacritic letters instead of esc seq. So I decided to map manually in config then.
I get same result ^[i^Q with alt_send_esc enabled or disabled, changing it doesn't help.
I don't press any control after alt-i it gets inserted with any letter.

I have to mention that ^ gets inserted once after alt-i, next letter is ok. For example pressing alt-i followed by qq outputs ^[i^qq, should ^[iqq.

How exactly are you testing which characters are received? Do you use Ctrl+V/cat -v or something entirely different?

First I noticed that some kakoune's shortcuts didn't work, where they work in iTerm2.
Then I simply type cat and press this shortcut in order to see what is the output. I used stardard cat command available in macOS command line.

Looks like it's the same issue as in #2017

authors: chrisduerr vbauerster


text:
Return 401 Unauthorized instead of 403 Forbidden

When authentication fails, the appropriate response is unauthorized.
Forbidden implies that you are authorized, but the requested resource is
not accessible to the requestor.

@Valloric would you mind glancing at this?

The implementation for setting WWW-Authentication seems rather complex for what should be a simple matter of "set header X to string Y." I don't know much about Iron, but is this truly the simplest way of doing this? :)

Review status: 0 of 6 files reviewed at latest revision, all discussions resolved.

Comments from the review on Reviewable.io

I'm really glad you brought that up. With hyper, the underlying http library, you are encouraged not to ever deal with strings directly. They provide a large number of header types, and a macro for adding your own very simple headers. For this case I could use their macro to add a WwwAuthenticateHmacDigest header and not need to implement Header, HeaderFormat, and the new types I added to this library. In fact, this implementation is probably closer to what you would expect hyper to include. You'll notice that the code which adds the header is actually just an expressive one-liner.
The alternative is to use hyper's Headers.set_raw method to set a string directly. This is probably fine for what we are doing here. Maybe I could upstream the WwwAuthenticate and WwwAuthenticateChallenge types to hyper and just be a consumer of them later once they land.

I'm going to circle back to this over the weekend and do it the simple way. Using all of hyper's header machinery as intended seems really overkill.

authors: Valloric jwilm

repo: jwilm/iron-hmac


text:
ant looks nice

https://ant.design/docs/react/introduce
strongly considering just always using ant.design styling for bowtie because

They have all the widgets I need as far as I can tell.
I like the UX of their components more than palantir's blueprint.
It looks nice.
More professional looking to have components with consistent look and feel.
Can change primary color to whatever you want.

merged

repo: jwkvam/bowtie


text:
Implement option to run local linter

For #6
I just started toying around with this extension and this was the first thing I noticed. We use a local installation for our linting, and I'd like to avoid a global installation if possible.

Good job @jpreese I'll have a look at this today!

Awesome! Let me know if you'd like any changes made.

I've gone ahead and merged this with the master branch, but made some minor changes. You can see them in this commit: 2d3c0a3c416e2992dc564ca4fd06e30a5b6244a9
Thank you for your contribution @jpreese !

Thank you both. I think that's the world's fastest turn around for a feature request. I guess it helps that you were already working in it!

authors: jpreese jwldnr sgordon3

repo: jwldnr/VisualLinter


text:
Add option to exclude notes when building deck

Hi.
The ability to add <Notes> to the deck is great for when I'm presenting a deck from my laptop. Would be great though to exclude the notes from the exported deck when running mdx-deck build (assuming output file is meant to be shared online).
Would be happy to submit a PR if you agree and can give me some pointers on the best way to go about it.
Thanks.

Thanks! This is an interesting idea... Do other presentation libraries like Google Slides do this?

I couldn't find a feature like this in Google Slides but I think this is a valuable feature to have.
IMO if a an ability like this was available people would use it.
Right now I do this in a hacky way with a prebuild npm script that uses regex :scream: to remove the <Notes> from my deck.

Would an output flag that disables the presenter and other modes make sense for this? I’m guessing you want to share just the slides and not use this build for actually presenting?

Yes, the scenario here is to share the slides online for later reference, not to use them for presenting, so it would make sense to disable the presenter mode.
But the main point for me is that the actual Notes text won't be anywhere in the files that end up posted online, not just that they aren't shown on the screen. So it would mean not just disabling presenter mode but actively removing the Notes from the bundle.

I think your best best for something like this is a custom remark plugin to remove certain nodes. I think this is probably outside of the scope of this library, but if you'd like to submit a PR for a new remark plugin package, I'd be open to looking at it

authors: cowchimp jxnblk

repo: jxnblk/mdx-deck


text:
Can't change InlineForm button type

Since this is a react library (where an SPA is likely), it seems a bit silly that the button in the inline form has type="submit", causing a page reload. How can I get around this?

The button has a type attribute for semantic correctness, accessibility, and server-rendered HTML forms (e.g. Progressive enhancement), with js, use e.preventDefault() in your submit handler. This is fairly common practice even outside of React, but please let me know if you're still having issues

authors: jxnblk sniepoort

repo: jxnblk/rebass


text:
Modal has page elements over the top

I'm using Modal, but in one instance, (some) page elements are showing through the modal. It's like the z-index is not correct:

You can either set the zIndex prop on the component itself or control the stacking context with Relative components

authors: jxnblk salpulse


text:
test if posgres would make redis obsolete

postgres has internal types called inet and cidr which could theoretically be used the same way as I use my goripr implementation but also extended to ipv6.
Would be interesting to how postgres would manage deduplication/aggregation of overlapping ip ranges

Might as well check out https://github.com/nutsdb/nutsdb/blob/master/docs/user_guides/data-structure.md#sorted-set

nutsdb only supports sorting of max 64 bits (float64)


text:
🛑 le Zata is down

In fa7e563, le Zata (http://zata.free.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: le Zata is back up in 77e10a5.

repo: jyhem/upptime-jyhem


text:
Syntax for using equalTo in class/data attribute

Hi,
Is there a way to use equalTo within the class of an element, similar to:
class="{required:true, rules:{equalTo: '#password'}}"
I've tried a few permutations that don't seem to work, and wonder if I'm missing something?

Hi Carlos,
you can use the equalTo attribute in an input element, this way:

Source: https://forum.jquery.com/topic/validate-apply-equalto-rule-inline-to-input-class

I'm sorry for the lack of activity on this issue. Instead of leaving it open any longer, I decided to close old issues without trying to address them, to longer give the false impression that it will get addressed eventually.
To the reporter (or anyone else interested in this issue): If you're affected by the same issue, consider opening a new issue, with a testpage that shows the issue. Even better, try to fix the issue yourself, and improve the project by sending a pull request. This may seem daunting at first, but you'll likely learn some useful skills that you can apply elsewhere as well. And you can help keep this project alive. We've documented how to do these things, too. A patch is worth a thousand issues!

authors: carlospictor jzaefferer tilt-me

repo: jzaefferer/jquery-validation


text:
Add ASCII Roulette

[x] I have carefully read and comply with the Contributing Guidelines of this repo.

[x] I have searched the PRs of this repo and believe that this is not a duplicate.

ASCII Roulette

https://dialup.com/ascii

Communication

Chat roulette in your command line.

@k4m4 I think it would be a great addition. I am not aware of anything else that lets you do video conferencing directly in your terminal!
Anything I can do to help get this merged?

authors: Sean-Der maxhawkins