Plugin init

I could not understand init problem.
My app behaves like
login > init plugin and register tokens > feed page
now whenever app re-open
index.html >check if access_token is valid > feed page
After successful login to app I init the plugin and register GCM/APNS token in my server and assign it access_token from server.
whenever app  re-open it first check if access_token is still valid in index.html page and then goes to news feed page. I can not understand after initiating plugin in login page should i re-initiate this in index.html page or in feed page or in all pages? So whenever notification arrive it should listen for it...
My notification.js is:
(function($) {
	  var self;
	  var notification = function (){
	  "use strict";
	  self = notification;
  };

  notification.prototype={
	init:function (done){
		  document.addEventListener("deviceready", function(){
	  self.push = PushNotification.init({
			  "android": {
				  "senderID": "123456789",
				  "vibrate":"true",
				  "sound":"false",
				  "clearNotifications":"false",
			  }
		  });
	self.push.on('registration', function(data) {
			  done(data.registrationId);
		  });
		  self.push.on('notification', function(data) {
			  var id,tag ,noid;
			  try{
				  id = data['additionalData']['source_id'];
				  tag = data['additionalData']['tag'];
				  noid = data['additionalData']['noid'];
			}
			  catch(ex){alert(ex);}
			  if(window.location.pathname == "/android_asset/www/index.html" || window.location.pathname == "/android_asset/www/SignIn.html")
			  {
			  		window.location.replace('notification/postPage.html?source_id='+id+'&tag='+tag);
			  }
			 else
			  	window.location.replace('../notification/postPage.html?source_id='+id+'&tag='+tag);
			  if(data.additionalData.coldstart)
				  alert('yes it is cold start');
			  self.push.finish(function () {

				 console.log('finish successfully called');
			  });
		  });

			self.push.setApplicationIconBadgeNumber(function() {
				console.log('success');
			}, function(e) {
				console.log('error');
			}, 2);

		  self.push.on('error', function(e) {
			  self.init();
		  });
	  },false);
  }
  };
  $.notifications = new notification();

	})(jQuery);

@harslanhafeez call init every time you start your app. There is always a chance the registration ID changed. Sometimes APNS/GCM will invalidate ID's.
If you call PushNotification.init on the login.html page and then you move to feed.html page all of your JS will be unloaded and you'll need to call PushNotification.init again.

@macdonst Thanks. But when app is closed and someone tap on notification card its open app and everything goes well.
however when app is in background (not closed) tap on notification it brings up app(feed.html page or some other) but nothing happens....?

Hi, @macdonst  I'm trying to calling PushNotification.init method in
document.addEventListener('resume'... but it does not listening for registration not for notification event? I have tried $(document).off(); and then tried this.(several other methods) but still didn't work. Is any thing other that I can do? Its urgent....

@harslanhafeez you should really look into single page architecture so your push notification event handlers don't get loaded and unloaded when you switch screens.


Best way to add numeric values as a field in a schema.

Greetings,
I want to track how many times an item in a specific schema is clicked.
I have banner ads, and on the front end I will increase a value in the db whenever the ad is clicked.
When the user looks at the form in the admin panel I'd like to show them 22 impressions or 9999 impressions, etc.
Is there any recommended approach to getting this accomplished.

Set the schema to type: Number and then do an update with {$inc: {counter: 1}} every time it is clicked, assuming you name the property counter.

Thank you I appreciate the follow up. I will give that a shot
On Mon, Oct 5, 2015 at 9:12 PM Eric Dobbertin<EMAIL_ADDRESS>wrote:

Set the schema to type: Number and then do an update with {$inc:
{counter: 1}} every time it is clicked, assuming you name the property
counter.
—
Reply to this email directly or view it on GitHub
https://github.com/aldeed/meteor-autoform/issues/1236#issuecomment-145737170
.


No GitHub Actions

There are no GitHub Actions in repo, but they are expected according to readme: https://github.com/jetbrains-academy/java-course-template?tab=readme-ov-file#continuous-integration

@kochaika thanks! @anchouls fixed it in #7


Parametrized generic intersection type not equivalent to its alias

Bug Report
🔎 Search Terms
intersection mapped type generic alias
🕗 Version & Regression Information
It apparently worked in version up to 3.8.
3.9 and 4.0, have an error in both cases
4.1 worked again
4.2 - 4.5 & nightly all have the problem described here
⏯ Playground Link
Playground link with relevant code
💻 Code
// @ts-check

/**
 * @template {string | number} K
 * @template {any} T
 * @typedef {{readonly [P in K]?: T} & { readonly count: number }} Collection
 */

/**
 * @typedef {{foo: string}} Foo
 */

/**
 * @typedef { Collection<number, Foo> } FooCollection
 */

/**
 * @template {string | number} K
 * @template {any} T
 * @returns {{
 *   collection: Collection<K, T>,
 *   insert: (key: K, value: T) => void,
 * }}
 */
const makeCollection = () => {
  let count = 0;

  const getCount = () => count;

  const collection = Object.create(null, {
    count: {
      get: getCount,
      enumerable: true,
    },
  });

  /**
   * @param {K} key
   * @param {T} value
   */
  const insert = (key, value) => {
    // assert(!(key in collection));
    Object.defineProperty(collection, key, {
      value,
      enumerable: true,
    });
    count += 1;
  };

  return {
    collection,
    insert,
  }
}

/** @type {FooCollection | undefined} */
let foosOne;

/** @type {Collection<number, Foo> | undefined} */
let foosTwo;

function init() {
  if (!foosOne) {
    ({collection: foosOne} = makeCollection())
  }
  if (!foosTwo) {
    ({collection: foosTwo} = makeCollection())
  }
}

🙁 Actual behavior
Error on assignment to foosOne:
 Type 'Collection<number | "count", number | Foo>' is not assignable to type 'FooCollection'.
   Type 'Collection<number | "count", number | Foo>' is not assignable to type '{ readonly [x: number]: Foo; }'.
     'number' index signatures are incompatible.
       Type 'number | Foo' is not assignable to type 'Foo'.
         Type 'number' is not assignable to type 'Foo'.

🙂 Expected behavior
Same behavior when assigning to Collection<number, Foo> or to FooCollection

Ideally, intermediate type aliases shouldn't cause inference to succeed/fail differently. I'll note that the following simplified example fails consistently.
type Collection<K extends number | string, T> = {
  readonly [P in K]?: T;
} & { readonly count: number };

declare const makeCollection: <K extends number | string, T>() => Collection<K, T>;

type Foo = {foo: string};
type FooCollection = Collection<number, Foo>;

let foosOne : FooCollection | undefined;
let foosTwo : Collection<number, Foo> | undefined;

function init() {
    foosOne = makeCollection();
    foosTwo = makeCollection();
}

but the two differ if you remove | undefined.
type Collection<K extends number | string, T> = {
  readonly [P in K]?: T;
} & { readonly count: number };

declare const makeCollection: <K extends number | string, T>() => Collection<K, T>;

type Foo = {foo: string};
type FooCollection = Collection<number, Foo>;

let foosOne : FooCollection;
let foosTwo : Collection<number, Foo>;

function init() {
    foosOne = makeCollection();
    foosTwo = makeCollection();
}


Substance misuse - new naloxone question

Context
https://trello.com/c/81KdTvlQ/662-health-new-question-are-they-being-released-with-naloxone
Changes in this PR
Adds a new question - 'Are they being released with naloxone?' - to the substance misuse page.
Screenshots of UI changes
Before

After

Release checklist
As part of our continuous deployment strategy we must ensure that this work is
ready to be released at any point. Before merging to main we must first
confirm:
Pre merge checklist

[ ] Are any changes required to the e2e tests?
[ ] If you've added a new route, have you added a new
auditEvent? (see server/routes/apply.ts for examples)
[ ] Are there environment variables or other infrastructure configuration which needs to be included in this release?
[ ] Are there any data migrations required. Automatic or manual?
[ ] Does this rely on changes being deployed to the CAS API?

Post merge checklist
Once we've merged it will be auto-deployed to the dev environment.
Find the build-and-deploy job in CircleCI.
Should a release fail at any step, you as the author should now lead the work to
fix it as soon as possible.

 Health: new question "Are they being released with naloxone?"


Create electron-fiddle template: Message Channels for IPC

Description
This template should demonstrate electron app developer IPC message communication best practices. Electron Fiddle already has a basic IPC example, and it would be valuable to expand on this one. It would be good to change this to refer to the contextBridge docs as well.
Reference existing ipcMain documentation and communication example
Related survey responses:

Love electron, but i've always hunted forums and articles outside of electronjs.org to learn how to use anything, literally. Problem is docs lack proper detail, usually a sentence is given on some api method. With NO DARN examples at all. In fact, even though the docs are really bad, i think adding 1-3 example code usages is helpful alone. Take for ex the communication between guest renderer and main. Never explained right, no drawings or diagrams to visually explain, lack of examples and use-cases.

Maybe put an exemple for beginners to understand the two process of rendering

how to send messages between server and render its all very vaige

I would like to see more information for using ipc communication with a preload script

Acceptance Criteria

[ ] Develop a template that exemplifies IPC messaging best practices for electron applications
[ ] template is contributed to and lands in the electron/fiddle repo
[ ] template is well documented
[ ] template reference back to existing electron documentation and/or examples

I can look into this one.


Typo in chapter 15

Is:

Remember, story problems and developing storylines are the basis for all security. That doesn’t just mean things like who did it and why, but also includes how to expose the data to show the story. That’s important.
OK…here’s who I would supply the result from the ask:

The bolded who should be how instead

Resolved


Open Question: Good ecosystem selections for parsing toolchain?

There are a lot of crates for parser tooling. What are good ecosystem selections? I'm currently looking at switching to Logos for the lexer and Pest for the parser, but there's also options like nom that claims to handle both lexing and parsing.
I'll probably experiment a little with the top crates at some point to see how the results look.

Example Pest spec for non-recursive expressions:
// Constant sets
letter    = { 'a'..'z' }
any       = { "." }
consonant = { "#" }
vowel     = { "@" }

// Sets
set_range = { letter ~ "-" ~ letter }
set       = { "[" ~ (set_range | letter)+ ~ "]" }
negset    = { "[!" ~ (set_range | letter)+ ~ "]" }

// Non-recursive expression components
fixed_len = { (any | consonant | vowel | set | negset | letter)+ }
wildcard  = { "*" }
word      = { ">" }
rev_word  = { "<" }

basic_component = { fixed_len | wildcard | word | rev_word }

// If no length restriction, match length must eq anagram length.
// Otherwise, anagram is a superset of matched word
anagram = { "/" ~ fixed_len }
// Subset of match instead of superset
must_contain = { "/" ~ fixed_len ~ "*" }
// Exactly one non-any is wrong
hamming = { "`" ~ fixed_len }
// At most one non-any is wrong
hamming_opt = { "?`" ~ fixed_len }
// Length restrictions
digit     = { '0'..'9' }
len_min   = { digit+ }
len_max   = { digit+ }
len_range = { ((len_min? ~ "-" ~ len_max?) | digit+) ~ ":" }

full_component = { len_range? ~ ((basic_component+ ~ (hamming | anagram)?) | hamming | anagram) }

expr = { full_component }

Meanwhile an experimental lexer branch is open, logos-lex.

Pest seems like a good choice, tracking work in #18

Marking as closed by #20


Bump golangci-lint

The current version doesn't work with go1.18. This fix is needed for #782.

/assign @ricardomaraschini

/label docs-approved
/label px-approved
/label qe-approved
Just a fix for CI, it doesn't affect the product.


Add unit tests to SWAT model instance resource type

This resource type has no unit test currently.

Same as issue #572

Closing this one since it is a duplicate of #572


Updating SQL Database Auditing Getting started including a side Article for "Downlevel Clients"

The following services changes are applied in the documentation:

Auditing now uses TDS redirect. that eliminates  the need to configure a security enabled connection string. for old SQL Clients that do not support redirect, a side article "Downlevel clients" was added.
Modification of the configuration model to "Event Categories"
Support for Retention was added.

In addition:
a) The option for server level configuration is now described as part of the flow
b) Some refinements - the draft was reviewed by multiple persons.

Approved for publication.

I'm resolving the issue of the PR being unable to merge.


Add repeated protocols in protocol_config for direct reach and frequency measurement

This change is

src/main/proto/wfa/measurement/api/v2alpha/requisition.proto line 63 at r1 (raw file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
The idea is that this would now always be set, including for volumetric measurements. Those would just always have a protocol of "direct".

Oh you mean protocolConfig now has to be generated for impression and duration as well? I have to try since I feel it would require more changes

src/main/proto/wfa/measurement/api/v2alpha/requisition.proto line 59 at r2 (raw file):
Previously, SanjayVas (Sanjay Vasandani) wrote…
Let's drop all this and put the documentation on the relevant fields in Protocol. e.g. document that the direct protocol means calling Requisitions/FulfillDirectRequisition and document that LLv2 protocol means calling RequisitionFulfillment/FulfillRequisition with an encrypted sketch.

Done.


Error: Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.

This error occurs when I'm consuming a V2 addon that has not complied away class properties.
This is incorrect behavior, because

my browsertargets all support class properties
the app has proposal-class-properties, so it should use that
how does this end up working for regular v2 packages? have we always not been able to use class properties?

Is there a way to tell ember-cli-babel to ignore v2 addons? or maybe only run "if it needs to"?
I guess maybe a core_er_ issue is that ember-cli-babel is incorrectly determining that it needs to run on the v2 addons?

Here is a reproduction: https://github.com/NullVoxPopuli/ember-resources/pull/616
this PR demonstrates that by not compiling away properties, you can see from a 5% to 68% reduction in files size (after minification)
the ember app gives this error:
Error: Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.

ah ok, getting context back now -- I saw this in the babel output:
function _initializerWarningHelper(descriptor, context) {
  throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');
}

how rude


Integrating with USDR and CfC

Adding in links to point governments to pro bono technical support for implementing these projects. For US-based governments, point them to USDR. For Canadian governments, point them to CfC

From Canada:

You can link to: https://opencall-appelouvert.alpha.canada.ca/.

Here's some boilerplate: If you're a government in Canada, check out Open Call, a collaboration between the Canadian Digital Service, the Canada School of Public Service and Code for Canada. They've curated a catalogue of free digital tools that are easy for governments to use (and reuse) to address common challenges associated with COVID-19, and are offering pro bono tech support to help teams deploy them.

For USDR, point them to https://www.usdigitalresponse.org/requesthelp

@outstandy Here's comments on the work so far:

On the projects page, can we move the "Need technical assistance" box down so that it aligns with the "Summary" heading, rather than right at the top of the page?
For where that link goes, can we create a new "Pro-bono technical help" page? That way, both the projects link and the "Need help?" link can point to it.

The page can include some brief copy on the pro-bono help, a section for US-based govts, and a section for CA-based govts. I can come up with the copy, but I'd appreciate if you have a chance to determine a good layout. Maybe even putting US and Canadian flags to denote the different section?


Hypervisor

Hello, sorry for a bit stupid question, I just started to learn runtime.js.
My question is - is it difficult to write hypervisor with runtime.js?
All what I need is convinient "wrapper" for distributed virtualization system and tool which will allow to create in comparatively easy way RDP or VNC-like protocol.
I know that cloud systems is very popular now on server-side, but my idea is to connect mobile devices like smartphones, tablets and laptops in one personal cloud, or personal computing network, which will allow to run different OSes and applications. The main goal - is to combine computing performance of each device and to make one computer from all this stuff with help of network GUI access to each of them from one GUI terminal.
It is also can be usefull for server-side javascript programming, of course, but first I interested in personal application - when each new (actually - old) device like smartphone or tablet can be connected to this personal cloud and increase its computing performance.
I've experimented a bit with Android LinuxDeploy, VNC and few smartphones and tablets - it looks nice. Each VNC session looks just like additional dashboard and all data can be shared via network disks. But it looks a bit like frankenstain, and may be runtime.js can provide suitable tool for creating this system with all it's components on low level with relatively small efforts?
P.S. I know about current ARM limitations - it's not a critical issue because Intel start to promote it's atom platform and there is a particular number of tablets and smartphones with i386 architecture already available.

@danxn Hello, thank you for question. Sorry for the missing or incomplete runtime.js documentation, I hope I'll be able to update it soon, as well as upload new website.
Current runtime.js version needs KVM host to run on top of (runtime.js as a guest machine). This limitation is mainly because there is no support (aka drivers) for physical hardware and the system uses virtio as the only way to communicate with the outside world. The only supported architecture is x86_64 (though it should be relatively easy to create i386 port. are there 64 bit smartphones?).
I don't really know how Android LinuxDeploy works. Does it run a VM on Android? If that's the case it might be possible to also run KVM and runtime.js there.

@iefserge Hi, thanks for explanation it makes whole picture more clear.

Current runtime.js version needs KVM host to run on top of (runtime.js as a guest machine).
This limitation is mainly because there is no support (aka drivers) for physical hardware
and the system uses virtio as the only way to communicate with the outside world.

So, the runtime.js for now is far from turning into hypervisor and works inside KVM hypervisor? Ok, not a problem, anyway possibility to write and run compiled JS for servers is a big advantage. Accounting on it's relative simplicity - it's really cool platform for web server in cloud.

The only supported architecture is x86_64 (though it should be relatively easy to create i386 port. are there 64 bit smartphones?).

Yes, i've made a mistake - Intel Atom SoCs supports x86_64 architecture, but not in all series:
Atom_(system_on_chip),
As here said: All Atom processors implement the x86 (IA-32) instruction set; however, support for the Intel 64 instruction set was not added until the desktop Diamondville and desktop and mobile Pineview cores. The Atom N2xx and Z5xx series Atom models cannot run x86-64 code.[21] The Centerton server processors will support the Intel 64 instruction set.[7]
Mostly spreaded Atom SoCs for smartphones should support 64-bit instructions set (it's mainly Z2xx and Z3xx series): quick price search. The choice of tablets is wider: price search results

I don't really know how Android LinuxDeploy works. Does it run a VM on Android? If that's the case it might be possible to also run KVM and runtime.js there.

It's open source tool, you can find it here - LinuxDeploy repo. Here the article which describes in details with screenshoots how it is used (chapter "Going the chroot Root: Linux Deploy"). Linux Deploy uses chroot to run on the same machine where Android runs, they are working together at the same time on the same hardware. Works fine, I've tested it on ARM smartphone and ARM/x86-64(Atom Z3xx) tablets - nodejs and express works just fine, but for ARM node should be compiled from sources. So the Linux KVM with runtime.js should work as well.
I'm not sure, but may be mobile SoCs is a good direction to move runtime.js from virtual host to hardware envieronment? I just don't know what drivers set needed for SoCs, but theoretically it should be more stable than for standalone CPU.

@danxn

So, the runtime.js for now is far from turning into hypervisor

Yep, the initial idea is to be able to create small, immutable and specialized runtime.js VM images that include application code and only necessary system components. Those images then could be deployed into cloud.

I'm not sure, but may be mobile SoCs is a good direction to move runtime.js from virtual host to hardware envieronment?

It would be very interesting to run it on mobile SoC, if anyone interested wants to hack on this. I'm curious, what's the use of such a runtime.js powered mobile device?

It would be very interesting to run it on mobile SoC, if anyone interested wants to hack on this. I'm curious, what's the use of such a runtime.js powered mobile device?

Raspberry Pi, do i need to say more? :-D

@iefserge

It would be very interesting to run it on mobile SoC, if anyone interested wants to hack on this. I'm curious, what's the use of such a runtime.js powered mobile device?

Well, the performance of contemporary mobile SoCs is pretty close to performance of 5-years-old top server platforms. And more than enough if you need something like web-shop or blog. Especially if this SoCs present in more than one instance and runs cloud. Accounting on their size and low requirements to cooling and power system this is very intresting alternative for collocation, for example. My goal I've described in first post - I need "modular" PC which will be assembled from "cubicles" like smartphones and tablets (and other stuff), each element will increase whole system performance almost in linear manner and resources distribution will be done on applications level. Pretty cool computer, I think :)
@piranna

Raspberry Pi, do i need to say more? :-D

Yes, sure, and not only Raspberry PI. There is a lot of minicomputers based on mobile SoCs - like Intel Galileo, pcDuino or Cubiboard. There is also exist some projects which runs JS on very low-level SoCs, like Arduino. Like Espruino and Onion Omega.
So, in short:

Robots
CNCs/3D Printers
Smart house applications

I.e. Internet of the things. 10MB OS with all V8 functional? Pretty cool for data processing I think.

@danxn @piranna Ah, that's very cool. Looks like runtime.js should be able to boot on Intel 64 bit chips (it works on my Intel Desktop PC), but without any access to network. Driver would be necessary to make this work. Wouldn't say it's hard to write one, but would require some pretty low-level JavaScript code :)

Basic keyboard and VGA control is somewhat easy and just enough for a hello world... :-) Don't know how much difficult would be to program a network card, but at least the generic ones availables on QEmu or VmWare should be throroughlty documented.
(And a minimal Node.js compatibility, and we have there NodeOS smashing cloud server everywhere :-P)

@iefserge

Looks like runtime.js should be able to boot on Intel 64 bit chips (it works on my Intel Desktop PC), but without any access to network.

Ok, great.
Take a look at this -

This is Intel Edison (new version of Intel Galileo).

Its dimensions are 35.5 x 25 x 3.9 mm, with components on both sides.
The board's main SoC is a 22 nm Intel Atom "Tangier" (Z34XX) that includes two Atom Silvermont cores running at 500 MHz and one Intel Quark core at 100 MHz (for executing RTOS ViperOS).
The SoC has 1 GB RAM integrated on package.
There is also:

4 GB eMMC flash on board,
Wi-Fi,
Bluetooth 4
and USB controllers.

The board has 70-pin dense connector (Hirose DF40) with USB, SD, UARTs, GPIOs.
The price of the device is around 50 USD.[13]
It runs Yocto Linux with development support for:

Arduino IDE,
Eclipse (C, C++, Python),
Intel XDK (NodeJS, HTML5),
and Wolfram.[14][15]

http://en.wikipedia.org/wiki/Intel_Edison
[https://github.com/tarantool/tarantool/wiki/Intel-Edison](Here /proc/cpuinfo) can be found.
Looks like this is good platform to teach runtime.js "to swim" in hardware :)
How do you think? Looks like it needs only network driver to use WiFi, and it will be possible to run "half-metal node server" and to test it's performance on 500MHz core and compare it with similar software instance (Edison supports node.js on top of the Yokto Linux).

Driver would be necessary to make this work. Wouldn't say it's hard to write one, but would require some pretty low-level JavaScript code :)

Well, I never wrote drivers for network interface cards, but everything once should be done for the first time :) May be you can give some links for quick intro to this?

@piranna

and we have there NodeOS smashing cloud server everywhere

Do you mean this all what is needed to setup cloud platform for nodejs apps? Wow, it's like a bomb. From my point of view, of course.

@piranna

and we have there NodeOS smashing cloud server everywhere

Do you mean this all what is needed to setup cloud platform for nodejs
apps? Wow, it's like a bomb. From my point of view, of course.

Network card (I/O) and maybe a hard disk for data storage, since you
already have CPU and RAM. Do you really think is it needed anymore for an
OS running miles away on a data center? And by using a networked data
storage like Amazon S3 or Dropbox you only need the network card support
:-) How do they do to connect PICs and Arduinos to internet? What's the
Internet of Things more than a lot of dumb devices without any local
interface working as micro web servers? :-D

Ok, maybe Node.js support would need more work (mostly API compatibility
things), but it's already Javascript and v8 and the only special thing is
libuv, so... :-)
El 10/06/2015 00:05<EMAIL_ADDRESS><EMAIL_ADDRESS>escribió:

@piranna

and we have there NodeOS smashing cloud server everywhere

Do you mean this all what is needed to setup cloud platform for nodejs
apps? Wow, it's like a bomb. From my point of view, of course.

Network card (I/O) and maybe a hard disk for data storage, since you
already have CPU and RAM. Do you really think is it needed anymore for an
OS running miles away on a data center? And by using a networked data
storage like Amazon S3 or Dropbox you only need the network card support
:-) How do they do to connect PICs and Arduinos to internet? What's the
Internet of Things more than a lot of dumb devices without any local
interface working as micro web servers? :-D

@piranna

What's the
Internet of Things more than a lot of dumb devices without any local
interface working as micro web servers? :-D

Yes, definitely.

@danxn Here is an example of (unfinished) RTL8139 driver https://github.com/runtimejs/runtime/blob/master/initrd/driver/rtl8139.js. Device is controlled by reading/writing memory mapped registers exposed through ArrayBuffer in JavaScript.
lspci on Linux could be used to find out which network controller (vendorId and deviceId codes) the board has. Then it should be pretty easy to find a device spec online.
btw, runtime.js is able to scan PCI devices as well, https://github.com/runtimejs/runtime/blob/libos/js/core/pci/scan.js#L815-L818. Could console.log that output as well :)

Awesome :-)

@iefserge

Then it should be pretty easy to find a device spec online.

Well, this is the problem for Edison, because of BCM43340 (wifi/bluetooth module). It's proprietary part of Edison platform and should be used with Broadcom firmware:
https://github.com/instantinfrastructure/edison-src/tree/master/broadcom_cws/wlan
License: https://github.com/instantinfrastructure/edison-src/blob/master/broadcom_cws/wlan/firmware/LICENCE.broadcom_bcm43xx
Is it possible to use this kind of drivers with runtime.js?
And one more question - as I can see the size (in lines, files and folders) of existing BCM43xx driver is much larger than rtl8139.js Is it possible to make runtime.js driver for bcm43340 a bit smaler? :) Or it should be probably larger than runtime.js repo?

Speaking in Node.js terms, the firmware could be added some Javascript bindings and require() it as a compiled module... Don't know how much difficult it could be on runtime.js, though...

Anyway, before wireless, I would write an ethernet network driver, they are easier since you don't need to take in account rf.

@piranna

Speaking in Node.js terms, the firmware could be added some Javascript bindings and require() it as a compiled module... Don't know how much difficult it could be on runtime.js, though...

Well, yes, I think it's not a big problem from programming side, but may be some license limitations or something else exists for runtime.js

Quick read I don't find any problem there, re-minds me to MIT license but not sure. Anyway, we don't need to copy the code, just download and compile it on install time... :-) I find it more problematic about how to use it: is it a library, or a kernel module?

@piranna

Anyway, before wireless, I would write an ethernet network driver, they are easier since you don't need to take in account rf.

This very easy if you use "more opened" modules, like ESP8266, for example:
https://gist.github.com/teos0009/2f61b6b031a6eb35c48b
This code even shorter than rtl8139.js But in case with BCM43340 - this looks like building OS from scratch.
@piranna

Quick read I don't find any problem there, re-minds me to MIT license but not sure. Anyway, we don't need to copy the code, just download and compile it on install time... :-) I find it more problematic about how to use it: is it a library, or a kernel module?

Good question. May be this will explain something: https://github.com/instantinfrastructure/edison-src/tree/master/device-software/meta-edison/recipes-kernel/bcm43340

May be usage of ESP8266 is better solution for now.

One more usefull repo: https://github.com/01org/edison-bcm43340

@iefserge
@danxn

Is it possible to make runtime.js driver for bcm43340 a bit smaler? :)

Ok, I see it will depend on common device controlling schema complicity (i've compared rtl8139.js with this RTL8139 driver - http://lxr.free-electrons.com/source/drivers/net/ethernet/realtek/8139too.c)

Holy...
PCI Local Bus Specification
Ok, I'll disappear from thread for a while :)

PCI Local Bus Specification

Cool! :-)

@danxn runtime.js handles all the PCI stuff and wraps memory/IRQ resources into JS objects. Driver code just needs to ask for a specific device using vendor/device codes
https://github.com/runtimejs/runtime/blob/libos/js/driver/virtio/index.js#L36

@iefserge

runtime.js handles all the PCI stuff and wraps memory/IRQ resources into JS objects.

phew.. ok  XD

Driver code just needs to ask for a specific device using vendor/device codes

I've found this list in BCM43340 driver repo - https://github.com/01org/edison-bcm43340/blob/master/common/include/devctrl_if/wlioctl_defs.h
Looks like this is what is needed?

One problem with Edison - it's unclear what exactly device is BCM43340:

BTW This is known issue for Intel Edison:
https://communities.intel.com/message/269591

BCM43340 Programmer's Guide

Kudzu Dec 21, 2014 9:16 AM

Unfortunately BC has a long history of not publicly providing SDKs or programmers docs much to the frustration of the Linux, WRT, etc community. It appears BC has opened somewhat with some docs on their site for some chipsets but the BC43340 is nowhere to be found. This seems an odd choice for an open source platform.

Short of reverse engineering the driver in the Yocto build, how can on obtain the software interface docs for the 43340? We are planning to port Cosmos (C# Open Source Managed Operating System) (http://www.goCosmos.org) to the Edison and will need to talk directly to the wifi chipset.

@danxn Ah, couldn't find any specs for BCM43340 either, and its driver code looks very complex. My guess is that it would extremely hard to support it.

@iefserge

My guess is that it would extremely hard to support it.

Yeah, I've tired to browse available driver sources for this chipset (BCM43340). Ok, nevermind. May be when runtime.js will be proted to ARM it will be easy to find suitable network adapter.
Anyway you got the idea: with help of SoCs it is possible to create hardware platform for appropriate software. Like Raspberry PI, but specialized for your needs. This is not very expensive now, and can be done quick enough. For example you can use Raspberry PI project experience. You see - how many analogs appear today? Manufacturers of this devices can place any SoC you need to the board. And you can support your own hardware platform for micro-cloud services. This very intresting thing :)

Guess it's close to you - IKT you can ask them for prices. From my experience prototype will cost about 1000-3000, plus small series something around 5000-10000$

Or you can try something like barebone-nettop like Intel NUC.


Allow proposing any anchor instruction

User supplies program id, governance automatically detects idl and generates remaining form based on it.

Could you clarify what would be generated? My understanding is that the current workflow is to go to the place below (screenshot). These options seem pretty specific to a DAO.

the above form is to create a new governance.
governances can execute arbitrary solana instructions, anchor's idl is a way to describe those instructions so that clients can be generated. it is stored deterministic on-chain so that providing the program id is enough to select the client
Once example could be to initialize an escrow:
https://github.com/project-serum/anchor/blob/master/tests/escrow/programs/escrow/src/lib.rs#L30
In this case the form would provide inputs to specify:

the program id, once added, idl is downloaded and parsed and more fields appear.
deposit_token_account a token account under the realms' governances
receive_token_account another token account under the realms' governances
initializer_amount & taker_amount as number inputs

Thanks for the example. I'll need to do research into other types of use cases. However, for now, I wanted to know if there was a way to fetch idls with the current dependencies. I tried querying random verified and unverified programs on anchor's api. All of them gave me this:

The IDL is stored in a buffer on-chain.

After talking with Sebastian, this is the idea we came up with since IDL isn't strictly necessary for users. What are your thoughts?

Potential blockers for me will be auto populating these instructions based off the IDL

anchor has a new spec for deriving PDAs from idls, that should take care of most of the account issues


fix: show more meaningful certificate progress

close #375

I'm still just getting the 33% running this branch. Is there something else I should be doing?

I'm still just getting the 33% running this branch. Is there something else I should be doing?

this PR got weird somehow; closing and reopening

this PR got weird somehow; closing and reopening


Request For Contribute

Hi
If it is possible , I am going to implement some unit test on this project(digital wallet)
I will appreciate if you review it and recommend me some points about it.
Please give me some advise about it.

Hi, yes. it's great.

Hi,Would you let me to push my branch? and If you have any recommendation,I will waiting for that


Umd library name changed with uglify mangle options

Hi,
I want to import my project as umd library and I tyr to uglify it and libary name is changed  my webpack config is :
module.exports = {
  entry: [
    './JS/example/index.js'
 ],
  //devtool: 'inline-source-map',
  //devtool:'source-map',
  plugins: [

    new CleanWebpackPlugin(['dist'])
  ],

  mode: 'production',

  module: {
   rules: [
     {
      test: /\.js$/,
      exclude: /(node_modules|bower_components)/,
      use: {
        loader: 'babel-loader',
        options: {
          presets: ['es2015'],
          plugins: [],
        }
      }
    }
   ]
  },

  output: {
    path: path.resolve(__dirname, 'JS/example/dist/umd'),
    library: "GlobeApi",
    libraryTarget: 'umd',
    umdNamedDefine: true

  },
  optimization: {
    minimizer: [
      new UglifyJsPlugin({
        uglifyOptions:{
          compress:{ecma:5},
          mangle:{
            "properties":true,
            "reserved":['Draw', 'mylibrary','myapi'],
            "keep_fnames": true,
            "keep_classnames": true,
          },
          output: {
            comments: false,
          },

        }
      }),
    ]
  }

};

It exported like this:
s: Object { ah: CSGlobe(), … }
I can nat reach with my alibrary name uglify mangles everythink and ıt is not work with this way, I can not create class instance because it gives type error like t.be is not defined atc.

It looks like you just deleted our issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please open a new issue with filled issue template. Also make sure your issue is not a question. Questions should be posted on Stack Overflow.


RecommendNextComponents Should Return MetaTypes Rather than PySpice Types.

It might be nice to map recommend results of recommend next components to MetaType when running the plugin rather than PySpice Types.

This will be helpful for displaying recommendations in the ElectricCircuitsVisualizer.

I think this sounds good but I would add this as a post-processing step after the individual model is used (similar to how sorting is currently handled).

Yeah. This step should be agnostic of the model used, some components (Like DCTransmissionLine) might be missing in the metamodel, which would be a nice check to have.


release proposal 1.3.0/0.30.0

1.4.0
:rocket: (Enhancement)

fix(resources): fix browser compatibility for host and os detectors #3004 @legendecas
fix(sdk-trace-base): fix crash on environments without global document #3000 @legendecas

:house: (Internal)

test: add node 18 and remove EoL node versions #3048 @dyladan

Experimental 0.30.0
:boom: Breaking Change

fix: remove aws and gcp detector from SDK #3024 @flarna
feat(sdk-metrics-base): implement min/max recording for Histograms #3032 @pichlermarc

adds min/max recording to Histograms
updates opentelemetry-proto to 0.18 so that min and
max can be exported. This change breaks the OTLP/JSON Metric Exporter for all collector versions <0.52 due to
open-telemetry/opentelemetry-collector#5312.

:rocket: (Enhancement)

feat(opentelemetry-instrumentation-fetch): optionally ignore network events #3028 @gregolsen
feat(http-instrumentation): record exceptions in http instrumentation #3008 @luismiramirez
feat(node-sdk): add serviceName config option #2867 @naseemkullah
feat(opentelemetry-exporter-prometheus): export PrometheusSerializer #3034 @matschaffer

:bug: (Bug Fix)

fix(otlp-transformer): remove type dependency on Long #3022 @legendecas
fix(grpc-exporter): use non-normalized URL to determine channel security #3019 @pichlermarc
fix(otlp-exporter-base): fix gzip output stream in http otlp export #3046 @mattolson

:house: (Internal)

test: add node 18 and remove EoL node versions #3048 @dyladan

Looks like the changelog entry for https://github.com/open-telemetry/opentelemetry-js/pull/2990 has been put into the wrong section of v0.29.0.

PR title says 1.3.0, but this is actually 1.4.0 :slightly_smiling_face:

We'll need to update the compatibility matrix in README.md :slightly_smiling_face:

Are we waiting on a specific PR to release ?

So, I hate to be That Person, but by semantic versioning, deprecating a Node engine shouldn't be a minor. (Even if it's an EOL engine.) It's a breaking change that's going to affect anyone pulling this package in as a ^1 dependency.

I hate to be That Person

No problem. Every project gets complaints and we have to hear them somehow.

by semantic versioning, deprecating a Node engine shouldn't be a minor

This was something we discussed for quite a while including talking to spec maintainers and on several SIG calls and was not a decision we took lightly. Deprecating node versions is something we will need to do regularly in the future. We do not want to support EOL versions and node versions expire every year. If we bump the major version each time node is EOL'd, then we will end up having to regularly bump the major version despite not actually changing any interfaces in a breaking way. If you look at the other OTel implementations, you will see they are also doing the same thing (go for example: https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.3.0).


misc updates and bug fixes

Coverage increased (+0.1%) to 43.247% when pulling 5f31f85dccaf0bc034faf46fbea051a38f0fd375 on gabrielburnworth:master into bdc308ee2dbb9c5a9d728ec83ff524f9722f2204 on FarmBot:master.


cascading await

This issue was originally filed by<EMAIL_ADDRESS>
Would it be possible to make the following work?
testDriver..await deleteAll()
  ..await createNew()
  ..await refresh();

+1, just made a mistake today:
final auth = await context.read<AuthStore>()..login();

this wouldn't work because I need to await login, not a read method
the only way is
final auth = context.read<AuthStore>();
await auth.login()

The desirable syntax is final auth = context.read<AuthStore>()..await login();... Things like login().await are counter-intuitive IMO.


nodejs_14: drop

Description of changes
Node.js 14 has reached End-of-Life (EoL) on 2023-04-30

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Can we keep nodejs_14 behind some knownVulnerable or similar?

I think that is the current status, nodejs_14 is marked as vulnerable due openssl-1.1.
I planned to drop Nodejs 14 and 16 for Release 23.11, and I believe the release managers also think so
cc: @RaitoBezarius @figsoda
https://github.com/NixOS/nixpkgs/blob/cb9e968437faec0c0b72804d32e360042e05442c/pkgs/top-level/release.nix#L32-L38

Can we keep nodejs_14 behind some knownVulnerable or similar?

I think that is the current status, nodejs_14 is marked as vulnerable due openssl-1.1.
I planned to drop Nodejs 14 and 16 for Release 23.11, and I believe the release managers also think so
cc: @RaitoBezarius @figsoda
https://github.com/NixOS/nixpkgs/blob/cb9e968437faec0c0b72804d32e360042e05442c/pkgs/top-level/release.nix#L32-L38

Let me know when you feel like this is ready to merge.

Closing because it's the other pr from raito

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/restricting-python-version-from-nixpkgs/35458/7


Add model.iter_obj method and unit test

Closes #21

Codecov Report

Merging #92 (4ff083d) into master (ebcd112) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   37.34%   37.38%   +0.04%
==========================================
  Files          49       49
  Lines       21633    21608      -25
==========================================
+ Hits         8078     8079       +1
+ Misses      13555    13529      -26

Impacted Files
Coverage Δ

resqpy/model.py
61.29% <100.00%> (+0.11%)
:arrow_up:

resqpy/olio/simple_lines.py
42.60% <0.00%> (-0.50%)
:arrow_down:

resqpy/grid_surface.py
61.89% <0.00%> (-0.05%)
:arrow_down:

resqpy/olio/transmission.py
75.70% <0.00%> (-0.04%)
:arrow_down:

resqpy/grid.py
37.07% <0.00%> (+0.01%)
:arrow_up:

resqpy/olio/vdb.py
11.43% <0.00%> (+0.01%)
:arrow_up:

resqpy/lines.py
18.89% <0.00%> (+0.02%)
:arrow_up:

resqpy/well.py
29.98% <0.00%> (+0.02%)
:arrow_up:

resqpy/fault.py
36.58% <0.00%> (+0.03%)
:arrow_up:

resqpy/olio/grid_functions.py
11.94% <0.00%> (+0.07%)
:arrow_up:

... and 6 more

Continue to review full report at Codecov.

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


Change - Add support for Fedora 26

Fedora 26 provides postgresql-server version 9.6 by default.  Added
support to avoid puppet failures on Fedora 26 nodes.
See https://rpmfind.net/linux/RPM/fedora/updates/26/x86_64/p/postgresql-server-9.6.4-1.fc26.x86_64.html for details.

sweet. Thanks @blackknight36


OCPBUGS 20062 tolerate non-HA availability

Add an "availability tolerance" duration to the deployment controller. This can be used by non-HA components to delay setting the condition Available=False for the duration of the tolerance.

Proof PR: https://github.com/openshift/cluster-kube-storage-version-migrator-operator/pull/118


Need better error handling and looking

For example, when something goes wrong during sending of metrics to Wavefront, the only information logged is the following:
2019/04/23 18:51:20 error reporting to Wavefront. buffering lines.
I need more information about what went wrong. This makes troubleshooting very hard.

My bad. I wasn't handling the error correctly.


Display times in EST

Displays all times in Eastern standard time. This affects everything that uses the date_time core component.
Asana Task: None, sorry, this was small so I just sorta did it.

👍


Fixes to Stack Overflow links in NEST

This updates "stackoverflow" to "Stack Overflow" and moves to https://.

We should have known better, Elasticsearch misspellings are a pet peeve of mine too 🙂


Check package versions

This PR as a continuation of #30 it adds checks for package versions of pacemaker, corosync, and sbd.

so I can see that it is valid to have some "boilerplate" OS  checks, but maybe we could focus on known bad versions that we just want to blacklist for now? maybe there are specific kernel versions that we know are broken in some form of fashion and we just check for those being not installed ?

so I can see that it is valid to have some "boilerplate" OS checks, but maybe we could focus on known bad versions that we just want to blacklist for now? maybe there are specific kernel versions that we know are broken in some form of fashion and we just check for those being not installed ?

This is a good idea. I will add a rule, that the versions must not be xyz.

I have moved the rules to another file examples/azure-rules-perf-optimized.yaml introduced in #30
This commit also includes the https://github.com/trento-project/trento/pull/30/commits/284f4c41a1d6beb6589c3811d59923e7429edc40 , so that when the #30 is merged, this PR would have to be rebased. If those version checks are rather generic I will bring them back into the examples/azure-rules.yaml

@aleksei-burlakov  please rebase.

@aleksei-burlakov please rebase.

Done!

Reviewed live with aleksei, merging.


Flag to disable backups

Hi, More of a question than an issue.
Can you advise on a method to disable the automated backups in the container? I am using an externally managed backup solution and it feels redundant to have the container backing up as well as snapshotting the disk

Not the author, but I peeked around, and it looks like there is no way to do this out of the box yet.
If it's not too much trouble for you, you could create a new Docker image that inherits from this one, and keep it all the same except provide your own copy of /etc/supervisor/supervisord.conf that doesn't have the [program:valheim-backup] section in it.

No worries, I think that may be a little more effort than i wish to expend (Managing updates to the original container and re-pushing every few days sounds less than ideal)
I ended up just making the backup interval several hours and backing it up to the ephemeral storage inside the container (/tmp/backups).
Not the most elegant solution, but that should suffice for now.

Fixed in https://github.com/lloesche/valheim-server-docker/commit/0e2ef3bc2ca9f53f21a9f0538239c63b38db0349
Providing -e BACKUPS=false will now turn off the valheim-backups process on start.


Revise My Dashboard column headings

Change the following column headings based on usability testing feedback:

change "Role" to "Permissions"
Edited to "Last edited" (make this change here and throughout the site for tables with edited/updated column headings, e.g., Org table below the main user plans table should also say "Last edited" instead of "Updated" - also Funder Requirements table...)

I don't see the changes on dmptool-stg @briri

Make sure your account's language setting is US English. I made those changes in the app.po file

yes, it's set to US English (see screenshot) and the changes don't appear in the table

@briri I just checked again and now it's showing "Permissions" but not "Last edited" (screenshot). also the date column is wrapping - hopefully you can make that not happen

the updated translation file should fix this once the '# fuzzy' comments have been removed. We have also updated the migration script to default the language to 'en-US'

seems to be fixed now that the app.po has been updated. thanks for taking care of that @stephaniesimms!

yes fixed! i just made a note in the pre-launch checklist to verify that US-English is the default in both the session selector (top right) and for all user accounts in dmptool. i've noticed that mine keep switching back to GB-English.


BUG: Recent Updates to GrapesJS Type Definitions break this plugin

After this commit, this plugin produces an error saying 'BlockOptions" is not a property on grapesjs
I only know about this error because I am developing with the Dev Branch of GrapesJS (for testing only, not production). This error is not caused by any official releases. I just hope this gets fixed before the next release of Grapesjs. I am using grapejs-plugin-forms v 2.0.5.

Thanks @stljeff1 yeah I'll actually rollback that change but we'll probably need to release a breaking change the day the migration to TS of all files is completed.


Align Markdown in-editor syntax and Markdown Preview

VSCode Version: 1.30
OS Version: Win10 17134.471

Steps to Reproduce:

Combine any two styles in Markdown: example a raw inline text and a link like
raw inline text link

Only one format is chosen, in fact, the TMScopes will only show one:

I know this happens at a minimum with backticked titles and backticked links.
In the preview however they are rendered combined

I believe this is tracked upstream by https://github.com/Microsoft/vscode-markdown-tm-grammar/issues/11


Fix Missing Logo and Website Name on Cart Page

Hey @khushi-joshi-05
The cart page currently has the following issues that need to be addressed:

The logo is not displayed, which affects the visual branding and user experience.
The website name is not prominently displayed, which can cause confusion for the users.

Currently, the cart page looks like:

Please assign the required labels and I would like to work on it under GSSOC'24. Thank you!!

This issue is already solved.
Try to contribute to different issues.


gimel, demagogue (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


The broken sets and Pokémon for the Calc - Thread

Just post the Pokémon or Matchups where the Calc did not produce any results.

Sylveon in UU


How to find out the last exception which caused the circuit to trip open?

How to find out the last exception which caused the circuit to trip open?
For example I call an API which throw different kind of exceptions for different failures.
Now when the circuit is open I want to know the last application exception which caused it to trip open.
As I want my fallback method to return a different response based on last exception.
I created a small sample to find out the Hystrix behavior
Here's the output:
(1 to 11 are success, 12 to 22 are application exceptions, and 23 to 34 is when circuit is open).
1 [value1, value2, value3]and it took 156ms
2 [value1, value2, value3]and it took 5ms
3 [value1, value2, value3]and it took 4ms
4 [value1, value2, value3]and it took 6ms
5 [value1, value2, value3]and it took 5ms
6 [value1, value2, value3]and it took 5ms
7 [value1, value2, value3]and it took 6ms
8 [value1, value2, value3]and it took 5ms
9 [value1, value2, value3]and it took 5ms
10 [value1, value2, value3]and it took 2ms
11 [value1, value2, value3]and it took 0ms
12 caught exception com.bjethwan.Failure1Exception and it took 416ms
13 caught exception com.bjethwan.Failure1Exception and it took 400ms
14 caught exception com.bjethwan.Failure1Exception and it took 420ms
15 caught exception com.bjethwan.Failure1Exception and it took 412ms
16 caught exception com.bjethwan.Failure1Exception and it took 405ms
17 caught exception com.bjethwan.Failure1Exception and it took 411ms
18 caught exception com.bjethwan.Failure1Exception and it took 416ms
19 caught exception com.bjethwan.Failure1Exception and it took 436ms
20 caught exception com.bjethwan.Failure1Exception and it took 426ms
21 caught exception com.bjethwan.Failure1Exception and it took 408ms
22 caught exception com.bjethwan.Failure2Exception and it took 460ms
23 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 8ms
24 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
25 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
26 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
27 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
28 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
29 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
30 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
31 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
32 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
33 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms
34 caught exception java.lang.RuntimeException: Hystrix circuit short-circuited and is OPEN and it took 0ms

These below methods are useful but I couldn't find any API to find the exception which tripped the circuit.
-isCircuitBreakerOpen():true
-isResponseShortCircuited():true

Imagine old behavior where using Spring AOP we used to replay the same exception without invoking backend service.


showfont segfaults in CI after 591eab7

Since commit 591eab7 "Let SDL handle the alignment of surface pixels", ./showfont is segfaulting in CI.
I think the problem might be that older versions of SDL, notably the one in Ubuntu 20.04 that the CI runs against, do not guarantee any particular alignment for surface data?

I checked and SDL 2.0.10 uses SDL_SIMDAlloc() for surface pixels. Is there a way to debug this on the CI machine?

When SSE2 instructions are available, SDL_ttf and SDL 2.0.10-current both choose alignment of 16. When SSE is not available, they both (now) choose alignment based on the size of void*. Clearly I've made some assumptions that are wrong, but I'm not seeing it.
I noticed that the previous code always added alignment - 1 to the pitch. Is the line drawing code in SDL_ttf always going over the width of the surface? That could cause this issue, and be hidden by the previous implementation.

@slouken
yes the pitch is aligned https://github.com/libsdl-org/SDL_ttf/commit/591eab73f0577f0867580b8c361e4aadd4a11916#diff-ba876d8376dbe12da2856ef9df568a1687c32310d1bbbb4990b68917411ef90dL1429
so that each beginning of line line is aligned
(because the TTF routines does SIMD on each lines)

In addition to the pitch be aligned. (so that each beginning of line line is aligned)
There is also an extra ending padding of pitch. so that the width is rounded (ceil'ed) up to alignmemt.
because each glyph is stored as an aligned block.  (https://github.com/libsdl-org/SDL_ttf/blob/main/SDL_ttf.c#L2166)
So that there is no corner case of last remaining pixel when blitting the glyph with SIMD :)


i18n(es): update deploy guides

What kind of changes does this PR include?

New or updated content
Translated content

Description

Update with these changes:

guides/deploy.md
guides/deploy/cloudflare.md
guides/deploy/deno.md
guides/deploy/github.md
guides/deploy/netlify.md
guides/deploy/vercel.md

LGTM


feat: Implement annotations for a subset of list processing

Provide natural language annotations for the tasks in #9

Not viable since LapsTrans has been working on this for several weeks now...


docs(2.0.x): correction field of timeout

Correction field of service timeout,
connect_timeout, send_timeout and read_timeout.

@Kong/team-core can someone please verify these settings changed and in what versions they changed?

@tlblessing @gszr
It seems to have changed since version 1.0.

@tlblessing @gszr
Before version 1.0, there is no information about timeout in the document.


Web server showing blank page

Hi, I just cloned your web folder into my git and deployed it onto a web server but whenever I try to access the session.php it just shows a blank page with nothing. No HTML elements, nothing. Its completely empty. Can you kindly have a look at it and tell me what Im doing wrong? Also I had to change the name of the file session.php to index.php so that it opens that as default page. If I keep it to session.php it doesnt even deploy and gives an error. Im deploying it to heroku. Here's the link to the git and the heroku web server
https://github.com/17100113/torque/
http://torque.herokuapp.com/

Try to change the PHP Version.
When PHP V7 is active the server shows blank pages.
Try to set the PHP version to V5.
Kind regards
Kamikaze

BTW, I'm using PHP v7 for Torque - and it's working perfect.


Fully reveal conversation when opening it

When clicking on a comment, it seems to center the top of it in the editor.
It would be nice if it instead tried to reveal the entire conversation.
I think the editor allows this by calling reveal with a range that includes the line before and after the comment.
I think you can tell it to prefer the top if the range is bigger than the viewport.

@hediet, you were thinking of revealRangeInCenter? It does better than what's happening now, but it still doesn't reveal the entire range.

Yes

it seems to center the top of the comment thread. Marking verified
https://github.com/microsoft/vscode/assets/29464607/a6b10d43-c54f-4fd7-ba78-b48328ca0ff9


Update AddAccountAddress.js

Fixes countries.find error
What does this implement/fix? Explain your changes.
This fixes the "countries.find" error that sometimes crashes the app.
Does this close any currently open issues?
Yes. I opened one, but since I solved the problem, I already closed it.
Screenshots
If applicable, add screenshots of end result.
Any other comments?
Where has this been tested?

Magento Version: [e.g. 2.3.4]
Device: [e.g. Pixel 3]
OS: [e.g. Android 9]

@sidneylopes thanks for your contribution.

@all-contributors please add @sidneylopes for code


Create User Profile Page (Mobile)

Designed the profile card before corrections were made after the first presentation.


KerbalStats: unfreeze and point at spacedock

@JonnyOThan please just replace the old $kref rather than adding one. We do not want taniwha.org in the downloads list, especially not the first entry.


Investigate pool max connections

From Tom Yeh:
maxConnections seems not working. I set minConnections to 10, and maxConnections to 200, but it rejects the connection after 10 with the following exception: pgpool1:null FATAL 53300 sorry, too many clients already
I set it to 200, but # of connections allowed depends only on minConnections. For instance, if 10-200, it stops at 10, and 15-200 stops at 15. It got no problem in the previous version.

I've merged this and published version 0.3.2 to pub.
Looks like you're busy on your other branch - keep up the good work ;)


Change load command readType to default readType

Seems the load command is using CACHE_PROMOTE no matter what

Codecov Report

Merging #13270 (26094fe) into master (46d5e18) will decrease coverage by 26.59%.
The diff coverage is 0.00%.

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

actually, i think it makes sense to use CACHE_PROMOTE for load.. I mean, how would load work if the user specified something like NO_CACHE?

actually, i think it makes sense to use CACHE_PROMOTE for load.. I mean, how would load work if the user specified something like NO_CACHE?

In that case we should hard code CACHE I think?

either CACHE or CACHE_PROMOTE should be fine.  I think when a user explicitly loads something, he/she probably expect the best performance for those files, so moving to top tier aka CACHE_PROMOTE makes sense.  @calvinjia any opinion on this?

either CACHE or CACHE_PROMOTE should be fine. I think when a user explicitly loads something, he/she probably expect the best performance for those files, so moving to top tier aka CACHE_PROMOTE makes sense. @calvinjia any opinion on this?

In https://github.com/Alluxio/alluxio/commit/3762d75eb611f388895ad9bea0746b17afc7cdd1 the CACHE implementation is changed and we changed readType.default from CACHE_PROMOTE to CACHE to avoid moving blocks around while serving a read request. Changing to CACHE to be consistent with that.

Added commit https://github.com/jiacheliu3/alluxio/commit/81d1b758b6614138cab5eda0a63c3c62a27e5e7c but it's not yet reflected on this PR...

Somehow this PR does not work. Created https://github.com/Alluxio/alluxio/pull/13281 instead


Create intro hosted runtime

Added new topic for intro to Hosted GitOps

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/cf-intro-hosted-gitops/docs/

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/cf-intro-hosted-gitops/docs/

[CI] Staging environment is at http://cap-staging-docs.codefresh.io.s3-website.us-east-1.amazonaws.com/cf-intro-hosted-gitops/docs/


Investigate EX2 behavior with regards to the output mask

Supposedly something like  EX2     r0.y, r0.xyzw will not actually store the result in r0.y. This was reported in an IRC discussion in #3dsdev on efnet on August 14, 2015. The reason remains to be investigated, but chances are nihstro should provide a diagnostic of some sorts in this case.
; Example PICA200 vertex shader

; Uniforms
.fvec projection[4]

; Constants
.constf myconst(0.0, 1.0, -1.0, -0.5)
.alias  zeros myconst.xxxx ; Vector full of zeros
.alias  ones  myconst.yyyy ; Vector full of ones

; Outputs
.out outpos position
.out outclr color

; Inputs (defined as aliases for convenience)
.alias inpos v0

.proc main
	; Force the w component of inpos to be 1.0
	mov r0.xyz, inpos.xyz
	ex2 r0.y, r0
	mov r0.w,   ones

	; outpos = projectionMatrix * inpos
	dp4 outpos.x, projection[0], r0
	dp4 outpos.y, projection[1], r0
	dp4 outpos.z, projection[2], r0
	dp4 outpos.w, projection[3], r0

	; outclr = solid white color
	mov outclr, ones

	; We're finished
	end
.end

After some further investigation by the person who reported this behavior initially, it seems that EX2 only computes the base-2-expontential of the first component of the source operand, and writes the result to all enabled output components.
It has been suggested, albeit not verified, that LG2 has a similar quirk.


Pushing CD FAQs

Added some CD FAQs
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?
Adding CD FAQs in the KB section

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Cant till rich soil

Minecraft version
1.20.1
Farmer's Delight version
2.0.5
Forge version
fabric
Description
Cant till rich soil. Also if you get it from the creative inventory you cant place crops on it.
Steps to reproduce
No response
Mod list
fabric api
farmers delight
Logs
No response
Minimal instance

[X] I have tested this on a minimal instance

Performance and shader mods

[ ] I am using performance or shader mods

porting lib is failing us here 💀

The latter part of this issue is likely related to:
https://github.com/Fabricators-of-Create/Porting-Lib/issues/21
But the first issue will be something I'll create for over there.
We'll probably sidestep this for now.

I'll push out a fix for both of these issues as soon as I get home.

Fixed in 2.0.7


Add HORIZON cursor to Stellar-Core config

Some users of stellar/quickstart image are trying to run more complicated commands than a default entry point script. While this is not recommended and is causing issues connected to Stellar-Core maintenance run during catchup command (by design: https://github.com/stellar/stellar-core/issues/2525) I think it's a good idea to update Stellar-Core config to add HORIZON cursor on startup instead of constantly sending wont-fix comments. This will ensure that ledger data is in a DB during reingestion.

LGTM


Dead link in Documentation 📚

Dead link found on: https://huggingface.co/docs/transformers/tasks/summarization#inference ("For more details about the different text generation strategies and parameters for controlling generation, check out the Text Generation API") . The URL should lead to the Text Generation documentation, which can actually be found at: https://huggingface.co/docs/transformers/main_classes/text_generation.

Hey there! Thanks for the report! Would you like to open a PR to update the corresponding file in transformers? https://github.com/huggingface/transformers/tree/main/docs/source/en/tasks


Documenting Kubernetes discovery

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9808da0) 79.31% compared to head (17eb18e) 45.13%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #516       +/-   ##
===========================================
- Coverage   79.31%   45.13%   -34.18%
===========================================
  Files          69       67        -2
  Lines        5767     5592      -175
===========================================
- Hits         4574     2524     -2050
- Misses        972     2916     +1944
+ Partials      221      152       -69

Flag
Coverage Δ

integration-test
?

unittests
45.13% <ø> (+0.10%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Work on quotes without spaces and nested quotes

The following are valid markdown, but when I try to insert lines below any of the following

quote

nested quote

double nested quote

>quote
>>nested quote
>>>double nested quote

Is this plugin supposed to work with o and O?

The logic needs to be more precise to handle cases without a space.

Could you just detect any lines that start with any number of >s?
Writing > in Obsidian without a space counts as a blockquote

Writing > in Obsidian without a space counts as a blockquote

Yes, I already understand how this plugin differs from Obsidian and how it should work.
Please be patient for a while.

ok


Minimal working example for dapi usage

There is no minimal working sample in the documentation for using the dapi:
https://neoline.io/dapi
Could somebody supply a working example?

The examples in the document are already minimal working samples that can run normally, I suspect that you may have a problem with the event call. so I should close it.


STYLE: Remove obsolete Google search bar from Doxygen

-- As was discussed with Marius (@mstaring) and Michèle (@mwjhhuijberts)!
M + M, can you please check this pull request?

lgtm

FIne with me.
For future reference:
The quick fix on webserver via:
cd ~/www/doxygen/
find . -type f -name \*html | xargs sed -i 's/<gcse:search><\/gcse:search>/<!-- <gcse:search><\/gcse:search> -->/'

@N-Dekker - when you create a new DoxyGen version, inform me where to download the new release. I will upload it the the webserver.

when you create a new DoxyGen version, inform me where to download the new release. I will upload it the the webserver.

Sure, I will let you know, thanks @mwjhhuijberts !


Add the variable related to the double support ratio for DCM planning (alpha) to the configuration file

The variable ($\alpha$) related to the ratio of the double support time that will allocated to previous single support and next single support in DCM planner is not in the configuration files!

Hi @MiladShafiee, sorry for the super late answer. I am not sure I understood your request here. The phases are not decided by the DCM planner, hence I am not sure the parameter you are asking actually exists.

Hi @MiladShafiee, sorry for the super late answer. I am not sure I understood your request here. The phases are not decided by the DCM planner, hence I am not sure the parameter you are asking actually exists.

Hi @S-Dafarra. If I remember correctly It is related to this paper  that it allocates part of single support for having a double support phase. In this way first they allocate $\alpha * DSTime$ of previous single support and $(1-\alpha) * DSTime$ of the next single support for having an interpolation to find DCM trajectory for double support. I guess we used $\alpha=0.5$ but we could embed this parameter in the configuration file for tuning in some cases.

I think then the parameter you are mentioning already exists. It is the switchOverSwingRatio which can be set through:
https://github.com/robotology/unicycle-footstep-planner/blob/fd10aae80e244feeba8f8c669181d1cad4e7f9a2/include/UnicycleGenerator.h#L52

I think switchOverSwingRatio is related to the (SS/DS) that actually regulate the amount of DS and SS based on the impact time that comes from Unicycle Planner. However the $\alpha$ is related to the amount of distribution of DS amount to previous and next single support time.

They coincide given our implementation of the DCM trajectory generator.

In fact, inside this generator, the single support phase starts at the foot impact time and ends at the other foot impact time. The difference between the two impact times corresponds to a full step. That parameter determines how much of this full step has to be considered as double support (after some basic math).

I think it is one another problem that is related to coupling of the DCM planner and footstep planner. I think $\alpha$ should be a independent parameters inside the DCM planner. Probably we can discuss about this when we want to refactor these components.

I think it is one another problem that is related to coupling of the DCM planner and footstep planner.

To be honest, I don't understand why. They both define the amount of a step in which both feet are on the ground. Why do you think they should be separated?

we have two independent value in DCM planner(without thinking about footstep planner).
First we have only single support phase, then we want to have a double support phase, because generally DCM dynamic is for single support phase. Then we say, we need also some double support phase. So we select a value for that. Then this value will be allocated from next single support phase and previous single support phase. How much should be allocated by next single support?how much should be allocated by previous single support? These values will be specified by the $alpha$ parameter.
In my opinion, his is the way that how DCM planner should work.

Then we say, we need also some double support phase. So we select a value for that. Then this value will be allocated by the next single support phase and the previous single support phase.

This is exactly the same reasoning behind the parameter switchOverSwingRatio. In addition, I believe that the definition of the phases is part of the footstep planner. The trajectory generators, like the DCM planner, should only use this information, not define it.

his is exactly the same reasoning behind the parameter switchOverSwingRatio

The problem is that in the current implementation I don't see how we can play with the $\alpha$ parameter. This parameter is a design variable for trajectory, but I think in our implementation it has been found automatically based on switchOverSwingRatio. Anyway I think we can discuss F2F about this problem.

Recap of the T2T discussion (@MiladShafiee @S-Dafarra )
First of all, it is important to remember that alpha is a parameter already used in Trajectory generation for continuous leg forces during double support and heel-to-toe shift based on divergent component of motion.  To understand the meaning of this parameter is important to recall that the DCM dynamics is defined only for single support and our  DCM planner is an algorithm composed of two steps:

We assume that the walking sequence is composed of only single support phases and the DCM is computed accordingly
We use the DCM computed in the previous step to compute the DCM for double support.

The parameter alpha becomes important for computing the first step of the algorithm. Indeed the unicycle planner generates a vector composed by a sequence of single and double supports
This sequence has to be reduced to a sequence of only single support trajectories. The parameter alpha is then used to decide how to split the double support phase.
The following diagram should help you to understand the concept. The orange segment represents the Double Support phase while the green one the Single Support phase.

t0 is the time instant in which we assume that the previous Single support ends and the new single support starts (please remember this is used only for the step 1. of the algorithm).
alpha is a real number that goes from 0 to 1. If alpha is equal to:

0.5: t0 will be in the middle of the orange segment
0: t0 will be coincident to impactTime
1: t0 will be coincident to startTime

In our code alpha is equal to 0.5 and it can be seen in
https://github.com/robotology/unicycle-footstep-planner/blob/fd10aae80e244feeba8f8c669181d1cad4e7f9a2/src/DCMTrajectoryGeneratorHelper.cpp#L830
Changing this line adding a custom alpha should be enough for closing the issue
@MiladShafiee feel free to open a PR with the modification and contact me for any problem/doubt.

Corresponding pull request. #36

Since the pull request has been merged we close this issue.


Extra indentation on line that starts with dot and previous line is close parenthesis.

rustfmt wants indentation like this:
foo(
    // Whatnot
    42,
)
.bar() // Same amount of indentation on this line as the previous line with close parenthesis.

but rust-mode does this:
foo(
    // Whatnot
    42,
)
    .bar()  // Extra indentation.

This is still killing me.

Can you enable tree sitter mode and see if it fixes for you: https://github.com/rust-lang/rust-mode?tab=readme-ov-file#tree-sitter ?


post_gen_project license copy broken

with current versions of  cookiecutter (1.6.0) the license handlin is broken
it seems repo_dir is not available for templating

I see this can only be change in cookiecutter itself as the hook is run from inside the new-project dir. For vcs templates one could find the path to the template repo with something like this
    user_config_data = config.get_user_config()
    repo_url = '{{ cookiecutter._template }}'
    clone_to_dir = user_config_data['cookiecutters_dir']
    print("repo url {}".format(repo_url))
    if repository.is_repo_url(repo_url):
        repo_type, repo_url = vcs.identify_repo(repo_url)
        tail = os.path.split(repo_url)[1]
        if repo_type == 'git':
            repo_dir = "{}/{}".format(clone_to_dir,os.path.normpath(os.path.join(clone_to_dir, tail.rsplit('.git')[0])))
        elif repo_type == 'hg':
            repo_dir = "{}/{}".format(clone_to_dir, os.path.normpath(os.path.join(clone_to_dir, tail)))

but for non vcs templates I don't find a way to get an absolute path to the template directory :frowning:

The license stuff relies on patches I wasn't able to place upstream at the time. I guess I should take a look at it again, given the current code bases.

actually I thought of a different approach. put the licenese folder inside the repo template as licenses.in then copy from there and delete licenses.in afterwards
this should work and eliminate any need for changes in cookiecutter


Pypy 231 support

:warning: WIP

modulo https://github.com/eventlet/eventlet/issues/213 (e.g. with a local workaround), the test suite now passes on master with pypy 2.5.1

Tracking this as https://github.com/onefinestay/nameko/issues/248


Allow PowerShell version task to extract version number from build number

VSTS Extension you are using
Version-PowerShellModule-Task
Where are you running it?
VSTS
Version of Extension/Task
1.42.2
Expected behaviour and actual behaviour
Many of the versioning tasks available in your extension are capable to extract a version number based on a regex from the build number. This is not the case of Version-PowerShellModule-Task.
Steps to reproduce the problem

Create empty build pipeline.
In options tab, set Build Number as $(BuildDefinitionName)-$(SourceBranchName)_1.0.$(date:yy)$(DayOfYear).$(Rev:r)
Add Version-PowerShellModule-Task task to pipeline (with default value $(Build.BuildNumber) for VersionNumber).
Queue a new build.

I'll have a look at this in the next few days. I'm not sure why I missed this functionality when I first implemented it.

That should definitely be possible. I'll make sure I do it at the same time.

Released as v2.0.x as it felt like a probably breaking change to include the Output Variable changes.


Support for connecting VM Scale Sets to subnets/VNETs in a remote subscription?

[Enter feedback here]
Is there scope for VMSS to support linking IP configurations to subnets / VNETs in remote subscriptions?

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 58c3ba2e-4447-da7a-02d2-a5637cd1d1c8
Version Independent ID: 9e27ac75-fbd1-79b2-e816-a65e27e5b6ed
Content: Networking for Azure Virtual Machine Scale Sets - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/virtual-machine-scale-sets-networking.md
Service: virtual-machine-scale-sets
Sub-service: networking
GitHub Login: @ju-shim
Microsoft Alias: jushiman

@kahawai-sre
Thanks for your feedback! We will investigate and update as appropriate.

@kahawai-sre
Azure Virtual Machine Scale Sets (VMSS) are limited to operating within a single Azure subscription. This means that the IP configurations for VMSS instances must be linked to subnets and virtual networks (VNETs) within the same subscription as the VMSS.
At that time, there was no built-in capability in VMSS to directly link IP configurations to subnets or VNETs in remote subscriptions. However, Azure provides various networking features and capabilities that can facilitate connectivity between resources across different subscriptions or virtual networks.
For example, you can establish peering connections between virtual networks in different subscriptions or use Azure Virtual WAN to connect multiple virtual networks. These networking capabilities can enable communication between resources, including VMSS instances, across different subscriptions or VNETs.

@AjayBathini-MSFT  - thankyou for confirming.
As additional feedback, note that PaaS services like App Service/regional VNET integration and of course private endpoints do support the "central" shared VNET model (provided vNICs for PEs themselves reside in the subscription where they are linked). Irrespective of advancements in capabilities to manage VNETs at scale (AVNM etc),  for large organizations it still puts a significant burden on IPAM architectures (not IPAM service or automation, but the scale of available IP ranges themselves), delivering and enforcing network segmentation models, and deployment and management operations, where networking is tightly coupled with subscriptions. Subscriptions are units of scale for services from a limits point of view, and/or used as an IaM boundary for services. To simplify IPAM architectures and enable organizations to more easily centrally manage Azure networking and network security at scale, it would be great if Microsoft can decouple networking from subscription boundaries as per the equivalents in other Cloud providers which have had this feature for many years.


Installation warnings on OSX

Hey, that's what I get during installation of zmq. Seems like some of scripts are old.

➜  zeromq-node npm install zmq --save

<EMAIL_ADDRESS>install /Users/pronebird/Downloads/zeromq-node/node_modules/zmq
node-gyp rebuild

CXX(target) Release/obj.target/zmq/binding.o
In file included from ../binding.cc:29:
/usr/local/Cellar/zeromq/4.2.0/include/zmq_utils.h:40:32: warning: unknown warning group '-Wcpp', ignored [-Wunknown-pragmas]
#pragma GCC diagnostic warning "-Wcpp"
^
/usr/local/Cellar/zeromq/4.2.0/include/zmq_utils.h:41:32: warning: unknown warning group '-Werror', ignored [-Wunknown-pragmas]
#pragma GCC diagnostic ignored "-Werror"
^
/usr/local/Cellar/zeromq/4.2.0/include/zmq_utils.h:44:9: warning: Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h. [-W#pragma-messages]
#pragma message("Warning: zmq_utils.h is deprecated. All its functionality is provided by zmq.h.")
^
3 warnings generated.
SOLINK_MODULE(target) Release/zmq.node
clang: warning: libstdc++ is deprecated; move to libc++ with a minimum deployment target of OS X 10.9
ld: warning: directory not found for option '-L/opt/local/lib'

I'm not a C++ guru, but all 3 of these warning stem from zmq_utils.h being included here in bind.cc.  It looks like this deprecation warning was added in version 4.2.0 of libzmq: commit.
I am not sure if it's possible to do any pre-processor magic in bind.cc to only include zmq_utils.h  if the version of libzmq is 4.2.0 or greater.

Something like that should work
// zmq 4.2.0 deprecates the use of zmq_utils.h
#if ZMQ_VERSION < 40200
#include <zmq_utils.h>
#endif

@haysclark thanks for investigating this!
zmq_utils.h functionality has been moved to zmq.h since 4.2.0, therefore zmq_utils.h has to be included only when building against zmq < 4.2.0
Something like that should work:
// zmq 4.2.0 deprecates the use of zmq_utils.h
#if ZMQ_VERSION < ZMQ_MAKE_VERSION(4,2,0)
#include <zmq_utils.h>
#endif

which file fill content like you last lines of comments? I add your tips codes to zmq.h and zmq_util.h repectly respectively, but it now work.


Blazor to Azure sql database

Hi Jeff
Is it possible to teach us How can we Securely connect Blazor to Azure sql database in such a way that can not be hacked.
Thanks in advance.

This will be covered in today's session on Blazor with Data.
YouTube link at https://www.youtube.com/watch?v=JYHyaATn4IY

Thanks a lot Jeff. We appreciate  your service. You are the best 🥇

We're going to use Sqlite for the demo today, but the same concepts apply
to SQL Server or any other relational database you wish to use
Jeff
On Mon, Feb 21, 2022 at 6:13 AM ugogroup @.***> wrote:

Thanks a lot Jeff. We appreciate your service. You are the best 🥇
—
Reply to this email directly, view it on GitHub
https://github.com/csharpfritz/csharp_with_csharpfritz/issues/97#issuecomment-1046762964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATF4NNUAQ4SQYD4GCBJM3U4IM43ANCNFSM5NG5QASQ
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

Is it the same as connecting to a cloud based database?


Filter gets applied only after second character

While upgrading from 1.2.2 to 1.3.5, I noticed that the filter does only get applied after the second character is inserted.
This was not the case with 1.2.2 and is a bit annoying when trying to filter single digit numbers.
Can also be reproduced in the example (https://akveo.github.io/ng2-smart-table)

I'm also experiencing this issue. Were you able to come up with a solution or workaround?

No, I didn't investigated further and just downgraded to 1.2.2 for now


Don't set validation errors if option is not set

In this block, I think that each ngModelCtrl.$setValidity should only be called if options.minTags (for instance), is defined.
If I use a tag input inside a form and I don't want to fix a tags count limit, I don't want to see an error message! ;)

minTags is always defined. If you don't provide it with a value it will default to a predefined value. Them same is true for maxTags and almost all other options.
What error message are you seeing, exactly?

Actually, I am using a fork from an old version that I have heavily patched for my project purpose. So this problem might have been fixed. I just need to find what I need to take from the latest version.
What I meant by error was that those classes were added to the field: ng-invalid ng-invalid-max-tags ng-invalid-min-tags even if I haven't provided any minTags or maxTags...


Support helm devel flag

Signed-off-by: Dor Mull-or<EMAIL_ADDRESS>
Description of your changes
When developing a helm chart, a release-candidate version can be packaged and uploaded to a helm repository.
To use this package, a --devel flag should be provided to the helm command.
This PR adds the ability to use a Devel flag.

I have:

[ V] Read and followed Crossplane's contribution process.
[ V] Run make reviewable to ensure this PR is ready for review.

How has this code been tested

I just figured our that --devel Equivalent to version '>0.0.0-0'.
So i'm closing this PR. we dont need to implement this logic, just specifying version: ' >0.0.0-0'


Bug: docker-compose among open-chat find Multiple http appear when uploading images

What happened?

👆👆👆👆👆👆👆👆👆👆👆
Look at the picture above
What did you expect to happen?
Image cannot be displayed
How can we reproduce it (as minimally and precisely as possible)?
Image cannot be displayed
Anything else we need to know?
No response
version

ghcr.io/openimsdk/openim-chat     release-v1.3
ghcr.io/openimsdk/openim-server   release-v3.3

Cloud provider

ghcr.io/openimsdk/openim-chat     release-v1.3
ghcr.io/openimsdk/openim-server   release-v3.3

OS version

```console
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
```

Install tools

release-v3.3 and main
This has been fixed, thank you