Speed Focus Mode Incompatibility

Hi.
Your addon lists compatibility with Speed Focus Mode.
Is the flickering in fullscreen mode expected behaviour?

I've heard this issue from other users, but I am unable to replicate it. Can you provide more info:
What version Anki are you running? What OS?
Is hardware-acceleration enabled in Anki settings?
Does this occur in Windowed mode as well?
Can you describe the flickering? When does it occur? What does it look like?
Thanks for helping me debug

From the top
Debug info below

    Anki 2.1.21 (f1734a47) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1
    Platform: Windows 10
    Flags: frz=True ao=True sv=2
    Add-ons, last update check: 2020-03-06 20:19:43
===Add-ons (active)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
AMBOSS add-on ['0amboss_addon', 2020-02-04T03:28, 'None', '']
Add Table ['1237621971', 2019-11-08T00:13, 'None', '']
Add a tag to notes with missing media ['2027876532', 2019-05-11T03:22, 'None', '']
Advanced Card Styles ['1625103157', 2019-09-05T17:20, 'None', '']
Anki Excel Sync ['1832015432', 2020-01-04T10:58, 'None', '']
Anki Fanfare GamificationFeedback ['2073603704', 2019-11-15T23:37, 'None', mod]
AnkiConnect ['2055492159', 2020-03-06T08:46, 'None', '']
AnkiWebView Inspector ['31746032', 2019-05-03T03:43, 'None', '']
Answer Button Sounds ['679615590', 2020-02-20T20:10, 'None', '']
Audio Files ['1984823157', 2019-12-30T21:49, 'None', mod]
Auto Markdown ['1030875226', 2019-06-25T12:15, 'None', '']
Automatic Basic to Cloze ['2105427255', 2020-01-20T14:10, 'None', '']
Batch Editing ['291119185', 2019-06-03T02:47, 'None', '']
Blitzkrieg II - Advanced Browser Sidebar BETA7 ['564851917', 2020-02-25T23:57, 'None', '']
Bold the cloze v218 ['213022609', 2019-11-27T23:15, 'None', '']
Browser Card Info Bar ['2140680811', 2020-02-19T19:19, 'None', mod]
Browser Search Box Quick Insert Tag Deck Notetype ['1052724801', 2020-01-22T07:47, 'None', '']
Browser TableEditor side-by-side horizontal split ['831846358', 2020-01-13T22:40, 'None', '']
Bulk-Generate Japanese Vocab Frequency Ranking ['1612642956', 2019-03-11T20:24, 'None', mod]
Create Filtered Deck from the Browser ['861263371', 2019-12-14T11:53, 'None', '']
Deck Stats ['1421528223', 2018-02-27T09:57, 'None', '']
Delete empty NEW cards tag other empty cards ['1402327111', 2020-02-25T13:39, 'None', '']
Directly review without going through overview page ['1024346707', 2019-11-08T00:13, 'None', '']
Doublethink Disables Normalization ['1654528592', 2019-12-20T12:52, 'None', '']
Ease Factor Histogram ['494944895', 2019-05-03T02:38, 'None', '']
Edit Field During Review Cloze ['385888438', 2020-03-06T09:25, 'None', mod]
Editor Autocomplete ['924298715', 2020-01-05T13:40, 'None', '']
Enhanced cloze 21 ['2062736101', 2019-10-19T10:55, 'None', '']
Extended Tag AddEdit Dialog ['1135507717', 2020-02-19T19:13, 'None', mod]
Fill the blanks - Multiple typecloze support ['1933645497', 2020-01-30T04:51, 'None', '']
HUMBLE PIE distinct cards studied today statistic ['2133933791', 2020-03-02T00:06, 'None', '']
High Yield Tags ['1918380616', 2020-02-10T09:05, 'None', '']
Holdem Cardfield Preserves add card history ['363320830', 2019-05-21T17:14, 'None', '']
HoochieMama Randomize Rev Queue ['1460733408', 2020-02-16T13:00, 'None', '']
If a note has no more card warns instead of deleting it ['2018640062', 2019-07-27T00:39, 'None', '']
Image Occlusion Enhanced for Anki 21 alpha ['1374772155', 2019-09-12T18:17, 'None', '']
Increase autosave frequency ['786971082', 2018-10-08T18:29, 'None', '']
Japanese Definition Scraper from weblio Dictionary ['2055037404', 2019-12-17T14:27, 'None', mod]
Japanese Example Sentences ['2413435972', 2019-02-22T09:30, 'None', mod]
Japanese Pitch Accent ['148002038', 2019-09-23T17:51, 'None', '']
Japanese Support ['3918629684', 2019-07-15T00:52, 'None', mod]
LPCG LyricsPoetry Cloze Generator ['2084557901', 2019-08-31T07:22, 'None', '']
Learning Step and Review Interval Retention ['1949865265', 2020-01-12T08:45, 'None', '']
Life Drain ['715575551', 2019-10-10T20:05, 'None', '']
Load Balanced Scheduler ['208879074', 2018-11-18T18:23, 'None', '']
Media Internalizer ['221033553', 2019-07-27T10:10, 'None', '']
More Overview Stats ['2116130837', 2020-02-17T21:01, 'None', '']
Multi-field Batch Update ['1081479402', 2019-07-24T11:41, 'None', '']
Multiple Choice for Anki ['1566095810', 2020-02-20T11:45, 'None', '']
No Distractions Full Screen Clean review interface  TabletTouch support ['1049863218', 2020-03-05T15:08, 'v3.2.2', mod]
Numeric Keypad Remapping  ease bugs fixed ['653807651', 2018-11-14T17:39, 'None', mod]
Paint It Black fix white flash on stats page ['1931658106', 2020-02-06T10:57, 'None', '']
Polar Connect - PDF and Incremental Reading with Anki Sync ['734898866', 2019-01-27T16:32, 'None', '']
Pretzel Logic Retention Benchmarking ['1168065472', 2019-12-16T22:06, 'None', '']
Progress Graphs and Stats for Learned and Matured Cards ['266436365', 2019-06-14T00:47, 'None', '']
Quick Colour Changing ['2491935955', 2017-11-24T00:06, 'None', '']
Quick note and deck buttons Fork for 21 ['1331140127', 2020-02-22T16:32, 'None', mod]
Quick tagging 21 ['304770511', 2020-02-11T11:17, 'None', mod]
Quizlet to Anki 21 Importer with audio support ['1362209126', 2020-03-03T17:23, 'None', '']
Remaining time for Anki 21 ['1508357010', 2020-01-20T12:21, 'None', '']
Removes Empty Note Types for 21 ['530953383', 2019-06-13T01:07, 'None', '']
Reset Custom Study Limit Increases ['738867649', 2019-05-30T04:44, 'None', '']
Script Manager ['667831375', 2020-02-05T21:20, 'None', '']
Search in formatted text in any fields ['1126516755', 2019-06-01T06:07, 'None', '']
Separate Learn and Relearn in the Answer Buttons graph 21 ['403491806', 2019-11-09T10:28, 'None', '']
Speed Focus Mode ['speed_focus_mode', 2019-06-29T03:35, 'None', '']
Statistics for Note Types Card Types and Tags ['16703369', 2019-12-17T14:27, 'None', '']
Stats Overview Pie Graph with Distinct Learning and-or Relearning Sections ['1828603731', 2019-05-27T06:28, 'None', '']
Study Logger ['1919929679', 2018-12-03T12:46, 'None', '']
Symbols As You Type ['2040501954', 2020-03-06T20:43, 'None', '']
Symbols ['1461102936', 2019-04-19T20:15, 'None', mod]
Touch Wood Show New Cards Left Hint ['1498273991', 2019-04-12T19:18, 'None', '']
Web Browser - Search terms Import texts and images automatically ['864545277', 2020-01-19T00:15, 'None', mod]
Zoom 21 ['1846592880', 2020-01-12T23:00, 'None', '']
add-on dialog searchfilter bar ['561945101', 2020-01-22T07:47, 'None', '']
batch create filtered decks ['1515706653', 2020-03-03T23:32, 'None', '']
copy note contents to new Add window from Browser Reviewer Add EditCurrent ['759018284', 2019-10-16T22:37, 'None', '']
deck and card info sidebar during review ['673114053', 2020-02-20T04:44, 'None', mod]
rebuild allempty all filtered decks enhanced fork ['104518886', 2020-03-05T01:39, 'None', '']
show new siblings in order  no same day spacingrandomization for new siblings ['268644742', 2020-02-18T23:41, 'None', '']

===IDs of active AnkiWeb add-ons===
1024346707<PHONE_NUMBER> 104518886<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 148002038<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 16703369<PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER><PHONE_NUMBER> 208879074<PHONE_NUMBER><PHONE_NUMBER> 213022609<PHONE_NUMBER><PHONE_NUMBER> 221033553<PHONE_NUMBER><PHONE_NUMBER> 266436365 268644742 291119185 304770511 31746032 363320830 385888438<PHONE_NUMBER> 403491806 494944895 530953383 561945101 564851917 653807651 667831375 673114053 679615590 715575551 734898866 738867649 759018284 786971082 831846358 861263371 864545277 924298715

===Add-ons (inactive)===
(add-on provided name [Add-on folder, installed at, version, is config changed])
  Advanced Review Bottom Bar   ['1136455830', 2020-03-06T20:18, 'None', mod]
 Offline User Manual and Guides en es fr pl ru ['1761264009', 2018-05-30T03:10, 'None', '']
'' ['PomodoroTimer', 0, 'None', '']
3 add-ons merged quicker anki explain deletion explain database check ['777545149', 2020-01-20T19:30, 'None', '']
A half-automatic Forvo Downloader ['1407979740', 2019-01-28T22:48, 'None', '']
Add Hyperlink ['318752047', 2020-01-20T19:30, 'None', '']
Add tags by shortcuts in Reviewer window one shortcut for one tag ['171767752', 2019-07-12T09:56, 'None', mod]
Adding note and changing note type become quicker ['802285486', 2019-11-30T00:21, 'None', '']
Additional Card Fields Fork for 21 ['744725736', 2020-02-16T04:57, 'None', '']
Advanced Browser ['874215009', 2020-02-21T03:39, 'None', '']
Advanced Copy Fields ['1898445115', 2019-05-06T23:39, 'None', '']
Advanced note editor Multi-column Frozen fields LaTeXs result in editor ['2064123047', 2020-02-16T08:17, 'None', '']
Alternative Dialog for ReMemorize Touch-Friendly ['2107899486', 2020-01-20T19:30, 'None', '']
AnKindle Batch Vocab and Clippings ['1016931132', 2020-01-20T19:28, 'None', '']
Anki Accountability 2 ['1607470853', 2019-11-15T20:28, 'None', '']
Anki Killstreaks ['579111794', 2020-02-05T06:18, 'None', '']
Anki Welcome Screen ['314871488', 2019-12-03T18:26, 'None', '']
AnkiDiscord - Discord integration for Anki ['1133851639', 2020-01-20T19:29, 'None', '']
AutoDefine - Automatically define vocabulary words with pronunciations and image ['2136497008', 2020-01-20T19:30, 'None', mod]
AwesomeTTS for Anki 21 updated ['427598962', 2019-01-18T21:48, 'None', '']
Backup Key ['1790131139', 2019-03-02T13:00, 'None', '']
Batch Download Pictures From Google Images ['561924305', 2020-02-26T22:25, 'None', '']
Birl Reinforcement ['949451391', 2018-10-18T06:49, 'None', '']
Browser MaximizeHide TableEditor ['1819291495', 2020-01-20T19:29, 'None', '']
Cardistry Dynamically Adjust New Cards ['1535078906', 2020-02-16T12:58, 'None', '']
Change subdecks configuration ['751420631', 2018-11-29T18:17, 'None', '']
Chinese Prestudy ['882364911', 2020-01-20T19:30, 'None', '']
Chinese Support Redux v0130 ['1128979221', 2020-01-20T19:29, 'None', mod]
Cloze Hide All ['1709973686', 2019-11-27T15:13, 'None', '']
Color Confirmation ['1084228676', 2020-01-20T19:28, 'None', '']
Content Injector ['166455199', 2020-01-20T19:29, 'None', '']
Control Audio Playback Pause Skip backwardsforwards Stop Audio ['1591259314', 2020-02-04T04:32, 'None', '']
Convert Subdecks to Tag Hierarchy ['1172858842', 2020-02-24T03:03, 'None', '']
Copy2Clipboard ['1525025114', 2018-12-02T08:58, 'None', '']
Correct Answers Graph ['993120073', 2020-01-20T19:30, 'None', '']
Customize Keyboard Shortcuts ['24411424', 2020-03-03T11:28, 'None', '']
Customize Sidebar ['1988760596', 2020-01-20T19:29, 'None', '']
Daijirin Dictionary Scraper ['311119199', 2020-01-20T19:30, 'None', '']
Deck name in title 21 ['699175524', 2020-01-20T19:30, 'None', '']
Dict2Anki ['1284759083', 2020-03-05T12:06, 'None', '']
DrawingPad ['370778248', 2020-01-20T19:30, 'None', '']
Duplicate Selected Notes ['2126361512', 2018-12-07T17:13, 'None', '']
Edit Field During Review ['1020366288', 2020-01-29T21:33, 'None', '']
Edit new note type without needing a full sync ['1988880085', 2019-11-30T00:20, 'None', '']
Empty cards returns more usable informations ['25425599', 2019-03-31T23:04, 'None', '']
Enhance main window ['877182321', 2020-02-16T07:51, 'None', mod]
Explain deletions ['12287769', 2020-01-20T19:29, 'None', '']
Export cards selected in the Browser ['1983204951', 2020-02-03T21:31, 'None', '']
Export deck to HTML ['1897277426', 2020-01-20T19:29, 'None', '']
Extended Card Stats During Review ['1008566916', 2017-09-28T19:48, 'None', '']
FULLER SCREEN Hide Toolbar in Reviewer ['742922254', 2019-06-01T23:44, 'None', '']
FULLEST SCREEN Hide All Toolbars in Reviewer ['1999609504', 2019-07-20T07:30, 'None', '']
Fast cards reposition ['544982740', 2018-07-14T10:32, 'None', '']
Fastbar another toolbar for Anki 21 beta ['1955978390', 2017-09-28T20:38, 'None', '']
Field History ['1247884413', 2019-01-09T00:31, 'None', '']
Free Weekend - or Any Other Day ['742185195', 2020-01-23T08:37, 'None', '']
Full Screen Toggle ['1612375712', 2018-08-25T09:39, 'None', '']
Full Screen ['465032680', 2020-02-22T09:53, 'None', '']
GODMODE faster shortcuts and Cloze switching ['1508677152', 2020-01-29T20:25, 'None', '']
GoldenDict Add-On ['1073614462', 2019-01-12T00:32, 'None', '']
HTML Editor Tweaks v01 ['410936778', 2019-04-23T23:35, 'None', '']
Hide UI ['406504899', 2020-02-22T09:51, 'None', '']
Highlight Search Results in the Browser ['225180905', 2018-02-27T09:56, 'None', '']
HoochieBaby Queue Controller  Day-Lrn Q ['1847358755', 2019-01-27T16:31, 'None', '']
HoochiePapa Randomize New Queue ['1173108619', 2019-03-02T13:07, 'None', '']
Image Search ['885589449', 2018-11-02T22:35, 'None', '']
ImageResizer ['1214357311', 2018-11-02T22:24, 'None', '']
Improve speed of change of note type ['115825506', 2019-03-05T21:37, 'None', '']
Improved Quizlet to Anki 21 Importer ['538351043', 2020-02-25T05:00, 'None', '']
Incremental Reading 5 - Make Incremental Reading Great Again ['1782290297', 2018-09-13T22:03, 'None', '']
Incremental Reading ['1081195335', 2018-02-27T09:54, 'None', '']
Incremental Reading v4103 ['935264945', 2020-01-20T19:30, 'None', '']
Japanese Pitch Accent Notes ['625243622', 2019-01-10T15:13, 'None', '']
Japanese Pronunciation  Pitch Accent ['932119536', 2019-08-14T07:56, 'None', '']
Kitten Rewards Gamification ['1627107763', 2018-11-10T14:20, 'None', '']
Korean Support ['1336389630', 2020-01-30T20:50, 'None', '']
Large and Colorful Buttons ['1829090218', 2020-01-20T19:29, 'None', '']
Localize Media ['1293255374', 2019-07-28T09:01, 'None', '']
MIA Dictionary ['1655992655', 2020-03-06T05:24, 'None', '']
MIA Japanese ['278530045', 2020-03-05T04:19, 'None', '']
Markdown Support - With Batch n Preview ['1259478414', 2020-01-24T18:07, 'None', '']
Maximum image height and width in card editor ['229181581', 2020-02-20T13:10, 'None', '']
Media Import ['1531997860', 2018-07-25T08:44, 'None', '']
Mini Format Pack ['295889520', 2018-12-08T22:30, 'None', '']
More Decks Stats and Time Left ['1556734708', 2020-01-21T23:19, 'None', '']
More Overview Stats 21 ['738807903', 2019-01-09T13:28, 'None', '']
Mouse Wheel Review ['633119072', 2019-05-17T21:31, 'None', '']
Multi-column note editor ['3491767031', 2020-01-22T08:03, 'None', mod]
Night Mode ['1496166067', 2020-01-30T02:27, 'None', '']
OpenInExternalEditorRenameDuplicate for ImageAudioVideo ['1560623518', 2019-12-09T18:33, 'None', mod]
Opening the same window multiple time ['354407385', 2019-07-12T13:06, 'None', '']
Papercards - export your flashcards to paper ['2042118948', 2019-09-10T18:45, 'None', '']
Pinyin on top of Hanzi ['417709332', 2018-05-30T03:09, 'None', '']
Pokemanki ['633922407', 2020-03-04T08:10, 'None', '']
Pop-up Wikipedia Beta ['395343016', 2020-01-09T12:40, 'None', '']
Postpone cards review ['1152543397', 2020-01-20T19:29, 'None', '']
Progress Bar ['2091361802', 2019-07-24T09:49, 'None', '']
Puppy Reinforcement ['1722658993', 2020-03-03T01:23, 'None', '']
Push Paradox Sibling Cardistry ['1797395052', 2020-01-20T19:29, 'None', '']
ReMemorize Rescheduler with sibling and logging v130 ['323586997', 2020-02-03T23:57, 'None', '']
Rebuild All  Empty All for Anki 21 ['1810938259', 2019-07-27T10:09, 'None', '']
Redesign ['1914733489', 2020-03-01T03:46, 'None', '']
Replay audio from editor ['1154817210', 2019-07-12T16:46, 'None', '']
Replay buttons on card ['498789867', 2017-11-20T22:21, 'None', '']
Resize images in editor ['1103084694', 2020-02-27T14:11, 'None', mod]
Reviewer Context Menu Search ['359618071', 2019-02-13T23:27, 'None', '']
SMART SPACEBAR automatic ease scoring ['490202012', 2019-08-08T07:36, 'None', '']
Sanseido Definitions Python3 Anki21 ['1974048692', 2019-05-28T14:48, 'None', '']
Search EDICT ['171148684', 2020-01-20T19:29, 'None', '']
Search and Replace Tags ['138501288', 2017-09-28T17:32, 'None', '']
Search from Editor for Anki 21 ['227080119', 2019-02-19T22:18, 'None', '']
Searching PDF Reading  Note-Taking in Add Dialog ['1781298089', 2020-03-05T22:00, 'None', '']
SerenityNow ['254576101', 2018-11-27T22:27, 'None', '']
Session Manager ['425166574', 2018-12-08T22:39, 'None', '']
Show duplicates ['865767531', 2020-02-03T12:41, 'None', '']
Showing time in browser ['1243668133', 2019-05-03T02:38, 'None', '']
Simple Timer and Stopwatch for Anki 21 ['1423272642', 2018-01-30T15:27, 'None', '']
Simplified Review GUI ['1590626921', 2019-03-25T14:35, 'None', '']
Slackers Delight PostponeDefer Button ['880824023', 2020-02-27T00:09, 'None', '']
Small Potatoes Show learning step count in days ['75718778', 2019-03-08T18:26, 'None', '']
Special Fields ['1102281552', 2020-03-02T15:07, 'None', mod]
Speed Focus Mode auto-alert auto-reveal auto-fail ['1046608507', 2019-06-02T14:11, 'None', '']
Stepwise Map Retrieval ['61346236', 2020-01-20T19:30, 'None', '']
Syllabus - Anki Statistics and Export by Tag and Deck ['668156440', 2020-01-20T19:30, 'None', mod]
Syntax Highlighting for Code ['1463041493', 2018-12-08T22:30, 'None', '']
Tag Entry Enhancements ['1348430474', 2017-09-28T17:34, 'None', '']
TagSelectorV2 ['1022577188', 2018-09-22T13:18, 'None', '']
Throughput Historical ['485345973', 2019-08-18T07:00, 'None', '']
Throughput Monitor ['826650564', 2019-12-14T10:26, 'None', '']
Toggle Tags via ReviewerEditorBrowser Context Menu ['2088508994', 2020-01-20T19:30, 'None', '']
True Retention by Card Maturity ['923360400', 2017-09-28T20:39, 'None', '']
Update add-ons when collection is synchronized ['1847544206', 2020-01-22T20:45, 'None', '']
Visual Feedback Remake Gamification ['1990957166', 2018-11-14T17:40, 'None', '']
Vocabulous ['602485415', 2017-11-16T17:34, 'None', '']
Windows Text Rendering Fix ['94394764', 2018-11-02T22:23, 'None', '']
Word Query ['775418273', 2018-12-03T13:06, 'None', '']
Ze Add note id ['886709118', 2019-05-23T22:07, 'None', '']
load balancer ['1417170896', 2020-02-18T01:02, 'None', '']
remove linebreaks  do word wrap fork for 21 ['2028179508', 2019-04-12T19:15, 'None', '']
zzz Hide Due Count ['2107802819', 2020-02-19T14:03, 'None', '']

Yes, Hardware Acceleration is enabled
No, windowed mode works fine.
It occurs when the defined warning timer specified here is fired and when the card reveals itself automatically. I should mention that I have discounted other addon conflicts by disabling all other than these two addons but the problem still persists

I've been trying to capture a gif of the issue but it doesn't record properly
Here's a webm instead captured on a bad camera.

Thank you - that's very helpful!
I have a suspicion it's related to the GUI framework Anki is built on and how it interacts with certain Windows machine configurations.
But just to rule out some other stuff, can can you try this alpha build and see if the flickering persists?
Just download and run and it should install automatically.
https://github.com/Quip13/No-Distractions-Full-Screen/blob/master/NDFS_alpha.ankiaddon
Thanks again

Still persists, unfortunately as shown here.
For context, the first card in the video is on the review end  and then I press good. Each time it flickers at the 4 second mark, it goes back to the previous card and then back to the current card. Previously it would just flicker.

Ok thank you for testing - that is bizarre behavior that I'll look into further as I work on the alpha build
However I think I found a fix for the current version. Can you give this a shot and let me know if there are still graphical issues?
[https://github.com/Quip13/No-Distractions-Full-Screen/blob/master/NDFS.ankiaddon](NDFS v3.2.3)

That did it. Works perfectly.
Thank you so much.

Awesome - thanks for testing!
Got some minor bugs to iron out, but I'll push it to Ankiweb shortly


electron 1.0 syntax

These chanegs are required to get the app working with the current release, thanks FongRay


[DefApp] TerminalHandoff does not hook up signal channel properly, resize events are ignored

Windows Terminal version (or Windows build number)
1.9
Other Software
No response
Steps to reproduce
Launch a console application in Terminal via def. app.
Expected Behavior
No response
Actual Behavior
Resizing the terminal does not resize the backing buffer.

#10170 finished hooking up this channel. I missed it in the kerfluffle. #9811 will handle setting up first size on connection


Use node-config for env vars along with joi validation

What about using these packages which are compatible with dotenv:

dotenvExtended
dotenvMustache
dotenvParseVariables


due selector for kanban view

Using /^\s*(?:due|DUE)([<=>]+)(\d+)([dwmy])$/
So e.g. due<2w or due>=1d or due=0d will be parsed and can be filtered.
Suggested changes:

add task.due_in_days and a split off function of date_delta_str in misc_utils
add filter function and amend to filters

NOTE: since < and > were parsed to HTML special characters, there are some
workarounds necessary.
NOTE2: It may be reasonable to move the match_due_date function from
view__default to somewhere else. Did not know where would be most feasible,
so I'm happy about ideas on that.

Thx for the pull.
I only don't like the way you added that due_in_days to the task item. This should be done either by:

adding that property and then adding a method like check_due_date (similar to check_recurrence) to the task item that would update the tasks due_in_days prop.
Then the _check_dates function from MAIN would need to be updated to refresh this prop for every task at the beginning of a new day. Also the reset method would need to be updated in the if (self_update) conditional.
I think this is overkill since this prop isn't needed anywhere else.

or the much simpler way by not adding anything to the task_item and just letting view__default calculate this prop on the fly as it's trying to figure out whether to put the task in. So the match_due_date func should do this.

You must hook the view__default up to the new-day signal so that it updates the kanban columns at the start of a new day.
It would be nice if you updated the readme instructions. I can't quite figure out the syntax from regex.

Thanks for your quick reply!
I had thought about having match_due_date calculate everything; but then I thought that if it was called for every task with a due date it would be quite a lot of excess memory usage? I suppose that's why I exclude conditions from the beginning on...
Are you happy to keep match_due_date where it is or shall I move it to e.g. misc_utils or a function outside that class?
The regex in kan: would be

due or DUE
<= or >= or > or < or =  or == (or any other combination of these, but they cause the default)
a non-negative number
d(ays), w(eeks), m(onths), y(ears) (1 week = 7 days, 1 month = 30 days, 1 year = 365 days)
so due<=1w is equal to due<=7d which includes all tasks that are due before or on 7 days from today
other examples: due=0d (today), due<=1d (before and including tomorrow), due>1m (due more than 30 days from now)

But I will make sure to make it a bit nicer in the readme.
Going to sort your comments out in the next few days! Thanks again!

Argh, I didn't think about dnd yet. It seems to behave fine (sticks where it should stick, removes projects/contexts or adds them back in). The only thing that does not work is persistence of moving something to the due date column (or away from it if it's before the column a task should be moved to). Because obviously no due date is added or removed yet.
Re: adding due dates, one could add a due date equal to the maximum span? Or ask? Or infer it (roughly) from the position in the column and the other due dates in there (assuming sorted by due date)?
Other possible errors would be when e.g. kan:due<5d|due<3d which would leave the second column empty (but I think that's alright because the same happens with other items in more columns)

I thought about this. The best thing to do is to just prevent the user from dragging tasks in/out of a due date column.

Was this implemented in master? I can't seem to make the syntax work.

No. It was closed due to inactivity.


Documentation: Update SD fusing scripts

This patch updates SD fusing scripts for rpi.

Q1. Where did you import this? Q2. Is this a new version or a different Python version?

A1. I was originally using this file, but I uploaded an older version last time.
A2. I will test python script. If it works well, let's delete shell scripts and add this link to the guide.
Thank you for finding newer version.

I don't know the exact reason, but my Raspberry Pi won't boot when I use a Python script 😭

I don't know the exact reason, but my Raspberry Pi won't boot when I use a Python script 😭

OK. Never mind.


qstat -Qf queue fail from inside a running torque job

Hi Brad, I am not able to submit a bcbio parallel run o torque from inside of a running job. I do not believe is a configuration issues on the cluster since qstat -Qf queue run clean if I use the test.sh script attached. do you have any suggestion ?
Thanks a lot for your help!
$ bcbio_nextgen.py ../config/Project_4998.yaml -t ipython -n 256 -s torque -q batch --timeout 999 --retries
3 -p Project_4998
[2017-05-19T01:02Z] gpu-1-15.local: System YAML configuration: /cbio/ski/abdelwao/nobackup/pastore/bcbio/galaxy/bcbio_system.yaml
socket_connect_unix failed: 15137
socket_connect_unix failed: 15137
socket_connect_unix failed: 15137
qstat: cannot connect to server (null) (errno=15137) could not connect to trqauthd
[2017-05-19T01:03Z] gpu-1-15.local: Couldn't get machine information from resource query function for queue 'batch' on scheduler "torque"; submitting job to queue
Traceback (most recent call last):
File "/cbio/ski/abdelwao/home/pastore/nobackup/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/system.py", line 48, in _get_machine_info
return sched_info_dict[parallel["scheduler"].lower()](parallel.get("queue", ""))
File "/cbio/ski/abdelwao/home/pastore/nobackup/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/system.py", line 85, in _torque_info
nodes = _torque_queue_nodes(queue)
File "/cbio/ski/abdelwao/home/pastore/nobackup/bcbio/anaconda/lib/python2.7/site-packages/bcbio/provenance/system.py", line 107, in _torque_queue_nodes
qstat_out = subprocess.check_output(["qstat", "-Qf", queue])
File "/cbio/ski/abdelwao/home/pastore/nobackup/bcbio/anaconda/lib/python2.7/subprocess.py", line 219, in check_output
raise CalledProcessError(retcode, cmd, output=output)
CalledProcessError: Command '['qstat', '-Qf', 'batch']' returned non-zero exit status 33
[2017-05-19T01:03Z] gpu-1-15.local: Resource requests: ; memory: 1.00; cores: 1
[2017-05-19T01:03Z] gpu-1-15.local: Configuring 1 jobs to run, using 1 cores each with 1.00g of memory reserved for each job
[ProfileCreate] Generating default config file: u'/cbio/ski/abdelwao/nobackup/pastore/install/bcbio-vm/data/project/christian/YA/Project_4998/work/log/ipython/ipython_config.py'
[ProfileCreate] Generating default config file: u'/cbio/ski/abdelwao/nobackup/pastore/install/bcbio-vm/data/project/christian/YA/Project_4998/work/log/ipython/ipython_kernel_config.py'
[ProfileCreate] Generating default config file: u'/cbio/ski/abdelwao/nobackup/pastore/install/bcbio-vm/data/project/christian/YA/Project_4998/work/log/ipython/ipcontroller_config.py'
[ProfileCreate] Generating default config file: u'/cbio/ski/abdelwao/nobackup/pastore/install/bcbio-vm/data/project/christian/YA/Project_4998/work/log/ipython/ipengine_config.py'
[ProfileCreate] Generating default config file: u'/cbio/ski/abdelwao/nobackup/pastore/install/bcbio-vm/data/project/christian/YA/Project_4998/work/log/ipython/ipcluster_config.py'
test.sh.zip

Hi @apastore,
I googled around a little bit and it looks like that error is caused by the trqauthd daemon not running on that machine.  For the test.sh script you posted, are you submitting that to the cluster as a job to run?

Sorry It was a cluster issue! it just restart the normal behavior.
my apologies

On May 18, 2017, at 21:36, Rory Kirchner<EMAIL_ADDRESS>wrote:
Hi @apastore https://github.com/apastore,
I googled around a little bit and it looks like that error is caused by the trqauthd daemon not running on that machine.  For the test.sh script you posted, are you submitting that to the cluster as a job to run?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/chapmanb/bcbio-nextgen/issues/1939#issuecomment-302585457, or mute the thread https://github.com/notifications/unsubscribe-auth/AGOdNnbL7uPHgJdX03IiwYGCnhZzH4Khks5r7PIngaJpZM4Nf-dt.

Great, trying it again and having it work is the best kind of problem. :)


new synonyms for MP:0003928 and MP:0003929

Synonyms

MP:0003928 increased heart rate variability
increased heart rate variation
increased HRV
MP:0003929 decreased heart rate variability
decreased heart rate variation
reduced heart rate variation
decreased HRV
reduced HRV

New suggested synonyms for MP:0003928 and MP:0003929 have been added.


Autocomplete doesn't add imports

Following the https://github.com/saibing/bingo/issues/54, the autocompletion itself works. It's very fast, thanks for that.
But it doesn't add the autocompleted import to the import section (except for the stdlib packages, which are added only after the Save action which is also non-ideal).
This renders this very useful feature almost useless. Am I missing something or this is not implemented yet?

I can confirm, that after adding any autocompeled suggestion, I have to press 'Alt-Shift-F' to enforce addition of import (is done by bingo as well - based on goimports logic, but formatting is delegated to bingo).
I think bingo should add imports automatically.

@nezorflame
Please use the enhanced version of gopls, it has supported this feature.


Add Withdrawn Handle-It Work Items to Declined list in application

When a Handle-It is "Withdrawn" in the Project view, it should show up in the Declined list of Work Items on the Application. This is important to do, if possible, to avoid confusion in using the tool.

This had to do with any withdrawn project. The vetting worksheet only pulls the work items with the assessments and projects. It makes the implementation much simpler.
I changed it so that before you can change the status of a assessment/ project to "declined" / "withdrawn", all the work items must have a status of "declined." In this roundabout way, all withdrawn projects can only have declined  work items.


Fixed updatedTranslate calculation.

This is a fix to updatedTranslate
At the moment this variable is not correctly calculated when we enter a new view at a certain index.
If we have a normal view that has a button that opens up the InfinitePager component at a certain index, the current updatedTranslate doesn't take into consideration that we didn't start from index 0, therefore swiping afterwards becomes an issue.
This PR fixes that by adding + (initialIndex*pSize) to the updatedTranslate variable in setPage

Worked for me 🙌 🚀

Looking for getting this merged

@computerjazz Can you please approve and merge this? Thanks

thanks!


controller should not allow formation with process types that don't exist

The controller should not allow formations with process types that aren't in the release. The error message should be friendly enough that users of the CLI will understand the mistake easily.

To reproduce, just scale a process that is NOT in the Procfile.
flynn ps scale foobar=1


binary releases don't work in Arch Linux

$ ./xargo -V
./xargo: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by ./xargo)
./xargo: /usr/lib/libssl.so.1.0.0: no version information available (required by ./xargo)
./xargo: /usr/lib/libcrypto.so.1.0.0: no version information available (required by ./xargo)

Tested using Xargo 0.1.14

Temporary workaround:

Install libcurl-compat from AUR:
yaourt -S libcurl-compat

Set LD_PRELOAD to make xargo use it:
LD_PRELOAD=/usr/lib/libcurl.so.3 xargo ...
(or export LD_PRELOAD=...)

Using this in my docker image and it works, although suboptimal.

fixed in #65
Xargo no longer depends on libcurl.so, etc.


fix: use a minimal value of 4 for RW_WORKER_THREADS

What's changed and what's your intention?
See https://github.com/risingwavelabs/risingwave/issues/16693 for the background.
TL;DR: As we cannot guarantee there's no (unexpected) synchronous I/O call within the asynchronous context in kernel's Rust code, increasing the worker threads number can reduce the possibility of the process being blocked, especially for the free-tier standalone deployment with CPU limit set to 1.
Checklist

[x] I have written the necessary docs and comments
[ ] I have added necessary unit tests and integration tests

Refer to a related PR or issue link (optional)

Would you like to make the same change to the https://github.com/risingwavelabs/helm-charts as well?

Would you like to make the same change to the risingwavelabs/helm-charts as well?

Interesting. What changes should I make here?

Would you like to make the same change to the risingwavelabs/helm-charts as well?

Interesting. What changes should I make here?

Sorry, my mistake. The env isn't used in chart. Ignore me.


Context for dialog models

There has been a lot of advancements recently in achieving context for dialog models through a separate context layer. Eg. HRAN or VHRED
I'm trying to see if it is achievable only with the transformer model by appending the whole context as an input sentence.
Meaning context:
Question
Answer
Question
Answer
Would become:
Question (this holds the two previous sentences)
Answer
As you have brought out long sentences will be a problem for self-attention models: https://github.com/tensorflow/tensor2tensor/issues/843 then my questions are:

Would it be feasible to achieve context with only the transformer model?
If yes, then how long are too long sentences for the transformer model?

@JohannesTK  I am also working on the same, Did you find any way to do this kind of model?
I am able to build simple NMT model ,but i am not able to proceed further to send context to the model in case of multi turn dialogues.


Remove build_isolated from the image, if it's not needed

I made that in my local branch. After build image & tests I make decision about make this in our master branch.

Test result:
2.3G	/mnt/hdd_builder/workspace/clever_remove_build_dirs_01062018.img.zip
2.4G	/mnt/hdd_builder/workspace/clever_v0.6_2018-05-10T13:41:27Z.img.zip

Maybe, if we will shrink free space on image this may be helpful for upload image to Ya.Disk.
Stragenly, I got error:
-bash: /home/pi/catkin_ws/devel/setup.bash: No such file or directory

But clever.service & rostopic it's work.
@goldarte make full test this image in Monday .

@goldarte As main option you need to test possibility used Clever ROS API in another nodes, after remove catkin_ws/devel. And also you need to test how work Clever node.

Add commits
https://github.com/CopterExpress/clever/commit/1e2fd40c05e118f4ebccfe8ff64443652f128424
https://github.com/CopterExpress/clever/commit/06a01f7e320802628a8af753c022e5d2a4620957


When transition is Transition.leftToRight, the popGesture works incorrectly.

Describe the bug
A clear and concise description of what the bug is.
**Reproduction code
return Get.to(page, transition: Transition.leftToRight, popGesture: true);

To Reproduce
Steps to reproduce the behavior:

Navigate to a new page
Try to go back using a gesture.

Expected behavior
From pop, User need  to make gesture from right to left, and see the screen goes from left ro right.
But what is happening the user is must make gesture from left to right, but the screen goes right to left. Very weired behavior.
Flutter Version:
Stable
Getx Version:
Stable
Describe on which device you found the bug:
Web
Minimal reproduce code
return Get.to(page, transition: Transition.leftToRight, popGesture: true);

I have debugged the issue and found how to solve it:
GetMaterialApp(
          textDirection: TextDirection.rtl
),


Add content for remaining topics in C++ course

Description

add topics as much as possible in one PR
maintain the quality

@arpit456jain  I want to work on this . Can you please assign me this issue?

@piyusha2001 go ahead and make PR as soon as possible

@piyusha2001 if u interested in making video tutorials for C++ course create a new issue for it


Fix add example command

Fix #61

Codecov Report

Merging #62 (fb08031) into master (24411ca) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #62   +/-   ##
=========================================
  Coverage     74.11%   74.11%
  Complexity      567      567
=========================================
  Files            94       94
  Lines          1758     1758
  Branches        192      192
=========================================
  Hits           1303     1303
  Misses          389      389
  Partials         66       66

Impacted Files
Coverage Δ

...rc/main/java/fridgy/logic/commands/AddCommand.java
100.00% <ø> (ø)

Continue to review full report at Codecov.

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


Adds a gitter channel

This adds the ability to chat about a specific cookbook inside of a gitter channel. This could be very beneficial for long running issues that have a lot of back and forth like the following:
https://github.com/opscode-cookbooks/iis/issues/145
While there is an IRC, the conversations are not recorded, and you don't have the option of receiving notifications when a new commit happens.
Understandably, offering a chat might not be something that you want to do. If so, I'm not offended if you reject this merge request.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@spuder

Please sign the CLA here.

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.

FYI, the IRC channels are logged and searchable via botbot:
https://botbot.me/freenode/chef/
https://botbot.me/freenode/chef-hacking/

@spuder closing, as @btm stated this an enhancement.


Fix #52 by setting the base layer for dns

Fix #52 by setting the baselayer.

I also need this one.

Thanks for the commit!  I'm happy to merge this in.  Before I do, though, could you sign https://cla.developers.google.com/about/google-individual?  It's required legaleze I need once from every committer, which basically says "you still own the code, but you give us permission to use it".

Done.
On Wed, Apr 8, 2015 at 11:29 AM, Graeme Connell<EMAIL_ADDRESS>wrote:

Thanks for the commit! I'm happy to merge this in. Before I do, though,
could you sign https://cla.developers.google.com/about/google-individual?
It's required legaleze I need once from every committer, which basically
says "you still own the code, but you give us permission to use it".
—
Reply to this email directly or view it on GitHub
https://github.com/google/gopacket/pull/63#issuecomment-90951155.


post-ontology bump updates (3.0.0+1)

Collection a48f5033-3438-4550-8574-cdff3263fdfd - All 3 datasets all assay: EFO:0700010
Collection A Proximal-to-Distal Survey of Healthy Adult Human Small Intestine and Colon Epithelium by Single-Cell Transcriptomics - update CL:0000677 'gut absorptive cell' to cell_type: CL:4030026 (@rachadele please review/confirm & update the title to the Collection ID once published)
Collection edb893ee-4066-4128-9aec-5eb2b03f8287 - Both datasets update EFO:0010183 'single cell library construction' to assay: EFO:0700011

Collection: d2684035-a36e-458e-96af-8e37930bfdf6
Dataset: Integrated tendon dataset (only dataset)
Update the tissue ontology of all 4 samples to new term UBERON:8480009
tendon of semitendinosus
The update will go through Lattice.

Collection:  https://cellxgene.cziscience.com/collections/1d1c7275-476a-49e2-9022-ad1b1c793594
Dataset:  Amacrine cells of the human fovea and peripheral retina
Replace CL:0000561 (amacrine cell) with CL:4030027 (GABAergic amacrine cell).

Collection:  Integration of eQTL and a Single-Cell Atlas in the Human Eye Identifies Causal Genes for Age-Related Macular Degeneration
Dataset:  Amacrine cells of human eye
For the following group IDs in the processed matrix files:
1.0 - Replace CL:0000561 (amacrine cell) with CL:0004219 (A2 amacrine cell)
5.0 - Replace CL:0000561 (amacrine cell) with CL:4030028 (glycinergic amacrine cell)
11.0 - Replace CL:0000561 (amacrine cell) with CL:0004232 (starburst amacrine cell)

Collection: Integration of eQTL and a Single-Cell Atlas in the Human Eye Identifies Causal Genes for Age-Related Macular Degeneration
Dataset:  Retinal ganglion cells of human eye
For the following group IDs in the processed matrix files:
1.0 and 4.0 - Replace CL:0000740 (retinal ganglion cell) with CL:4023033 (OFF retinal ganglion cell)
2.0 and 5.0 - Replace CL:0000740 (retinal ganglion cell) with CL:4023032 (ON retinal ganglion cell)
Dataset:  Cone cells of human eye
For the following group IDs in the processed matrix files:
2.0 - Replace CL:0000573 (retinal cone cell) with CL:0003050 (S cone cell)

Collection: Single-cell RNA sequencing unifies developmental programs of Esophageal and Gastric Intestinal Metaplasia - all datasets - update MONDO:0004298 (stomach disorder) to new_term_tbd (gastric intestinal metaplasia) (should be in the Feb MONDO release)

Collection: A molecular cell atlas of COVID-19 initiation in human lung - all datasets

CL:0002144 (capillary endothelial cell) --> CL:4028001 (pulmonary capillary endothelial cell)
CL:0000669 (pericyte) --> CL:0009089 (lung pericyte)

Collection: Transcriptional responses of the human dorsal striatum in opioid use disorder implicates cell type-specifc programs

D2-Matrix & D2-Striosome need to be updated to CL:4023029
D1-Matrix & D1-Striosome need to be updated to CL:4023026

Collection: A single-cell transcriptomic atlas spanning the adult rhesus macaque brain.

Update CL:0002319 to CL:4023072 - 3 datasets: all cells, 1.5M subset, vascular cells

Collection: A proximal-to-distal survey of healthy adult human small intestine and colon epithelium by single-cell transcriptomics

update  CL:0002254  to CL:4030026

Collection A taxonomy of transcriptomic cell types across the isocortex and hippocampal formation

update UBERON:0000956 (cerebral cortex) to UBERON:0000956 (gustatory cortex)

Collection ced320a1-29f3-47c1-a735-513c7084d508, self_reported_ethnicity

update Indian to Singaporean Indian [HANCESTRO:0598]
update Malaysian to Singaporean Malay [HANCESTRO:0597]

(Lattice will subsequently remove the Ethnicity_Selfreported column)

661a402a-2a5a-4c71-9b05-b346c57bc451 donor_id:GSM4643738 - update to 5 day [MmusDv:0000115]
48d354f5-a5ca-4f35-a3bb-fa3687502252 var_time:P7 - update to 7 day [MmusDv:0000117]
d86517f0-fa7e-4266-b82e-a521350d6d36 Dataset:RomanovDev10x - update to 23 day [MmusDv:0000144]

Collection: 9d63fcf1-5ca0-4006-8d8f-872f3327dbe9
Brain matters: Unveiling the Distinct Contributions of Region, Age, and Sex to Glia diversity and CNS Function

datasets:
white matter - all cells c05e6940-729c-47bd-a2a6-6ce3730c4919
white matter - oligodendroglia 12194ced-8086-458e-84a8-e2ab935d8db1
Update the cell_type_ontology_term_id for author cell types
COP_A
COP_B
COP_C
to CL:4023059 differentiation-committed oligodendrocyte precursor

[ ] Collection a48f5033-3438-4550-8574-cdff3263fdfd - All 3 datasets all assay: EFO:0700010
[ ] Collection A Proximal-to-Distal Survey of Healthy Adult Human Small Intestine and Colon Epithelium by Single-Cell Transcriptomics - update CL:0000677 'gut absorptive cell' to cell_type: CL:4030026
[ ] Collection edb893ee-4066-4128-9aec-5eb2b03f8287 - Both datasets update EFO:0010183 'single cell library construction' to assay: EFO:0700011
[ ] Collection Human breast cell atlas - replace CL:0011026 (progenitor cell) w/ CL:0009116 (progenitor cell of mammary luminal epithelium)
[ ] Collection: Single nucleus and spatial transcriptomic profiling of human healthy hamstring tendon - Update the tissue ontology of all 4 samples to new term UBERON:8480009 (tendon of semitendinosus)
[ ] Collection: Cell Atlas of The Human Fovea and Peripheral Retina. Dataset: Amacrine cells of the human fovea and peripheral retina. Replace CL:0000561 (amacrine cell) with CL:4030027 (GABAergic amacrine cell). Replace CL:1001509 (glycinergic neuron) with CL:4030028 (glycinergic amacrine cell).
[ ] Collection: Integration of eQTL and a Single-Cell Atlas in the Human Eye Identifies Causal Genes for Age-Related Macular Degeneration. Dataset: Amacrine cells of human eye. For the following group IDs in the processed matrix files:. Replace CL:0000561 (amacrine cell) with CL:0004219 (A2 amacrine cell), CL:4030028 (glycinergic amacrine cell), CL:0004232 (starburst amacrine cell)
[ ] Collection: Integration of eQTL and a Single-Cell Atlas in the Human Eye Identifies Causal Genes for Age-Related Macular Degeneration. Dataset: Retinal ganglion cells of human eye. For the following group IDs in the processed matrix files: Replace CL:0000740 (retinal ganglion cell) with CL:4023033 (OFF retinal ganglion cell), CL:4023032 (ON retinal ganglion cell)
[ ] Collection: Integration of eQTL and a Single-Cell Atlas in the Human Eye Identifies Causal Genes for Age-Related Macular Degeneration. Dataset: Cone cells of human eye. 2.0 - Replace CL:0000573 (retinal cone cell) with CL:0003050 (S cone cell)
[ ] Collection: Single-cell RNA sequencing unifies developmental programs of Esophageal and Gastric Intestinal Metaplasia - all datasets - update MONDO:0004298 (stomach disorder) to new_term_tbd (gastric intestinal metaplasia)
[ ] Collection: A molecular cell atlas of COVID-19 initiation in human lung - all datasets. CL:0002144 (capillary endothelial cell) --> CL:4028001 (pulmonary capillary endothelial cell). CL:0000669 (pericyte) --> CL:0009089 (lung pericyte)
[ ] Collection: Transcriptional responses of the human dorsal striatum in opioid use disorder implicates cell type-specifc programs. D2-Matrix & D2-Striosome need to be updated to CL:4023029. D1-Matrix & D1-Striosome need to be updated to CL:4023026
[ ] Collection: A single-cell transcriptomic atlas spanning the adult rhesus macaque brain. Update CL:0002319 to CL:4023072 - 3 datasets: all cells, 1.5M subset, vascular cells
[ ] Collection A taxonomy of transcriptomic cell types across the isocortex and hippocampal formation. update UBERON:0000956 (cerebral cortex) to UBERON:8440075 (gustatory cortex) & 1 dataset in collection, Smart-Seq. update EFO:0010184 (Smart-like) to SMART-seq4
[ ] Collection: 9d63fcf1-5ca0-4006-8d8f-872f3327dbe9 , datasets: white matter - all cells c05e6940-729c-47bd-a2a6-6ce3730c4919, white matter - oligodendroglia 12194ced-8086-458e-84a8-e2ab935d8db1. Update the cell_type_ontology_term_id for author cell types: COP_A, COP_B, COP_C to CL:4023059

From ontologies not in this update...

ced320a1-29f3-47c1-a735-513c7084d508, self_reported_ethnicity. update Indian to Singaporean Indian [HANCESTRO:0598]. update Malaysian to Singaporean Malay [HANCESTRO:0597]
661a402a-2a5a-4c71-9b05-b346c57bc451 donor_id:GSM4643738 - update to 5 day [MmusDv:0000115]
48d354f5-a5ca-4f35-a3bb-fa3687502252 var_time:P7 - update to 7 day [MmusDv:0000117]
d86517f0-fa7e-4266-b82e-a521350d6d36 Dataset:RomanovDev10x - update to 23 day [MmusDv:0000144]

Verified that all non HANCESTRO/Dv updates were completed during migration. The rest were carried over to #605


amd required?

Admittedly, I'm not really doing AMD in my applications right now. I know, I'm behind the times. Be that as it may, I'm a bit confused about how to include globalize.js
I ran through the install guide, and it said to require the cldrjs files and THEN require the globalize files and their modules. The sample HTML does not show any sort of dependency loader (requireJS or whatever) anywhere on the page.
Yet when I fire up the page, I get an undefined error on "define" in line 1 of globalize.js
The globalize files are taken from the dist folder of branch 1.0.0
Do I need to have requireJS (or similar) on my page before including the files, contrary to the example markup provided?

Ugh. So, it's CLDR giving me the undefined. The globalize sample is still "incorrect" but only because it assumes the CLDR do not need AMD. It's not globalize's fault directly. I will see if I can find non-AMD CLDR javascript files.

Hi @gregpettit, a quick comment for now:

AMD is not mandatory
We're working to improve the examples in our documentation. But, have you looked into https://github.com/jquery/globalize/tree/master/examples/plain-javascript?

rxaviers, this is totally user error. I appreciate that link, though!
Speaking of user error, I resolved the problem... (and it was just me being stupid)... I was trying to include cldr source files as distribution files. I'm not accustomed to the convention of going to a tagged branch and grabbing files from a dist folder, but now I know better!
The next problem that I have encountered is a typeerror (undefined) on this line:
var createError = Globalize._createError,
However, I suspect it's user error again. Since I'm not using AMD, I thought I would be clever and concatenate and then minify the CLDR files followed by the globalization files, all into one new file called "globalize.js" within my application.
Since this is testing on the dev branch, it is not minified, but it IS concatenated. Will concatenating the separate files together into one file mess things up? When using AMD I see that it wants to go into particular subdirectories, but I wouldn't imagine that would apply if not using AMD.

...and once again I answered my own question. ;) The files need to be separate and found within that directory structure.
I will try minifying them as separate files (this test was just plain non-minified inclusion exactly per documenation, which shouldn't be a surprise when it works as described!), but it looks like there is currently no way to avoid the extra HTTP requests through concatenation. Is that a fair assumption?

Although you can concatenate the files yourself, I suggest using smarter build tools. By concatenating, you need to take into account the correct dependencies order and the fact that CLDR is a JSON data (not a JavaScript code).
Feel free to suggest changes on how we could improve the documentation. Thanks

rxaviers, it's just more user error. I apologize for wasting your time. I in fact am using smarter build tools and haven't even gotten to including the CLDR data yet. This is just concatenation of the JavaScript files. Below is the Grunt concat task. To supposedly avoid a few keystrokes, I copy/pasted the globalize line in order to add the modules. I typed right over top of the main globalize.js file, though, so although I KNOW I need globalize.js, I had typed right over top of it and didn't notice.
Today has felt like amateur hour over at Greg's desk. ;)
The failed task:
globalize: {
        src: [
          'lib/cldrjs/cldr.js',
          'lib/cldrjs/cldr/event.js',
          'lib/cldrjs/cldr/supplemental.js',
          'lib/cldrjs/cldr/unresolved.js',
          'lib/globalize/globalize/date.js',
          'lib/globalize/globalize/message.js',
          'lib/globalize/globalize/number.js',
          'lib/globalize/globalize/plural.js',
          'lib/globalize/globalize/relative-time.js'
          //'lib/globalize/globalize/currency.js'
        ],
        dest: '<%= dirs.purgatory %>/js/globalize.js'
}

and the fixed:
globalize: {
src: [
'lib/cldrjs/cldr.js',
'lib/cldrjs/cldr/event.js',
'lib/cldrjs/cldr/supplemental.js',
'lib/cldrjs/cldr/unresolved.js',
'lib/globalize/globalize.js',
'lib/globalize/globalize/date.js',
'lib/globalize/globalize/message.js',
'lib/globalize/globalize/number.js',
'lib/globalize/globalize/plural.js',
'lib/globalize/globalize/relative-time.js'
//'lib/globalize/globalize/currency.js'
],
dest: '<%= dirs.purgatory %>/js/globalize.js'
}
So embarrassing. But, I'll own my mistakes in the hopes that they help someone else some day.
I don't think the documentation needs improving. If you're the kind of person like me who wants to build by concatenating from globalization's dist folder instead of building from source each time, the implied information is already all there. "Include these files, in this order" is already in the documentation.

No problem. Using Globalize should be easy, so it's important that we constantly improve the library or the docs to accomplish that.
By concatenating yourself, make sure you follow the order listed here https://github.com/jquery/globalize/blob/master/examples/plain-javascript/index.html#L34-L57 (your fixed example is slightly different).
If you have any further questions, feel free to ping on IRC http://irc.jquery.org/ #globalize channel.

Thanks rxaviers. I have fixed the order. I am now in CLDR hell.


core dumpe

How to solve the above problems when I train stage 1?

I have already resolved this issue, it is the torch_scatter version issue, the correct version is 2.0.9


Fixed typo in Aging related files and filenames

I noticed a typo and thought I'd try out this whole open source thing and submit a pull request. I hope it meets your standards.
I opened the repository, searched it for all instances of "Ageing", and replaced them one by one.

Hi @Toilaf, actually this repo has not been updated with the latest codebase, where this issue is fixed. Thus, this PR is unnecessary. I will push the new codebase here soon. Thank you!


CHAD-9856: added Aeon Multisensor 5 fingerprint

added Aeon Multisensor 5 fingerprint to zwave-sensor driver
https://smartthings.atlassian.net/browse/CHAD-9856

Also needs some additions here: https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/drivers/SmartThings/zwave-sensor/src/configurations.lua#L25

@greens It looks like its already been added to the matching_matrix? fingerprint mfr:"0086", prod:"0102", model:"004A" is the device info which is already under AOTEC_MULTISENSOR_GEN5.

@sjl2178 Looks like the FP you've added already exists in the file
I think you need to add this one:
mfr: 0086, model: 0005
and, based on installed devices, this one:
mfr: 0371, model: 0005

I think 0x0371, based on our DTH codebase is another mfr code for Aeotec.

@greens It seems like both those fps are already present?
mfr: 0086, model: 0005 is included in AEON_MULTISENSOR in the configuration file
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/845724c8d7720e78b1c23d6518601db5725c09e9/drivers/SmartThings/zwave-sensor/fingerprints.yml#L454
mfr: 0371, model: 0005 is in AOTEC_TRISENSOR
https://github.com/SmartThingsCommunity/SmartThingsEdgeDrivers/blob/845724c8d7720e78b1c23d6518601db5725c09e9/drivers/SmartThings/zwave-sensor/fingerprints.yml#L73

you're absolutely correct, so I guess we don't need to do anything here and just need to confirm to Chris that he's testing the right device


Mouseenter/mouseleave does not work properly with event delegation

Problem
Due to how we use listener multiplexing, all mouseenter events actually trigger on the root element rather than the target element. This means we cannot determine which element was the cause of the event and we cannot actually call the event.
For most cases you should use mouseover because it's essentially mouseover but with proper bubbling.
Steps To Reproduce
We would expect this example to produce both mouseentered/mouseover events, but we only get mouse over events. If we attach JS handlers through arbitrary attribute support, then we can get logs from JS.
use dioxus::{events::onmouseover, prelude::*};

fn main() {
    dioxus::desktop::launch(app);
}

fn app(cx: Scope) -> Element {
    cx.render(rsx! {
        div {
            background: "red",
            onmouseenter: |_| {
                println!("mouse entered");
            },
            "onmouseenter": "console.log('mouse entered')",
            onmouseleave: |_| {
                println!("mouse leave");
            },
            "onmouseleave": "console.log('mouse left')",
            onmouseover: move |_| {
                println!("mouse over");
            },
            onmouseout: move |_| {
                println!("mouse out");
            },
            "hi"
        }
    })
}

Expected behavior
Mouseenter should behave properly.
Environment:

Dioxus version: [e.g. v0.17, master]
Rust version: [e.g. 1.43.0, nightly]
OS info: [e.g. MacOS]
App platform: [e.g. web, desktop]

Questionnaire

[x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

How does React/Infero/Preact handle this case with event delegation?

Can you combine both events to target the element ? Mean you need to trigger mouseover to get element id and then trigger mouseenter with this id. Then mouseenter is dependent on mouseover. The process would be:

Trigger mouseenter on root
Change the related element id of mouseenter from mouseover information.
Not sure if it makes sense.


Request API Git

Reference API: https://developer.github.com/v3/

Resolve in pull request: https://github.com/EstefaniaGuardado/gitApp/pull/4


First draft of monitoring interfaces and prometheus implementation.

Using variadic templates for fun, but they give us the ability to apply an arbitrary number of labels to metrics 'easily' (at least they do once you get past the ... blindness!)

clang++ -I . -I /usr/local/openssl/include -I /usr/src/gmock/include -I /usr/src/gmock/gtest/include -I /usr/local/include -std=c++11 -Wall -Werror -g -O3 -I/usr/include/json-c      -c -o monitoring/prometheus/counter_test.o monitoring/prometheus/counter_test.cc
In file included from monitoring/prometheus/counter_test.cc:1:
In file included from ./monitoring/prometheus/prometheus.h:4:
In file included from ./monitoring/prometheus/counter.h:10:
In file included from ./monitoring/prometheus/labelled_values.h:11:
./monitoring/prometheus/metrics.pb.h:1902:49: error: no member named
      'prometheus' in namespace 'google::protobuf::io'; did you mean
      '::io::prometheus'?
inline const EnumDescriptor* GetEnumDescriptor< io::prometheus::client::...
                                                ^~~~~~~~~~~~~~
                                                ::io::prometheus
./monitoring/prometheus/metrics.pb.h:29:11: note: '::io::prometheus' declared
      here
namespace prometheus {
          ^
./monitoring/prometheus/metrics.pb.h:1903:10: error: no member named
      'prometheus' in namespace 'google::protobuf::io'; did you mean
      '::io::prometheus'?
  return io::prometheus::client::MetricType_descriptor();
         ^~~~~~~~~~~~~~
         ::io::prometheus
./monitoring/prometheus/metrics.pb.h:29:11: note: '::io::prometheus' declared
      here
namespace prometheus {
          ^
2 errors generated.
make[1]: *** [monitoring/prometheus/counter_test.o] Error 1

LGTM

That was part of issue #405, I'd say. :smiley:


Triggered action needs to be clear

Hi,
Great job with the SDK, however from a documentation point of view it's really not that clear that you can trigger an element with a custom button. The open param gives 4 options and none of which are triggered.
It's only after delving through comments that the only way to do this is to use the method .open() which isn't documented.
See also, https://github.com/Typeform/embed/issues/298

Hello @CHEWX
one of the first examples in the README documents how to open a popup window on button click: https://github.com/Typeform/embed/tree/main/packages/embed#from-cdn
How would you improve the docs? Feel free to update the README and open a PR.

Sure, that's under the "From CDN" title, most would ignore that, I did anyway as it's not relevant.
I was really looking here — https://github.com/Typeform/embed/tree/main/packages/embed#custom-launch-options
As always, will try and PR when I get time, but thought I'd reference an issue incase someone else jumps on it.

:tada: This issue has been resolved in version @typeform/embed-v1.19.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Migrate CartLine-related components to Vitest

Description

Part of https://github.com/Shopify/hydrogen/issues/670.
Migrate most part of CartLine-related components.
Additional context

Not to make this PR large, I'll migrate the rest of the components in the follow-up PR.

Before submitting the PR, please make sure you do the following:

[x] Read the Contributing Guidelines
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123)
[ ] Update docs in this repository according to your change
[ ] Run yarn changeset add if this PR cause a version bump based on Keep a Changelog and adheres to Semantic Versioning

I've been looking through migrated tests, and realised that sometimes we have such pattern Component.client.vitest.tsx in migrated tests' file names. Do you think we should follow component name and add .client in the test file name? I see that most tests skip .client pattern though.


I use Snap.load() to load a svg file, and then use drag(), but I cant drag it.

I use the function Snap.load() to load a svg file into a svg tag. After that I use drag(), but I can't drag it at all.
The code likes that:
        Snap.load("search_dark.svg", function(svg){
            this.appendChild(svg.node);

            var svgx = Snap("#search");
            svgx.drag(); // it can't works!
        }, document.getElementById("svgtag"));

Not sure this line makes sense...


error: firebirdsql: Error op_response:92

Hi,
Can't connect to firebirsql 3. Getting error: firebirdsql: Error op_response:92

Hi again,
Can you help with this?

@tornister76 I would need more details. Likely the username/password you're passing are incorrect. I have not used Firebird much. Please try to write some simple Go code using the underlying driver and trying to connect.

I
'm using binary version in script. Now, after databases has been migrated from 2.5 to 3.0 FB I'm getting this error instead of results.

@tornister76 if usql was working before, and is not with an upgrade to Firebird, that's an issue with Firebird's Go driver. Please try to connect using the actual driver with Go, and see what error you're able to get. Testing with Firebird v4 (the docker.io/jacobalberty/firebird:v4 image) just now, I was able to connect.


fix(timepicker): Enhanced minutes/hours interaction

Minutes & hours will now properly validate user input in all cases. Before both only handled 'X1' and now both validate '1X' as well. Additionally, we do not update the minutes/hours model unless needed to via non-keyboard interaction.

Closing, as this is in need of rebasing on current master - feel free to open a new pull request with this feature with all conflicts addressed.


baudline: init at 1.0.8

Baudline is a scientific signal analysis application.
I was unsure whether the baudline license allowed packaging in nixpkgs,
so I sent a copy of this nix expression (and some explanation) to their
support. I got this reply:
From: Erik Olson<EMAIL_ADDRESS>Subject: Re: Licensing question
Hello Bjorn,
This sounds fine.  What you suggest doing is very similar to how the
FreeBSD FreshPorts system deals with baudline.
Erik
So basically, everything is good as long as we only distribute the expression
to install the package. We must not distribute the package (binary).

@vcunat: Thanks for the pointers (I didn't know/think of that). Pushed updated commit.

Pushed to master (https://github.com/NixOS/nixpkgs/commit/e8c22b33e6ca0d4b298f0a7dcb4208c0cbeb3ddf).


Fix flaky test in TestThrottledAsyncQueue

Reported in https://github.com/prestosql/presto/issues/2797, the
"testThrottleEmptyQueue" test can be flaky as the size of the batch
returned after the queue is throttled depends on the order of execution
of the offer() calls and the completion of the not-empty signal future.
Thus, the returned batch could have a size of either 1 or 2 depending on
whether the 2 offer() calls where executed before the not-empty signal
future completes or not.
Because this test only aims at checking that the queue is throttled, we
don't need to test that the batch returned is of more than one element.
Thus, we fix the flaky test by offering only one element, which
gurantees that the returned batch will always be of size 1.

@BenoitHanotte thank you for very nice commit message.


Vita freezes after i put my plugin in it

(It means your plugin is crashing)

Make a repo and show me the project files. It seems broken

Just like the instructions says

https://github.com/hedhehd/Sample_Quickmenureborn/tree/main

So you're installing by putting it in the QuickMenuReborn folder, right?

Only thing left is that it could be bad stubs, are you sure you're using the vitasdk-stubs and not vdsuite ones?

I dont know. I'll check.

Yes i am

Maybe because i typed in the cmake file Quickmenureborn_stub and not weak?

But still, it doesn't work

Only thing left is that it could be bad stubs, are you sure you're using the vitasdk-stubs and not vdsuite ones?

Yes.

How are you so sure it's the vitasdk-stubs?
You should link to QuickMenuReborn_stub not _weak.

Oh but i did and it still doesn't work.

How are you so sure it's the vitasdk-stubs? You should link to QuickMenuReborn_stub not _weak.

Because i copied the vitasdk stubs again from the dev-pkg.zip

Ok.....maybe vitasdk stubs are broken?
Shouldn't be happening...I'll remake them and send them

Here, try these.
vitasdk_stubs.zip

c:/msys64/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to<PHONE_NUMBER>000000
is this supposed to happen?

It still freezes... Weird

c:/msys64/usr/local/vitasdk/bin/../lib/gcc/arm-vita-eabi/10.3.0/../../../../arm-vita-eabi/bin/ld.exe: warning: cannot find entry symbol _start; defaulting to<PHONE_NUMBER>000000
is this supposed to happen?

No. I remember now. VitaSDK needs another entry point. One second.

Add this just above module_start in your main.c file.
void _start() __attribute__((weak, alias("module_start")));

Like this?:
BUTTON_HANDLER(OnToggleCheckBox)
{
    resetOnExit = QuickMenuRebornGetCheckboxValue(CHECKBOX_REF_ID);
}
void _start() __attribute__((weak, alias("module_start")));
int module_start()
{
    QuickMenuRebornSeparator(SEPARATOR_ID, SCE_SEPARATOR_HEIGHT);

Yup

Okay im gonna try

Oh now it doesn't say that warning

Then it should be fixed.

Yep it did. Anyway's thanks for the help!

You're Welcome.


Enable completion persistence loging in agent

Fixes CODY-2571
Changes
Enable completions persistence tracking for agent.
Looks like it was disabled from the start, but I do not see a good reason why it should be.
@valerybugakov you asked a good question but @philipp-spiess answer does not really explain the rationale of the decision to skip the agent. Do you maybe remember any additional context of that decision?
Test plan

Build and run JetBrains with this Cody branch
Initiate any completion and accept it
Add some code before and after the completion
Wait 30 seconds
Remove suggested line
Wait 1min 30sec

You should see something like that in the log:
2024-06-25 15:46:21,885 [  21579]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion/suggested
2024-06-25 15:46:21,885 [  21579]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion/accepted
2024-06-25 15:46:31,361 [  31055]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion/noResponse
2024-06-25 15:46:51,946 [  51640]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion.persistence/present
2024-06-25 15:47:08,009 [  67703]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion/suggested
2024-06-25 15:47:16,260 [  75954]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion/suggested
2024-06-25 15:48:21,950 [ 141644]   WARN - #c.s.c.a.CodyAgentClient - Cody by Sourcegraph: █ telemetry-v2: recordEvent: cody.completion.persistence/removed

Additionally I verified in the debugger that partial edition of the line changes difference ratio.

LGTM. I do not remember any additional context that blocks this.
One thing I noticed in the linked PR that might be relevant to this change: https://github.com/sourcegraph/cody/pull/1463/files#r1653762071

Thank you @valerybugakov , I replied in the comment.
Tl;Dr: I think code you linked it not a problem for us.


The generated gif is damageg.

my example jpeg picture:
0.jpeg:

1.jpeg:

i compile the c++ code to generate a exe. Use the exe in command line and make a out.gif:
command:  BurstLinker.exe 1000 ./0.jpeg ./1.jpeg
out.gif:

command:  BurstLinker.exe -q5 1000  ./0.jpeg ./1.jpeg
out.gif:

and so on.
I have try all the combination of q and d, and find that the generated gif is more or less damaged.
And some combinations of q and d may cause the program to crash:
command:  BurstLinker.exe -q5 -d1 1000  ./0.jpeg ./1.jpeg
crash:

The latest master has been fixed.
If you want to have a high GIF generation quality, it is recommended to use NQ quantization (sample = 1) with color dither.


⚠ SceneTime has degraded performance

In 5502869, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1219 ms

Resolved: SceneTime performance has improved in a51e8a5 after 12 minutes.


 Envoy instances that have a larger number of workers (>=32), the sync.Map causes contention on the underlying lock and reduces performance.
Before this fix, a direct reply benchmark would get about 210,000 req/sec which is considerably lower than 400,000 req/sec (Envoy that uses a direct reply within a route with no Go HTTP filter). The same benchmark with this fix included gets 350,000 req/sec, a 67% increase in performance.
The sync.Map is replaced with a []map[*C.httpRequest]*httpRequest which allows each worker to get its own map. This slice is initialized envoyGoFilterNewHttpPluginConfig which now passes along the concurrency value that Envoy was started with which controls the number of workers. The httpRequest that is shared between Envoy and Go Plugin has been updated to pass along the worker_id that is responsible for the request. Since each worker is single threaded, we no longer need a mutex to control access to the map.
Fixes #31916
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@doujiang24 If you could take a look on the first pass that would be greatly appreciated. A few tests are broken but will fix if we are are happy with the current approach. Thanks!

/retest

@zuercher it's good to merge, thanks~

/retest

/retest

/retest

/retest


Figure out which of our workflow scripts is actually the right one

In the 'working' one, I see only two files that get pushed. In the other, I see more of the right ones.

We currently only have one, so we must have done that. Good job us!


feat: add initial support for split tunnel

This address / fixes #62
It might not be perfect, it could use some extra checks (i.e. a valid IP address for virtual interfaces), or better names for the scripts. Nonetheless, it's a start for other people to use them.
I've tested them with Wireguard and OpenVPN, and they are working without any issue

I think this is a nice addition and could develop into scripts that everybody could use, however there are still some things to clear out:

the scripts should allow you to isolate any application, not just Firefox
maybe this should be in a separate folder as most people will never use this
this might be better to stay in a fork, as it goes a bit out of the scope of this repo

I will discuss this internally to see if we can expand the scope of this repo in 2021, but up to that point I think a fork is better for specific network configuration that only a few users might use.

the scripts should allow you to isolate any application, not just Firefox

Firefox is just an example as stated in the message, any program can be started and will work. In fact, it's required of the user to run ip netns exec $NETNS_NAME ./run_setup.sh in order to start the VPN. I can make it so that we call run_setup.sh inside the script, rather than asking the user to do so.
The command to start any app is: ip netns exec $NETNS_NAME [path_to_any_executable]
You could even just start bash, ip netns exec $NETNS_NAME bash, and run any other command which will use the VPN connection (as long as the VPN has started with the previous command).

I've been using these also in order to launch specific applications in the namespace.
One thing I found in the create_namespace.sh is that I had to add the following:
echo 1 > /proc/sys/net/ipv4/ip_forward

Is this the proper place to ask for help with create_namespace.sh?  Thanks.

@fcastilloec Do you mean to ask my questions directly on your twitter page?

Hi, are you getting this email directly? I'm trying to reply to your
twitter message, but I can't seem to be able to send my reply. Sorry...
Le ven. 23 févr. 2024, à 11 h 35, Felipe Castillo @.***>
a écrit :

@aarsenca https://github.com/aarsenca I no longer use this scripts but
I could answer some of your questions.
Even though I don't think this PR will get merged, it might be better if
you message me at https://twitter.com/fcastillo
—
Reply to this email directly, view it on GitHub
https://github.com/pia-foss/manual-connections/pull/64#issuecomment-1961642281,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD5PEVQDKGNADFE3GA4HQTYVDAMHAVCNFSM4UPGAFBKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJWGE3DIMRSHAYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Version number comparisons for conditional imports (wagtail 2.10 > 2.7)

Changed to use packaging.version to compare version numbers (because string comparison means 2.10 > 2.7 is not True)

Good pickup, this might be a problem in some of our other packages too


Initial pass on catch rewriting; needs review!

I have a feeling many of these hairy JS functions could be moved to PS, so I want to take a pass at that too before this is accepted.  Opening this now to get initial feedback/concerns.  This is definitely a scary change, but there are definitely some issues with the current code.
The gist of the problem is that success callback calls shouldn't be wrapped in try/catch because success returns to user code.  An Aff/Promise should only ever resolve to 'success' or 'failure'.  Wrapping the success callback in a try/catch makes it possible to resolve with 'success' and then later resolve with 'error', possibly causing user code to re-run.
The second issue is that while success shouldn't be caught, calling the Eff callback in makeAff should catch errors.  Currently any synchronous exceptions will bypass the Aff error handling and travel up the stack unhandled.
Here is es6-promise's equivalent to makeAff which is nearly the exact same code: https://github.com/stefanpenner/es6-promise/blob/master/lib/es6-promise/-internal.js#L233
This brings me to another thought.. it seems Aff should derive heavily from a good Promise implementation, or maybe even just wrap another implementation.  If it wraps native Promises it would require polyfills for some users, but JS people are pretty used to that these days.  This would be awesome for FFI as well, as any FFI function that returns Aff would just need the JS side to return a promise-like thing.

bind is the main place I need to review because that should catch exceptions at some point.

I reviewed it in person.

Added the start for some tests which pass on this PR but fail in master.  I need to add bind tests as well but that is a little more involved since it needs to track how many times each callback gets called for each path (asserting it's always one of the two callbacks but never both and never either more than once).

Hello!
I think lack of try/catch in makeAff is expected, because due to signature
makeAff :: ((Error -> Eff e Unit) -> (a -> Eff e Unit) -> Eff e Unit) -> Aff e a

synchronous handlers mustn't throw exceptions.

I'll let @jdegoes chime in with other feedback as I saw he briefly commented in IRC, but I can explain at least one reason why Promise isn't really a suitable basis for Aff: they have bizzarre cancelling semantics.
It should be easy enough to provide a function that converts promises into Aff values though!

@garyb That makes sense. I didn't consider cancellation.
@cryogenian I disagree. The return type of makeAff is Aff, which supports the concept of failure. That failure path should be the only way for it to fail.

@spicydonuts Yes, Aff can fail, but this isn't mandatory to be a part of makeAff. There are throwError and foreign import for it. Perharps Eff callbacks should have (err :: EXCEPTION) effect? Or there should be two makeAff: one with ability to raise exceptions and one without.

Perhaps not mandatory, but it is a somewhat unexpected edge case, especially for anyone who notices that makeAff looks very similar to new Promise in JS.
I don't have much experience with exception handling in Eff, and zero in Haskell, so I'm curious what the code would look like if those mechanisms were used. Would all makeAff calls be required to wrap their Eff in catchException? Is that even possible when the Eff doesn't declare that it can throw exceptions (even if it does throw them, like request in purescript-node-http). I don't see a clean way to handle those cases. You'd need to write a slightly dishonest FFI function for catching undeclared exceptions.

Is there a use case for handling asynchronously failing Affs differently than synchronously throwing Affs (especially when they don't declare exception effects, though that seems like potentially a larger issue).

This may be besides the discussed points here, but there is definitely some weirdness with Aff exception handling currently, I recently had to do this: https://github.com/garyb/purescript-quasar/blob/initial/test/src/Test/Main.purs#L79-L91 because the raised errors just seemed to disappear otherwise.

Ah yeah. I've also seen some weird behavior with forkAff and failing unit tests, causing each failed test to multiply the error output that gets logged.

This is just my opinion, but it feels like this is the key distinction between Eff and Aff. Eff = synchronous, might throw an exception because it can't do anything else. Aff = asynchronous, errors go through error callbacks. It seems really odd to have Aff simultaneously be synchronous, but only in some cases when un-catchable exceptions are involved.  I want to see an Aff return type and trust it to follow that flow in all cases.

I'd tend to agree with that. Even if it's not 100% accurate, as it means we're assuming an EXCEPTION effect everywhere.

Yeah, it's sort of true both ways. Doing it assumes all Effs have EXCEPTION, but that seems way safer than leaving Aff's semantics fragile. I'd look at it less as an assumption that all Effs can throw and more as a safeguard against the fact that running code at all is dangerous on some level and this type brings that complication under control a little bit.

That's the case! Most ffi functions should have (err :: EXCEPTION) row in Eff but it's omitted too often.
Why not alter signature to
makeAff
  :: ((Error -> Eff (err :: EXCEPTION|e) Unit)
    -> (a -> Eff (err :: EXCEPTION|e) Unit)
    -> Eff (err :: EXCEPTION|e) Unit)
  -> Aff e a

?
BTW, this EXCEPTION thing is really weird:

Aff e a ~ ErrorT (ContT (Eff e a))
Aff e a ~ ContT (Eff (err :: EXCEPTION|e) a)

I'm not sure what's right approximation here. And, personally, would prefer if all results would be wrapped to Either Error.
Other confusing thing is potentially multiple returned value. If Aff could be used as stream it will be used so (and I've already done this in purescript-routing :smile:), if it mustn't -- there should be restriction in type system or at least in runtime.

You may be right on the signature.  Either way though, it's makeAff that's taking an effect as a parameter and encapsulating it in an Aff.  You shouldn't be able to break out of that by passing it a questionable (but all too common) Eff.
And streams definitely seem like a separate type/concept.  Aff/Promise vs Signal/Behavior/Observable.  90% of the time an Aff that resolves twice is both a mistake and unnoticed by the developer using it (until they start noticing weird bugs or output and spend a bunch of time wondering what's wrong with their own code 🙂).

Aff is currently considered to represent a ContT which has no restriction on "returning" multiple times, it's an expected behaviour when dealing with continuations. But I think there has been discussion other issue/PRs about dropping this idea and treating Aff as one-shot, like promises.

But I think there has been discussion other issue/PRs about dropping this idea and treating Aff as one-shot, like promises.

Indeed, now that we have aff-coroutines, there is probably no reason for supporting this style.

An Aff/Promise should only ever resolve to 'success' or 'failure'. Wrapping the success callback in a try/catch makes it possible to resolve with 'success' and then later resolve with 'error', possibly causing user code to re-run.

:+1:

The second issue is that while success shouldn't be caught, calling the Eff callback in makeAff should catch errors.

:+1:
Basically, I think it's valid to always assume that Eff code is incorrectly labeled and that it may throw exceptions even if it says it won't. That's just sort of business as usual for Javascript. :wink:

it seems Aff should derive heavily from a good Promise implementation, or maybe even just wrap another implementation.

Not while I still have breathe. :laughing: :skull:
Promises/A+ have absolutely awful semantics (especially the intersection of success/error and cancellation, but in lots of places, such as the magical auto-flattening of nested promises), and are impure (once you have a reference to a promise, it's effect is already running).

By the way, I haven't had a chance to review this in depth, but will do so when I get a chance.

Promises/A+ have absolutely awful semantics (especially the intersection of success/error and cancellation, but in lots of places, such as the magical auto-flattening of nested promises), and are impure (once you have a reference to a promise, it's effect is already running).

Definitely in agreement now. 😅
I do like @garyb's suggestion to add functions that convert to/from Promises just for JS interop, but that's probably a separate PR if not a separate module.

Indeed, now that we have aff-coroutines, there is probably no reason for supporting this style.

This sounds in line with talking to @spicydonuts last night too thanks @jdegoes!

I do like @garyb's suggestion to add functions that convert to/from Promises just for JS interop, but that's probably a separate PR if not a separate module.

Yes. I'd even put that in aff-promises just to keep it separate. Happy to host on slamdata org.
By the way, if everyone agrees this PR is consistent with the above goals, well, who am I to argue, you can skip my code review. :smile: My main goal would be to just make sure the behavior is 100% consistent and there are no edge cases.

Ping. I think this is ready? We have talked about wanting to separate single and multiple resolution (Promise-like versus Observable-like) and lift as much FFI as possible into PureScript but waiting on this one first.

It'd be helpful for someone with a larger project with tests that uses more of the Aff API to give it a try.
I don't really see the need for splitting up the single/multiple continuation use cases since there are already a few FRP/Observable libs out there.  That's actually one of the reasons the current behavior is so surprising for someone not already familiar with ContT; that use case seems to be covered.  It'd probably make sense for those Observable implementations to have liftAff or fromAff or toObservable implementations that turn Affs into single-value Observables.

@AppShipIt @spicydonuts I'll deal with this today!
Observable-type functionality does not belong in here. There is aff-coroutines which nicely layers streams onto aff. What we could do in here is throw a runtime error if you try to call a makeAff callback  more than once. However, I'm not sure that would provide a lot of benefit as there would be no way to catch such an error, so a user would observe it as malfunctioning, which is most likely what will happen if you try to use aff as ContT anyway.

Yeah.. what about it's tricky.. I think promises just ignore anything after the first call.

Could something like newtype Settled e = Settled (Eff e Unit) have bind defined in such a way to track none/one/many calls in an effect row for reject and resolve?

We should probably remove the MonadCont instance too if we want to avoid continuation behaviour!

@spicydonuts This looks good to me. I haven't tested it with a large code base, but the code looks fine.

Could something like newtype Settled e = Settled (Eff e Unit) have bind defined in such a way to track none/one/many calls in an effect row for reject and resolve preventing an invalid state from being reached?

The "problem" is makeAff, which allows you to pass in a handler which will invoke callbacks arbitrarily many times. Maybe the solution is a handler combinator, something like, justOnce, so you do: makeAff <<< justOnce $ handler. Or maybe even justOnce would take an Eff to run in the event the callbacks are invoked more than once, so you would have some way of dealing with errors (e.g. log to console).

OK, unfortunately this needs rebasing now. Also, I am for merging when others are happy. 👍

Cool, I'll do it soon

I've rebased this.  The only change I wasn't quite sure about was unsafePartial.  Is that the right place to add it?

@spicydonuts Yes, the dev dependencies will ensure it isn't pulled in for other projects. Looks good to me!


High memory usage

I am building an app with a high volume of messages over Microsoft.AspNetCore.SignalR 1.0.0-preview2-final. Latest on nuget at the moment I think. I see a very high memeory usage which is constant. So I guess there is a buffer somewhere.
The "old" signalr settings gave options to reduce the number of messages in the buffer. This field is not in the HupOptions anymore. How do I reduce the memory footprint. I checked all code, my project is not storing stuff in dictionaries, internal cache or whatsoever. It is basically a realtime portal to the backend. The full web project is stable at about 800Mb contantly. That numer shouldn't be that high.
I hope someone knows how to reduce the memory footprint of my signalr app.

A ton of work has been done in SignalR since preview2, with some of that being performance work. The easiest thing that you could do first would be to update your project to use the rc1 bits and to see how that changes things. Then more investigation can be done from there.

Take a memory dump or use a memory profiler like dot memory. It’ll tell you what the problem is and then you can tell us

Sorry, I tought I had no updates (tick to get preview versions was unchecked). I will update.

@AndreSteenbergen any updates?


My pethub is bricked

Hi,
My pethub is a iHB V1.
I have disconnected the power during firmware upgrade (before reading the documentation)
I want to try to flash the firmware with the pic programmer.
Can you help me ?
Witch firmware can i use? where can i download it ?
Do you know where to connect the programmer ?
Do you know the starting address (into flash memory) of this firmware (to prevent overwriting bootloader)?
Any help is welcome :)

I wouldn't personally flash on custom firmware using the pickit unless you know what you're doing as you need correct PFM and DCR files.
I have a number of different versions and have figured out how to XOR the files and calculate the file checksum so you can flash them on using the bootloader.
Were you looking to build your own completely custom firmware using the Microchip IDE?
Check out the firmware 201 branch where I byte patched the 2.201 firmware with my own CA and can change the host name to another 19 characters for the dns name.
https://github.com/PetHubLocal/pethublocal/tree/firmware201/pethublocal/firmware

Hi,
My goal is to find the best way to unbrick my pethub.
If i connect a ftdi to the uart of the pethub can i use the bootloader to flash a firmware ?

So when you try and boot it again into the flashing mode by holding the reset button when powering it on it doesn't boot up?
That is very unusual as the boot loader firmware is a completely different area from the main firmware.
I have never managed to brick my hub yet but have always let the flashing process complete.

Did you sort it @jn-powerlan by reflashing the firmware again?? Not that I want to try bricking my hub but it should recover if you attempt it a second time unless you've done something catastrophic.
If you need to flash then you'll need a pickit3 or similar, and it would probably be cheaper to just buy a new hub instead.

I have connected the uart and there is noting on uart with normal boot or recovery boot (like expected).
I have connected a pickit 3 preserve memory program option enabled and range (1d000000-1d07ffff)

This is the log of MPLAB IPE :

Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.09
Firmware type..............PIC32MX
Programmer to target power is enabled - VDD = 3,250000 volts.
Target device PIC32MX695F512H found.
Device ID Revision = A5
Reading...
The following memory area(s) will be read:
program memory: start address = 0x1d000000, end address = 0x1d07ffff
boot config memory
configuration memory
Read complete
Exporting hex file...
Hex File successfully created at C:/Users/JN/Desktop/PIC32MX695F512H.hex
I have sended the PIC32MX695F512H.hex by email to @plambrechtsen.
once again any help is welcome :)
I believe if you can dump your working hub it will be easier to fix mine.

Did you ever get your hub back up and running? I'm facing the same issue

I wouldn't personally flash on custom firmware using the pickit unless you know what you're doing as you need correct PFM and DCR files. I have a number of different versions and have figured out how to XOR the files and calculate the file checksum so you can flash them on using the bootloader. Were you looking to build your own completely custom firmware using the Microchip IDE?
Check out the firmware 201 branch where I byte patched the 2.201 firmware with my own CA and can change the host name to another 19 characters for the dns name.
https://github.com/PetHubLocal/pethublocal/tree/firmware201/pethublocal/firmware

Can that firmware be flashed to any hub? Or rather, is the firmware specific to a hub? (assuming hub is v1)


Remove references to fabric from failover docs

Trello
Fabric previously ran sets of commands across multiple machines.
It has now been archived and is no longer in use due to difficulty in
upgrading python versions.
This begins a process of removing references to fab from our docs. Until
we find a new tool that allows us to run commands across multiple
machines, they will need to be a bit more verbose where a command must
be run on every machine.

Seems someone recently made a change to this file too 🤔
My bad for letting it go stale. Will compare and see if there's still a change for me to make here.


Master

Docs Build status updates of commit 48f0c33:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/DocsLegal-pr.en-IE, working directory: W:\mpsl-s, target branch: HEAD, target branch commit: 6e34090c8b4a14206d4202859b47cdad1b8ab254, source commit: 48f0c334f17c05a0f92eedde0633d8e10ffab9fe.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Merge CompatHelper

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

:exclamation: No coverage uploaded for pull request base (jc/psf@1249337). Click here to learn what that means.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##             jc/psf      #38   +/-   ##
=========================================
  Coverage          ?   21.73%
=========================================
  Files             ?       15
  Lines             ?      391
  Branches          ?        0
=========================================
  Hits              ?       85
  Misses            ?      306
  Partials          ?        0

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


Fix vertical rhumb line when using PolylineGeometry

Fixes #8764
The issue is that when two endpoints have the same longitude and latitude but different height, the math to calculate the number of points on rhumb line will return 0.
@lilleyse can you please take a look at it? Please let me know if I need to add anything

Thanks for the pull request @baothientran!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

Thanks @baothientran!  I'll merge as soon as CI passes

@hpinkos thank you for fixing my mistakes. I should be more careful about it in the future


memcached: 1.6.15 -> 1.6.16

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/memcached/versions.
meta.description for memcached is: "A distributed memory object caching system"
meta.homepage for memcached is: "http://memcached.org/"
meta.changelog for memcached is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.6.16 with grep in /nix/store/b5qik3pym64dz0vznllvd5d80fw9sz0v-memcached-1.6.16
found 1.6.16 in filename of file in /nix/store/b5qik3pym64dz0vznllvd5d80fw9sz0v-memcached-1.6.16

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
memcached

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/b5qik3pym64dz0vznllvd5d80fw9sz0v-memcached-1.6.16 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A memcached https://github.com/r-ryantm/nixpkgs/archive/f0478cf3cfa36a4eccf18a4a938dc945bc89bd16.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b5qik3pym64dz0vznllvd5d80fw9sz0v-memcached-1.6.16
ls -la /nix/store/b5qik3pym64dz0vznllvd5d80fw9sz0v-memcached-1.6.16/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

memcached

Maintainer pings
cc @coreyoconnor for testing.

Release notes: https://github.com/memcached/memcached/wiki/ReleaseNotes1616

Result of nixpkgs-review pr 185335 run on x86_64-linux 1

1 package built:

memcached