HomeBridge stops working after a time

I'm posting this as a discussion topic for an issue I've been having personally to see if it's been a problem for anyone else.
I have my personal homebridge running on an old Mac Mini with about a dozen or so accessories loaded. Everything works very well generally, but after the server has been running for a day or so, I'm unable to get Siri to do anything until I restart the server.
I've worked around this by making the server auto-restart daily, but before proposing that this be "the solution", I wanted to know if anyone else has experienced this.
/cc @jnewland, @maddox

I've been running for about 5 days and haven't seen total complete failure. I have seen Siri fail and tell me it couldn't do something though. After trying again it's worked though.
I'm currently just running the server inside a screen instance. I haven't done anything to add it to launchd yet. (If I do, I'll open a pull.)

Well that's good to hear. Perhaps my network has some issues.

I have the same problem. I can connect to my rpi, I can see output from the script about New Sessions and alike, but when I talk to Siri, it doesn't work. It's a different state compared to when Homebridge is completely off. Siri says it couldn't get a response and unlike normally there is nothing in the output reflecting on the request.

@suhajdab Does it ever work? Or does it work at first then stop working after a time (how long)?

I think I'm going to blame discoveryd for this :) Closing for now; will see how things go under mDNSResponder.

@nfarina that's my hunch as well. What a disaster.

@nfarina Sorry for the late response. So it always starts off working, but after a while (no idea how long, but not a few minutes) it stops and Siri says "Hmmm..." after a period of waiting.

@suhajdab And after that it ceases to work? If so and since you're on a rpi, I'm not sure if discoveryd is to blame after all. Could you try the forever-restart branch and see if that "fixes" your problem?

Update: I upgraded my Mac Mini running homebridge to El Capitan which replaces discoveryd with mDNSresponder and lo and behold, the problem is gone. The server has been happily running for days.

lol (2)

:star: (2)

Hi, any comments related to the RPi?
At least my setup, running on a RPi2, still becomes unresponsive after a day or so.  I'm not sure it's related but it does mention some warnings related to the Avahi daemon running in compatibility mode.
Unless Apple pulls an amazing trick tonight running El Capitan on RPi is not an option ;-) ...

My RPi2 has been running latest Homebridge for weeks without any issues. I suppose it could be a problem related to open sockets - can you paste the result of running netstat -a -n -p tcp | grep 51827?

@nfarina Hi Nick, I did some checking on the socket myself, as far I understand I don't see anything unusual :

me@raspberrypi ~ $ sudo netstat -a -n -p tcp | grep 51826
tcp        0      0 <IP_ADDRESS>:51826           <IP_ADDRESS>:*               LISTEN      28356/node
tcp        0      0 <IP_ADDRESS>:51826     <IP_ADDRESS>:49534     ESTABLISHED 28356/node

or by PID:

me@raspberrypi ~ $ sudo netstat -a -n -p tcp | grep 28356
tcp        0      0 <IP_ADDRESS>:54826           <IP_ADDRESS>:*               LISTEN      28356/node
tcp        0      0 <IP_ADDRESS>:51826           <IP_ADDRESS>:*               LISTEN      28356/node
tcp        0      0 <IP_ADDRESS>:54826         <IP_ADDRESS>:60990         ESTABLISHED 28356/node
tcp        0      0 <IP_ADDRESS>:51826     <IP_ADDRESS>:49534     ESTABLISHED 28356/node
tcp        0      0 <IP_ADDRESS>:60990         <IP_ADDRESS>:54826         ESTABLISHED 28356/node

related to the posts above:
I do get the infamous avahi warnings ...

*** WARNING *** The program 'node' called 'DNSServiceRegister()' which is not supported (or only supported partially) in the Apple Bonjour compatibility
*** WARNING *** Please fix your application to use the native API of Avahi!

Do you believe this can have anything to do with it?
Some possibly related info:

me@raspberrypi ~/homebridge $ node -v
v0.12.6
me@raspberrypi ~/homebridge $ uname -a
Linux raspberrypi 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux
me@raspberrypi ~/homebridge $ cat /etc/issue.net
Raspbian GNU/Linux 7
me@raspberrypi ~/homebridge $ dpkg -s libavahi-compat-libdnssd-dev
Package: libavahi-compat-libdnssd-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 186
Maintainer: Utopia Maintenance Team<EMAIL_ADDRESS>Architecture: armhf
Source: avahi
Version: 0.6.31-2
Depends: libavahi-compat-libdnssd1 (= 0.6.31-2), libavahi-client-dev

@desvdp those all looks good... next time when this happens, can you try to use your computer to access your Raspberry Pi with url http://IPofRaspberryPi:51826/accessories and see if you can get a response. If you received response then that might be a different issue on iOS side.

@KhaosT Thanks for the suggestion, I'll test the link once it goes down again (just restarted it for the test above). Btw: regarding iOS, just before your response can in I was edited the post above to mention I'm on iOS 8.4.1 not sure how big the impact of not being on 9 is ...

@desvsp: I'm running homebridge on a mac-mini and simultaneously on a RPi B without any issues.
Both are connected with my iPhone iOS 8.4.1.
Are you running the latest Raspbian version (4.1.6+) ?
I' didn't use my RPi for a long time so I had to do:
sudo apt-get dist-upgrade

Update:
this morning I upgraded the dist as suggested in the previous post. I rebooted the system and restarted the homebridge.
after ±9 hours the system became unresponsive again.
@KhaosT : The accessories URL is still responsive.
@nfarina nfarina: I queried the open sockets again while the iPhone is unable to connect:

me@raspberrypi ~ $ sudo netstat -a -n -p tcp | grep 2367
tcp        0      0 <IP_ADDRESS>:54826           <IP_ADDRESS>:*               LISTEN      2367/node
tcp        0      0 <IP_ADDRESS>:54827           <IP_ADDRESS>:*               LISTEN      2367/node
tcp        0      0 <IP_ADDRESS>:51826           <IP_ADDRESS>:*               LISTEN      2367/node
tcp        0      0 <IP_ADDRESS>:43949         <IP_ADDRESS>:54827         ESTABLISHED 2367/node
tcp        0      0 <IP_ADDRESS>:51826     <IP_ADDRESS>:50398     ESTABLISHED 2367/node
tcp        0      0 <IP_ADDRESS>:44730         <IP_ADDRESS>:54826         ESTABLISHED 2367/node
tcp        0      0 <IP_ADDRESS>:54827         <IP_ADDRESS>:43949         ESTABLISHED 2367/node
tcp        0      0 <IP_ADDRESS>:54826         <IP_ADDRESS>:44730         ESTABLISHED 2367/node
tcp        0      0 <IP_ADDRESS>:51826     <IP_ADDRESS>:49888     ESTABLISHED 2367/node
unix  3      [ ]         STREAM     CONNECTED     9403     2367/node
unix  3      [ ]         STREAM     CONNECTED     9400     2367/node
unix  3      [ ]         STREAM     CONNECTED     9401     2367/node

FYI: <IP_ADDRESS> is my desktop (where I'm testing the accessories URL), <IP_ADDRESS> is my IPhone, 194 the RPi.
This afternoon I synced up my iPad via iCloud: this worked fine, both the iPhone and iPad were able to control the lights.
What I'm currently observing: on the iPhone (which is the device I used to configure the apps) the Insteon+ app has all the devices greyed out, the Eve app reports all devices as "unreachable". I then checked the iPad (which only has the Insteon+ app), the same state is observed: just like the iPhone, all icons are also greyed out.
A question: could this state result when a get/set callback is not called timely?  If this would be the case: is a variable/observable item I can check to confirm the diagnose?
(btw: the RPi is connected to LAN via an Ethernet cable)

I had similar issues with my mac mini connected via Ethernet. I'd try connecting your RPi with a WiFi-Dongle.

@cflurin  I currently don't have a dongle lying around, but I'm happy to pick one up and give it a try. But just out of curiosity, I don't see how this would make a difference: is there a technical reason why Wifi would yield better results, I always assumed cabled had all the advantages (well except some auth features specific to Wifi but I assume these are not relevant here... ).
to make sure: should I look for a dongle with specific features (or a specific type?)
@nfarina you mentioned you're running the RPi2 for weeks, what connection type are you using, is this also using a Wifi dongle?

Mine is connected via built-in Ethernet. And yes, it's possible that iOS will "give up" on an otherwise-working server for some reasons like, get/set not responded to, /accessories JSON invalid, etc

@nfarina Is there a way to confirm this is what is happening? Preferably from the RPi end as I don't have an Apple Dev account.

let me ask a better question first: the platform I'm building interfaces to a 10yr old home automation system over rs232 (yeah ... I know ... ), as a result it can take ~700ms for a status update to come in... if multiple updates are requested they get queued. If the client request more than 1 state worst case it takes  x * 700ms for the RPi to respond.
So question #1, are you aware of any response times that must be met? and #2: is there a way (i.e by returning an error (?) to hold off the client without hanging up entirely?
Honestly I don't believe this is the root cause of the issue as I've seen cases where it didn't respond to the first command after being idle for a while... I just want to be sure I don't have to investigate this path...

Okey, apparently it must be an issue with my LAN/WLAN layout.
@desvdp : how did you connect the automation system (rs232 hardware, baudrate)?

@desvdp : Could you use the rs232 to actively inform homebridge of occuring changes? The FHEM Plattform shim has implemented some chaching regarding the values, to be a lot more responsive.

@devsvdp both my raspberry PI and PI2 can run for weeks and weeks, and I have multiple devices coming and going, my pi server gets a hammering during testing, I only shut the server down for updates basically. I really can not break it..  so I would put a lot of focus on sockets and what your router is and isn't passing through.    mdns is a network protocol and is subjected to a lot of NAT and other rules inside your wifi router.   first reset your router, see if that helps..  second try a wifi dongle, because that will force your wifi router to process packets using the wifi engine in your router rather than the ethernet engine. yep they are different.  being a network engineer by trade I have seen 1000s of different issues, so I can't pin point this one yet. Need more info, more testing, and more debugging to get to the bottom this one...

@devsdp  I found the perfect article for you, to help your understanding...
http://superuser.com/questions/730288/why-do-some-wifi-routers-block-multicast-packets-going-from-wired-to-wireless

@devsdp  and the list goes on...
http://www.networkworld.com/article/2161302/lan-wan/apple-seeks-standard-to-appease-angry-university-net-managers.html

@nzhome The multicast actually makes sense. I agree packets have to be routed between cabled and wifi, where most probably some filtering will be applied. The irony is I have an Apple router (Airport Express), you'd expect that to work, right ;-) . Also, I'm using the router an access point in "Bridge mode", I had hoped less filtering would be going on here.
I'm currently searching Google for mDNS query tools (I found some running on iOS, but would prefer a more elaborate on the console of my desktop).

@devsdp  unfortunately Apple Airport Express is also susceptible, and it is not apples core product, and it shows a little :)

if you have a spare router to plugin for a week, you will know for sure.  I have 4 routers in my house for that purpose, 2 are now retired to the back of the cupboard they were that bad, and were top of the line brands.

I'll see if I can find one ... It won't be a recent one ;-) , probably I might have an old linksys lying around. That's not the one on your cupboard is it?

Coming back on my post above: If the router doesn't solve the problem the next easiest step is to try with a WiFI dongle. I'm using the TL-WN725N v2 but I'll try with the official WiFi dongle > http://www.adafruit.com/products/2638.
and again it may also  be your RS232 hardware, that causes this issue.

@cflurin  Actually ... I'm starting to wonder if my netgear prosafe switch doesn't have anything to do with it... currently reading manuals (and trying to find a windows box to configure it :-( )

hmm, try connecting the RPi directly to your router.

@cflurin don't believe that would do any good, my setup is router<-> switch <-> AP
The router only has one connection being the switch, the wireless access point (and everything else in the house) is on the switch.... so connecting the RPi to the router will move it away further ...

Netgear Prosafe should be fine depending on the model, I use GS116ev2 and GS108ev3, both support multicast, but need to be configured for this.

@desvdp: I see (Almost all new router has 4 or more ports). It seems to me that you are using old devices. My suggestion: buy new router/wifi-dongle, this would save you a lot of troubles.

@volschin When you say "need to be configured for this": can you specify how you configured it? currently I disableb IGMP snooping, and unchecked/disabled the "validate header" and "block unknown multicast address" ... is that the correct way, or did you involve VLANs ? Are there any other setting that might affect it ?

I have activated IGMP snooping without a special VLAN and deactivated validation of IGMPv3 headers and unknown multicast address blocking.
I have Seen this morning that the depending mdns package was updated to 2.2.10 by stating a RasPi problem.

I have installed mine quite some days ago, and it already says it is 2.2.10, are you sure it was updated this morning?
"name": "mdns",
"version": "2.2.10",
"description": "multicast DNS service discovery",

Gemnasium sends me weekly mails regarding updated packages and they told me this morning it was updated in the last week.

LIVE DEMO gremlins. TEST FAILED>   my iPhone today could not see the homebridge, even though the server was running like normal, and my iphone was on the one and only wifi in my house as normal..  reset my touchhome.... still no accessories...   embarassing for homebridge demo.

what is going on here?  all other multicast and unicast apps on my network are currently running except for homebridge..  see, its still running here.  yet nothing in myTouchHome except for greyed out accessories.
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] Client connection closed +44ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP connection was closed +1ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP server was closed +0ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] New connection from client +9m
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP server listening on port 54826 +1ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +1ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54827 +1ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +0ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +1ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +1ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP request: /pair-verify +2ms
HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +0ms
HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +1ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP Repsonse is finished +10ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] Client connection closed +23ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP connection was closed +1ms
EventedHTTPServer [fe80::1c6e:9398:f4d6:5c32] HTTP server was closed +1ms

Testing:

reset phone.. no go
reset all apps.. no go
reset wifi.. no go
reset homebridge... no go   (yes <IP_ADDRESS> is my iphone, so it definitely talked to each other...)

EventedHTTPServer Server listening on port 51826 +0ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] New connection from client +2s
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server listening on port 54826 +2ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP request: /pair-verify +17ms
HAPServer [CC:22:3D:E3:CE:30] HAP Request: POST /pair-verify +0ms
HAPServer [CC:22:3D:E3:CE:30] Pair verify step 1/2 +4ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP Repsonse is finished +19ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed +35ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed +2ms
EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed +0ms

@nzhome  As you'll read in the posts above I'm facing a similar issue...
Actions taken:

I replaced my semi-smart-filtering switch with a dummy switch
I removed all platforms except HUE (which I figured should be stable given the amount of people using it... in contradiction to the platform I'm developing for which I can't give any guarantees ... yet)

Observation: since I made those changes it didn't become unavailable (but it's only like 1.5 days 'til now), I'm keeping my fingers crossed. -- I am having trouble syncing the setup between my iOS devices, but I guess that's an other issue, to be investigated later (and I don't believe this has anything to do with homebridge) --.
I suggest you have a look at you network setup just like I did and isolate components as much as possible, maybe we can find the culprit...
What I needed to do to get stuff going again:
There is a feature in HomeKit that prevents an accessory to be paired twice, so once it's picked up by an app you won't see it in discovery ever again. I believe there's two ways to get around this: I assume "deleting" the accessory form the app might work, but given the experimental nature it's probably better to:

stop homebridge,
remove the persist directory (you will loose your setup !)
reset the homekit iOS configuration from settings/privacy/homekit (you will loose ... ! )
restart homebridge
discover again ...

I know how to reset it.   the point is, how did it get in such a random state?  I didn't even change anything.

 I want to learn where the bug is.

I have an idea regarding this issue. I watched a comparable bahaviour when I implemented my thermostat service for the KNX device. What I saw was:

Seemingly randomly disconnection
Seemingly randomly inability to re-pair
What I found out was that in the returned /accessory URL the value did not match the minimum/maximum values. My device returned a target temperature of 0°C if none was set, HK accepts temperatures from 10°C to 38°C. And overriding the min/max values did not really work.
See https://github.com/nfarina/homebridge/issues/95#issuecomment-140319612

So if your devices return values that do not match the min/max definitions, your bridge might become blacklisted and not accessible through any homekit app, because they seem to sync this info via iCloud. I am still investigating this, as others seem to have problems with min/max values as well. As a short term solution I wrapped the setValue into a comparision with the min/max values for float types:
https://github.com/nfarina/homebridge/blob/master/accessories/knxdevice.js#L204
				if (hk_value>=characteristic.minimumValue && hk_value<=characteristic.maximumValue) {
					characteristic.setValue(hk_value, undefined, 'fromKNXBus'); // 1 decoimal for HomeKit
				} else {
					this.log("Value %s out of bounds %s...%s ",hk_value, characteristic.minimumValue, characteristic.maximumValue);
				}

and since then it was much more reliable.
Could you give it a try?

Could you give it a try?

And this might also apply to all the characteristics with limited allowed return values!

A quick update: about 4 days ago I made a couple of changes to my setup (see my previous post in this thread). Since then, homebridge has not stopped working a single time. I meanwhile upgraded to iOS9 without a glitch... bottom line: whatever the issue is/was, I don't believe it had to do with the core homebridge/HAP-node.js
Next I'll be fetching upgrades/fixes that were made in the mean time ... and step by step include all my components again... hoping to see which causes the failure.
My current (so far perfectly working) setup: RPi2 cabled to a 3com simple Gbit switch, an AirPort express, connected to the same switch,  is used to create a WLan (configured in "bridge" mode )...

I'm experiencing the same issue. The funny thing is, I added a second user/iphone. I use the app MyTouchHome. The icons became grey on my iPhone and a few minutes later it became grey on the second iPhone.

I am having the same problem - after about 30 or 40 minutes, homebridge will stop running on my RPi.  The only indication is that when this happens Siri will stop responding - a bunch of I can't do that, etc.  and in my app all of the appliances will go grey or be unable t get current status.
I am running Homebridge side by side on an Rpi with Z-Way Server using a clean installation of Raspbian Jessie, node v4.2.1.  My connection is using an edimax dongle connected via 802.11 to an Apple Airport extreme.
Z-way is a bit flakey and I seem to notice that if Homebridge can't connect to z-way for some reason it crashes.
What I see in the error log is this:
module.js:339
throw err;
^
Error: Cannot find module '/home/pi/homebridge/app.js'
at Function.Module._resolveFilename (module.js:337:15)
at Function.Module._load (module.js:287:25)
at Function.Module.runMain (module.js:467:10)
at startup (node.js:134:18)
at node.js:961:3
I was thinking of adding a cron job that would routinely check to see if Homebridge was running and if not, start it.  Thoughts?

Hi,
I have the same problem.
I have a RPI with homebridge + jeedom and this plugin https://github.com/jeedom/plugin-homebridge
it's work 5-10 minutes and after icons became grey...
thank's for your help.

Hi,
My problem is solved after apt-get update ...

Same problem. OSX connected to ethernet then a router doing wifi bridge. Solutions? debugging tips?

While turning on my mac mini wifi might work, this will be a very ugly workaround.

Experiencing the same issue here.
Had it working for about a day, then after it everything appeared offline, then when I tried to remove and then re-add the homebridge it could no longer be seen.
After restarting my phone and server (Raspberry Pi 2) I was still unable to get it working.
Does it have anything to do with this?
Mar 11 20:31:56 raspbx homebridge[232]: at Object.LocalStorage.persistKeySync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:457:12)
Mar 11 20:31:56 raspbx homebridge[232]: at Object.LocalStorage.setItemSync (/usr/local/lib/node_modules/homebridge/node_modules/node-persist/local-storage.js:275:14)
Mar 11 20:31:56 raspbx homebridge[232]: at Server._updateCachedAccessories (/usr/local/lib/node_modules/homebridge/lib/server.js:455:20)
Mar 11 20:31:56 raspbx homebridge[232]: at process.<anonymous> (/usr/local/lib/node_modules/homebridge/lib/cli.js:34:14)
Mar 11 20:31:56 raspbx homebridge[232]: at emitNone (events.js:68:13)
Mar 11 20:31:56 raspbx homebridge[232]: at process.emit (events.js:167:7)
Mar 11 20:31:56 raspbx homebridge[232]: at Signal.wrap.onsignal (node.js:816:46)

This got me rolling again:
in your .homebridge folder, simply remove your persist and accessories folders and re-add in your iPhone.
Ghetto, but works.  Any idea on the origin of the bug?

looks like this issue popped up again, now using macOS sierra and iOS 10.. not sure how to resolve

still having this issue on my raspberry pi and ios 10.

Same problem. It works for a day, then no response.
Home app/iOS 10/iPhone 7 + Siri
Eve app/iOS 9/iPhone 5S + Siri
Last lines of the log:
Thu, 10 Nov 2016 15:39:59 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] Sending HTTP event 'keepalive' with data: {"characteristics":[]}
Thu, 10 Nov 2016 15:42:49 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed
Thu, 10 Nov 2016 15:42:49 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed
Thu, 10 Nov 2016 15:42:49 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed
Thu, 10 Nov 2016 15:45:32 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection error: read ETIMEDOUT
Thu, 10 Nov 2016 15:45:32 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] Client connection closed
Thu, 10 Nov 2016 15:45:32 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP connection was closed
Thu, 10 Nov 2016 15:45:32 GMT EventedHTTPServer [::ffff:<IP_ADDRESS>] HTTP server was closed

[11/10/2016, 4:04:43 PM] [eDomoticz] TV sent command succesfully.
[11/10/2016, 4:04:54 PM] [eDomoticz] Heating sent command succesfully.
[11/10/2016, 4:05:43 PM] [eDomoticz] LED sent command succesfully.
[11/10/2016, 4:05:51 PM] [eDomoticz] LED sent command succesfully.
[11/10/2016, 4:05:51 PM] [eDomoticz] LED sent command succesfully.

new requests are not added to the log.

I have a similair problem. I am running Homebridge on Ubuntu 14.04. After a couple of days it stops running.
I am running Homebridge as a service under init.d.
For now I have scheduled a cronjob to restart the service daily.
I think the error occurs if Homebridge tries to connect to the Nest server. If it fails it stops running.

I'm also having this issue. No errors from the homebridge logs running on an rpi. Everything will work great for anywhere from one day to a couple weeks, then every accessory reports "not responding". The only solution I've found so far is wiping the persist folder and going through the set up again.
I tried hitting /accessories on the rpi which returned what looks like an error code?
$ curl localhost:51826/accessories
{"status":-70401}

Googling this number didn't help much.

I had the same issue with iPhone (iOS10.2) showing Homebridge not responding after switching to a new Netgear ProSafe plus switch. It'll show up fine after rebooting the iPhone but will go off-line again a few minutes later. Everything was working fine before I change to the new switch.
After reading @desvdp's comment about moving back to a non-smart switch, I decided to turn off my switch's IGMP snooping and see if that may be the cause. Lo and behold, Homebridge and all my accessories show up active immediately. I'll let it run a few more days to see if Homebridge stay connected...

Still happening for me every week or two, I just confirmed I have (and have had) IGMP snooping disabled.

@nfarina  This exact issue unfortunately happening to me once every 24 hours, igmp snooping is on as it is needed with my setup.

It's been over a month since I switched off IGMP snooping. Homebridge has been solid without any issues.

I think  it's clearly a network issue.
I have a base router and a sub network attached for the upstairs.
Homebridge stops working on the sub network, but connecting to the basic network I can see that its still operating. Somehow its unaccessible by ios when the network accessed through a swich or a router.
Trying many setup options I ened up enabling WDS in the sub-network (bridging the base network's SSID) and voilá, it works.


Balancer Stable Pools part 6: Pool Fetching

Following #1008 and part of #733.
Fetching both Stable and Weighted Balancer Pools.
Test Plan
TBD

Codecov Report

Merging #998 (3bd38b5) into stable-pool-contracts (fb87ad8) will decrease coverage by 0.09%.
The diff coverage is 67.61%.

@@                    Coverage Diff                    @@
##           stable-pool-contracts     #998      +/-   ##
=========================================================
- Coverage                  65.92%   65.83%   -0.10%
=========================================================
  Files                        120      120
  Lines                      22347    23143     +796
=========================================================
+ Hits                       14733    15236     +503
- Misses                      7614     7907     +293

While splitting out #997 was a good start, I still think this PR is quite big and hard to review.

It is important to note that the only relevant logical changes made here

While I agree, I also think that this PR contains more logic changes than need to be included in a single PR and can be further divided into smaller, easier to review changes. Additionally, while the test plan provides a manual test to verify that at least event indexing is working, there are other logic changes in this PR that don't seem like they were verified. To give a concrete example of this, I think that, for example, the changes to graph_api.rs could be included in a smaller self-contained PR, where some new tests checking that the data returned from the Subgraph GraphQL query can be parsed (like the decode_pools_data test but for stable pools) as well as the new PoolData<*> -> RegsiterdPool conversion (especially since they can now panic). While such a PR would not be "hooked up" and used right away in the driver, it would still be merge-able and easier to review.

Approving based on the assumption of cleaning up some of the duplicated code in the shared::sources::balancer.

Is this assumption that the cleanup will be made here in this PR, or immediately after this is merged? If I perform the cleanup here, I am a bit worried it might wind up to be a larger diff than we were hoping for, but it might also be worth not ever including this duplication in the codebase at all. Who knows, maybe de-duplication will make this PR smaller...

immediately after this is merged?

Follow up to stable pool support in the driver (so after #992).


complete runtime analyses

partial output is in /home/caporaso/analysis/2015.01.06-tax-assignment-runtime/ on bacon

Run is completing now. Results are here.

done


TMP Fix: Override git resource with docker image

What
Workaround for issues with Let's Encrypt concourse/concourse#7630
The server certificate verification fails when using the concourse version of the resource_type git. As a temporary fix we have docker image of the resource. This resource_type can be deleted when the issue is resolved
How to review
Describe the steps required to test the changes.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

I think we need the hash to be 40 characters long
https://github.com/alphagov/paas-cf/blob/main/concourse/spec/image_resource_spec.rb#L40


Continuous delivery to alpha playgrounds

We want CD for https://github.com/input-output-hk/plutus/issues/1101

The alpha env has been set up but is missing slack credentials (currently with @JonathanWessels ), Google OAuth credentials (currently with @jbgi ) and github app credentials (not sure who can do this yet).

Google OAuth working now thanks to @jbgi

Not using slack anymore since we use github deployments for feedback instead


Upgraded codebase to comply with laminas/laminas-coding-standard:2.3.x

Q
A

Documentation
no

Bugfix
no

BC Break
no

New Feature
no

RFC
no

QA
yes

Moved to #106


0 Reservations found

Hello,
We have a problem that our client tries to get the data from mews but it says "0 reservations found".
I tried to set it up with different settings but nothing worked.. and with the basic settings as mentioned in you ReadMe the message mentioned above shows up.
We had contact with mews and they say there should be enough data/reservations showing up, but they can't further help us.
Any ideas why it won't work?
Thanks and Kind Regards

Hey there,
Facing the same problem at the moment. Did you actually get an solution for that?
Kind Regards

Hey,
No, not yet.. We are in contact with the Mews Support. I'll update here if we find something.
Kind Regards

Okay, great thank you. Im in contact with support as well.
May i ask how you manage it at the moment? Are you doing it manually on the
hoko interface?
Kind regards
Hendrik
Am Do., 24. Feb. 2022 um 16:37 Uhr schrieb Marrcc @.***

:

Hey,
No, not yet.. We are in contact with the Mews Support. I'll update here if
we find something.
Kind Regards
—
Reply to this email directly, view it on GitHub
https://github.com/dneise/MeHR/issues/17#issuecomment-1049984264, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AX4K35K6NW6KN7KHSGICUALU4ZGEDANCNFSM5HXEMRKA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

--

Hendrik Renken*
capsule hotel
+41 (0)76 723 9910
@.***
www.capsulehotel.ch

Hi,
Mews was able to fix it. Apparently a setting was wrong and then no reports came out.
I can't tell you, what it was but if you contact the support they should be able to fix it for you too.


Req 4.1 unclear

Req 4.1 says: "If an encoding HTTP header (Accept and Accept-Encoding) is provided then a representation of the coverage in the format indicated SHALL be returned."
I believe what is intended is: "If an encoding HTTP header (Accept and Accept-Encoding) is provided in the request then a representation of the coverage in one of the formats indicated SHALL be returned."

Teleconference 20190503: This requirement may not need to be here at all. Content negotiation is likely inherited from common and HTTP 1.1.

This requirement isn't present anymore as it is inherited from OGC API - Common. The language in the README.md has been adjusted.


Use float64

Less but precise but more interesting for moi

oops, thought this would be against my own repo.


Protect kernel code

Static data and code can be write-protected by setting the proper segments as read-only. This helps enforce and prove that services are immutable. To properly do this we will also have to align the static sections to pages, so that the code segment is properly separated from the rest. We can also move exception frames into this part.

Although, would it have any effect when we are running everything in ring-0 (?) I guess we would have to write-protect it from the VMM-side... and how do we do that?

Yes, that's the problem - if we want normal protection we can't run in ring0, and that means lots of context switches. I've heard that you can indeed do this from the VMM-side, but I seriously doubt that we'll find a simple solution that works well across all hypervisors we want to support...


Develop

:tada: This PR is included in version 2.2.3 :tada:
The release is available on<EMAIL_ADDRESS>Your semantic-release bot :package::rocket:


compression of the .fl file.

We need to support compression of produced .fl file.

We need to try different algorithms, see which one gives better performance.
The compressed fl should have an obvious extension, For example .flz  if we using gzip.
rfs then can use .fl, .flz, etc... and decompress. If possible open the .fl for reading in memory directory without having to decompress on disk.

I think we will be using a loseless compression algorithm to enusre no data loss , after a research I suggest to use deflate algorithm which combines both LZ77 and huffman coding and provides a good balance between compression ratio and compression speed


Does not display rewards if started for the first time

When the "PrimeData.data" file doesn't exist the app is not able to display rewards. Restarting the program solves that issue though.

Hrmmm, weird. It should automatically create that file the first time you run it (and then saves it again every time you close the app).

Yes it does that but it can't display the rewards for me the first time

Ah, found the issue, seems there's a race condition with the bindings, and it works occasionally which is probably how I missed that...
Fix is in, I'll have to put together a release when I get a chance.

Fixed in release v0.8


Fix triangle splitting crash where FP error causes binning differences

Ultimately the root problem here is that when we do the binning stage we use a
different method to test the first stage and the second. In the first stage we
use bin() to get an integer bin associated with a point in space. In the second
we get the floating point division point on the axis we have chosen to bin on
and do FP comparisons instead. Under most circumstances this is fine.
Occasionally these binning differences will result in unprofitable splits
happening but still building a usable tree.
In the test case I've given, the unprofitable splits we erroneously choose
fill up the split limit and we don't end up splitting the triangles the
previous stage had intended to choose. As a result, we can't split those
triangles. Then when we do the real bifurcation, everything is on the same
side. This resulted in an assertion failure in production (1).
(1) We never noticed that the RelWithDebInfo build in MSVC still has assertions
enabled. I can provide another change disabling these since I think it's
unintentional.

Hi! Thanks for this PR and especially for the small test! The changes look good. However, I've tried to verify that the test fails in the current Embree devel branch but it's always passing. It also passes in our internal CI running on various machines with many different configs. Can you double check that the test is really a reproducer that triggers asserts during the build (i.e, without the other changes you made). What config (VS version, OS version, CMake options, build type, ....) are you using?

Hi! Thanks for this PR and especially for the small test! The changes look good. However, I've tried to verify that the test fails in the current Embree devel branch but it's always passing. It also passes in our internal CI running on various machines with many different configs. Can you double check that the test is really a reproducer that triggers asserts during the build (i.e, without the other changes you made). What config (VS version, OS version, CMake options, build type, ....) are you using?

Thanks for reviewing!
It was much easier to reproduce the issue by adding the feature in the first commit: supporting setting the max leaf size. The test needs and uses this feature to reproduce the issue. I believe an analogous test should exist without adding this but finding it would be difficult.
I'm running on MSVC2022/Win11. I'm off work today, but can follow up tomorrow with the other build options that I used. There were actually several CMake configuration settings we use internally so it's a good point.

Thanks, I was missing that the test uses the max_triangles_per_leaf setting and could now test the PR properly. I've merged this into our internal devel branch and it will be available publicly very soon.


Could releases be git tagged?

Hi there,
It would be helpful for distribution packagers if the release numbers used in setup.py could also be reflected in git tags (currently rmtest has no git tags but is on release 0.6.6 in pypi).
This would allow the use of source tarballs from github rather than pypi - the latter lacks files like README.md and LICENSE which are needed in various distributions.
cheers.

No problem, but will it help if I add them to the pypi package?

@dvirsky either/both is fine by me.  Thanks!

@natoscott I've tagged a release, I'll try add the files to the package in the next version. https://github.com/RedisLabs/rmtest/releases/tag/v0.6.6


Close #9: Support for different octaves

Closes #9

Need to remove the line in the README stating we're only supporting a limited number of notes.
May also want to give more examples.


Run the tier 2 sysroots job on a schedule, not push

I had this running on push instead of on a schedule so that I could verify that it worked, then forgot to switch it back to cron before merging.

@bors r+

:pushpin: Commit c7ee0755cc759ab6f4be947fa4b9b25717d1cdd7 has been approved by saethlin
It is now in the queue for this repository.

:hourglass: Testing commit c7ee0755cc759ab6f4be947fa4b9b25717d1cdd7 with merge 245fc3abe288eedab0d6e6d80045fb7f888dee0a...

:sunny: Test successful - checks-actions
Approved by: saethlin
Pushing 245fc3abe288eedab0d6e6d80045fb7f888dee0a to master...


Streams Not Working

http://<IP_ADDRESS>:8080
This URL will bring up the itvlive menu screen.
I'm not in a hurry, so please fix it if you have time.

The owner of the links want to pr their service so i removed it.


move_directory refuses to move directory containing broken symlink

if source directory contains broken symbolic link, move_directory with default option will return Error, is it designed? BTW, fs::rename or coreutils mv won't.

Yikes, definitely not intended - I'd expect at most an error (but I suppose it's debatable whether that should be the behaviour either).
It might be a week or so before I'll be able to more properly take a look at this, but in the meantime:

Does move_directory_with_progress do the same?
Are you sure the call panics (as opposed to an error)? Could you provide the stack trace?
Are there any other specific circumstances (alongside the broken symlink) that could be a requirement for this?

If the requirements are anything beyond a "create broken symlink + call move_directory", a set of steps to reproduce would also be wonderful.

Sorry, it's not panic, just PreparationError. and move_directory_with_progress give same error.
PreparationError(CopyPlanningError(UnableToAccess { path: "/home/bilabila/bin/test/a/non-exist", error: Os { code: 40, kind: FilesystemLoop, message: "Too many levels of symbolic links" } }))

Yes, it's debatable for how to handle symbol links, so i thinks it's best to provide option for user.
In some cases, user want to preserve links as it is even if source link is broken, like https://github.com/nrwl/nx/pull/22548/commits/24565bd28860a944678086de59087385b53fa8f1#diff-663ac081b66b48c93df5278df020d105321ea28dc22e143efcbad9888727d153R28. (i think this can be the default, and it matchs fs::rename, and fast).
In other cases, user want to follow links to copy origin file or folder. There can be another option for whether recursively do follow links in symbol link to folder. We need to validate first, once there is a broken link, return error before disk operations, like current fs-more.
Just personal thought, :)

BTW: I test some cases. I don't think fs-more needs to match mv.
consider move folder with a broken symbol link to non exist destination

If move folder without across mount point, fs-more will return Error, while fs::rename and mv won't. It's related to #1
If move folder from ext4 to ntfs, fs-more will return Error, while mv will preserve broken symlink and give no error
If move folder from ext4 to ext4 across mount point, fs-more will return Error, mv will do incomplete move and print error

I agree that this should not error by default, and instead preserve the broken symlink. And that it should be configurable, with probably just two options: continue or abort with error (which should happen while preparing the move).
Having more configuration options for what to do with valid symlinks in general would be nice as well - I'm still thinking whether we should go all out on symlink options at this point (which would be quite some work), or just start by handling the broken symlinks (the latter seems like a good way to start).

While trying to implement this for both copying and moving a directory, an interesting problem has come up for Windows targets.
On Unix there is a single symlinking function regardless of destination type (std::os::unix::fs::symlink), but the Windows part of the standard library has this function split into std::os::windows::fs::symlink_dir and std::os::windows::fs::symlink_file.
The issue seems to me that, because the symlink is broken at the time of copy or move, we can't know what type the symlink destination used to be. While I admit I haven't experimented, it seems reasonable to conclude that we can't reliably (re)create broken symlinks? Am I missing something?
Not sure where to go on from here yet.

Some updates on the implementation: I've been experimenting a little on the dev branch, and symlink options for copy_directory and copy_directory_with_progress are mostly finished. They consist of the general symlink behaviour option (either preserve or follow), as well as the broken symlink behaviour option (either preserve or abort).
I'm currently thinking on the best way to handle this in move_directory and move_directory_with_progress. I think it's sensible to only offer broken symlink behaviour options here, but even that will need a bit of thinking.
The dilemma is that move_directory (and move_directory_with_progress) have two strategies: a rename or a copy-and-delete. Respecting the broken symlinks option while doing copy-and-delete is trivial, but not so much when renaming: if a rename is possible, but the user indicates they want to abort on broken symbolic links, we would need to scan the entire directory tree just to potentially abort on an invalid symbolic link, which seems massively wasteful.
I haven't decided yet, but I'm currently leaning towards still having a broken symbolic link behaviour option for directory move functions, but very clearly documenting that the broken link is still preserved if the rename strategy is used.

Alright, so this is resolved as of v0.7.0, which will be available on crates.io shortly. Thanks for the report and ideas!
Since there are a few other breaking changes it might be a good idea to check out the CHANGELOG, but in short, there are two new options: symlink_behaviour and broken_symlink_behaviour, available for both directory copy and move functions. They control whether to follow (dereference) or preserve symbolic links, and more specifically, whether to preserve broken symbolic links or abort when encountering them.
(As far as my previous comment goes, I ended up restructuring the way copy-and-delete options are available for directory moves. The documentation now makes it very clear that certain options only apply to that move strategy.)


Chapter 4: Transactional emails, awj.s region config

To my surprise, whilst playing around with the code, the AWS SES service doesn't mind what the region is set to within 'aws.js'. For instance, my AWS is located in eu-west-1, whereas the book is us-east-1. This may be a trivial thing, but when I was trying to isolate a bug it was a variable I had to spend time checking out the various combinations to see if it was a problem. It may or may not be worth explicitly stating in the book that the reader does not need to match their region with us-east-1? It takes out a potential area of doubt, perhaps.
// aws.js

aws.config.update({
    region: 'us-east-1',
    accessKeyId: process.env.Amazon_accessKeyId,
    secretAccessKey: process.env.Amazon_secretAccessKey,
  });

@whitefire0 thanks for the suggestion. Good to know that it's a variable you tested while debugging. Some other readers may try the same, so it's useful to mention in the book.
I added a note in Chapter 4 under this code snippet that any AWS region works.

The AWS docs are down right now, but once up, I will review further and give a solid answer about whether a specific region is required.

@klyburke I agree. I think we should add one sentence to the book saying that this is our region, and readers can add their region.
Also we should add second sentence that configs can be passed to aws but also to particular aws service. The latter can be done by following AWS docs: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/Config.html#ses-property
@klyburke What you think?
@whitefire0 Sounds reasonable?

I think it sounds like a good idea myself; small tweak, and could save a lot of reader hours :)

Sounds good. I added a line saying that readers can add their own AWS SES region. I also mentioned that a particular AWS service can be configured by following the docs.

I suggest to add ENV constant for setting region parameter of aws config at aws.js.
Each time I get some specific chapter repo from book, I must remember to update aws.js
I can make PR but book text update also needed.

@YuriGor Good point.
@klyburke @YuriGor We should do it similar to MAILCHIMP_REGION at  https://github.com/async-labs/saas/blob/master/api/server/mailchimp.ts
@YuriGor Usually, every time with merge pull request, we check book's content.


Update offering-EU-Model-Clauses.md

Updated the name for Windows Defender ATP to Microsoft defender ATP.

@JohanFreelancer9  Please copy review

Issue#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/3053

@robmazz Please merge this PR. Thanks.


How to display exclamation marks?

When "setlocal EnableDelayedExpansion" is defined, displaying exclamation marks doesn't work:
@echo off
setlocal EnableDelayedExpansion
echo hello!
[Output: hello]
A trick is to use "endlocal" just before you want to display the exclamation mark, but is there no escape character? Caret (^) does not work (Microsoft Windows [Version 10.0.14393]).

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

ID: b73a4605-c4b3-46a8-ec4e-493751fff82b
Version Independent ID: 2bcfea05-35c7-49cb-0570-a0d5a4957ca1
Content: echo
Content Source: WindowsServerDocs/administration/windows-commands/echo.md
Product: windows-server
Technology: manage-windows-commands
GitHub Login: @coreyp-at-msft
Microsoft Alias: coreyp

https://stackoverflow.com/ is great for this kind of material. I have used batch files since MS-DOS 3.30, but I still had to use Google to find some useful answers:

https://stackoverflow.com/questions/3288552/how-can-i-escape-an-exclamation-mark-in-cmd-scripts

Long story short: Using only 1 caret ^ needs quotation marks around the text to work. Double the caret (use 2) and it should work.
(https://stackoverflow.com/questions/3288552/how-can-i-escape-an-exclamation-mark-in-cmd-scripts)

Please note: The Windows Commands sub-pages will be receiving some updates during the coming weeks, so I have postponed any updates to those pages until the internal work is completed.
Even so, I would like to know if you find this extra Windows batch scripting information added to the existing tables.

Yes, I think so. Its only a small addition, but would save time and make the documentation more complete (an ommission can sometimes be an error).
Ideal would probably be a dedicated page (with a link) or a section & table (on that page) showing a more complete list of the characters which have a special meaning in command-line programming (<, >, |, !, % and so on) and how to escape them.
I note that you have made numerous contributions to MS technical documentation, yet live in Norway. Are you an employee of Microsoft? Can anyone be a contributor?

Thank you for having confidence in me as a potential Microsoft employee, but I am just a regular user. Being a so-called "highly functional" autistic, it feels good to be able to contribute by being overzealous regarding details and grammar. I do this only in my spare time, even though some of the knowledge comes from my previous jobs as a computer support agent in various workplaces.

Oh, right. I forgot to answer the last question in your comment. Anyone with a modicum of knowledge of how to write functionally, have good suggestions for improvements and adhere to the existing code style guides for the MicrosoftDocs repositories, are welcome to contribute to the English (en-us) pages. Some time in the future, it might become possible to contribute to localized pages, but the Microsoft teams are still testing out how it works to manage the en-us hierarchy of contributors first.

#assign:xelu86

Hey @abdekker,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made on how to display ! in batch scripts and will be live after the next business day. We will now be closing this thread.
Thank you and have a most pleasant day. #please-close


An alternative approach + a correction

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Congrats @eulerkochy on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


[Run][Shell plugin] move command not working properly

ℹ Computer information

PowerToys version: 0.31.2
PowerToy Utility: Run
Running PowerToys as Admin: Yes
Windows build number: 19042

following command is not working:

move %userprofile%\Downloads\file.txt %userprofile%\Desktop

however this command is working properly:

cmd /k move %userprofile%\Downloads\file.txt %userprofile%\Desktop

✔ Expected result
command mentioned above should work as intended
❌ Actual result
Error:

@dnlw07
add your comments to https://github.com/microsoft/PowerToys/issues/3405


Typo on page: on premise

"on premise MDM"
Should be:
"on-premises MDM"
For reference, see https://docs.microsoft.com/en-us/style-guide/a-z-word-list-term-collections/term-collections/cloud-computing-terms

@JetzeMellema Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

Hi @JetzeMellema, thank you for your feedback.
Could you please kindly let me know in what article do you see this typo?


Clean up visibility management for edge cases in group switching

Fix for this issue: https://github.com/julianna-langston/chart2music/issues/196

Codecov Report

Merging #197 (b088c69) into main (6cb002e) will decrease coverage by 0.11%.
The diff coverage is 93.33%.

:exclamation: Current head b088c69 differs from pull request most recent head f680659. Consider uploading reports for the commit f680659 to get more accurate results

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #197      +/-   ##
==========================================
- Coverage   97.95%   97.85%   -0.11%
==========================================
  Files          12       12
  Lines        1372     1396      +24
  Branches      365      372       +7
==========================================
+ Hits         1344     1366      +22
- Misses         24       26       +2
  Partials        4        4

Flag
Coverage Δ

unittests
97.85% <93.33%> (-0.11%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/dataPoint.ts
100.00% <ø> (ø)

src/types.ts
100.00% <ø> (ø)

src/c2mChart.ts
96.48% <93.10%> (-0.14%)
:arrow_down:

src/infoDialog.ts
100.00% <100.00%> (ø)

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


adjust the grafana config with the correct TS field and the test index used in the running instructions

Summary
These instructions https://github.com/slackhq/astra/discussions/799 make the database name test. From querying the data, it looks like the supported timestamp field is _timesinceepoch
Note @timestamp is only filled in if that was added in the request. but _timesinceepoch is always filled in.

Explore works by default with this configuration:

Requirements

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

@allcontributors please add @autata for code


Issue about the performance

Hi @ruotianluo
Thank you for your fantastic work. I followed your implementation to train the captioning model (TopDown) with the top 36 features I downloaded from the author. And below is the result:

(The second row result is took from your README and the third row is my result.)
Do you have any idea why the performance still can not reach the reported standard?

Yes I found I did not follow the same hyper parameters (hidden size, batch_size, learning rate decay). I will fix them and try again. Thanks very much! :)

hello, what's the performance of your new try? I also encountered this problem.

@coldmanck
may I ask if "w/o bottom-up features" means using 14142048 features extracted from resner101?


[FR] The ability to "prefer" certain types of compliments

I would like it to be possible to get suggestions from my custom dictionary first if it's applicable, but then everything else. So, being able to prioritize which complements show up first would be neat (maybe like list you can drag enabled compliments up and down in priority).

Thank you for your FR, @Anarchtism :)
I agree with you and like the feature. However, it would take a reasonable amount of time.
Best regards.


Contact number is increasing with no new contacts

When sitting next to the same person, the number of contacts is increasing. On both devices.

Hey thanks for reporting!
We probably need to update the documentation, but this behaviour is indeed intended for two reasons:

We may choose to only flag someone as "possibly" infected if this persons spends more than n minutes with some who was tested positive. Hence we need multiple samples to have a feeling of how long the contact lasted
We have no possibility beforehand to know, if someone is the same device. First, both platforms are randomizing their MAC-Address, which means, your device may see "another" device although it's actually the same, just with another MAC-Address (1). Second, the tokens we generate are non correlated (2) , which means we have no chance of knowing if a "contact" is the same. This only gets possible, after someone who was tested positive releases their secret key, since then we can derive the token from the secret key and the counter (c.f. STAR-Dokumentation for more detailed infos about the algorithm used)

I will also forward the issue to the NextStep-App team to improve naming!


Fix issue #138

and add example_event_error_details to test/show how to use the wait_for_event

@echevrier jenkins failed due to a cargo fmt mismatch:
Diff in /var/lib/jenkins/workspace/aTEE_substrate-api-client_PR-153/src/std/rpc/ws_client/events.rs at line 210


Feature: Provide also direct PromQL interface

It would be usefull if timescale-prometheus would also provide PromQL interface, to avoid additional data roundtrip via Prometheus when querying data via PromQL.
This should improve performance, reduce load on Prometheus and also maybe allow further SQL query optimizations. There is also problem, that when you are running multiple parallel prometheuses (HA setup), which one should handle do the remote_read request...
Using SQL interface (ie. from Grafana) makes reuse of existing dashboards much harder, and PromQL is easier to work with for sysadmins and other users, that are not SQL experts.
Having PromQL interface, makes it also easier to integrate Timescaledb with other PromQL compatible sources via Promxy- thats my use case - I'm aggregating multiple Prometheuses and Timescaledb.
Maybe see also related Promxy Issue
Btw. thanks for this project, Few days ago I started to think about how to restructure my metrics storage to handle (read) load better, and you have come up with changes that seem to fix most of my problems ;-) And yes, having an SQL interfaces for analytical purposes, was my primary reason for choosing TimescaleDB and not VictoriaMetrics or similar...

Thanks for the thoughtful comment. We're discussing the best way to add a PromQL interface directly to timescale-prometheus. We'll aim to keep this issue updated.

And yes, having an SQL interfaces for analytical purposes, was my primary reason for choosing TimescaleDB and not VictoriaMetrics or similar...

Glad to hear! Out of curiosity, what kinds of analytics are you looking to run? (eg what kinds of queries?)

Mostly outage reports now, what components fail, when, how often, critical components uptime (for status page) etc... Later mabye smth. more advanced.

We are aiming to add native PromQL support in the next release. Stay tuned!

This has been merged and will be out in the next release.

Thank you ;-)


Simulating musculoskeletal model using mocap data in myosuite

Hi,
Firstly, kudos for your amazing work! I'm curious how can I transfer marker/keypoints-based real-world motion capture data to MyoSuite for simulating musculoskeletal models, similar to the process in OpenSim?
Additionally, how can I command the joints of these models to follow specific trajectories. Do you have any reference codes or guidance on achieving this?

Hi @SuryaPratapSingh37
thanks for your support!
In order to achieve that transfer you will need to add the markerset (mocap bodies) specific for your motion capture system to the muskuloskeletal models and from there use Inverse Kinematics potentially together with other optimizations (see https://arxiv.org/html/2402.17192v1).
We are planning to release more tools to support those functionalities soon
connected issue to: https://github.com/MyoHub/myo_sim/issues/21#issue-2167878056


Mailing list archive URL

I was searching for some pointers, when I stumbled on the "community" section.
The "mailing list archive" URL:
https://github.com/xflywind/awesome-nim/blob/4b1dcb947271f4e417db2f1233ad7ca78b44df84/README.md?plain=1#L526
points to the old archive, which is no longer updated in favor of the forum. However there is now a forum->mailing list archive available here:
<EMAIL_ADDRESS><EMAIL_ADDRESS>The archive is also accessible via NNTP at news.gmane.io, group comp.lang.nim.general for those old folks that still use gmane. Both are read-only, however I find them more convenient to follow.
I'm not sure how I would add those links, but I thought at least the current mailing list archive is more relevant than the dead one.

Sorry for the confusion.

but I thought at least the current mailing list archive is more relevant than the dead one.

I agree and feel free to make a PR.


new error TypeError('must start with number, buffer, array or string')

I downloaded and started with this error..

I am still having this following the docs still, I don't how this issue is closed without any fix or solution information.


interceptor.request.onSend not fired on second request

I share the same _dio object for my class.
First request is correctly calling the onSend interceptor
This first call return a reject object (_dio.reject('No network))
Second request (using the same _dio object) is NOT calling the onSend interceptor
What could be wrong ?

Forget this issue. From my side


How does builder.Configuration.AddDaprSecretStore Work?

When the app and Dapr start at different times the app has to wait for getting secrets and Dapr has to wait for the app to start listening if I understand it right. This appears like a circular dependency then how exactly does this function work?
There can be network delay and there is a Wait timeout option which I am guessing is for the time taken to get the secrets.
So does it pause the host startup until then? Sorry for creating this as an issue but I can't seem to find much documentation around it.

Host startup is intentionally delayed until the load completes. It shouldn't take that long to retrieve and populate the secrets themselves - the delay is really just waiting for healthiness to be reported, and there shouldn't be much of a delay in a healthy environment.
The timeout value you mentioned puts an upper bound on waiting for failed retries to complete.

Host startup is intentionally delayed until the load completes. It shouldn't take that long to retrieve and populate the secrets themselves - the delay is really just waiting for healthiness to be reported, and there shouldn't be much of a delay in a healthy environment.
The timeout value you mentioned puts an upper bound on waiting for failed retries to complete.

Thanks for the explanation, but what if the application is started before Dapr? How would the secrets be fetched if Dapr is not ready. I am confused about the circular dependency I mentioned.

Host startup is intentionally delayed until the load completes. It shouldn't take that long to retrieve and populate the secrets themselves - the delay is really just waiting for healthiness to be reported, and there shouldn't be much of a delay in a healthy environment.
The timeout value you mentioned puts an upper bound on waiting for failed retries to complete.

Thanks for the explanation, but what if the application is started before Dapr? How would the secrets be fetched if Dapr is not ready. I am confused about the circular dependency/race condition I mentioned.
I read this in an old issue: #452 (comment)
But can't understand how it's handled, because app won't be up until this function succeeds.

Whoops, yes, I neglected to speak to that.
Put simply, you cannot use any secrets from the client which might result in such a circular dependency and that makes sense, right?  Take the following example:

You require an authentication token to communicate with the Dapr sidecar
You intend to retrieve this token from your remote secret store
You register your DaprClient instance with the DI system and specify that the authentication token should come from your injected IConfiguration instance.
When you configure the secret store using AddDaprSecretStore, you create a scope and pass in a DI-retrieved instance of your DaprClient

But of course when your code runs through AddDaprSecretStore, it'll fault because the key you expect from your IConfiguration isn't present because this module was intended to populate it (and it hasn't run yet).
So yes, you have to be careful about specifically which secrets you need and where you're sourcing them especially during startup. Personally, I put my secrets in Azure Key Vault and typically access them via the secret store functionality, except that I specifically register the Dapr API token as a referenced Key Vault Secret in the environment variables for my service (I often use Azure Container Apps here).
By doing this, you can instead opt to read in your environment variables at the top (populating this as authentication happens at the infrastructure level instead):
var builder = WebApplication.CreateBuilder(args);

builder.Configuration.AddEnvironmentVariables();

builder.Services.AddDaprClient((serviceProvider, daprClientBuilder) => {
  var configuration = serviceProvider.GetRequiredService<IConfiguration>();
  var daprApiToken = configuration["DaprApiToken"];

  daprClientBuilder.UseDaprApiToken(daprApiToken);
});

//...

var app = builder.Build();

//Provision an instance of the DaprClient to use
await using var scope = app.Services.CreateAsyncScope();
var daprClient = scope.Services.GetRequiredService<DaprClient>();

builder.Configuration. AddDaprSecretStore("my-store", [], daprClient);

Now if you strictly follow this sort of structure and you're definitely not injecting (and thus not resolving) any other services that need secrets from IConfiguration, they'll be pulled at resolution-time and should populate just fine.

Thanks for the excellent explanation. So to summarize:

We need to keep secrets that can stop app.build() accessible in local environment.
For other secrets we can call AddDaprSecretStore() anytime before app.Run() and it will populate it.

So point 2 implies Dapr will serve the secrets even before app.Run() is called i.e. application has started listening.

Thanks, that clears it all!

Please don't hesitate to reach out if you have any other questions!


adhs-container z-index not high enough

Hello, I just realized that with the js framework I'm using to create my web pages (SmartClient by Isomorphic) I have to augment the z-index to 999999 (99999 wasn't enough). Maybe is something which could be modified in the library or or could it cause problems?

Will take a look at your issues today

fixed and included in new release

appreciate if you can give the repo a star as well!


Not work with Alpine container

OrientDB Version, operating system, or hardware.

v2.2.9, RedHat host, docker Alpine:3.3.

Operating System

[X] Linux
[ ] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Expected behavior and actual behavior
Hi guys, I got these error only under an Alpine container. I just changed for ubuntu 14.04 and also in windows, it's worked fine!!!
java.lang.NoClassDefFoundError: Could not initialize class com.orientechnologies.orient.core.db.ODatabaseRecordThreadLocal
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.activateOnCurrentThread(ODatabaseDocumentTx.java:3026)
at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.(ODatabaseDocumentTx.java:160)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.(OPartitionedDatabasePool.java:423)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPooled.(OPartitionedDatabasePool.java:419)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.initQueue(OPartitionedDatabasePool.java:355)
at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.(OPartitionedDatabasePool.java:116)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.(OrientGraphFactory.java:71)
at com.tinkerpop.blueprints.impls.orient.OrientGraphFactory.(OrientGraphFactory.java:52)

Steps to reproduce the problem
Using Scala 2.11.7 application, Akka 2.4.4 and 'orientdb-graphdb' v2.2.9 in docker with Alpine: 3.3 and Oracle JDK 8.

sincerely I don't know why, The container should be isolated from the host... should be. I tested   on my host (mac) which uses a VM to run container inside. can you show me the docker command you use, just to be sure you are using the offical image:
https://hub.docker.com/_/orientdb/

Hi @robfrank I'm not running the Orientdb database on container, I'm running a client application that I did with Scala. This happening with 'orientdb-graphdb' v2.2.9 library.
Follow my Dockerfile attached.
Dockerfile.txt

I don't know what is going wrong. My suggestion is to rely on an official apline/openjdk image and add your app to it.

@RodrigoLimasss I had similar issues and i switched to this Docker image:
FROM frolvlad/alpine-oraclejdk8:full

Let me know if it works for you.

AFAIK this problem isn't related with OrientDB itself. At lest with the scarse details provided. I close the issue.


v7 doesn't read reserved field

While parsing v7, I noticed some of the field values were mismatched compared to Wireshark. This reads the unused reserved field from the netflow header and the values from this library now match those produced by Wireshark.

Thanks!


Having issues compiling eww

Hey there guys, I followed the installation instruction provided in the documentation but I am having this error error: could not find system library 'gdk-3.0' required by the 'gdk-sys' crate. I have checked if libgdk is installed or not like this:

but I am still getting the same error. Am I missing something? Thanks in advance.
OS: OpenSUSE Tumbleweed

I would suggest installing rustup and using nightly from there. I recall trying to get eww to build in OBS and it never worked. Much easier to do it this way and copy over the resulting binary. I'm disappointed to not have it installed via zypper, but it is what it is :wink:

Well, you are missing the gdk3 library -- check if you have gtk-devel libraries or something you're missing

I would suggest installing rustup and using nightly from there. I recall trying to get eww to build in OBS and it never worked. Much easier to do it this way and copy over the resulting binary. I'm disappointed to not have it installed via zypper, but it is what it is 😉

How do I use nightly?

Install rustup package and run rustup toolchain install nightly; maybe verify with rustup toolchain list and ensure something like "nightly-x86_64-unknown-linux-gnu" is (default)
NOTE: I'm no where near a rust dev in any way or claim to know all the ins-and-outs of setting it up, just sharing my experience in getting it to build in Tumbleweed :smile: Also check out -> https://rust-lang.github.io/rustup/concepts/channels.html


Auto index, the grand merge

New features, in order as you read through the github diff:

Index split into Index (definition of index structure) and IndexNode (instances that hold data)

IndexNode is lightweight, uses no context, requires, or imports. Has access to 'creator' to get those things.
IndexNode.select() gains a cache argument, for storing data that only exists for the life of the query. AltIndex uses it to store the chosen delegate.

MDAO gains ability to DNF transform the predicate and handle an OR using MergePlan.

AATree now supports selecting with multiple orderings by popping the topmost order and checking the direction to scan.

getAll() supports TreeIndex's CONTAINS check.

AltIndex now has separate notions of the indexes that define the sub-indexes vs. the many instances of AltIndexNode holding actual instances of those sub-indexes, possibly incomplete.

addIndex() registers the new index with the creator, so a complete list of potential sub-indexes is available for estimate(), but only populates the particular AltIndexNode where the add was requested
pickDelegate() picks and caches the best index to use for a select scan with ordering, using static method Index.estimate() to pick the best sub-index. If the index has not been built yet for each node that is hit, it will be built during select() execution.

AutoIndex now supports building full indexes for ordering and predicates.

Jank is allowed when adding root indexes or large sub-indexes
predicate.toIndex() and order.toIndex() both asked for their best index, estimate() from each and the current index compared to choose whether to build anything

Index interface changes:

estimate() added. Runs as a static method, given a size and query, how well this index type would generally perform. Used by AutoIndex for picking, AltIndex for picking, TreeIndex to find tail's ordering support.
toPrettyString() returns a readable printout of the index structure

IndexNode interface (takes on the data operations of Index):

lightweight by convention (no imports, requires, etc. not enforced. Accesses these things through a creator property)
plan() gains a "root" argument, the root index instance. This gives access to the entire index, including the total size of the DAO for autoindex decision making.
select() gains a cache parameter, to pass temporary query state along.
selectReverse() no longer required since select() determines its scan direction.

MergePlan merges potentially duplicate results from an OR query and sorts them into the result sink. Future optimizations could speed up the sorting stage.

ProxyIndex manually proxies the lightweight index classes

TreeIndex

isOrderSelectable() checks the order property and tail estimate, if the tail estimate is higher than sort cost, the tail is sorting the hard way and this index isn't good for ordered scanning.
estimate() mirrors the checks in plan(), to provide an estimate of how the given ordering and predicate would be handled by this index. Node count is picked arbitrarily, and certain parameters in this method could be tweaked if the estimate is not accurate relative to other index types.
plan() gains the CONTAINS(_IC) handler

mlangs

toIndex() calls through to the Property's toIndex() in most cases, except AND where args are sorted by their estimates. This means the fastest indexes are executed first, restricting the result set quickly. (i.e. EQ first, then CONTAINS, then LT scan). AND also accepts a 'depth' parameter to limit how many subindexes it chains.
toDisjunctiveNormalForm() creates a new predicate in DNF, or returns the original if already DNF or OR-less.
ordering.Comparator provides:

orderTail() to get the next (if any) ordering to sort by
orderPrimaryProperty() extracts the first property being sorted
orderDirection() returns 1 to indicate ascending order, -1 for descending. 0 would imply no ordering, but is not used

ThenBy allows multiple property ordering, THEN_BY(propA, propB), or THEN_BY(a, THEN_BY(b, c)).

New idea to simplify mlang order.orderDirection(): eliminate Direction class, just return 1, -1. Select() can pass the order in as before, and move index-specific state to a new argument.

Open meeting TODOs in recent commits

Fixes #163, Fixes #128, Fixes #109,
Unblocks #135, #155


[Errno 13] Permission denied

Checklist

[X] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2021.12.17
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones

Verbose log

/usr/local/bin$ python3 $(which youtube-dl) --verbose https://www.youtube.com/watch?v=0IE-CXNs6Sw
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.youtube.com/watch?v=0IE-CXNs6Sw']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python version 3.8.10 (CPython) - Linux-5.15.0-71-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg present, ffprobe present
[debug] Proxy map: {}
[youtube] 0IE-CXNs6Sw: Downloading webpage
[debug] [youtube] Decrypted nsig ejO-eTyJvDCJZkk5F => S5oWTDyqWJLXlQ
[debug] [youtube] Decrypted nsig eHxBrHAmtl-uZFWx6 => 3JbxjdybiQQn9g
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://rr3---sn-q4fl6nsr.googlevideo.com/videoplayback?expire=1683849891&ei=Qy5dZNjyNrOZ2_gP_5i_kA4&ip=<IP_ADDRESS>&id=o-AIRNuNSg6xOfC-nIkHWaBXVNPkRU5DIjzG_276hF0vZl&itag=247&aitags=133%2C134%2C135%2C136%2C160%2C242%2C243%2C244%2C247%2C278&source=youtube&requiressl=yes&mh=Ip&mm=31%2C26&mn=sn-q4fl6nsr%2Csn-a5meknd6&ms=au%2Conr&mv=m&mvi=3&pl=25&initcwndbps=2302500&vprv=1&svpuc=1&mime=video%2Fwebm&ns=fhqWY3twwvAYPpZnhFODQKsN&gir=yes&clen=189117208&dur=4140.599&lmt=1590097998868296&mt=1683827836&fvip=5&keepalive=yes&fexp=24007246&c=WEB&txp=5432432&n=S5oWTDyqWJLXlQ&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Csvpuc%2Cmime%2Cns%2Cgir%2Cclen%2Cdur%2Clmt&sig=AOq0QJ8wRgIhAKbOAuCjx83MWJgMq2g8-1aZPKWDeHEkgBd9BNkNQ3xCAiEAkTZRtP1tBoQYaCFfDXaJnftrZkzVFEKwyH0JCxcAJEA%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AG3C_xAwRAIgEPoj9sFHYJ2IF1cGUhNxfH6i11NwT1LFEJDnWtcSh9MCIDbQnST0_JJX4zvib4KXXOeZpXgKW_7XbOK_C31_85Dy'
[dashsegments] Total fragments: 19
[download] Destination: Introduction to Data Streaming-0IE-CXNs6Sw.f247.webm
ERROR: unable to download video data: [Errno 13] Permission denied: 'Introduction to Data Streaming-0IE-CXNs6Sw.f247.webm.ytdl'
Traceback (most recent call last):
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1984, in process_info
    partial_success = dl(fname, new_info)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 1929, in dl
    return fd.download(name, info)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/downloader/common.py", line 376, in download
    return self.real_download(filename, info_dict)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/downloader/dash.py", line 30, in real_download
    self._prepare_and_start_frag_download(ctx)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/downloader/fragment.py", line 69, in _prepare_and_start_frag_download
    self._prepare_frag_download(ctx)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/downloader/fragment.py", line 193, in _prepare_frag_download
    self._write_ytdl_file(ctx)
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/downloader/fragment.py", line 87, in _write_ytdl_file
    frag_index_stream, _ = sanitize_open(self.ytdl_filename(ctx['filename']), 'w')
  File "/home/frog/.local/lib/python3.8/site-packages/youtube_dl/utils.py", line 2077, in sanitize_open
    stream = open(encodeFilename(filename), open_mode)
PermissionError: [Errno 13] Permission denied: 'Introduction to Data Streaming-0IE-CXNs6Sw.f247.webm.ytdl'

Description
I was originally getting the common Uploader ID error and applied the fix dirkf gave from here:
https://github.com/ytdl-org/youtube-dl/issues/31530#issuecomment-1435477247
but now I'm getting this [Errno 13] Permission denied: 'Introduction to Data Streaming-0IE-CXNs6Sw.f247.webm.ytdl
coming from this similar issue https://github.com/ytdl-org/youtube-dl/issues/16462
I applied sudo chmod u+w youtube-dl
write permissions to my youtube-dl in /usr/local/bin
I've restarted the terminal and still getting the same issue. I'm not sure exactly what the problem is. Do I need to add permissions to something else?
I'm glad I'm getting the link to download but it would be really appreciated if you could point me in the direction to fix this one problem so the program can automatically download and save a few clicks.

You are trying to run yt-dl in a directory where you have no write permission, specifically /usr/local/bin. Does that seem like a good idea? That directory should be on your PATH (echo $PATH) so the yt-dl that you have in that directory will be run if you use the command youtube-dl -- unless you have a yt-dl in one of the directories earlier in the PATH. If that is the case, remove whichever yt-dls you don't want.

@ryanthackston ?

Closing for lack of response.


Swap HTTPParser Swift package for http-parser

We have been working a pure Swift port of the 'C' http-parser project.
https://github.com/smithmicro/HTTPParser
Swapping HTTPParser in for http-parser would get Kitura closer to pure Swift.  Please review the performance of HTTPParser in the readme to see if it would meet the requirements of Kitura.
I will work on a PR, but I wanted to alert you to this new project and gauge interest.

Hi @dsperling this sounds interesting. What was your reason for developing it? The Node.js HTTP parser is mature and well-used.

Yes! Super excited about this.

It will make it easier to work on a Kitura application with XCode

Right now we need to add $SRCROOT/.build/debug to the Library search paths for KituraNet and Kitura

Right now whenever upstream http-parser gets updated, we have to copy the c and h file to our CHttpParser library.

Good points @rfdickerson .
@dsperling if you can open a PR we can get the new code benched to see if there's a performance impact.

@ianpartridge We started developing the Swift port initially as a thought experiment.   We wanted to see how Swift 3 was performing in comparison to 'C' code and selected http-parser as our test project.  The port went quickly and we were pleased with the performance.
There is still plenty to do.  The unit tests still need work and will be 2-3 times the effort of porting the library itself.  Hopefully we can recruit some of the original authors to help out.
I will get a PR in soon.

@dsperling cool 👍
You might be interested in this article I read a while ago - cool work: http://www.cocoawithlove.com/blog/2016/05/01/swift-name-demangling.html

That's very exciting work, @dsperling! Once you get a PR in, I'm curious if we can do some benchmark analysis here. Maybe @djones6 could get involved with the performance testing.

@rfdickerson he's lined up 😉

I have completed the integration of HTTPParser, but I cannot submit a PR because of a Linux linker issue.  I am wondering if you guys have seen this.
Since we now have NSURL on Linux, we did not port the URL parsing of http-parser.  So with this change:

HTTPParser/HTTPParser.swift uses HTTPParser
HTTPParser/URLParser.swift uses NSURL

Everything compiles and runs fine on the Mac.  Linux compiles and then produces the linker error below.  I see the same problem with the 0620 toolchain as well as Preview-2.
Here is the updated codebase:
https://github.com/smithmicro/Kitura-net
Linker error running docker-compose up
...
test_1  | swift test
test_1  | Compile Swift Module 'KituraNetTestSuite' (5 sources)
test_1  | Linking .build/debug/Kitura-netTests.xctest
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLg5_baseVS_7_CFInfo' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLs5_baseVS_7_CFInfo' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLm5_baseVS_7_CFInfo' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLg6_flagsVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLs6_flagsVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLm6_flagsVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLg9_encodingVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLs9_encodingVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLm9_encodingVs6UInt32' is not defined locally
test_1  | /usr/bin/ld: error: hidden symbol '_TFC10Foundation5NSURLg7_stringGSqGSpCSo8CFString__' is not defined locally
...

Not sure about your linking issue but you probably want to add your ParserTests class to Tests/LinuxMain.swift to get them to test out on Linux properly.

@simplepanda I am running the existing tests from Kitura-net that exercise the URLParser and HTTPParser classes.  What is different is those swift files now have a different underlying implementation.  I am trying to have URLParse.swift uses NSURL which is causing a linker error.
As a next step I will create a standalone NSURL Unit test.  If the errors persist I will open a ticket at swift.org.

Interesting.  The following code is a stripped down example that duplicated the bug.  I will get this reported.
import Foundation

public class URLParser : NSURL {

    public init(url: NSData) {
#if os(Linux)
        super.init(string: String(data: url, encoding: NSUTF8StringEncoding) ?? "", relativeToURL: nil)!
#else
        super.init(string: String(data: url as Data, encoding: String.Encoding.utf8) ?? "", relativeTo: nil)!
#endif
    }

    // NSURL required initializers
    required convenience public init(fileReferenceLiteralResourceName path: String) {
        fatalError("init(fileReferenceLiteralResourceName:) has not been implemented")
    }
    required public init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
}

let _ = URLParser(url: "https://swift.org".data(using: NSUTF8StringEncoding)!)

This looks very like https://bugs.swift.org/browse/SR-1901

@ianpartridge Thanks for finding that.  I linked the issue in JIRA.  The issue remains in the 0725 toolchain, so I will produce a workaround so we can move forward with testing HTTPParser.

PR https://github.com/IBM-Swift/Kitura-net/pull/55 submitted.

Closing this for now, as the PR is not being merged in the short term. We can reopen if/when we want to pursue this.


Preload the question bank with prebuilt Race/Ethnicity and Gender questions

These can be implemented as checkbox/radio button question types. We should pre-build these so that admins don't have to do it, and so that we can enforce consistent use of best practices across the UAT.

cc @HansEngebretsen @anafreeze

See some prior art: https://docs.google.com/document/d/1HYVHBno6dk7fmS5w6V6Y3jxERHGfDoQKTtzBZr27Y6o/edit#heading=h.jbj659eddlji
Also will paste here for convenience...


d3-selection v1.4.0 transition not working

d3-selection v1.4.0 transition not working. The problem I have is similar to the problem in transition broken in 1.3.0

Please use Stack Overflow tag d3.js to ask for help. Stack Overflow provides a better collaborative forum: thousands of D3-related questions have been asked there, and some answers may be relevant to you.
When asking for help, please include a link to demonstrate the issue, preferably as an Observable notebook. It is often impossible to debug from code snippets alone. Isolate the issue and reduce your code as much as possible before asking for help. The less code you post, the easier it is for someone to debug, and the more likely you are to get a helpful response.
If you have a question about D3’s behavior and want to discuss it with other users, also consider the d3-js Google Group or joining the d3-js Slack.
Thank you! 🤗


Univerisal Credit benefit not requiring upload

UC benefit applications are not requiring an upload but currently LAA API does not support verifying UC.
Env: test
Steps:

Apply for Claim with benefit Univerisal Credit
Get to Claim Summary

Expected: Asked for Benefit document
Actual: Not asked

Closing due to being 4 years old.


v0.0.8 - Bug with Logseq causing block text not to update.

In v0.0.8, while block properties get added, the main text doesn't update. This relates to a bug in Logseq tracked here..
Using upsertBlockProperty after updateBlock resets update back to previous value
Waiting for the issue to be fixed to automatically fix this issue.

Fixed in subsequent versions.


any plan to support brushChart?

@finnfiddle  I have one case of great mount of data to show,  it's not possible to show all the data in the chart, and may be brushChart is a solution。
so， do you have any plan to support the brush chart?
thanks for the great work done for visualization。

Hi @wulucxy - unfortunately this seems like something that is beyond the scope of this library. Potion is a low-level as possible and does not provide high-level components like the one you're asking about. Similarly to D3, Potion is designed to be used as a base for more high-level software.


Is it possible to disable unit testing if camera not connected

I am weighing the option of

Downloading from this repo each time I run a build in Jenkins (many times a day - at least as many times as I push changes to my repo)
Downloading the current version and maintaining that until I need to update sometime in the future for new updates, etc
Do you foresee a need to disable unit tests, or tests requiring a camera be connected?
Mostly because it is running full bore while connected (haven't figured out how to turn it off in code just yet)

Starting with 0.2.0 you can:
$ mkdir build
$ cd build
$ cmake -DBUILD_TESTS=OFF ..
$ make

Full docs on modularity of build are here

copy. That makes sense. I was able to do that, but I plan to include this as a library in a project, so I need to figure out how to just disable the unit tests specific to the camera. Or, at least a way to have the unit tests pass without the camera connected.

They pretty much all use the camera (mostly). Regardless, if there are specific ones you want on/off, the unit testing framework used is gtest. So, you can enable/disable tests via the GTEST_FILTER Environment variable. For example, to skip the DenseImageTest unit tests you can:
$ GTEST_FILTER=-DenseImageTest.* make check

Or, to only run the DenseImageTest, just get rid of the -.

Is DBUILD_TESTS just specific to this library? ie, it's not a CMAKE or GoogleTest specific option?
In that case, it could be called BUILD_libo3d3xx_TESTS.
cmake -DBUILD_TESTS=OFF _MYPROJECT_TESTS=OFF

Yes, `BUILD_TESTS

ah.  I wrote before I read your newest post.  The suggestion to use the GTEST_FILTER should work.


parse failed message added in common import container

This PR contains the code change of adding a parse fail error message in a common import container.
(JSON is used to example only)

@Yagnik56 Just to clarify, can the "Invalid JSON" error message show up when importing an invalid JSON file? Shouldn't it be immediately converted to the compatibility table (with a single "Incompatible" row) if the JSON file is invalid (when importing a feature flag)?
I'm asking because my PR (https://github.com/CarnegieLearningWeb/UpGrade/pull/1824) will remove the code changes you made with this PR. In my PR, it only shows the invalid CSV error message when the user uploads an invalid CSV file.

@zackcl we have to pass observable (optional) as true to show that invalid message and it is dynamic so it will read the file type and show there. I just used JSON as an example, it works the same way for CSV. For JSON we won't pass observable value so it won't show that error

I'm not sure what you mean by "pass observable (optional) as true" but my PR basically does the same thing as what you did to show the invalid error message (I've updated to "Import failed. Please check your file and try again.") when the input variable importFailed is set to true.
    <span *ngIf="importFailed" class="ft-12-400 import-failed-msg">
      {{ 'feature-flags.upsert-list-modal.import-csv.error.message.text' | translate }}
    </span>
    ```
   I just wanted to clarify if removing your code changes won't affect your other code for importing JSON file, and it seems it doesn't affect it since we never show it for JSON. Thanks!

Rather than putting hard coded messages keep it dynamic for fileType, it will be better in my view. @zackcl

I think it's fine to keep it static for now since it's never used for JSON. Also, the message is actually fine to be used for both types:
"feature-flags.upsert-list-modal.import-csv.error.message.text": "Import failed. Please check your file and try again.",

Also, I think we want to maintain such messages in the en.json file for best practice. If you have any specific concerns about the changes that will be made with my PR regarding this, please feel free to leave comments there (https://github.com/CarnegieLearningWeb/UpGrade/pull/1824). Thanks!


Create/insert with case-sensitive table name success, but not found while select.

Describe this problem
Create/insert a table named like "DeMo" will success.
But when I select something in this table, error of "table not found" will be returned.
Steps to reproduce

Create table:

CREATE TABLE DeMo (
    `timestamp` timestamp NOT NULL,
    `arch` string TAG,
    `datacenter` string TAG,
    `value` int,
    timestamp KEY (timestamp)) ENGINE=Analytic
WITH(
	 enable_ttl='false'
);

Insert something:

INSERT INTO DeMo
    (`timestamp`, `arch`, `datacenter`, `value`)
VALUES
<PHONE_NUMBER>, 'x86-64', 'china', 100),

Select something:

SELECT * FROM DeMo;

Expected behavior
No response
Additional Information
No response

:face_with_spiral_eyes:

😵💫

I think we can only support case-insensitive now?

This reference says whether the identifiers are case-sensitive depends on the OS because of the mysql implementation. And there is no a worry for CeresDB's implementation, so let's make all the identifiers case-sensitive.

This 'bug' is introduced by https://github.com/apache/arrow-datafusion/issues/1746.
Maybe this is not a bug, and just quote the ident by ` if we want to make the table names case sensitive:

SELECT * FROM DeMo;


Use pseudo element to highlight active tab

Just installed this great terminal few minutes ago but I was having a hard time seeing which term was actually being focused when having multiple terms open. So I added some overlay to non-active terms to highlight the active term.
Example of the result: https://gyazo.com/8823a13e8707bbcebc330b90953b46a0
Improvements

Don't use hardcoded white overlay color but a config color
Add option to enable or disable this overlay in the config

Shouldn't this be possible to do from the 'css' field in .hyper.js
Or maybe through a plugin

Many themes have implemented this. You could try hyper-snazzy.

Closed since made this PR too quickly before checking for other plugins that have my fix already in them.