Please add Introduction to Programming in Java (MIT) to the curriculum

Hello,
I think this would be a nice addition to the curriculum:
Programming Languages

Courses
Duration
Effort

Introduction to Programming in Java (MIT)
4 weeks
4-6 hours/week

i dont think that a special language should be mandatory

It doesn't have to be mandatory. It is a good course that helps people who specifically want to learn about Java, like myself

I'm with @jerobarraco.
This list of for mandatory subjects. It clearly states that once you're finished with all of these, you are encouraged to pursue further, more in-depth, topics on your own.

Yes, a bloated curricula es not useful to anyone.
If you see here, i'm doing a course that is not on the curricula, so as @mottosso, i'm more than ok with pursuing personal specialization.
I think a way to address this would be to have a separated list of "recommended" extra courses.

Ok, so it states "After finishing the courses above, start your specializations". Since no one has gotten this far yet, I think there is some room for flexibility. 'Introduction to Programming in Java' would be too easy for someone who has completed all the courses listed. However, it is good course that is also recommended by Google in their [Guide to Technical Development] (https://www.google.com/about/careers/students/guide-to-technical-development.html) and it is also on MIT's list of [Most Visited Courses] (http://ocw.mit.edu/courses/most-visited-courses/) (Two really helpful links, btw!) so it would be a shame for an OSS student to miss the class. My suggestion would be to have three categories 'core', 'specialised' and 'electives' to account for this flexibility.

I don't know. I think that if anything kills this project, it would be too many individuals thinking their interests supersedes the interest of the whole.
If this course is to be added, something has to be removed. The author of the current list obviously put a lot of effort in making a broad range of topics that doesn't overlap (at least I'd like to think so). So if you can narrow down which course(s) you think this can replace, then I wouldn't have a problem with it. Otherwise, this course will go from taking 3 years to 6 years to 12 years, in no time.

I think you can take you by yourself, and add to your profile as nonOSS course.

+1 @mottosso and @stabuev
i love @dswallow suggestion of having different "specializations" that are optional.
Ie, i like security, project management, psychology, games and python.
there could be different optional specialization that you could choose to do if you want to pursue that path.
In Argentina (my country) "electives" have a special meaning, which says that you MUST do it too. which leads to what @mottosso  says. And i strongly think that the duration should be as short as possible. In my local community we had this discussion and think that the market needs basic trained ppl very quick. Most of them only need 1 to 2 years of training.
In this particular case, java is not very different from other languages, in that it's the same paradigm, so it's not a core part of a system engineer knowledge (as not is python or ruby either). but can be learned very quickly once you know OOP. I'm not underestimating java, i work teaching it. But the same core ideas can be learned with a variety of courses.
IMHO maybe is better to have a good, short course that teaches this core idea, then expand to an optional specialization with a quick and short course about a language of choice.
with the least overlapping of content as possible.

Hey, guys!
We have those files to accept suggestions from our students. Now we just need to state in our readme how to do this.
I'll do this ASAP.
Thank you for all of your suggestions in this thread!


LogFactory - Fix ConfigurationChanged-event has flipped the values

Fixes bug introduced with #491 (NLog 4)
Also reported by  #1122. Breaking change for .NET 5 ?

This change is

this is a subtle breaking change.
The old code compiles but probably doesn't work.
https://github.com/NLog/NLog/issues/1122 has also a wontfix ;)
maybe obsolete the old event and create a new one?

Yes don't understand how #1122 was marked as wontfix, since the bug was introduced between NLog ver. 3 and 4. Anyone upgrading from NLog 3 to 4 will be affected by this bug.


Let's bring TNND #26.1-3 over to TNDD.

Let's bring TNND #26.1-3 over to TNDD.

TNND 26.1 > 87.1
TNND 26.2 > 87.2
TNND 26.3 > 87.3
No variables used.


Practical use of openfe-gromacs

Can we use openfe-gromacs practically as the title says?

Hi @TakumiHirao, the openfe-gromacs repository is currently at the "proof of concept" stage, in the sense that we only implement a single conventional MD Protocol, it hasn't been extensively tested and we do not guarantee API stability.
That being said, as far as we know, the MD Protocol does do what it is meant to - i.e. run gromacs simulations using the OpenFE framework. We would be keen to hear any feedback on its use!

Thank you for your response. I understand that the openfe-gromacs repository is still in the "proof of concept" stage and that it currently supports only a single conventional MD Protocol.
I look forward to the development of this tool and hope to be able to do FEP calculations in the future with openfe using gromacs.

Thanks! I will go ahead and close this issue for now, but please do re-open it if you have any more questions.


Fabric Consortium Management Proposal

Signed-off-by: Tong Li<EMAIL_ADDRESS>

+1 I am supportive of this labs project

LGTM. +1


Controller Methods Not Being Covered by Tests

I've been having this issue where simplecov does not cover code inside of my controller methods. My group has been working on this problem for weeks and no one has been able to figure out what is wrong. Our models are getting covered, but the methods inside of controllers are not working even though we have many tests that should cover these methods. Any suggestions are welcome.
Here is the gem in my Gemfile.
gem 'simplecov', :require => false, :group => :test
I am using Rails 4.2.6 with ruby 2.3.1
I am using the testing framework that comes with rails. To run my tests I run
bundle exec rake test.
Simplecov is required at the top of my Rakefile. My test_helper is below:
if ENV['RAILS_ENV'] == 'test'
  require 'simplecov'
  SimpleCov.start 'rails' do
    add_filter "/users/"
  end
  puts "required simplecov"
end

ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'

class ActiveSupport::TestCase
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

  # Add more helper methods to be used by all tests here...

end

Thanks for helping.

Are you sure simplecov is started before any application code is required/loaded?

Closing due to no further feedback


MIDI channel selection at startup is missing

Regression: MIDI channel selection at startup does not work anymore. Holding a note at startup should select the corresponding MIDI channel.
The issue is not present in a build from 10-8. I'll try to hunt down exactly which commit broke the behaviour

Alright, the function stopped working in commit https://github.com/datomusic/duo-imxrt/commit/75fc10ed806b795bf60413117fbef53f1ee1face . The fix is at 260899fe191b0753fef498a190308d944a4270f8


Baywatch BD/UHD -> "please file issue"

Hi @domyd ,
when I try to demux the TrueHD stream from the extended version of "Baywatch" (2017), the summary states "please file issue". This happens for the Blu-ray and UHD alike.

Since this is the movie I first recognized the problem and got the issue started with LAVFilters, I would have expected it to have to remove some part of the audio at almost each segment change, but it only did so once.
Please let me know if you need further information to investigate this.

Can you re-run it with -vv and post the output?
Tip: if you run it in powershell, you can do
mlp ... -vv > output.txt

to write the log to a file instead of to the console.

Here're the logfiles:
Baywatch_BD_Extended_output.txt
Baywatch_UHD_Extended_output.txt

Thanks!
That's a very interesting disc. I've looked at the segment boundaries and 13/15 don't match at all. 1 of them is a perfect match, and that was removed. And the last one is actually a match, but the audio is offset by about 4 samples:

Looks like I'm going to have to get this disc to figure out what's going on there.

I imported it from Italy (https://www.amazon.it/Baywatch-Blu-Ray-4K-UltraHD/dp/B072FP6TBN/), but I guess the UHD disc is the same in Germany / Austria, since there's a german audio track on it. The Blu-ray in that package does not have german audio, so there might be some differences if you get a Version from Germany or Austria.
Just in case, I also made logfiles from the cinematic version. When I checked all the branching points in a muxed MKV, I did not encounter any problems with the cinematic version. So this might be interesting as well.
Baywatch_UHD_Cinematic_output.txt
Baywatch_BD_Cinematic_output.txt

I have the same issue with Apocalypse Now (UHD), it has 26 segments.

Here is the full log file:
Apocalypse.Now.Theatrical.UHD.txt

Thanks! I'll be taking a look at that disc as well.

Thanks! I'll be taking a look at that disc as well.

It's the 2 in 1 disc, I completed the muxing process and there were noticeable breaks in the audio

@domyd I've just tried Cars UHD which has 95 segments and has noticable breaks in the THD during playback from a file made with Make MKV.  All is good! Here is the log if you would like to have a look:
Cars UHD.txt

Sorry, are you saying you have issues with the Cars THD generated with mlp, or are you confirming that it works as advertised?

All is good!  It worked perfectly with no errors!

I just tried Midway UHD and it's way out.
Midway.UHD.txt

Please file issue --> "Knives out" U.S. UHD:
00945.mpls, 2:10:13
[506+502+505+504+503].m2ts

Chapters, 16 chapters
h265/HEVC, 2160p24 /1.001 (16:9)
h265/HEVC, 1080p24 /1.001 (16:9) - Dolby Vision Enhancement Layer
TrueHD, English, multi-channel, 48kHz
AC3, English, stereo, 48kHz
AC3, French, multi-channel, 48kHz
AC3, Spanish, multi-channel, 48kHz
AC3, English, stereo, 48kHz
AC3, English, stereo, 48kHz

knives.txt

Both Midway and Knives Out are Lionsgate discs with obfuscated playlists and Screenpass

I get the same output for my Knives Out disc. That's really odd, it looks like it the A/V sync should be a good half second off around the middle of the movie. Thanks for reporting it, I'll see what's going on there.
@dastardo What does that obfuscation look like? Can you give me some more info on that?

Obfuscation as in the file in broken into segments and they also add a fake playlist to try and add further confusion.

Another one for you @domyd Are you still looking into this issue? It's Resident Evil Apocalypse
REA.txt

Thanks for the report. I haven't gotten around to figuring these out yet, hoping to do that soon™ ...

I've investigated the Knives Out issue, and it seems that mlp indeed produces bad output for that disk (and presumably for all "please file issue" disks). The TrueHD streams are actually about 1000 samples shorter than the video segments, according to ffmpeg. But, MakeMKV somehow magically finds the missing audio (and it is legit, it's not just copied to fill the length or something) and gets a correct demux. So for now, until I get to the bottom of this, I'd suggest using MakeMKV for disks where it says "please file issue" at the end.

Good to know you're still looking into it @domyd.  I have been using DGDemux as I find it is much better than MakeMKV.  I quite often get dropouts and sync issues with MakeMKV whereas I don't get as many issues with DGDemux, Cars demuxed with MakeMKV is terrible with constant breaks and dropouts.
Interestingly even DGDemux cannot achieve a correct demux for Apocalypse Now or Resident Evil Apocalypse.  DGDemux is successful with Knives Out and Midway though.  If you need any samples from DGDemux just let me know.

Can you explain the issue with DGDemux and Apocalypse Now or Resident Evil Apocalypse? I can have a look at that and try to fix it.

@videoh There are breaks in the TrueHD and it goes out of sync, IIRC it only happens on the extended version of Resident Evil Apocalypse, it's a 2 in 1 disc but the theatrical version seems to be OK.  I believe both the theatrical and redux versions of Apocalypse Now have the issue, it is also a 2 in 1 disc.

Thank you. How far out of sync does it get by the end? I will get Apocalypse Now and see if I can duplicate the issue.

I would guess it goes a good couple of seconds out of sync so you will definitely notice it.  You need the UHD 2 in 1 disc which has the theatrical and redux versions.  There is also another UHD disc which is the final cut only, there are no issues with that disc.

I cannot find a UHD 2-in-1 with theatrical and redux on amazon or elsewhere. I can only find the Final Cut.

I bought the 6-disk UHD set. Apparently, it has the versions we need.

Nice work @videoh!  I guess you work on developing DGDemux?

He he, I am DG.

Thank you for all your hard work! It's a great piece of software!
Could you please reply on this thread if you manage to fix it?

Of course I will. domy's github has been open in my browser for months. :)
And thank you for your kind words.

So I got the 6-disk UHD set. Disk 2 is the "1979 Original" UHD. I ripped it with MakeMKV, extracted the video and THD streams with DGDemux, and muxed them to an MKV with mkvtoolnix. The resulting file played with reasonable sync throughout (not perfect but reasonable). It certainly is not a couple seconds out at any point. The playlist has 25 gaps, so at 0.8ms per frame that is only 20ms that could be attributed to DGDemux gap correction. So apparently I still don't have the disk that you are experiencing problems with. If you can't link me to a place to purchase it, I don't see how I can help with it.

Is there any way I can message you @videoh?

My email addie is on this page:
http://rationalqm.us/

Still not seeing any issues with your disk. Please explain your process that leads you to a couple seconds out of sync.

In email, we established that this is not a DGDemux issue, but rather a player issue.

It appears to be a Plex issue on the Shield which only happens with 2 in 1 discs.  I have found a work around by using the Plex add on for Kodi then setting the playercorefactory.xml file to use VLC player.  When using VLC for playback there are no breaks or sync issues.

TrueHD streams are actually about 1000 samples shorter than the video segments, according to ffmpeg. But, MakeMKV somehow magically finds the missing audio

Maybe it DOES actually look in timestamps too? That is like the main reason ts exists: good timestamps. Though to get nanoseconds in matroksa is not that hard<EMAIL_ADDRESS>

What I do not understand is why all MakeMKV and stuff even decoded that part of trueHD if it past the end of the video stream duration.
@domyd
Are there any problems with Atmos 4th substream of TrueHD with you methods?

truehd is definitely the source of the droupout issues but there is also an issue with the mkv container.
decrypted uhd iso => makemkv/mkvtoolnix => movie.mkv played on oppo: dropouts
decrypted uhd iso => tsmuxer => movie.m2ts played on oppo: ok
decrypted uhd iso => mlp: "please file issue"
movie.m2ts => mlp: "perfect"
movie.m2ts => mkvtoolnix => movie.mkv played on oppo: dropouts
remuxing a working m2ts into mkv should work. i think it is related to this issue:
https://gitlab.com/mbunkus/mkvtoolnix/-/issues/3027
m2ts has some disadvantages but is the only solution right now. btw: tsmuxer cannot fix broken streams. you need to create the m2ts directly from the decrypted disc/iso.


Grouped bookmarks

I don't really care for last opened files or current files in the directory, what I would like to do is to have different bookmarks grouped by titles. i.e:
  Work:
[0] something a
[1] something b

  Personal:
[2] something c
[3] something d

I haven't figured out a way to do it. Is that possible?

Currently that's not possible. I'll see if I can come up with a nice way to implement it!

If you give me some guidance maybe I could provide a PR.

Oh, sorry, somehow I missed your response. Let's see..

startify calls insane_in_the_membrane() lots of init stuff happens
the actual "list view" happens in this loop: https://github.com/mhinz/vim-startify/blob/master/autoload/startify.vim#L104-L111

above the code you see the default definition of s:lists (in case you don't have g:startify_lists set)

the loop is a bit of a hack, but that's VimL for you :-)

if the current element is a string (type(elem) == 1), then it's either dir/files/sessions or bookmarks -> s:show_dir/s:show_files etc. gets called
if it's not a string, it must be a list of strings (by convention) and eventually gets called by s:print_section_header() at the head of the s:show_* functions

So, currently, we can have only one bookmark list (because s:show_bookmarks simply loops over g:startify_bookmarks.
Now the question is how to add an arbitrary number of bookmark lists, without breaking backwards compatability.

Thanks a lot! I'll take a look.

If you come around to have an idea about this one, please just reopen this issue. Thanks!

@pablasso how is the PR going?


[move-prover] dump bytecode and result in output dir

Previous dumping location is at the first Move source location, which
may pollute the source directories. Furthermore, if we pass a directory
as the first source location, the process will panic.
This commit changes the default output location for --dump-bytecode
to the parent directory of the output.bpl file, and format ihe
bytecode dumps with bytecode_{step_number}_{step_name}.bytecode.
Motivation
UX
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan

CI
cargo run -p move-prover -- <dir-name>/<file-name>.move --dump-bytecode. Note that the bytecode dumps are generated at the current work directory instead of under <dir-name>.

I see. I was not aware that this is associated with a workflow you have been using...
In this case I guess this is not particularly better, I just find it more logical to have the byte code dumps living in the same place as the boogie output.
The only thing that is strictly better is that if we pass a directory as the first Move source argument, the old approach will panic while the new one will not. But this is not a main argument point.

I see. I was not aware that this is associated with a workflow you have been using...
In this case I guess this is not particularly better, I just find it more logical to have the byte code dumps living in the same place as the boogie output.
The only thing that is strictly better is that if we pass a directory as the first Move source argument, the old approach will panic while the new one will not. But this is not a main argument point.

Ah I see. The boogie output goes into the current directory, the bytecode not. I always call mvp in the directory where the move sources are, so I see no big difference. I'm all for aligning this. I think actually the <first_source> as bytecode does it might be better; often times I need to rename output.bpl when I have to compare from multiple sources.

Shall we make the output format as {first_source}_{step_number}_{step_name}.bytecode? This will make it easier for comparing the bytecode output for two modules.

Shall we make the output format as {first_source}_{step_number}_{step_name}.bytecode? This will make it easier for comparing the bytecode output for two modules.

Sounds great.

/land


Added UserInput for Nickname and Confirmation Modal with basic styling

Created a new page UserInfo for the form, redirects to /next-page after it is filled out.

LGTM


No more PyTorch support

PyTorch is no longer supported, the provided notebook will not execute successfully (https://github.com/slundberg/shap/blob/7391a95c4205dea651bf2ed839bf7734d2b83c8d/notebooks/deep_explainer/PyTorch Deep Explainer MNIST example.ipynb), due to this type checking:
https://github.com/slundberg/shap/blob/7391a95c4205dea651bf2ed839bf7734d2b83c8d/shap/explainers/gradient.py#L130
Btw, great library and tool!

Thanks. The line you highlight is from the TF gradient explainer object, not the PyTorch one. The following lines should detect the framework: https://github.com/slundberg/shap/blob/7391a95c4205dea651bf2ed839bf7734d2b83c8d/shap/explainers/gradient.py#L55-L67
Perhaps they are not getting it right in your case/version of pytorch?

Ok, thanks. I just cloned the repository and tried to execute the notebook and got an exception:
---------------------------------------------------------------------------
AssertionError                            Traceback (most recent call last)
<ipython-input-3-cfc22a02245d> in <module>()
      6 test_images = images[100:103]
      7
----> 8 e = shap.DeepExplainer(model, background)
      9 shap_values = e.shap_values(test_images)

/usr/local/lib/python3.6/dist-packages/shap/explainers/deep.py in __init__(self, model, data, session, learning_phase_flags)
    102             self.model_output = model[1]
    103         else:
--> 104             assert False, str(type(model)) + " is not currently a supported model type!"
    105         assert type(self.model_output) != list, "The model output to be explained must be a single tensor!"
    106         assert len(self.model_output.shape) < 3, "The model output must be a vector or a single value!"

AssertionError: <class '__main__.Net'> is not currently a supported model type!

Also, quick question, would it be possible to calculate shapley values for categorical values that first go through embedding layers?

Sorry for the slow reply. There is no deep.py file anymore in the latest version, so I wonder if the cloning worked or if you still have an old version somewhere? You can do shap.__version__

Same issue for me -- I installed soap 0.25.0.
Although shap.__version__ returns AttributeError: module 'shap' has no attribute '__version__'
Using PyTorch 1.0:
e = shap.DeepExplainer(model, background) returns AssertionError: <class '__main__.Net'> is not currently a supported model type!

@austinmw what line does that error come from? Keras or tuple is what we check for in the TF explainer so I wonder if the routing is not working at:
https://github.com/slundberg/shap/blob/1330bd979e0fb2e943c44e99231e579c9b4f0999/shap/explainers/deep/__init__.py#L63-L80

@GillesVandewiele Would you please change the issue's title? Because it's completely misleading.


Update ivy settings to latest version compatible with pentaho repository rules.

Using current ivysettings unable to resolve dependencies. Outputs like:
[ivy:resolve] :: problems summary ::
[ivy:resolve] :::: WARNINGS
[ivy:resolve]           module not found: pentaho-reporting-engine#pentaho-reporting-engine-classic-core;<IP_ADDRESS>-398
...
[ivy:resolve]   ==== pentaho-ivy: tried
[ivy:resolve]     http://repo.pentaho.org/artifactory/repo/pentaho-reporting-engine/pentaho-reporting-engine-classic-core/<IP_ADDRESS>-398/pentaho-reporting-engine-classic-core-<IP_ADDRESS>-398.ivy.xml
[ivy:resolve]   ==== pentaho-mvn: tried
[ivy:resolve]     http://repo.pentaho.org/artifactory/repo/pentaho-reporting-engine/pentaho-reporting-engine-classic-core/<IP_ADDRESS>-398/pentaho-reporting-engine-classic-core-<IP_ADDRESS>-398.pom
[ivy:resolve]     -- artifact pentaho-reporting-engine#pentaho-reporting-engine-classic-core;<IP_ADDRESS>-398!pentaho-reporting-engine-classic-core.jar:
[ivy:resolve]     http://repo.pentaho.org/artifactory/repo/pentaho-reporting-engine/pentaho-reporting-engine-classic-core/<IP_ADDRESS>-398/pentaho-reporting-engine-classic-core-<IP_ADDRESS>-398.jar
[ivy:resolve]   ==== public-maven: tried
[ivy:resolve]     http://repo.pentaho.org/artifactory/repo/pentaho-reporting-engine/pentaho-reporting-engine-classic-core/<IP_ADDRESS>-398/pentaho-reporting-engine-classic-core-<IP_ADDRESS>-398.pom
[ivy:resolve]     -- artifact pentaho-reporting-engine#pentaho-reporting-engine-classic-core;<IP_ADDRESS>-398!pentaho-reporting-engine-classic-core.jar:
Please update ivysettings according to correct pentaho repo resolve path.

see https://github.com/tmorgner/pentaho-reporting-oem-sdk/pull/4/


On non-retina screens, round Draggable values to prevent bad subpixel rendering

This PR fixes the issue brought up by #6069 (and potentially #6232 #3297 as well) where dragging the map pane on a non-retina screen causes the map to become blurry. This is because the resulting CSS transform is using fractional values.
You can try a demo here: https://plnkr.co/edit/wmVxVPD6S7trPlaRDBF3?p=preview

As far as I remember (very vaguely), we used to do rounding but dropped it because it introduced noticeable zigzag-like pattern when panning. I wonder if it's only noticeable on Retina? We should explore the implications. Another option would be to round when the drag ends, but not during panning.

@mbullington just in case you need it only for web-kit based browsers. Firefox and even IE do a good job.

Any movement on this PR, the text blurring on sub pixel translate3d is quite noticeable in chrome. I can confirm for me there is no issue on retina.

Any progress on this? It looks like the pull requests are satisfactory.

the text blurring on sub pixel translate3d is quite noticeable in chrome

MacOS?


SPARK-7726: Add import so Scaladoc doesn't fail.

This is another import needed so Scala 2.11 doc generation doesn't fail.
See SPARK-7726 for more detail. I tested this locally and the 2.11
install goes from failing to succeeding with this patch.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Test build #40406 has started for   PR 8095 at commit 5eba40b.

+1

Test build #40406 has finished for   PR 8095 at commit 5eba40b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins, test this please.

Merged build triggered.

Merged build started.

Test build #40461 has started for   PR 8095 at commit 5eba40b.

Test build #40461 has finished for   PR 8095 at commit 5eba40b.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Jenkins, retest this please.

Merged build triggered.

Merged build started.

Merged build finished. Test FAILed.

I'm going to merge this.


VINDICATION

This PR adds a ❤🔥 charm, named "vindicated". The intent is to demonstrate that, with only a small change to ord, we can support BRC-20 indexers that wish to update to a new version of ord at a later date, by letting them skip inscriptions with the vindicated charm until then.
This needs tests before being merged. We should also consider whether or not we want to make this charm visible to end users. Users may prefer not to have an additional charm on their inscriptions.

Why not call it blessed and then use 😇 or 💸 or ✨or 🕍 for the emoji?

Why not call it blessed and then use 😇 or 💸 or ✨or 🕍 for the emoji?

I dunno, vindication is pretty lindy.

💸

💸 looks cooool lol

Yup, that's correct, minimal op codes weren't accepted by the first version of ord (which lead to much confusion), and were cursed when supported.


File not generated as 'Published metadata in the future'

 Issue by hawkerm
Tuesday Mar 10, 2020 at 06:03 GMT
Originally opened as https://github.com/Wyamio/Wyam/issues/10

Keep getting this message in my output:
Skipping file:///C:/.../doc/news/2020-03-10-Season-9-Kickoff.md due to having Published metadata of 3/10/2020 12:00:00 AM in the future (current date and time is 3/9/2020 11:00:25 PM)

It's very not clear that this means it's grabbing the date metadata data from the filename.  I still want it to generate the file, I'll choose to upload it when I choose, I'm prepping in advance and I want to see the preview of the site.
Is there a setting to turn this 'feature' off?

 Comment by dario-l
Wednesday Jun 10, 2020 at 08:58 GMT

This message tells you that post has Published date in the future. So it will be invisible until that date and is not generated.
But... @daveaglick
I'm also looking for preview mode when I'm planning my posts for future publishing. Is there any switch/param for that?

 Comment by daveaglick
Wednesday Jun 10, 2020 at 17:50 GMT

Sorry, I can see why this is annoying. Unfortunately there's no toggle in Wyam to turn this behavior off. In the past I've always added the publish date after drafting a post to avoid this, though I can see where it's helpful to be able setting it earlier.
I'd certainly be willing to take and release a PR that changes this behavior in Wyam. I've also created an issue to address the same problem in Statiq and will get that into the next Statiq Web release: https://github.com/statiqdev/Statiq.Web/issues/910


feat(plonky2x): keccak256

Below is an edit; the first attempt was slightly too optimistic. 🙈
The circuit was implemented by combining Jump's keccak256 circuit with Kevin's work, removing shared hash components, and integrating the circuit "front-end" with the Succinct X "back-end." A few questions remain:

Most notably, it seems we want to constrain the front-end to accept only an array of bytes (as indicated in circuit.go). If this is the agreed-upon standard for passing inputs into hashing circuits, this PR requires some tweaks to be compliant.

Currently, the circuit has the following characteristics:

Operation
num_gates
quotient_degree_factor

keccak256(4)
25382
8

keccak256
6315
8

    Given that the optimization guidelines are qualitative, it's unclear whether they meet the threshold.

I welcome any other feedback, as this is my first time working with plonky2. Its versatility is a double-edged sword, making the learning curve quite steep.

Updated this PR to work with &[ByteVariable].
longer hashes is still WIP, in case someone else wants to check it.


Addressing Issue #72: Enforce referenced objects in relationship objects

Added a command-line feature (--enforce_refs) which users to get a warning message when not all SDOs referenced by SROs are contained in the same bundle.

Thanks, @JohannKT; looks good. Could you add a test or two, maybe here: https://github.com/oasis-open/cti-stix-validator/blob/master/stix2validator/test/relationship_tests.py?

Added unit test for testing enforce_refs feature functionality.

Codecov Report

Merging #78 into master will increase coverage by <.01%.
The diff coverage is 92.59%.

@@            Coverage Diff             @@
##           master      #78      +/-   ##
==========================================
+ Coverage   94.82%   94.82%   +<.01%
==========================================
  Files          31       31
  Lines        2858     2882      +24
==========================================
+ Hits         2710     2733      +23
- Misses        148      149       +1

Impacted Files
Coverage Δ

stix2validator/util.py
92.59% <100%> (+0.21%)
:arrow_up:

stix2validator/test/relationship_tests.py
100% <100%> (ø)
:arrow_up:

stix2validator/musts.py
94.32% <66.66%> (ø)
:arrow_up:

stix2validator/shoulds.py
94.63% <93.33%> (-0.04%)
:arrow_down:

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 bfc4c5b...c46f1ef. Read the comment docs.

Thank you @JohannKT!


Upgrade to 2.0.7882~ynh1

Problem

Close #89

Solution

Upgrade to 2.0.7882~ynh1

PR Status

[ ] Code finished and ready to be reviewed/tested
[ ] The fix/enhancement were manually tested (if applicable)

Automatic tests
Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

!testme


Smart fridge

About the PR
Added basic functionality for smart fridge
Checks for tags: Pill Produce Bottle to store any of those types
on use with any bag will check the top layer for anything that might fit into that criteria and add it to the smart fridge
Screenshots

Changelog

:cl:

add: Add functionality to the Smart Fridges

I guess I really don't understand what i'm doing with this, it's gonna take a bit longer to fix so will keep the same pr but open again later


Form Submissions are not working

Describe the bug
I asked bolt to set up a simple form to collect the contact details of users who wish to register their interest in my site but the form submissions simply do not work. I have been asked to go to netlify and make umpteen changes and additions; then I was asked to sign up with Supabase and do the same. Now I am jumping between Bolt, Netlify and Supabase for a simple contact collection form and being given so much cording jargon that I ought to have been a programmer in the first place! So what's the use of this "no code" app?
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-bgiilr
Steps to reproduce
instructed bold,
bolt says ithas made all the corrections and changes and optimizations and asks me to try filling the form
I fil lthe form and hit submit
Error submitting form
Start all over again
Expected behavior
It should have accepted the form submission and sent me an email with the contact details as well as storing the contact details in Supabase submissions form. But nothing of the sort has happened.
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 164947507,
  "usedJSHeapSize": 156877247,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = TheOvercomer
Chat ID = 8e38bf1ad0f0

Additional context
No response

At times, there are problems that are too complex for the AI to solve, and manual intervention is required. This video here includes additional details on integrating Supabase. Additionally, this page here has additional insights on continuing the development of your project. Hope this helps!


FindAllProjectsOnWorkspaceAsync should be aligned to clockify api

GET /workspaces/{workspaceId}/projects  has a richer API, with lots of filters.

It will be nice to add these filters to FindAllProjectsOnWorkspaceAsync method.

Maybe this should be a separate issue, but I've noticed ProjectRequest and 'ProjectDtoImpl' are missing the Notes field

Partially fixed in #13

Nevermind.


Fix Python 3.6 f-string compatibility and condense documentation for FNO classes

There are several instances of f"{x=}" in the repo, which causes issues when trying to import the library in to Python 3.6. Drop the = in these f-string to fix this problem.
Additionally, the repeated docstrings between base class FNO and subclasses FNOnd make maintaining documentation more work than it needs to be. The parameters are used identically in the base- and sub-class, and in some cases the subclass documentation is already out of date. Delete the repeated parameter comments in favor of referring users back up to the full documentation of FNO (tested in a local make of sphinx-gallery).
Lastly, run black on touched files.
Reviewer(s): @zongyi-li @JeanKossaifi

I don't think we need to abandon new features like f-strings that make the code easier to read just to support Python 3.6: it was released in 2016 and has reached end of life.

Other changes are great!

I don't think we need to abandon new features like f-strings that make the code easier to read just to support Python 3.6: it was released in 2016 and has reached end of life.

Done. I've dropped that commit.

Great, thanks @m4e7, merging!


Improvement support return total statistics of all databases for command show proc '/jobs

currently, show proc jobs commamd can only used on a specific database, if a user want to see overall data of the whole cluster, he has to look into every database and sum them up, it's troublesome.
now he can achieve it simply by giving a -1 as dbId.
mysql> show proc '/jobs/-1';
+---------------+---------+---------+----------+-----------+-------+
| JobType | Pending | Running | Finished | Cancelled | Total |
+---------------+---------+---------+----------+-----------+-------+
| load | 0 | 0 | 0 | 2 | 2 |
| delete | 0 | 0 | 0 | 0 | 0 |
| rollup | 0 | 0 | 1 | 0 | 1 |
| schema_change | 0 | 0 | 2 | 0 | 2 |
| export | 0 | 0 | 0 | 3 | 3 |
+---------------+---------+---------+----------+-----------+-------+
mysql> show proc '/jobs/-1/rollup';
+----------+------------------+---------------------+---------------------+------------------+-----------------+----------+---------------+----------+------+----------+---------+
| JobId | TableName | CreateTime | FinishTime | BaseIndexName | RollupIndexName | RollupId | TransactionId | State | Msg | Progress | Timeout |
+----------+------------------+---------------------+---------------------+------------------+-----------------+----------+---------------+----------+------+----------+---------+
| 17826065 | order_detail | 2023-02-23 04:21:01 | 2023-02-23 04:21:22 | order_detail | rp1 | 17826066 | 6009 | FINISHED | | NULL | 2592000 |
+----------+------------------+---------------------+---------------------+------------------+-----------------+----------+---------------+----------+------+----------+---------+
1 row in set (0.01 sec)

run buildall

run p0

run p0

run buildall

run compile

run p0

run p0

run p0

run buildall

run buildall


Enhancement: Using sensu-flow with GitLab (gitlab-ci)

Here is an example of using sensu-flow with GitLab as a gitlab-ci step:
stages:
  - deploy

.sensu_flow:
  image: registry.example.com/sensu/sensu-flow:v6.6.6-2
  variables:
    MATCHING_CONDITION: "== '$CI_PROJECT_NAME'"
    SENSU_BACKEND_URL: https://sensu-api.example.com
    SENSU_USER: sensu
    SENSU_PASSWORD: 'DontCopyM3!'
  script:
    - /sensuflow.sh

sensu_flow:
  extends: .sensu_flow
  stage: deploy
  variables:
    VERBOSE: "1"

Yes, making such an image available would help.

Okay once I have an official docker image building.. hopefully next release of this...
I can add the documentation for gitlab example and point to the the official image

Okay we now have a sensu-flow docker image live. So I'll add these instructions to the README

hey @mhuysamen  can you look over the instructions in PR #39  and comment there?


Prisma2 ordering property doesn't work on models

Steps
On adding the ordering property to the model, the compiler throws an error
import { objectType } from '@prisma/nexus'

export const User = objectType({
  name: 'User',
  definition(t) {
    t.model.id()
    t.model.name()
    t.model.email()
    t.model.posts({
      ordering: true,
    })
  },
})

The following error is received in the terminal
Using ts-node version 8.3.0, typescript version 3.5.3
Error: Could not find ordering argument for User.posts

Even the internal ordering fields are also not working
import { objectType } from '@prisma/nexus'

export const User = objectType({
  name: 'User',
  definition(t) {
    t.model.id()
    t.model.name()
    t.model.email()
    t.model.posts({
      ordering: { title: true },
    })
  },
})

Library versions
prisma2: 2.0.0-preview-7
@prisma/nexus: 0.0.1
nexus: 0.12.0-beta.6

I'm having the same issue.
Steps
I started my project using prisma2 init and choosing SQLite, TypeScript, and the GraphQL boilerplate. I simply edited src/resolvers/User.ts by changing one line of code:
...
  t.model.posts({ pagination: false });
  <CHANGED TO>
  t.model.posts({ pagination: false, filtering: true, ordering: true });
...

When I start the server I get the error Error: Could not find filtering argument for User.posts. Both filtering and ordering throw an error even if used independently.
Library versions
prisma2: 2.0.0-preview-8
@prisma/nexus: 0.0.1
nexus: 0.12.0-beta.6


smart calculator using python

This PR fixes Issue #69

Added code
The Smart Calculator is built using Python and it's much different than a simple calculator as whether you use any mathematical symbol in the input or not, it tells the answer.

Install Python extension in vscode to run this file
pls merge it under Hacktoberfest

Reason for closing mentioned on issue..


wslgit doesn't work when current working directory is a network drive

WSLgit doesn't work when current working directory is a network drive.
When developing server solutions, I often want to have my files and git repository on a network location that is shared by both the client (my editor) and server. My first approach to this is a shared SMB/CIFS network drive.
This issue is somewhat related to https://github.com/andy-5/wslgit/issues/12
Setup
Windows 10 Pro, ver 1809, build 17763.1
WSL is Ubuntu 16.04.5 LTS
Git for Windows installed
WSLGit v0.6.0 installed
An SMB/CIFS server on your local network
Repo

At CMD prompt: net use n: \\myserver\myshare
Create a test directory on your N: drive, e.g. N:\test1
Inside that N:\test1 directory create a new git repo with git init
In WSL: edit /etc/fstab and add an entry to mount that N: drive. For example:N:  /mnt/n  drvfs  rw,noatime,uid=1000,gid=1000,fmask=0027,dmask=0027,_netdev,nofail  0 0

mkdir /mnt/n
Mount the new n drive with something like sudo mount -a
Verify your N: share is now visible at /mnt/n
cd /mnt/n/test1
Verify the git repo is valid with git status
At CMD prompt: change your current drive and working directory to N:\test1
Run wslgit.exe status

Result
Error, e.g.:
fatal: Not a git repository (or any of the parent directories): .git
Expected
Valid git status result, e.g.:
On branch master
Initial commit...

Cause of failure
The current WSL infrastructure and WSLgit do not robustly lookup/manage the mapping of
drive letters to WSL mount points. This has been explored in other issues. Currently,
WSL does successfully map the simple automap of fixed local drives to mountpoints
located in /mnt/driveletter. It explicitly does not map network drives.
When WSLgit calls wsl xxxxxx, the WSL infrastructure can not map the current working
directory of N:\test1 to a WSL mountpoint since that is a network drive. Therefore, the WSL
infrastructure makes the WSL current working directory the WSL user's home directory.
Naturally, this will not work as git is now trying to get a status in a completely different directory.
Proposed Fix
I propose that WSLgit always changes directory before running git. WSLgit already
assumes that if there is a DOS drive letter, that it is mounted at /mnt/driveletter.
We can use this assumption to cd. Note: drive letters that are not mounted to /mnt/driveletter are already not supported as discussed in other issues.
I considered only doing this cd on network drives. However, deriving what is a local
fixed drive that can be mapped vs. a network drive vs. automounted drive is too complex when all we need is a very fast and simple cd.
I did check and the behavior of wslpath. Unfortunately, it seems to use a shared logic as the automatic WSL current working directory mapping. It is unable to derive the WSL mountpoint for a network drive.
I have a small code fix that I have used for several days. It is working well on both local drives and network drives. I will send a PR with it for discussion.
Comment
During my testing, I did encounter a error Transport endpoint is not connected when git was used on directories with names like tößhalloëÖfz. This was not a problem with WSL or WSLgit. Instead, the SMB/CIFS server was not correctly mapping characters between SMB protocol's UTF-16 and the (Linux) server's native UTF-8. This was because the default locales install on my Linux server didn't include the full UTF-8 locale and instead had only the limited POSIX and C.UTF8. The fix was a server-only fix to install a full UTF-8 locale like en_US.UTF-8 and ensure my server processes know to use that locale. Here is how I did that on an Ubuntu 18.04 server.
locale-gen en_US.UTF-8
update-locale LANG=en_US.UTF-8
export LANG=en_US.UTF-8

Thanks for this detailed overview and for your patch.
Your PR looks fine and I will merge it shortly. The only thing that could maybe be improved is to print an error if the current path is not a valid unicode string. But that is a minor issue, as such paths are not supported anyway (translate_path_to_unix prints an error in that case) and I'm not sure if such paths can even exist on Windows.


add jest and enzyme

Hi man,
i have setup jest and enzyme, but the problem here. when i run command roadhog test it gives me error
react' is not recognized as an internal or external command,
operable program or batch file.

is there anyway to configure this dashboard with jest and enzyme.
thank you

just tips, I'm not familiar with that. just take the way of ant design pro, little difference, for ant-design-pro uses roadhog v2, but this project use v1.
the master branch is little outdated, you could try develop branch, it uses umi. here's the test case

@superlbr
thank you,
as you said, it os outdated, i will try  roadhog v2


Add the top action from context-menu as first left-click on the top-left of game

Description

When you hover over the game map or anywhere an action can take place, you will see the first action available in the top-left and the # of available options. You will also be able to quickly left-click to perform that action.
Related Issue

Motivation and Context

This is a point-and-click game.
How Has This Been Tested?

Q&A (manual testing)
Screenshots (if appropriate):

Types of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)

This only works for the main-game canvas. Please wait while I finish this for the other screens.

OK, so this is committing a violating of duplicate methods. I know, I know. I will come back tomorrow to fix this. But I just wanted to share this quick feature which I think would really excel gameplay!

Finalized in this commit. You can now see the first actionable context item on where ever applicable.


ModuleNotFoundError: No module named 'bl_math'

Blender v2.80 - I can't figure out how to get this resolved.

My hack was to comment out 'import bl_math' and define my own lerp, which I found on the net.
Change all bl_math.lerp to just lerp.
Then I had to change the part where the script attempts to access .emission_color, as that's not a parameter of the principled node (at least in blender 2.8).
I simply substituted 0,0,0 as values since a random sampling of .im files showed that's what it seems to be usually (always?) set to.
Again, this is in Blender 2.8, perhaps these things aren't an issue in a later version.

FYI: I have versions of Blender installed from 3.31 going back to V2.93 and they all can import bl_math without complaints.  Is there a reason you are not using a more recent version of Blender?   I can check with the specific version 2.80 quickly, as I have the kits handy.  YUP,  it is a specific issue with 2.80.  There is really no reason I know of that should have you stay with that version... you should at least move to one of the LTS releases of Blender.

I would humbly suggest revising the read me about version compatibility.
Why 2.8? No reason really, I have it and I know it. My experience of being totally lost updating TO 2.8 probably fuels my lack of interest in any other updates up until now.
This is the first thing I've hit that has given me a good reason to update. So I guess I will.
Thank you for checking tho!

For reference... from 2.8 onward, the changes are so minimal that you won't get lost.  2.79 -->2.8 in reality was like jumping from version 2 to version 16!

Which was bad for me, as I was barely getting a grip on 2.79 having come from GMax, but the world moves on.
Installed 2.93 and your .im exporter worked right out of the box, and you're right - I'm not noticing a difference in Blender.
So, all good, back to making crappy trainz assets! :)

Thanks for the issue report, sorry that I didn't see it until now.
Assuming the exporter all works fine in 2.93, I've incremented the addon's minimum supported version to there to prevent further confusion.
Unfortunately Blender likes to change their python API quite frequently, so it's always a bit tricky figuring out which features were added when. (Especially when I'm always working in the latest version, as I'm one of the unfortunate people who have Blender installed through Steam).
For small exporter projects like this, the APIs I use are mostly stable and have been around for a while, so thankfully the issue doesn't pop up too often, and I usually don't bother checking. Seems like bl_math was the exception haha

Yes, working as advertised now. Thanks.
And thanks for making this.


Very simple IP Camera support

This is a very cut down version of the IP camera in my previous pull request.  It has very basic functionality for the viewing of a live camera stream.  Also included is a bug fix for the dialogOpen property being passed to child components of the more-info-dialog

I have left snapshot and recording out of this release but I'll add them in another pull request soon.

Thanks for slimming it down a lot James. And sorry for changing the frontend on you so you've had to upgrade all your code!
I think it looks really solid and a good foundation moving forward. I had some comments, all minor.
Maybe a cool thing to do, but not a requirement at all: add a demo platform that uses the generic camera platform with one of the hard coded public cameras that you linked before. That way it would be easy to demo. (and add camera to this list)

@jamespcole, I know that you're busy so please let me know if there is anything we can do to help you get this PR in.

@balloob Sorry for the delay, tons of work on lately.  I'm working on getting this finished tonight but when I build the frontend I get
ERROR in ./src/modules/rest-api/stores/rest-api-cache-store.js Module not found: Error: Cannot resolve module 'lodash/lang/isarray' in /home/user0/Projects/home-assistant/homeassistant/components/frontend/www_static/polymer/home-assistant-js/src/modules/rest-api/stores  @ ./src/modules/rest-api/stores/rest-api-cache-store.js 18:25-55
I'll have a ggole around but I thought you might have come across this already

I found the issue that is stopping the frontend building, check out this pull request:
https://github.com/balloob/home-assistant-js/pull/4

Awesome @jamespcole , thanks for fixing it up.


[5.5]Create CompilesSession for Session directive

Session Directive

Hmm, no plans to add for now. Thanks.


Add stack widget

This is another trickier one in my eyes.
Things that really need to be thought through here:

How to "implement" StackPage

I added a list of topics that make this PR quite challenging. For now the only problem I see in particular for a "propper" wrapping of GtkStack is StackPage, or rather how to deal with it..
StackPage isn't really a widget. It doesn't have a constructor and basically is a GObject like Toast.
You could ignore it to be honest and just use an adder with 6 pragmas. But that's an adder with 6 pragmas and doesn't express nicely. This also runs into the problem that I can't figure out how to trigger an update of a StackPage property if the value of an adder-parameter changes!.
Imo this should be handled with the Syntax for a widget so that you can easily and readabily set all the necessary properties of
the StackPage on it and be done with it. Particularly since these come with a mechanism to automatically update properties.
Example:
        Stack():
          hhomogenous = app.hhomogenous
          interpolateSize = app.interpolateSize
          transitionDuration = app.transitionDuration
          transitionType = app.transitionType
          vhomogenous = app.vhomogenous
          visibleChildName = app.visibleChildName
          sensitive = app.sensitive
          tooltip = app.tooltip
          sizeRequest = app.sizeRequest

          for labelChild in app.labelChildren:
             {.name: labelChild.name, title: labelChild.title.}

            StackPage():
              iconName =
              name = labelChild.name
              title = labelChild.title
              Label(text = labelChild.text)

Now this has 2 problems:

StackPage has no constructor. Okay, we can solve this with g_object_new

There is no way to add a GtkStackPage instance to a Stack!

is the real problem. I couldn't find any way to do this.
What you do have access to is procs that add GtkWidgets to a GtkStack and return you the GtkStackPage instance that gets created in the process.

That means for this kind of Syntax we'd need to set GtkStackPage instances on our StackPage widgets as part of a (build, update) hook on GtkStack. And we'd also need to re-instantiate GtkStackPages as needed and update the corresponding StackPage widgets with the new values accordingly. Which makes my brain hurt.
All of this could be solved if I could programmatically add a GtkStackPage to a GtkStack, but I really don't see it.
I guess another option would be to use Builder to instantiate the Stack initially and pull out the GtkWidget instances that get created? That seems like an incredibly ugly solution though.

I managed to figure out most of it!

Then it can be treated as normal. The updateChildren proc will need to be somewhat special but I got that down pat.
The next bit is now one that is problematic.
StackSwitcher and Sidebar require references to the GtkStack Widget. However I can't access the GtkWidget from within a view method as far as I can see. I also can't just "insert" the owlkettle Stack widget as that creates a new instance.


Show more statistics about silver and gold. Fixes #813.

This adds more statistical charts about silver and gold.
Signed-off-by: David A. Wheeler<EMAIL_ADDRESS>

Codecov Report

Merging #888 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #888   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          45     45
  Lines        1451   1451
=====================================
  Hits         1451   1451

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 56ff359...ca4a619. Read the comment docs.

Drat, I committed translations to this branch instead of the intended branch.  I'll recreate this branch to clean it up.


use fetch instead of request-promise

fetch is the official api to do requests
we just need to make sure that it is polyfilled by the user

What's the benefits?

fetch is the official api to do requests

it will be shipped with node version as well in newer versions

I wouldn't hurry with that. Polyfill looks robust, but still not so much as request library

This is now possible in v3. You can use any http client you want. There is a fetch example provided.


Remove runtime cost of Lazy() calls with alternative pattern

There's a few places, namely in colorspace and spectra conversions, where Lazy is used to read and initialize large data tables. But, each call to access that data during runtime incurs a check on if that data is initialized.
I had tried to use const functions to initialize the constants, but we want to initialize with some more complex dependent functions that aren't const themselves.
https://dev.to/rustyoctopus/generating-static-arrays-during-compile-time-in-rust-10d8
This article has some good discussion on this topic.
I think we might want to generate these constants via a build.rs script.

I don't think this is actually something we want to do. I don't think it impacts performance, it's not in any hot loops I've seen. If it ever becomes an issue we can do it.


Display canvas word counts

Problem
Canvas word counts are not displayed.
Idea
Sum the word counts of the text-block nodes in canvas, excluding embedded notes and embedded canvases. These text blocks can then be parsed like regular notes. This would give an accurate count of the words exclusive to the canvas and would avoid counting embedded notes' word counts multiple times.

Canvas files are stored in JSON format as follows:
{
	"nodes":[
		{"id":"beba9a4110250da2","x":46,"y":-118,"width":400,"height":400,"type":"file","file":"Languages/Japanese (325w).md"},
		{"id":"1376822f2272ea36","x":-280,"y":-240,"width":250,"height":60,"type":"text","text":"Custom text has five words"}
	],
	"edges":[]
}

It should be possible to parse them and get a word count from the text nodes, but I'll have to do some research.

Fixed in v3.7.0.

Thanks so much for implementing this, it's really nice to have!


405 Method Not Allowed

Hi Julien
The router currently returns 404 Not Found even if the path (and thus the resource) exists but the request method does not match. In such a situation, to be a good HTTP citizen, it should return 405 Method Not Allowed and indicate the available methods for the desired resource in the "Allow" header.
I've looked into your router implementation. The way the routes are currently organized, doing this wouldn't be that easy (and fast) because you have a separate tree for each request method. I think you should have one tree instead and store the defined methods along with their handlers in the node structure.
To customize the server response, in addition to the NotFound handler to be found in the Router structure, there should also be a MethodNotAllowed handler. It should be passed a list of allowed methods.
Regards,
Claudio

The current implementation returns 405 for all requests if there’s a more general (e.g. wildcard) route for another method, e.g.:
r.Handle("GET", "/v1/search", search)
r.Handle("OPTIONS", "/*path", handler)

GET requests for /v1/search will always return a 405 with this change.

#51 was now reverted (#52).


[defect] failed to RunSimpleContainer to inspect database version/type: failed to StartContainer: API error (500): failed to create endpoint elegant_benz on

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
Rubber ducking this here, it is incomplete right now.
https://gist.github.com/ElijahLynn/14a1470d3a344b16489b6b9678e28956
Expected Behavior
ddev start
works
Actual Behavior
Failed to describe project(s): could not find a project in /home/elijah/Projects/va.gov/tryddevproject-15360.  Please specify a project name or change directories: no .ddev/config.yaml file was found in this directory or any parent
Steps To Reproduce
No response
Anything else?
No response

Thanks for doing the ddev debug test!
Your docker isn't working:

docker: Error response from daemon: failed to create endpoint vigorous_bouman on network bridge: failed to add the host (veth9766b1b) <=> sandbox (veth33c66e2) pair interfaces: operation not supported.
Failed removing custom certs/traefik configuration: failed to StartContainer: API error (500): failed to create endpoint eloquent_keldysh on network bridge: failed to add the host (veth7998d21) <=> sandbox (veth18272a0) pair interfaces: operation not supported

It looks like you're on Arch Linux with a nonfunctional docker setup. Please see if you can get to where docker ps works to begin with.

It looks like you're on Arch Linux with a nonfunctional docker setup. Please see if you can get to where docker ps works to begin with.

Thanks, it has been a bit since I ran ddev or docker for that matter.
❯ docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

❯ docker run --name test -it alpine
Unable to find image 'alpine:latest' locally
latest: Pulling from library/alpine
8921db27df28: Pull complete
Digest: sha256:f271e74b17ced29b915d351685fd4644785c6d1559dd1f2d4189a5e851ef753a
Status: Downloaded newer image for alpine:latest
docker: Error response from daemon: failed to create endpoint test on network bridge: failed to add the host (veth5cf5015) <=> sandbox (vethb206679) pair inter
faces: operation not supported.
ERRO[0003] error waiting for container: context canceled

I'll fuddle with this and post my update here when I get it working, we can close this for now.

Glad you got it! Arch is like that :)


Etcher will not go full screen

1.1.2
Mac OSX 64 bit
Raspbian
No

It will not resize to full screen when you click the + button.

The maximise button in Windows is greyed out, so I guess the interface isn't designed for it.
Any particular reason you want it full screen?

No, there is not a specific reason. I just was wondering why it did not go full screen. It'd be nice if it did, though.

No, there is not a specific reason. I just was wondering why it did not go full screen. It'd be nice if it did, though.

Correct. The Etcher GUI is currently non-resizable, and therefore can't be maximised. On Linux the maximise button isn't shown either, so perhaps the maximise button getting shown on OSX is a bug in Electron? Or maybe OSX simply doesn't allow the maximise button to be disabled / removed? *shrug*


fourier_3d.py got 100+s per epoch performance on V100 16GB

Hello o/,
I am reproducing your great work!
But failed to find the dataset specified in fourier_3d.py file as below:
TRAIN_PATH = 'data/ns_data_V100_N1000_T50_1.mat'
TEST_PATH = 'data/ns_data_V100_N1000_T50_2.mat'
And below is your dataset path:
https://drive.google.com/drive/folders/1UnbQh2WWc6knEHbLn-ZaXrKUZhp7pjt-
Let me know if I miss anything, thanks.
Hui.

HI Hui, that is the NavierStokes_V1e-3 dataset

Thanks zongyi, works now ^.^
Besides, I only got ~100+s per epoch when running the original fourier_3d.py with this NavierStokes_V1e-3 dataset, which is much slower than the result published in the paper, just to make sure I am testing on the same environment with the results.

My environment
pytorch 1.8
GPU V100 16GB
model parameters 6558537
I got ~100+s per epoch
6558537
0<PHONE_NUMBER>4631832 0.4812950387597084 0.2651342685222626 0.14124310076236724
1<PHONE_NUMBER>9231927 0.05057397902011871 0.09526419252157212 0.0730795532464981
Please take a look, thanks,

Just to make sure, how many training data do you use? Is N=1000?

Just to make sure, how many training data do you use? Is N=1000?

Yes, below are some detail log.
orch.Size([1000, 64, 64, 20])
torch.Size([200, 64, 64, 20])
preprocessing finished, time used:<PHONE_NUMBER>2846177
6558537
0<PHONE_NUMBER>4631832 0.4812950387597084 0.2651342685222626 0.14124310076236724
1<PHONE_NUMBER>9231927 0.05057397902011871 0.09526419252157212 0.0730795532464981
2 99.50138424150646 0.020410049008205533 0.06157019898295402 0.057365389615297316
3 99.96080369874835 0.012965587191283703 0.048911894410848616 0.046125136613845825

It looks right to me. And what is your batchsize?

It looks right to me. And what is your batchsize?

My batchsize=10, just the original code.  The GPU seems only got lower than 10% workload...
And I am using docker on top of the V100 GPU .

I see. It seems to be the problem of low GPU utility. Usually, the utility should be >80%.

Yeah..., just to make sure, so you could got 38+s per epoch performance with batchsize=10, T=10 on the V1e-5 case?

Right. There could be a small difference since we use the V100 32G GPU. The CPU may also play a role. But I think the main issue is GPU utility.

OK，thanks.

Hello

Your research content is very exciting, I am very interested in this
But I have the same problem as the guy up there
TRAIN_PATH = 'data/ns_data_V100_N1000_T50_1.mat'   =>   TRAIN_PATH = 'ns_V1e-3_N5000_T50'
TEST_PATH = 'data/ns_data_V100_N1000_T50_2.mat'   =>   TEST_PATH = 'ns_V1e-3_N5000_T50'
I'm a little confused as to whether this is the right approach

Look forward to your reply, Thanks
Jue

Hello Jue,
I see your concern. As you can see in lines 173-179, we split the first ntrain instances for training and the last ntest instances for validation. As long as your ntrain + ntest < 5000, there is no data leaking. We just upload the two files in one for convenience.
Thanks,
Zongyi

Thank you for your reply
But I ran into another problem
It's about the last few lines of code
pytorch 1.10.0  Python 3.8  Cuda 11.3
GPU ：NVIDIA GeForce RTX 3090
5 0.001 100 0.5
torch.Size([1000, 64, 64, 40])
torch.Size([200, 64, 64, 40])
preprocessing finished, time used:<PHONE_NUMBER>999875
6558537
0 79.40636565501336 0.5612330912053585 0.3960447118282318 0.23858197689056396
1 69.98415995799587 0.1112031826749444 0.18409363317489624 0.1496196621656418
2 59.95884940199903 0.05124280059710145 0.1293589198589325 0.11953615307807923
3 43.2302961559908 0.035066749528050424 0.10697912549972534 0.10015949040651322
4 37.569226980005624 0.026436539087444543 0.0923092058300972 0.0890036779642105
Traceback (most recent call last):
File "fourier_3d.py", line 303, in
out = y_normalizer.decode(out)
File "/root/utilities3.py", line 99, in decode
x = (x * std) + mean
RuntimeError: The size of tensor a (40) must match the size of tensor b (64) at non-singleton dimension 3

Sorry, it seems to be a shape mismatch. Could you change line 302
out = model(x)
to
out = model(x).view(1, S, S, T)
Also see issue #61.

Thank you very much for your reply(By the way    Code running successfully)

something troubling(sorry to bother you)
for ns equations(v=1e-3 T=50 N=1000)
only 20s per epoch when running the fourier_3d.py
and the error is about 0.015 not 0.0086 in the paper

I will try to look into the detail later this week. In the meanwhile, could you try with the original Pytorch 1.6 version? The Complex number could be unstable on some environments/devices.

I will try it

Emmm there are some errors when use Pytorch 1.6 version（about rfft）

Tesla V100S-PCIE-32GB    pytorch 1.8
ns equations(v=1e-3 T=50 N=1000)
500 0.001 100 0.5
torch.Size([1000, 64, 64, 40])
torch.Size([200, 64, 64, 40])
preprocessing finished, time used:<PHONE_NUMBER>6858735
6558537
0 52.56507859937847 0.5527997396886348 0.3936676309108734 0.23268420457839967
1 58.87501714378595 0.11021861616522073 0.18254482984542847 0.14616583466529845
and can't reduce the error to 0.0086

Hi Tianlin, sorry I am a bit busy at this moment. Could you try with the original Torch 1.6 implementation? It should recover the exact results. I will try to look into the new implementation later.

Closing as inactive. Feel free to reopen.


Can't run locate_on_Screen in systemd

I have a python3 script which runs well. when i run the script in the terminal. However, when i try and run the script using Systemd the
locateOnScreen functions throws the below error:
-[Errno 2] No such file or directory: '.screenshot2022-0326_10-32-33-022800.png'
I am using a raspberry pi 4 (Debian 10 (buster)
If i run the code in the terminal , I can see the temporary files through my VSCode and can open them. They are appearing in my home directory: /Home/user/   However, i do not see the samething when Systemd tries to run the script

Hi @gkchim,  did you try adjusting it to use the full file path?
Try something like this.  Hope it helps!
Example

import pyautogui
import os
from os.path import exists

# Create a valid test
filename = 'test.png'
im1 = pyautogui.screenshot()
im1.save(filename)

# Current Directory from where it is called
current_path = os.path.realpath('.')
path_to_file = os.path.join(current_path, filename)
print(path_to_file) # /Users/JayRizzo/.screenshot2022-0326_10-32-33-022800.png
if exists(path_to_file):
    pyautogui.locateOnScreen(path_to_file, confidence=0.8, grayscale = True)
    print('Success Image Found At: {}'.format(path_to_file))
else:
    print('Image Not Found At: {}'.format(path_to_file))

Result:
Box(left=0, top=0, width=1920, height=1080)

# Current Directory ABOVE from where it is called
current_path = os.path.realpath('..')
# '/Users'  or the folder above
path_to_file = os.path.join(current_path, filename)
print(path_to_file)  # /Users/.screenshot2022-0326_10-32-33-022800.png
if exists(path_to_file):
    pyautogui.locateOnScreen(path_to_file, confidence=0.8, grayscale = True)
    print('Success Image Found At: {}'.format(path_to_file))
else:
    print('Image Not Found At: {}'.format(path_to_file))

Result:
Image Not Found At: /Users/test.png

I found some inconsistencies with this, I tried putting the image in the home Directory with ~/ and i managed to get it there with no issue.


Java: It's valid to use accented (non-ASCII) chars in identifiers

(Original issue 984 created by None on 2014-05-04T22:31:04.051024+00:00)
Accented unicode characters are marked as invalid, however they are completely valid.
http://pygments.org/demo/363943/
Or in my github code: https://github.com/niqueco/antenas/blob/master/src/ar/com/lichtmaier/antenas/FlechaView.java
It looks ugly and it shouldn't!

(Original issue 984 last updated on 2014-05-19T23:01:00.020991+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by tshatch on 2014-05-04T22:47:47.814425+00:00)
Do you have a link to the Java grammar, or a summary of allowed chars?

(Original comment by niqueco on 2014-05-05T08:16:59.173403+00:00)
Yes, Sun/Oracle always published a very detailed  "language specification".
Here's the part about identifiers: http://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.8
That refers to a Java function that says this:
A character may be part of a Java identifier if any of the following are true:
it is a letter
it is a currency symbol (such as '$')
it is a connecting punctuation character (such as '_')
it is a digit
it is a numeric letter (such as a Roman numeral character)
it is a combining mark
it is a non-spacing mark
isIdentifierIgnorable returns true for the character

I'm sure that to be a letter means to be a letter according to unicode, meaning being in one of this categories:
UPPERCASE_LETTER
LOWERCASE_LETTER
TITLECASE_LETTER
MODIFIER_LETTER
OTHER_LETTER

I don't know Python, maybe it has a function to check if something is a letter according to Unicode, as Java does.

(Original comment by jaingaurav2 on 2014-05-13T04:11:22.818703+00:00)
Pull request #352 should resolve issues with unicode letters in identifiers.

(Original comment by tshatch on 2014-05-19T23:01:00.029659+00:00)
PR merged


Failed displaying Dashdot graphs, using subdomains

Environment
Docker
Version
No response
Describe the problem
In my setup I have the services behind reverse proxy:
https://homarr.domain/ - Homarr
https://dash.domain/ - Dashdot
When incorporating Dashdot iframes, ERR_BLOCKED_BY_RESPONSE is displayed instead of the graphs.

On the browser console logs the error:
Refused to display 'https://dash.domain/' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

I could bypass this by adding, on reverse proxy, to https://dash.domain/ the header:
content-security-policy: frame-ancestors 'self' https://homarr.domain;
This is included in the Dashdot reponse and allows for it to be displayed in Homarr.
Logs
No response
Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Can you tell me your os and web browser ?
Also are you using any ad blocking extension or DNS based ad blockers ? (Ad guard, Pihole, …)
Please try in edge and see if you get the same result.

My OS is Windows 11 and the browser is OperaGX, but I also tried with Firefox and on my Android Google Chrome.
Same results.
Extension no, but I have AdGuard on my setup, however don't think it would be that because with the header it works.
Tried on Edge same thing, only works if I have the header.
I talked with @manuel-rw in Discord, he was the one that asked me to open this issue and tag him (I couldn't assign him).
What he said was:

As long as the Domain both are the same protocol, there should be no problem.

Seems like the origin is the problem. I don't have the time nor tools to investigate or look into this issue though.

Related issue : https://github.com/ajnart/homarr/issues/1503


Install 'ca-certificates' packages with passenger

It's a dependency according to https://www.phusionpassenger.com/library/install/nginx/install/oss/jessie/#step-1:-install-passenger-packages
I didn't see it being added in the apt cookbook or elsewhere. According to apt-cache rdepends ca-certificates it's not a dependency of apt-transport-https which was removed in 3.0.0 because it's included the apt cookbook.

@aried3r Thanks for the fix. The failures right now are due to us testing against chefdk unstable builds, which are having some issues right now.


Adjust finite-difference step for R_matrix to estimated beam size

Manual adjustments are now needed for machines starting from IPs with extremely small beta* (8 mm for FCC-ee)

Done in xtrack v0.40.0


Remove Ubuntu 15.10 Wily Werewolf

Describe the proposed changes
As of July 28, 2016, Ubuntu 15.10 is officially EOL
(https://lists.ubuntu.com/archives/ubuntu-announce/2016-July/000210.html),
and will receive no further updates.
Support for 15.10 was removed in Docker 1.13 through
https://github.com/docker/docker/pull/27042
(https://github.com/docker/docker/pull/27042/commits/e9a81057086cf9834cce4c49c6f8ef035938fc64)
Unreleased project version
This is for Docker 1.13
Related issue or PR in another project
https://github.com/docker/docker.github.io/pull/35, https://github.com/docker/docker/pull/27042
Please take a look
@londoncalling @mlaventure

LGTM


[Suggestion] Rocket warp drive

Currently there are no logistics method for automatic item transportation between plants, since rockets and railguns only works for moons.
IIRC there has been some discussions about a warpdrive for unmanned rockets a long time ago, I think such mechanism can be really helpful for intersteallar logistics.
Since I wasn't able to find the issue describing such info, this issue is opened to serve as a reminder.

Or is it already implemented?...Can't find any documentations through


Translate directives not working in Ionic, state subviews

I am using Angular with Ionic and states configured via the $stateProvider.
        $translateProvider.translations('de', {
            welcome: {
                header: 'Meine epische Überschrift',
            }
        });
        $translateProvider.preferredLanguage('de');

        $stateProvider
            .state('tab', {
                url: '/tab',
                abstract: true,
                templateUrl: 'components/tabMenu/tabMenu.html'
                controller: 'tabCtrl'
            })
            .state('welcome', {
                url: '/welcome',
                templateUrl: 'welcome/welcome.html',
                controller: 'welcomeCtrl'
            });

With starter being my angular app, the translated
 tag seems to work.
index.html

    <ion-nav-view></ion-nav-view>

But any usage of the directive in my subviews like tab.welcome does not work at all.
welcome/welcome.html

{{ 'welcome.header' | translate }}

Is there something I have to configure differently for allowing those filters/directives for my subviews?

Anyways, I reordered some things and now it appears to work. Thanks for this package!


Fix step where oneauth test app is pulled from OneAuth pipeline

A PAT recently expired in one of the existing oneauth connections. The connection was created by tanmay, but i don't have the permissions to update it. I've created a new connection, in which i've granted admin roles to multiple people in project and organization level, this makes it easier to edit in the future.
New connection: https://identitydivision.visualstudio.com/Engineering/_settings/adminservices?resourceId=cb1685ed-b09b-4a08-8ee0-44793edc38c3
Validation run: https://identitydivision.visualstudio.com/Engineering/_build/results?buildId=1225673&view=results

the previous one had admin access to everyone under AndroidAuth, did it not allow you to update.

the previous one had admin access to everyone under AndroidAuth, did it not allow you to update.

I was not able to update this one, no. I think it's because permission is split between project and org, I guess i wasn't in org access


Roll Flutter Engine from 371db85f33d7 to 0716db414f92 (7 revisions)

https://github.com/flutter/engine/compare/371db85f33d7...0716db414f92
2024-07-10<EMAIL_ADDRESS>Reverts "dart:ui - drop deprecated hash functions (#53787)" (flutter/engine#53794)
2024-07-10<EMAIL_ADDRESS>Reverts "web_ui: drop internal hash code library (#53783)" (flutter/engine#53793)
2024-07-10<EMAIL_ADDRESS>Manual roll Dart SDK from ffc8bb004a64 to dba0dfbd06eb (23 revisions) (flutter/engine#53791)
2024-07-10<EMAIL_ADDRESS>Impeller really wants premultiplied alpha (flutter/engine#53770)
2024-07-09<EMAIL_ADDRESS>dart:ui - drop deprecated hash functions (flutter/engine#53787)
2024-07-09<EMAIL_ADDRESS>[Impeller] Validation errors in tests cause GTest failures. (flutter/engine#53786)
2024-07-09<EMAIL_ADDRESS>[Impeller] Update docs that specify how to select the Impeller backend. (flutter/engine#53788)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC bdero@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


serde dependency of uv-resolver is not optional

Summary
https://github.com/astral-sh/uv/pull/3314 makes uv-resolver unconditionally depend on serde, so the dependency should not be optional. This was breaking https://github.com/astral-sh/uv/pull/3281.

Realized this is the wrong way to go about this, the new types should only implement Serialize/Deserialize if serde is enabled.


Display when pages were last updated in the docs

Description
Adds the sphinx-last-updated-by-git extension to display last-updated dates at the end of a source page
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[x] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[x] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all
[x] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

From the referenced issue, I am assuming this isn't working at the moment?

Yes. I also scoped out other projects for the same functionality, but they are not maintained actively. This extension looks like the best option


centOS7 brew upgrade kept crashing/causing core-dump

Hello,
When I am running brew update , brew kept crashing/with core.dumps on centOS7, it seems the cause is from running the wrapped 'git' command - what might be the cause of this, way to fix my brew install?
Thanks!
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50672 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
error: rev-list died of signal 4
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50687 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
fatal: the remote end hung up unexpectedly
Error: Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/knqyf263/homebrew-pet failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-extra failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/linuxbrew/homebrew-xorg failed!
Fetching /linux/home/myuser/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-cask failed!
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 50825 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51045 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51156 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51468 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51507 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51561 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"
/linux/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/cmd/update.sh: line 18: 51589 Illegal instruction     (core dumped) "$GIT_EXECUTABLE" "$@"

even run brew doctor would give illegal instructions :
Leaving kegs unlinked can lead to build-trouble and cause brews that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
  ruby
<EMAIL_ADDRESS>sh: line 1:  5668 Illegal instruction     (core dumped) git status --untracked-files=all --porcelain 2> /dev/null
sh: line 1:  5729 Illegal instruction     (core dumped) git status --untracked-files=all --porcelain 2> /dev/null

Here is the brew diagnosis output :
brew config
HOMEBREW_VERSION: >=2.5.0 (shallow or no git repository)
ORIGIN: https://github.com/Homebrew/brew
HEAD: 9dd5d42477f66ed0a61557f626799461a8ae7003
Last commit: 3 hours ago
Core tap ORIGIN: https://github.com/Homebrew/linuxbrew-core
Core tap HEAD: 51e13dc407e0c998a942b4ccfe6b04bbe72ce048
Core tap last commit: 2 weeks ago
Core tap branch: master
HOMEBREW_PREFIX: /cluster/home/myuser/.linuxbrew
HOMEBREW_REPOSITORY: /cluster/home/myuser/.linuxbrew/Homebrew
HOMEBREW_CELLAR: /cluster/home/myuser/.linuxbrew/Cellar
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: linux:10.0
HOMEBREW_EDITOR: nvim
HOMEBREW_MAKE_JOBS: 72
Homebrew Ruby: 2.6.3 => /cluster/home/myuser/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: 16-core 64-bit broadwell
Clang: N/A
Git: 2.28.0 => /cluster/home/myuser/.linuxbrew/bin/git
Curl: 7.29.0 => /usr/bin/curl
Java: 1.7.0_201
Kernel: Linux 3.10.0-957.5.1.el7.x86_64 x86_64 GNU/Linux
OS: CentOS Linux release 7.6.1810 (Core)  (Core)
Host glibc: 2.17
/usr/bin/gcc: 4.8.5
/usr/bin/ruby: N/A
glibc: 2.23
gcc: 5.5.0_7
xorg: 20170115_1

/cluster/home/myuser/.linuxbrew/bin/git seems to be broken.
Please always fill out the issue template.

Thanks, but the git is working well when using the direct path, ..., so I doubt that the git is broken ...


Add a new preset with a cube geometry with one material per side

So that materials / textures can be applied to individual faces

or rather a three.js cube map


Check/configure "code-static-scan" for kogito-apps pipeline

Scope of this ticket is to verify current behavior of "code-static-scan" in kogito-apps pipeline and eventually extend or fix, if needed

The step is configured in the toolchain.
The only problem identified is tracked as https://issues.redhat.com/browse/KOGITO-9017


Add Debian packaging

I don't know if it is of any interest to you, but just in case here is what's required for a basic Debian packaging.
My name and email (in debian/changelog, debian/control and debian/copyright) can be reassigned to you if you prefer.

Great. Can you indicate what needs to maintained over time to keep the Debian packaging up-to-date? Will I be able to bug you? :)

@palemieux Oh, it's mostly adding a new entry in debian/changelog when there is a release (on debian you can use dch -i to automate part of it).
There are specific constraints for version numbers in Debian, for example '1.0.8a2-1' is considered superior to '1.0.8-1'.
That's why I pushed an update to make it '1.0.8~a2-1' which is inferior, as intended.
Otherwise, there should be next to no maintenance on other files. But feel free to ping me if needed :)

@Malizor Stupid question: the UpstreamGuide states that:

Some projects include a rough /debian directory among source files to ease bleeding-edge package compilation and installation on Debian (and derived) systems. While this is a good effort, it is better to leave it out of the final tarball as it can interfere with debian's own packaging effort.

Is there a reason ttconv would diverge from this recommendation?
Just curious since I have used Debian packaging for decades, but had never looked under the covers until today.

@palemieux The proper solution, if you want ttconv to be included in official Debian repositories is indeed to exclude the debian folder from release tarballs.
Currently I think you let Github generate source archives automatically after tagging. So it includes everything (including dotfiles which are of no use in an actual release tarball by the way).
I think this answer sums-it up well:

you're expected to attach one or more assets to the release - which means preparing the packages yourself (or using a build/release script) and attaching them either via the GitHub API or manually from the release creation webpage.

Eg. you could publish the result of python3 setup.py sdist, after adding a MANIFEST.in file to ensure doc and scripts folders are included but the debian folder is left out.
If you feel extra geeky, you can also GPG sign the resulting tarball.
So, to sum-up, the merged debian folder would indeed be used for snapshots or "unofficial" Debian packaging. But for ttconv to be accepted in official Debian, it would be better to provide "curated" release archives anyway, which should not contain the debian folder.

@Malizor how does including the debian folder make it easier for snapshots? This not a leading question, just curious. Understood that the same folder should not be included in releases.

@palemieux : With the commited debian folder, snapshots can be generated just by running debuild -b from the repository root.
Well, you could even publish the resulting .deb (which appears in the parent folder) as a release asset :)


CMPr, MRCP Macro Change Properties

I'm submitting a ...
[ ] bug report
[x] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project

Summary
Please implement command for Macro Run Change Properties for looping setting

These are implemented in 2.0.0-nightly-20200807-162305-33a3da4.0


Extracting of frida-server from XZ archive is not supported on Darwin/arm64

Describe the bug
Extracting of frida-server from XZ archive is not supported on Darwin/arm64.
[INFO] [FRIDA HELPER] Downloading https://github.com/frida/frida/releases/download/16.0.2/frida-server-16.0.2-android-arm64.xz ...
[INFO] [FRIDA HELPER] https://github.com/frida/frida/releases/download/16.0.2/frida-server-16.0.2-android-arm64.xz  downloaded.
[INFO] [FRIDA HELPER] Server download. Path: /Users/<redacted>/.dxc/tmp/frida_server
[INFO] [FRIDA HELPER] Extracting server from archive ...
dyld: lazy symbol binding failed: Symbol not found: _lzma_get_progress
  Referenced from: /Users/<redacted>/tmp/dexcalibur/node_modules/lzma-native/prebuilds/darwin-arm64/node.napi.node
  Expected in: flat namespace

dyld: Symbol not found: _lzma_get_progress
  Referenced from: /Users/<redacted>/tmp/dexcalibur/node_modules/lzma-native/prebuilds/darwin-arm64/node.napi.node
  Expected in: flat namespace

[1]    22015 abort      node ./dexcalibur.js

To reproduce  / to understand
Enroll a new device on darwin/arm64 computer
Expected behavior
Frida-server should be extracted and push to device FS
Desktop (please complete the following information):

OS: Darwin
Arch :  arm64 (Apple Silicon M1)
Node JS version: 16.11.1
Dexcalibur version (see 'package.json' or output) : 0.7.10

Work around done by 3b9c23f5f09198cfd9a84fb936ad9a9781038540


Visualization requirements

Consider there are $n$ points $P={p_1,\ldots,p_n}$ on the plane. For any $3$ distinct points $a,b,c$, $(a,b,c)\in C(P)$ if and only if $c$ is to the left of ray from $a$ to $b$. $C(P)$ is the combinatorial structure of the points.
For each point, there is a region we can move it without changing the combinatorial structure.
We want to visualize the regions.
That is, for each point, show the region where it can be moved without changing the combinatorial structure.
The user can decide which point's region to visualize.

Like in this image, the colored region is where B can move without changing the combinatorial structure.


Refactor ScanPage maintain a single ContinuousScanModel instance

Before this change, ScanPage creates a new instance of ContinuousScanModel on every build() and passes to descendant components via parameters. After this change, ScanPage maintains a single ContinuousScanModel that descendants obtain from the context.
This change also removes ScanPage.getHero().

Ping @jasmeet0817

@slava-sh @M123-dev @jasmeet0817 good to merge ?


Allow specifying alt path to config file

For the simplest way to get this working, add the expected --config or -c option, and arrange for it to modify the value of Funtoo::Report's $config_update variable if specified, by changing it to a package variable (our vs my). Update documentation to match.
This is not an ideal implementation, but it's the simplest route to getting what we need. Ideally what we should do is create instances of the Funtoo::Report module with some very basic OOP, so that two modules can exist in parallel with different configuration files. Such a change requires consultation with the other developers.
For the moment, however, I just wanted something that would make automated tests more straightforward to implement, and this should accomplish that.
This implements the feature wanted for GitHub issue #82.

why are
funtoo-report -u -c /etc/funtoo-report-2.conf
...
Creating or replacing /etc/funtoo-report.conf

and
funtoo-report -c /etc/funtoo-report-2.conf -u
...
Creating or replacing /etc/funtoo-report-2.conf

treated differently?
Only the second works as expected. Bug?

Yeah, that'll be the order of options mattering (which it shouldn't). Just have to change the order of execution a bit. I'll review that this evening unless @ShadowM00n beats me to it.

 if you're not too invested, I'll take care of the config-related things
 the alt-config and the logic/combination thing
 go for it, i was going to do it this evening if you didn't get to it first, as i suspected you might be interested
 all i was going to do was delay the executing of the actual action until all the options had been parsed
 there may be a Smarter way
 once it works it's a big win for testability, which i'm looking forward to

I made a commit that should handle order of operations/weight and also threw in the ability to view the (implicitly or explicitly) selected config.


Pull latest master

Can one of the admins verify this patch?

@xiangyan99 next time it would be good to rebase your changes on top of master so it is clear what your changes are. Looking at the commits and merge here it contains a number of commits that were already in master so it makes the diff and the history kind of noisy.


#239: ignore archived repos when count total_repositories in DoT

Closes #239

@Suban05 please review

@yegor256 please check

@Yegorov thanks!

@Suban05 Hey there! 👋 Thanks for your review! You've earned +4 points, which is the minimum reward we give. Here's the breakdown: +4 base points, -24 for self-review, -10 for having less than 6 comments, and +0.25 for the single comment you made. We aim to encourage more detailed reviews, so try to leave at least 6 comments next time to avoid deductions. Your running balance is +108. Keep up the good work and remember, more comments can earn you up to 8 extra points! 💪

@Yegorov Thanks for your contribution! Your reward of +6 points breaks down as follows: +4 base points, +6.15 for 123 hits-of-code (capped at +6), -4 for having only 2 comments (below the 6-comment threshold). Remember, more detailed code reviews can boost your points! Keep the quality contributions coming. Your current balance stands at +158.


feat(syntax): any terms in meta arguments

This PR makes the following code typecheck. Before we had to add parenthesis. That's a super simple change and that's causing no regression in the parser! :)
let this_is_now_accepted
    (#[let _ = 1 in FStar.Tactics.exact ()]arg: unit)
    = ()

let before_you_had_to_write
    (#[(let _ = 1 in FStar.Tactics.exact ())]arg: unit)
    = ()

Nice, thanks Lucas!


Fixed typo en spanish in admin. incorrect word elmininar -> eliminar

Correcting an incorrect word in the admin.

Thanks for the report, but translations are handled using Transifex.