text:
GTM Plan

Items to consider:

A LinkedIn post announcing SaaStacjk and seeking feedback on the need for it.

A LinkedIn post with this caption: "We have chosen to use [Domain Driven Design](0040-modeling.md) as the tool for capturing and encoding our "conceptual models" of the world to align with the mental models our customers have, of the problems we are trying to solve for them."

others to come.

Announcement 1: LinkedIn post, maybe a techcrunch post.
I've decided to put a bunch of my expertise (over more than a decade of experience in leading early-stage startup teams) into creating a new asset aimed at getting new tech startups off the ground. It is called SaaStack.
It is a template for building SaaS products when starting on day one. It is designed to save months, if not years, of time and cost, in getting your product idea into the market ASAP. But that is not all. It has been carefully designed to make that evolving product durable, supportable, and maintainable to high degrees so that your team will keep moving fast with it, over the next 1-5 years! Something that many startups fail to do soon enough at enormous expense to their business opportunity.
No longer do you have to build as fast as you can and then rewrite all over again just as the business is getting off the ground?
Especially significant for startups that can't raise enough capital early enough to hire teams of engineers to re-write all their core software for the business.
Now, depending on who you have writing code for your new startup, they may or may not be interested in SaaStack. But they should be.
Likely, if you were to hire a junior or intermediate developer as your first startup CTO or tech lead, then they will likely start writing code for your startup using the tools, and practices that they know, and start from scratch little thought about future supportability and maintability for the business. Because it's all that they know how to do and some of the more advanced things in SaaStack they will think they don't any time soon. We will just chalk that up to inexperience.
If, however, you hire a more experienced developer as your CTO, who has experience starting new projects/products from scratch (and they've done that over and over again before), then they are more likely to see the value in using something like SaaStack as a better starting point.

Of course, there will always be those overconfident ones who will fool themselves that they are the only ones they can trust to start building their own baby, and will do it all themselves anyway. Nothing anyone can do about that.

So why should you consider using SaaStack?
Well, firstly SaaStack is based upon proven architectural styles and patterns for building SaaS products that have been learned, in the wild, across building many Saas products. It is as lean as it gets. Nothing, more and nothing less.
Secondly, the patterns contained within it (which you will have to repeat) will look super familiar to anyone who has done this kind of work before, and anyone who is up to speed on the latest and greatest patterns in the .Net community.
Thirdly, SaaStack is a codebase template of about 75,000 lines of code that someone will have to write at some point in time. Why bother reinventing it all? Wouldn't you rather just get on with the important stuff about your particular tech idea? Certainly, if you are up to speed with the latest and greatest on the .NET stack, you are probably going to know already (and agree with) most of the design decisions that have been made for it. We've worked super hard to capture all those design decisions in our Architectural Decision Log (ADRs) so you can see why.
Don't like a decision? Cool, then you'll see pretty quickly that it is easy to change it to be the way you like it. Why? Firstly, we have built simple abstractions around most of the concepts present in this codebase, to allow you to effectively plug and play. Secondly, because you have no dependency on someone else's stuff. You own all this code outright. This is the beauty in starting with a codebase template, rather than depending on someone else's NuGet package, that you can t change.
Not used to seeing so much documentation for a template? Yeah, we get it. That's one of the top reasons most developers find it hard to adopt new patterns and practices when it comes to starting a new product. So we've mitigated that by providing you the details you need to understand what going on.
Fourthly, SaaStack is fully tested. Overlapping testing suites in many layers. It comes with a giant regression suite already built in from day one! All you have to do is keep writing tests for the things you add to the codebase, and you will no longer fear changing the code, and you will spend significantly more time on building features, and less on fixing production defects. Maybe even less than one production defect per month!

repo: jezzsantos/saastack

license: Unlicense


text:
License

In order to make use of this, people need to know the terms. I'd obviously prefer something open source.

I added CC0 license, hope this works for you.
Love the Dactyl Manuform, by the way!

source: gharchive/issue

license_type: permissive

license_source: github-api


text:
Error in utils quat2Euler

Working with python 3.6.1
Running this script :
#Test for bivariate signal.
import numpy as np
import matplotlib.pyplot as plt
import bispy.bispy as bsp #bispy is in the folder bispy for me.
import quaternion as qtn

def main() :
    dt = 1*10**(-4) #Sampling at 10kHz.
    T = 4*10**(-2) #time lenght of the signal.

    time_axis = np.arange(start=0, stop = T, step = dt)
# Modulation function.
    f_a = 30 #modulating frequency
    f0 = 2000 #Carrier frequency
    ampli_mod = lambda t: np.cos(2*np.pi*f_a*t)+3
    freq_mod = lambda t : 2*np.pi*f0*t
#buildind bivariate signal.
    amplitude = np.apply_along_axis(ampli_mod, 0, time_axis)
    phase = np.apply_along_axis(freq_mod, 0, time_axis)

    signal = amplitude*np.exp(qtn.x*phase)

#Generatic analytic signal :
    Hembedded_sig = bsp.timefrequency.Hembedding(signal)
    analytic_sig= Hembedded_sig.Hembedding

#plot
    stft = bsp.timefrequency.QSTFT(time_axis, analytic_sig,\
            bsp.utils.windows.rectangle(257),\
            spacing = 51)
    sig_fig, sig_ax = bsp.utils.visual.plot3D(time_axis,analytic_sig)
    fig, ax = stft.plotStokes()
    fig2, ax2 = stft.plotRidges()
    plt.show()

if __name__=='__main__':
    print("Running main")
    main()

Return :
ValueError                                Traceback (most recent call last)
./src/BiVarTools/bug_trace.py in <module>()
     36 if __name__=='__main__':
     37     print("Running main")
---> 38     main()
     39

./src/BiVarTools/bug_trace.py in main()
     22
     23 #Generatic analytic signal :
---> 24     analytic_sig = bsp.timefrequency.Hembedding(signal)
     25
     26 #plot

./bispy/timefrequency.py in __init__(self, q)
     67
     68         # Compute Euler angle form
---> 69         a, theta, chi, phi = utils.quat2euler(self.Hembedding)
     70
     71         self.a = a

./bispy/utils.py in quat2euler(q)
    302
    303     print("-----Running buggy line------")
--> 304     a, theta, chi = Stokes2geo(S0, S1, S2, S3)
    305
    306     qi = quaternion.x

ValueError: too many values to unpack (expected 3)

This bug appear when we use Hembedding (which is not used in the tutorial )

Corrected by 6fb73c8cbc5a85361eb3a07a7f228a38498c1e21.

authors: SRimbaud jflamant

repo: jflamant/bispy


text:
Addition of Web Development Projects For Beginners

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
The best method to acquire any skill is to put it into practice by working on projects , so it will be great to add  some beginner level projects.
Explain your solution
We can add some projects like todo list , password generator ,  Expense Tracker etc .
Any alternative approaches/features
No response
Additional Context
No response

@jfmartinz  Can you please add labels to my issue .

repo: jfmartinz/ResourceHub

license: MIT


text:
JFoenix flickers randomly on Windows (using JFXTreeTableView & JFXButton)

Currently the application that I have is very large, but the issue I have can be replicated if you make a new stage/scene with a JFXTreeTableView, and then relaunch the client 5-10 times until it starts flickering (on windows), when you click on the tabs, it'll turn white, and ultimately turn the whole tabpane white for a good 10 seconds until it returns back to normal. However, once you try to change tabs, it glitches up again making it unusable until you restart the application a few times.
What's weird is this only happens on Windows, and I can't seem to replicate it on my Mac.
I'm using JDK 8u152 currently.
Also I'm pretty sure this isn't affecting it, but if I put a snackbar, when the UI glitch happens, the snackbar goes from the bottom of the frame to the top left.And every animation from any JFoenix module (JFXButton, Tabs, etc), all have white when their animations go off.
I've tried to turn off GPU acceleration with the flags, but it didn't work.
I'm wondering if this is a known issue? Any work arounds or fixes?
https://i.stack.imgur.com/BOk6K.jpg

Upon further testing, I removed everything from my initialize function in the controller, and JFXTabPane seems to have tabs be flickering/turn white and it causes all the other JFX elements to be white when I hover over it or click it.

Hello,
Can you provide a SSCCE demonstrating the issue?

@Sieu can you edit the title to be more related to JFXTabPane instead of JFXTreeTableView

authors: Sieu jfoenixadmin

repo: jfoenixadmin/JFoenix

license_source: bigquery


text:
support auto create missing items in replace operation

support auto create missing items in replace operation
For example given doc:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
</project>

And diff patch:
<diff>
    <replace sel="/project[@version='4']/component[@name='GOROOT']/inner/@url">file://$PROJECT_DIR$/.ting/bin/go</replace>
</diff>

Result:
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
    <component name="GOROOT">
        <inner url="file://$PROJECT_DIR$/.ting/bin/go"/>
    </component>
</project>

Note that not only component and inner are created and url value is set, but component also has the name attribute.
Should be opt-in as it's not standard.

done

repo: jfrog/go-xml-patch


text:
Fluentd installation script updates/bug fixes.

The goal of this PR is not to fix all known issues but rather prevent the script from running on unsupported distros like Debian, Ubuntu, etc.  The script also provides an express warning that is not stable.
Summary:

Linux distro check added to prevent running the installer if distro is not supported.
Bug fixes.
Better error handling,
Refactoring.

@peters95 Please take a look, more info in the description. Thanks!

source: gharchive/pull-request

repo: jfrog/log-analytics


text:
Feature Request: Driver+Fingerprint matching method for gendev

Hiya. I know it's been a while since I've contributed. I think I mentioned last time a bash daemon I had that starts xboxdrv on event devices and hides them. I actually have it on github right here. I wanted to just start using your project, but there is one problem I realized that caused me to go back to rejoy and tweak it. I'm no good at C++, it scares the crap out of me, so I couldn't just write the feature myself, sorry.
My laptop goes with me to Arcade Legacy where there are many many many many different kinds of controllers. The only kinds of controllers that tend to get introduced to my laptop are 360, PS3, and PS4 controllers, alongside the odd Mayflash PS2 to PC every once in a while. The problem is, if someone plugs in their controller and it doesn't work for any reason and/or I have to take time to configure it, it's an embarrassment to me and an embarrassment to Linux.
Names to match devices are a good start, it gets around the thing where multiple similar devices have different model IDs but the sane name, and that's good. But I feel we should be able to do better than that. If a friend plugs in a fight stick that fits a well-known event code layout but it fails to work just because its name hasn't been added to the appropriate gendevice profile, it's an embarrassing inconvenience. I came up with a way to automatically accommodate 99% of the controllers that my laptop will ever see with my script, and I'd like to pitch that method here for inclusion into this program so I can eventually stop using that particular bash monstrosity.
The first and maybe easiest thing to do is match on the device's driver. Anything using the xpad driver is always going to have the same button mapping no matter what, so rather than waiting for an xpad device not called "Microsoft X-Box 360 pad" to come out and cause trouble, we could just match the xpad driver and any device using that will use the same gendevice profile.
That fixes the easiest case, but other drivers don't have the same convention that xpad does, not even sony. The dualshock 3 and dualshock 4 have different mappings. However... they also expose different events. They have different "fingerprints". For example, the DS3's guide button maps to key 704, which doesn't exist on the DS4. To match based on fingerprint, I load a xboxdrv evdev config and see if the new joystick exposes events to match every event specified in that config. If not, move on until there is a match. So if I plug in a DS4, it first checks the DS3 config. The DS3 config calls for 704, which doesn't exist. So it moves onto DS4, and every event called for in the config does exist on that device, so it uses that config.
This can be used for hid-generic devices too--which a lot of fight sticks tend to use even when they're technically PS3 controllers--as well as those funky Mayflash adapters. I use the same strategy here. Mayflash's PS2 adapters use a different subset of event codes--a fairly exotic one at that--from PS3 fight sticks which use a more standard set of event codes. When a PS3 fight stick gets plugged in, it will first check the Mayflash config, fail that check, and move on to the PS3-on-generic config, succeed, and use that. This fingerprint strategy relies on trying the more exotic fingerprints first, which will usually fail pretty fast and will prevent false positives.
Is this something you would have interest in implementing, or at least not be opposed to having implemented? If I were to try and get over my fear of C++ to do it, I'm a bit lost in this maze of code. What files would I want to look at to figure this out?

I totally agree that having to deal with configs is an embarrassment. I want using controllers to be as slick as possible.
Thanks for the suggestions.
The driver matching can be added quite easily. There is already support for matching vendor/product ids instead of device names. Matching on the driver would just be an extra field to check. However, it isn't true that all xpad's devices have the same mapping. The wireless controllers are mapped differently than the wired ones last I checked. It is still easy enough to add that I'll put it in.
I think fingerprinting on events is a good idea. It'll be a bit harder to add as the available events are a bit harder to extract at the time of choosing a driver. The biggest hold up I have is picking the syntax for specifying we want these matches.
Your setup just reuses the already existing config of events, and that is probably better than trying to specify exactly which events are the fingerprint.
After some thought, I'm thinking something along having it in the match line as follows:
[events="XXXXX"]

Where "XXXXX" can be one of subset, superset, or exact, each imposing a constraint on how the events of the device relate to the events of the driver.
Enforcing the precedence of the drivers can be done by arranging the files, such as prefixing them with numbers. (Note: I might need to sort filenames internally to guarantee this).

The wireless controllers are mapped differently than the wired ones last I checked. It is still easy enough to add that I'll put it in.

Oh heck, you don't say? Well, if they expose different event codes, we can still exploit fingerprinting.

Your setup just reuses the already existing config of events, and that is probably better than trying to specify exactly which events are the fingerprint.

I think that's personally the most economic and least-confusing--at least in terms of user-facing--way of doing it. Implementation-wise, I can see how that would be inconvenient because you might need to make multiple passes at the configs, one for the fingerprinting and one for the config that actually gets loaded.
I think it's also important that fingerprinting is done last. Personally, the precedence I would use is model > name > vendor > driver > fingerprint. But I love the idea that you could specify superset/subset in either direction as well as exact. I think it's a great idea. I'm glad that you like this idea. :)

I wrote an initial version of this fingerprinting and put it on the devel branch. It implemented it the way I mentioned above. Inside a match line, you can put events= followed by subset, superset, or exact.
For example, with a DS4 I have [events="superset"] as one of the match lines (since the gendev driver can't do anything with the multitouch events that technically are considered axis events).
It appears to be working on my end, but I only have a couple controller types over here. Let me know how it works out for you.
However, I did not implement anyway of specifically giving these fingerprint matches a lower precedence. I've opened a separate issue on how to achieve that.

Cool, I'll adapt my rejoy xboxdrv configs to this new format and test. A quick question though: is there any way to specify event codes--as in numbers--rather than names, just to be sure that any given config will work everywhere?

Not currently. I could add it. Specifying event codes which don't exist on older kernels won't necessarily mean they'll work, I think.
Unfortunately key_#306 would cause problems as the # comments out the rest of the line.
Which do you prefer:

key_?306, with the question mark denoting the sense of uncertainty for this unnamed event.
"key_#306", that is to say these numeric events would have to be in quotes.
Something else?

If the event codes don't exist on older kernels, doesn't that mean support for the device just isn't there?
Anyways, is there a particular reason we can't just have key_306, abs_001, etc? I think that'd be the cleanest way, personally.

Yes, I do believe that means that device wouldn't be supported by that kernel. Hence why I am uncertain about how allowing numeric event designations would make a config work "anywhere". It seems like we'd always want MG to be compiled with an event list that matches the system it runs on. There are some naughty devices out there that output undefined codes, so this is still a worthwhile feature.
The number keys already have key_1 through key_9, and those are actually off by one relative to their values. There is also key_102nd, which has a value of 86 and would make the parsing a bit more annoying.

That's a very good point. Maybe instead of the awkward ? and #, we could just use n? key_n306? abs_n001?

I strongly prefer that it be not even remotely possible for a conflict or even momentary confusion, so I'd like it to use a character outside a-z0-9_.
How do you feel about key(306)?

I like that one! c:

Is there a way to get some sort of debug output? Right now it's really quiet, and I'm kind of feeling like it can't even see the gamepads that I'm connecting. Maybe it isn't? Is it supposed to say anything when a device appears (or rather, appears and presses a button), even if it doesn't match any profiles?

There isn't any official debug output.
You should see something printed when a device is added successfully (i.e. it matched a driver). ex. hotplug: device ds4_1 added.
Devices which don't get claimed do not lead to any output (on my laptop, I have 15 non-gamepad input devices just from the power button, speakers, etc. Printing each would add a fair bit of noise to startup.)
Whenever I need some debug info temporarily, I just add a few std::cout << VARIABLE << std::endl; statements to print out stuff in a function.
Adding a real notion of debug levels would be a good idea. Can you open an issue with what sort of debug info you'd like to see?

Thanks to all you've done with this feature request, I feel confident that I've replicated the big safety net I had in Rejoy inside of MoltenGamepad. The only bummer is tr2 not working if I use tr2_axis_btn on digital triggers. I have some example configs here: https://github.com/TiZ-EX1/MG-Files/tree/fingerprints

This feature finally hit master. Closed.

repo: jgeumlek/MoltenGamepad

license: mit


text:
Add missing Inline and Block AST elements

Constructors for Inline and Block elements were missing the LineBlock and Underline elements. The constructors now match with the elements listed at
https://hackage.haskell.org/package/pandoc-types-1.22.2.1/docs/Text-Pandoc-Definition.html.

Not sure why CI is failing. We can try rerunning later.

The CI has been acting up to me lately.
I am quite busy at the moment so I am sorry I won't have time to look at it soon. I'll come back to this later.

Possibly related, but I had to tweak the panflute CI code due to a change in how github.com distributes the assets (particularly, pandoc): https://github.com/sergiocorreia/panflute/commit/b1fcddfa

Very likely to be this, it starts acting up around 2 weeks ago.
When I first set up the logic like that, it is pre-github actions era. When I have the time I'd refactor it into a GitHub Action perhaps and so that we can fix any future problems in one single place.

Actually someone already did that: https://github.com/marketplace/actions/setup-pandoc
I'll try to use it in other repositories first and if it works well propagate here.

authors: ickc jgm rnwst sergiocorreia

repo: jgm/pandocfilters


text:
FEATURE request: periodic save

The autosave will save every change done in the diagrams, but when the diagram is too big or contain big images, the user experience is impacted.
Is is possible to add a mode of periodic saving (every 5 minutes) for example?
Thank you (for reading my English) and all your works.

How big are diagrams when this happens? Where are you storing them? Do you have slow/high latency Internet connection?

The diagram have image inside and the end size is nearly 6MB
I store it locally then no problem with network or bandwidth with the SSD.
I store the data compressed (seem having more problem when non-compressed)
I have the problem 6 month ago (just reported) and the experience is really better now. But it is still visible (not critical).
Method to reproduce:

New diagram
Add some images (3) @4000x4000 (fast way to show the problem)
add some 4 square on the top of the image
Test 1:

link square 1 with square 2
with no wait link square 1 with square 3
here you will see the latency

Test 2:

Disable auto-save
link square 1 with square 2
with no wait link square 1 with square 3
no latency show

Note: when just editing or moving square I do not show the latency. it is maybe link with adding or removing elements

I don't understand where to store it to see the problem from your description.

?? I store it on local HDD computer.
Note: I use the desktop plugin in chrome.

seems to be OK

authors: HeeroYui davidjgraph

repo: jgraph/drawio


text:
Fix DLCDataGenerator path joining

I created the dataset for DeepLabCut and used it. But its indexes start with "labeled-data/..." and it failed to load images since try to load "dlc-proj-2020-11-20labeled-data...".
Fixed joining paths using os.path.join instead of +.

This is a valid fix and actually should be merged in my opinion. I encountered this issue, too. @jgraving

authors: Joilence sugyan

repo: jgraving/DeepPoseKit


text:
chmod command on RaspberryPi

Hello,

$ chmod u+x ./phantom-

Doesn't work on a RaspberryPi when logged in as user ''pi''
Use this instead:

chmod a+x ./phantom-

Don't forget to replace  with macos, linux, etc. for the correct OS you're using.

Hey @Bullet55NL, not sure what the exact error was but this might be specific to your Pi setup. Using a+x works too, it's just more open to other users on the system.

repo: jhead/phantom


text:
OAuth2: resource-server / client

following https://github.com/jhipster/jhipster-lite/pull/443

Currently, the API OAuth2 generates:

client - https://www.baeldung.com/spring-security-5-oauth2-login
resource-server - https://www.baeldung.com/spring-security-oauth-resource-server

After some discussion with @Bolo89 and following this very important comment https://github.com/jhipster/jhipster-lite/issues/270#issuecomment-1014090299 too, let's discuss about how to have a better minimal option for microservice (for example)
cc @Bolo89 @pblanchardie

For user-facing monoliths without reusable APIs, a better minimal option would be "login-only" (without resource server). It was the first version of the previous PR, so it would be easy to reproduce.
Microservices and standard Web Services should not provide "login" but only JWT, so SecurityConfiguration should override the default configuration without oauth2Login(). See https://www.baeldung.com/spring-webclient-oauth2#avoiding-oauth2login
"login" must not be confused with "client":

oauth2Login() provides the OAuth2 login feature for end-users interacting with the application
oauth2Client() is used for machine-to-machine communications, with eg. WebClient

So there is another case, which is "client-only" for a job that calls APIs but doesn't not expose anything. It's a less common scenario, and although I implemented it in a previous attempt, I guess it won't be very useful.
Do you confirm that we prefer distinct endpoints over common endpoints with options?

Thanks for clarification @pblanchardie
Indeed you're right about oauth2Login(), see the generator-jhipster:

monolith
reactive

I'll see how to propose something smatter, with your initial idea. Maybe 2 versions of OAuth2:

one with login (generally, used with a front): probably the default one
one without login

About endpoints, yes, for now, I prefer distinct endpoints, until this ticket is solved: https://github.com/jhipster/jhipster-lite/issues/144
Then, it can be changed later, during refactoring if needed.

The new module OAuth2 is better now, thanks to @DamnClin
So this ticket can be closed, if there are some suggestions, we can open a new ticket to discuss

authors: pascalgrimaud pblanchardie

repo: jhipster/jhipster-lite


text:
Reorganize shared packages

Related to https://github.com/jhipster/jhipster-lite/issues/7024

Go ahead, to avoid conflict with other PRs

authors: DamnClin pascalgrimaud


text:
recode and case_when comparison, use new column name

Would be good to show how
data_diet %>% mutate(new_col = recode(Gender, O = "Other"))

and
data_diet %>% mutate(new_col = case_when(Gender == "Other" ~ "O"))

differ.
case_when doesn't assume, and fills in with NAs, while recode is more like "tweaking" a column and populates with the old values.
I think instead of reassigning the Gender column, it might be clearer for folks to see if this was Gender_clean or something.

sure sounds good - I can separate this into more slides and make a new variable and also show that you could modify an existing one. I also want to add the true statement to all of them cause it is good practice

yeah! I think it is nice to show what NOT doing TRUE ~ does is helpful though.

I guess there might be some cases where you'd want to fill with NAs?? Maybe? :P


text:
Event parser support

Hi,
I need to extract from remote URL only page metadata (tags meta and title), for security and performance reasons I must not download full page and I need to read only the HEAD tag (or the first 8kb).
The class HtmlTreeBuilder works as event parser but unfortunately I can't use it.
Can you expose parsing event for HTML pages?
Thanks,
Francesco

Hello there,
This is not a complete solution, but FYI, the Tokeniser class in jsoup may be useful for your purpose. It can be used to extract tokens (start tag / end tag / text / comment) from string.

Same as #824

authors: fvasco jhy jokester

repo: jhy/jsoup


text:
WebAssembly + WebUSB support

Hello! I'm curious if you or anyone is considering porting this to WebAssembly so that it can be combined with WebUSB. I have a project idea where I transport USB/IP over WebSockets to share device from the browser to a web server.

I believe the core protocol part can be built to WebAssembly, but the rusb/tokio parts may need some porting to allow custom transport.

Ah, makes sense. There is a crate for webusb that uses rusb as a backend, but that probably doesn't help here much. https://docs.rs/webusb/latest/webusb/

It's also worth noting that libusb, which is what rusb is based on, has an emscripten-based backend that might be useful for anyone else interested in this :)

authors: beriberikix jiegec

repo: jiegec/usbip


text:
勉強会資料の作成（サーバとの通信）

概要
インターンの勉強会のための資料を作成。
サーバとクライアントの通信に関しての資料を作成した。
変更内容
ドキュメントを追加
CORSの動作を確認するためのプログラムを追加
確認箇所
ドキュメント(/communication-with-server/README.md)に誤字、脱字、文章のねじれなどがないか
ドキュメントに読みづらい点、わかりにくい点がないか
手順通りに実装してみて動かないなど、不備はないか
CORS用のプログラムに不備がないか、おかしな記述がないか

み

IMO:
全体を通して説明が中心になってますが、開発する上でこの話に触れているのは、

GET/POSTその他いろいろをどう使い分けたらいいのか
CORSって何？どう対策すればいいの？

というところが大きいと思うので、説明+αでこの変のざっくりとしたまとめは必要かなと思います。
説明してそのまま終わってしまってる内容がすごく多いので、何を覚えなきゃ行けないのか・ひとまず開発するときはどうしたらいいのかというところがしっかり伝わるような構成にはしたいです。

これを参考にしました
https://zenn.dev/riko/articles/cors_deepen_understanding

@nabe1005
指摘事項修正しました。
コメントしていないものについては、指摘の通りに修正したつもりです。
最後にまとめのセクションを追加して、実際に開発するなら、のような話を追加してみましたがどうでしょうか？(もう少し詳しくした方が良いでしょうか？)

見ます 👓

@haruyuki-16278
指摘事項修正しましたので確認お願いします。
修正の不足や、新たに発生した不備等あれば指摘お願いします。
冒頭に2セクション増えているので、その辺りの確認もお願いします。

@haruyuki-16278
指摘箇所に修正を入れましたので確認お願いします。:pray:

@haruyuki-16278
サジェストにして頂いてありがとうございます。
全て適用しましたので確認お願いします。

レビューありがとうございました。
nabeさんからも口頭でLGTMいただいたので、マージします。

repo: jigintern/intern-dev-tutorial


text:
Контролы вверху у моб.фильтра не такие как описаны в референсах ТЗ

@Alexander96196
Смотри Техническое задание / Референсы (п2) - картинки.
Картинка 1 - скрытый фильтр
Картинка 2 - раскрытый фильтр
Проблемы:

Нет список-контролла, используемый для сортировки.
Контролл скрыть/показать фильтр - не такой как на референсах в ТЗ.

Норм, но есть замечание по проблеме п1. Опишу отдельно.

repo: jigius/tpl-verhtorm


text:
chore: refactor ci config

Summary by CodeRabbit

Documentation

Updated README with new badges for version, license, monthly downloads, and bundle size.

Chores

Updated ESLint configuration to use a shared TypeScript config from @jill64/eslint-config-ts.

@SocketSecurity ignore eslint-config-prettier@9.1.0


text:
Tiguan 5N Park Assist Plus, Android Auto, Camera

Hi @jilleb,
I was wondering if it is possible to:

Enable wireless Android Auto
Enable or upgrade park assist to park assist plus with the ability to control the vehicle remotely from a smartphone
Enable activation of the area view camera when the switch is pressed, irrespective of whether the vehicle is stationary or moving

The vehicle is a 2018 VW Tiguan.
Thank you.

Wireless AA is not possible to activate because hardware is not present for that in the units. Use https://www.indiegogo.com/projects/aawireless#/
The rest should be coding or SWAP features which aren't activatable by this toolbox or not even managed by the radio it self.


text:
Deprecated directive not parsing in GQL template literal.

Before you create the issue

Please search the existing issues at https://github.com/jimkyndemeyer/js-graphql-intellij-plugin/issues?q=sort%3Aupdated-desc before opening a new issue.
Read the FAQ at https://github.com/jimkyndemeyer/js-graphql-intellij-plugin#faq
If you're using an EAP, try with a stable version. If that works, please mention it in the issue along with both versions.

Version and Environment Details
Operation system: OS X
IDE name and version: Webstorm 2020.1
Plugin version: 2.4.0
Expected Behaviour
No syntax errors.
Actual Behaviour

Steps to Reproduce / Link to Repo with Reproduction and Instructions

@nmaves a lot of related issues were fixed in 2.5.0 and 2.6.0, so now I can't reproduce this one. If this problem is still reproducing for you, please, comment or reopen that issue.

authors: nmaves vepanimas


text:
Configure this CMake to be able to edit the OpenSSL code in Visual Studio

Hi,
This is not an issue as your CMake perfectly works.
I'm integrating a new signature algorithm into OpenSSL. I already did it for OpenSSL 1.1.1 using the openssl-cmake project of janbar. However, his project doesn't support OpenSSL 3 and I need to move to this version.
I thought I could use yours, but as it pulls the OpenSSL code from the original openssl git it produces a Visual Studio solution that doesn't allow editing the code!
I pulled the code of OpenSSL from the official git. Is there a way to integrate your CMake with the local code to create a Visual Studio solution where the code of OpenSSL can be edited?
Thanks for your help.

@oliviervibe Since this repo is CMake scripts for building OpenSSL, OpenSSL sources aren't included in the generated project. I couldn't do that because OpenSSL's build system depends heavily on perl scripts. The generated project is just for apps/main.cpp, not the OpenSSL source itself. You need to use another editor such as vscode.
For building local OpenSSL sources, you need to change the following code to locate your own source.
https://github.com/jimmy-park/openssl-cmake/blob/6719ec98b17e4d4ec7b9795ca5c18f99d89ab14f/CMakeLists.txt#L62-L75
If you have forked OpenSSL repo, changing URL is enough. If not, remove CPMAddPackage() and change SOURCE_DIR/BINARY_DIR.

Thanks for your quick answer!
I saw your comment in the github of janbar regarding OpenSSL 3.0. So I'll try to do what you said and do it with VScode. My current version of OpenSSL with our crypto is based on the OpenSSL with cmake of janbar, and I have both a Linux and a Windows version as we currently call our crypto from a shared library.

@oliviervibe Thanks for understanding!

authors: jimmy-park oliviervibe

repo: jimmy-park/openssl-cmake


text:
metronome function

Hi，
Have you considered implementing a metronome function?

Yes, absolutely. But at the moment I'm not sure whether I will prioritize taking this prototype further and turning it into something more well polished and more feature-rich. So I'm afraid I can't make any promises about the future of this project.

authors: TheBrightestStarInTheNightSky jimutt

repo: jimutt/osmd-playback-demo


text:
北向资金，南向资金单位有误

北向资金和南向资金的单位应该是“万元”，不是‘亿元’

北向资金和南向资金的单位应该是“万元”，不是‘亿元’

感谢反馈问题，请升级到 AkShare 0.6.32 已修复

authors: flybobdog jindaxiang

repo: jindaxiang/akshare


text:
fix(HasTable): database name

allow mysql database name with '-' character
Make sure these boxes checked before submitting your pull request.

[x] Do only one thing
[x] No API-breaking changes
[x] New code/logic commented & tested

For significant changes like big bug fixes, new features, please open an issue to make an agreement on an implementation design/plan first before starting it.
What did this pull request do?
allow mysql database name with '-' character

Codecov Report

Merging #2716 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master    #2716   +/-   ##
=======================================
  Coverage   78.91%   78.91%
=======================================
  Files          24       24
  Lines        3495     3495
=======================================
  Hits         2758     2758
  Misses        636      636
  Partials      101      101

Impacted Files
Coverage Δ

dialect_mysql.go
1.37% <0%> (ø)
:arrow_up:

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 5b3e40a...ca4dedb. Read the comment docs.

authors: FWangZil codecov-io

repo: jinzhu/gorm


text:
model struct support dbTabler method TableName()

如 https://github.com/jinzhu/gorm/issues/2985   描述，gorm不支持获取实现dbTabler的db model获取表名，会出现执行默认表名规则。

Codecov Report

Merging #2988 into master will decrease coverage by 0.07%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #2988      +/-   ##
==========================================
- Coverage   79.01%   78.93%   -0.08%
==========================================
  Files          24       24
  Lines        3540     3542       +2
==========================================
- Hits         2797     2796       -1
- Misses        642      643       +1
- Partials      101      103       +2

Impacted Files
Coverage Δ

model_struct.go
87.01% <0.00%> (-0.77%)
: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 7ea143b...722e0b0. Read the comment docs.

authors: codecov-io sjxuan


text:
Apache logs are not at master

Apache logs are not in master

access.log,
error.log

Apache is installed in minion, and locally there are log events at minion.

Our current configuration only uses the imuxsock (Unix socket) and imklog (Kernel) modules. If you want to add apache2 logs, you can add the following input to /srv/salt/rsyslog-server/rsyslog.conf:
input(type="imfile"
      File="/var/log/apache2/*.log"
      Tag="apache:"
)

Closing due to inactivity, more logs are collected with current configurations.

repo: jisosomppi/log-analysis


text:
--list_algorithms causes AttributeError: module 'hashlib' has no attribute 'algorithms'

$ codenamize --list_algorithms
Traceback (most recent call last):
  File "/usr/local/bin/codenamize", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.5/dist-packages/codenamize/codenamize.py", line 304, in main
    for a in hashlib.algorithms:
AttributeError: module 'hashlib' has no attribute 'algorithms'

$ python3 --version
Python 3.5.2

Fixed in 1.2.3, already available via pip (commit 65f1e34).

authors: DannyBen jjmontesl

repo: jjmontesl/codenamize


text:
Meaningful labels for groups / column names

--> datavisyn

As discussed with Christina:
3 shapes are not necessary when no groups are mapped
shapeBy 'none' and one circle should be displayed

also provide tooltips to give more information

also other labels of features - sometimes technical, sometimes general instead of domain-specific because it is taken from PSE/CIME.

authors: dvmoritzschoefl ginihumer mstreit

repo: jku-vds-lab/reaction-cime


text:
/opt/bin/Xvnc directory

After installing and starting the container I get the following error. When I look at the /opt directory, there is no /base/bin/Xvnc. Is the container supposed to install xvnc during the installation process or is that something I need to install separately?
[supervisor  ] starting services...
[supervisor  ] starting service 'xvnc'...
[xvnc        ] execve(/opt/base/bin/Xvnc): Permission denied
[supervisor  ] service 'xvnc' failed to be started: not ready after 5000 msec, giving up.
[supervisor  ] stopping service 'xvnc'...
[supervisor  ] service 'xvnc' exited (with status 126).
[finish      ] executing container finish scripts...
[finish      ] all container finish scripts executed.

/opt/base/bin/Xvnc should definitely be there.  Permission denied usually indicates that the file is there, but it doesn't have the correct permissions.  Looks like the installed image is corrupted on your system.

thank you for the response. I tried downloading the container and reinstalling but I get the same results. when I look at the /opt directory I don't see /base/
[xxxxxxx@HomeNAS opt]$ ls -lart
total 8
-rw-r--r--  1 admin  administrators 4571 2023-04-20 19:08 nasconfig_fs.img.tgz
lrwxrwxrwx  1 admin  administrators   54 2023-05-21 03:15 kata -> /share/CACHEDEV1_DATA/.qpkg/container-station/opt/kata/
drwx--s--x  4 admin  administrators   80 2023-05-21 03:15 containerd/
drwxr-sr-x  3 mwierm administrators  100 2023-05-21 03:15 ./
drwxr-xr-x 24 admin  administrators  620 2023-05-21 03:17 ../

I tried downloading the container and reinstalling but I get the same results

Did you removed the image (docker rmi jlesage/makemkv) ?  Also, when you download the image again (docker pull jlesage/makemkv), make sure you don't see output like this:
...
63b65145d645: Already exists
4f4fb700ef54: Already exists
f9305ddce4c8: Already exists
59c53306de0a: Already exists
a8eb0c2634d0: Already exists
6a99d85f6c90: Already exists
3215f7b0a884: Already exists
...

when I look at the /opt directory I don't see /base/
[xxxxxxx@HomeNAS opt]$ ls -lart

You are looking at the host.  You should instead look inside the container:
docker run --rm jlesage/makemkv ls -l /opt/base/bin

Thanks again for the quick response. It seems that the image may be corrupt based on the fact that no matter how many times I pull it, I continue to receive the permissions error. Below is the output of your last command.
[xxxxxxx@HomeNAS ~]$ docker run --rm jlesage/makemkv ls -l /opt/base/bin
total 14136
-rwxr-xr-x    1 root     root       2836432 Apr 16 17:14 Xvnc
-rwxr-xr-x    1 root     root          2320 Mar  3 22:41 add-pkg
-rwxr-xr-x    1 root     root          1178 Mar  3 22:41 del-pkg
-rwxr-xr-x    1 root     root          5651 Mar  3 22:41 install-glibc
-rwxr-xr-x    1 root     root          7739 Apr 16 15:57 install_app_icon.sh
-rwxr-xr-x    1 root     root           637 Mar  3 22:41 is-bool-val-false
-rwxr-xr-x    1 root     root           634 Mar  3 22:41 is-bool-val-true
-rwxr-xr-x    1 root     root         35416 Mar  3 22:42 logmonitor
-rwxr-xr-x    1 root     root       1015508 Apr 16 16:33 obxprop
-rwxr-xr-x    1 root     root       3143996 Apr 16 16:33 openbox
-rwxr-xr-x    1 root     root           893 Mar  3 22:41 sed-patch
-rwxr-xr-x    1 root     root           969 Mar  3 22:41 set-cont-env
-rwxr-xr-x    1 root     root          3140 Mar  3 22:41 take-ownership
-rwxr-xr-x    1 root     root         72408 Apr 16 16:51 vncpasswd
-rwxr-xr-x    1 root     root        603604 Apr 16 15:59 xdpyprobe
-rwxr-xr-x    1 root     root       1284360 Apr 16 17:16 xkbcomp
-rwxr-xr-x    1 root     root       5424244 Apr 16 17:19 yad

If layers of the image are shared with other images, a docker rmi won't remove them.  Thus the reason for checking the output of the docker pull command for Already exists lines.  Did you see them ?

I don't see a message 'Alerady exists' when completing the pull command:
[xxxxxxx@HomeNAS ~]$ docker pull jlesage/makemkv
Using default tag: latest
latest: Pulling from jlesage/makemkv
ef5531b6e74e: Pulling fs layer
4f4fb700ef54: Pull complete
84e5e0a543c2: Pull complete
ca8059c6dc96: Pull complete
f71b9399bd0c: Pull complete
e933e7e0c508: Pull complete
017a64d4a562: Pull complete
7507c5a91d58: Pull complete
275cabea4fa3: Pull complete
cc9a6af94887: Pull complete
9c93353b9182: Pull complete
46dd2ad46dad: Pull complete
e5c7dd7860e7: Pull complete
f618247ab108: Pull complete
123f74ff7a01: Pull complete
6334a09260dd: Pull complete
16054b67208f: Pull complete
ff2d8d94a0d9: Pull complete
bcb1c2b4296e: Pull complete
e058071a46f7: Pull complete
c4a088cf96a0: Pull complete
a1874aba1e4f: Pull complete
94691590ba1c: Pull complete
cb92b70ab2c5: Pull complete
e683f627b9c4: Pull complete
e35226ef7dc2: Pull complete
227f6730f266: Pull complete
6cae747d788e: Pull complete
4775b1fb1e1a: Pull complete
88d45bffc6b2: Pull complete
1483b1790e30: Pull complete
c377ccf27011: Pull complete
7215505a1e74: Pull complete
Digest: sha256:bf014c2e1a96917776a701e3fec3a663642f08848f7277e3beb73f675847f35f
Status: Downloaded newer image for jlesage/makemkv:latest
docker.io/jlesage/makemkv:latest

1c4dd4ba9029a3e472fd04ea34287d3d3c79d6149c01f044e622d6df2c8e4ab8-json.log

Ok, then the problem might be something else.  Do you see the same issue when you run:
docker run --rm jlesage/makemkv

On what system are you running this container ?  Looks like there is something specific on your system that prevent the container from running correctly.  Is Docker itself up-to-date ?  Do you have any filesystem ACLs in place?

I'm running this on Qnap NAS Container station. it's up to date according to qnap.

authors: DJJazzyMike jlesage

repo: jlesage/docker-makemkv


text:
Set up SonarQube for code quality

Set up SonarQube for code quality locally

This has become Landscape.io as it is easier to use and seems to offer the same amount of insight.

repo: jlmdegoede/MOOCworkbench


text:
UX: verifying----- feedfback

Let user know that we're still working.
In the challenge "GitHubbin", there are 3 checks, but the second checks uses GitHub API, and for some reasons it hanged (probably internet issues), and it wasn't clear that something "wasn't working", it seemed like the user passed the check(the first one) but the challenge wasn't marked as completed.
More ideal if:

Spinner?
Let people know exactly how many checks there are when we start checking, and fill in the result one by one.

Yeah, definitely agree :+1:

This confetti! Want it http://codepen.io/linrock/pen/Amdhr :tada:

authors: jlord muan

repo: jlord/git-it-electron


text:
Add support for 384 well plate schemas

Closes #13

Seems to work well in the FMI deployment, we can now process 384 well plates. The examples there now fail later due to missing metadata. Thus, merging this now.

repo: jluethi/fractal-faim-hcs


text:
Heating and Cooling for underfloor water tubes

Hello,
I have underfloor heating that works with water. In winter, warm water is fed through for heating. In summer, cold water is channelled through for cooling. Is it possible to extend the thermostat so that winter OR summer operation is possible? An external boolean variable indicates winter (ON), thermostat should offer only heating related control, if the variable indicates summer (OFF), only cooling control should be offered.
I'm using a wifi controlled shelly relay, which is switching a valve for open or close.

Hello,
All thermostat in HA works with hvac_mode which can be Heat or Cool. If you are able to deal with those 2 hvac_mode in one thermostat, you will be able to use VTherm.


text:
Testing approaches

[x] Unit tests
[x] Business logic integration tests
[x] UI integration tests

To be continued in #660

repo: jmix-framework/jmix-docs


text:
Router power

Within the GlobalReport.h member variables for all energy events are given. Implement those in the router model!

Report per layer the following events:

buffer router push
buffer router pop
buffer router read front
routing
crossbar
leackages

buffer router
router

always as static and dynamic power. make dynamic power dependant on actual switching activity, set it to .5 per defailt. calcualte it, it possible.
then generate csvs, which are read and linked to a power profile. think about a nice data structure for power profile. data for profile from ORION or synthesis. provide default profile.

Include five event types in the config.ini
Rename the config.ini into --> powerprofile.ini

repo: jmjos/ratatoskr


text:
Api V1 percentage_of_time gate

endpoint for enabling feature for percentage of time following the convention:
POST api/v1/features/:feature_name/:gate_name # enable
DELETE api/v1/features/:feature_name/:gate_name # disable
i.e.
api/v1/features//logging/enable_percentage_of_time
flipper[:feature].enable_percentage_of_time 5

#180 completes this, closing 🙌

repo: jnunemaker/flipper


text:
Update Gates.md

I was working on a project that requires feature release in small batches at Blue Apron. I feel like this would greatly clarify the usage of groups. I fee like explanations about what the various api methods are doing on a Ruby-level clarifies this greatly.

@Jwan622 you rock! Really appreciate that you took the time to distill what you learned into the docs for others.


text:
🛑 Sysacad UTN is down

In 75d310e, Sysacad UTN (http://www.frbb.utn.edu.ar/sysacad/LoginAlumno.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sysacad UTN is back up in d4b6f93 after 10 minutes.

repo: joacoserra/statusPage


text:
🛑 MegaConstruct is down

In 4303753, MegaConstruct (https://www.megaconstruct.ro) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MegaConstruct is back up in e77d1c4.


text:
🛑 ionutFrancisc.com (Netlify Dev version) is down

In 7741f71, ionutFrancisc.com (Netlify Dev version) (https://ionut-francisc.netlify.app) was down:

HTTP code: 502
Response time: 66 ms

Resolved: ionutFrancisc.com (Netlify Dev version) is back up in 000ba70 after 3 minutes.


text:
🛑 GoodPC is down

In b5e3f1c, GoodPC (https://goodpc.ro) was down:

HTTP code: 500
Response time: 3145 ms

Resolved: GoodPC is back up in 92d8d15.


text:
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Promise

Hi,
I'm using the middleware but when I call the endpoint I receive this exececption
TypeError [ERR_INVALID_ARG_TYPE]: The "string" argument must be of type string or an instance of Buffer or ArrayBuffer. Received an instance of Promise
at Function.byteLength (buffer.js:728:11)
at chunkLength (/Users/etiennedewever/work/Polyconseil/coviflex/coviflex-api/node_modules/compression/index.js:245:14)
at ServerResponse.end (/Users/etiennedewever/work/Polyconseil/coviflex/coviflex-api/node_modules/compression/index.js:100:20)
This is due because it sending a promise to res.end
It just need to be await first then send

I cannot push the modification  :
The solution :
Index.js line 157
    res.set('Content-Type', Prometheus.register.contentType);
    const metrics = await Prometheus.register.metrics();
    return res.end(metrics);

hello @deweve, what version are you using? it seems to have an await already in the code in the following line

It seems I'm using the 1.0 version. I've just realised the await in the return. I can check if the problem persists

authors: deweve joao-fontenele


text:
[Bug] Nhentai setting for displaying title as short title doesn't works as it should be

Device information

Tachiyomi version: Preview r280
Android version: 9
Device: Huawei ANE-LX2

Steps to reproduce

Open Nhentai settings
Change Display manga titles as: to short title
Open Nhentai, select a random manga
Title refresh itself to full title

Expected behavior
Title should remain as short
Actual behavior
Title changes to full
Other details
I tried same thing in Tachiyomi, it was working well.
(Sorry for my bad English.)

Added in https://github.com/jobobby04/TachiyomiSY/commit/99457526674d309431abdec17eb5fcb07b29768d

thank you


text:
per tenant static files

it would be nice to have a better way of keeping per tenant files separated, this issue was previously raised in cloudscribe core
currently we have themes separated per tenant but css and js for the theme still live below wwwroot which is shared by all tenants, and user uploaded files go below wwwroot/s1 /s2 /s3 etc with the sub folder per tenant.

It would be nice if somehow theme specific css and js could be stored within the theme folder so that themes could be packaged as folders and dropped in

It would be nice if somehow we could have a separate wwwroot folder per tenant where user uploaded files could go

I'm not promising to achieve this, but I will experiment to see if I can achieve it when I get a chance

a complexity of this would be how file processing is handled for scss to css and bundling/minification of css and js per tenant per theme. ie the design time workflow which could entail gulp/grunt/webpack etc.

one challenge I can think of is if we were to achieve it with middleware branching per tenant like this:
app.UsePerTenant<cloudscribe.Core.Models.SiteSettings>((ctx, builder) =>
{
  builder.UseStaticFiles(new StaticFileOptions()
   {
     FileProvider = new PhysicalFileProvider(@"c:\some\tenant\specific\folder"),
      RequestPath = new PathString("/tenant2")
 });

which is the most promising approach I can think of, is that if we point to a theme specific folder for a given tenant, I'm not sure how the startup code for middleware could be invoked again if the theme is changed from the ui

it took a good bit of work but per tenant static user files and per theme static files are now implemented
https://github.com/joeaudette/cloudscribe/wiki/Customizing-Views-and-Display-Templates
This makes it possible to package themes with everything they need to share or sell designs.
All you have to do is create a wwwroot folder below the theme folder and put files there, then restart the app so the middleware see the new folder.
Similarly user uploaded files such as images will now by default go under:
sitesfiles/[aliasid]/wwwroot
so files can be isolated per tenant, making it easier to keep track of which files go with which tenant


text:
Added support for specifying a precision with which to compare elements of AbstractDoubleArrays

This request is in relation with issue #505 . I attempted modify the containXXX and doesNotContainXXX methods from AbstractDoubleArrays.
Awaiting a review and possible recommendations on how to write the tests.

Thanks.
I would only replace the last double by an Offset<Double> to clarify the intent of this last parameter and to be consistent with DoubleAssert#isCloseTo(final double other, final Offset<Double> offset).
Add unit test following what was done in DoubleArrays_assertContains_Test and DoubleArrayAssert_contains_Test.
I'm also thinking to deprecate the existing containsXXX methods as it is best practice to give an offset.

Finished

authors: joel-costigliola nbogdan

repo: joel-costigliola/assertj-core


text:
jsonschema2pojo giving invalid jar files as output, the jar file is only 22 bytes and does not open as a jar file

jsonschema2pojo giving invalid jar files as output, the jar file is only 22 bytes and does not open as a jar file
Opening the jar file in notepad gives the output "PK                  "

My first guess it's that there was no content. Could you show the example
schema so that I can verify what types it should create?
Also, if you use the preview option do you get any classes down in the
preview dialog?
On 23 Jan 2015 21:31, "asjdk213" notifications@github.com wrote:

jsonschema2pojo giving invalid jar files as output, the jar file is only
22 bytes and does not open as a jar file
Opening the jar file in notepad gives the output "PK "
—
Reply to this email directly or view it on GitHub
https://github.com/joelittlejohn/jsonschema2pojo/issues/281.

Yes, what you have is an empty jar file. I think the schema you have used did not cause any types to be generated. Often this is caused by using JSON but not selecting "Source type: JSON".


text:
Issue #320 Added support for empty default string

This is fix for: https://github.com/joelittlejohn/jsonschema2pojo/issues/320

Thanks!

authors: jakubwierzbowski joelittlejohn


text:
[Request] Add support for quality pumpjacks, modules, and beacons

Possible quality levels are uncommon, rare, epic, and legendary

I have no clue if the changes to beacon efficiency in 2.0 make a difference in calculations, and if quality would change that. I'm assuming that the goal is still to have as many beacon effects as possible, so it probably shouldn't change anything.

I think you're right that it wouldn't change anything. If I allowed multiple qualities as input then it would become a new optimization problem but we probably don't need that.
Thanks for the request! I am not sure when I can do this (I am playing Space Age) but it is a very good idea.

authors: amdepott joelverhagen

repo: joelverhagen/FactorioTools


text:
[Bug] Unable to import cpg generated by go2cpg

Describe the bug
I generated cpg for a go project using https://github.com/AppThreat/cpggen. This doesn't seem to be importing on joern correctly.
You have provided a legacy proto CPG. Attempting conversion.
Error converting legacy CPG: Failed to insert a node. proto:
key: 1
type: UNKNOWN_ENUM_VALUE_NodeType_36
property {
  name: VALUE
  value {
    string_value: ""
  }
}

Exception in thread "main" java.lang.AssertionError: script errored:
	at io.joern.console.ScriptExecution.runScript(BridgeBase.scala:242)
	at io.joern.console.ScriptExecution.runScript$(BridgeBase.scala:223)
	at io.joern.joerncli.console.AmmoniteBridge$.runScript(AmmoniteBridge.scala:5)
	at io.joern.console.BridgeBase.runAmmonite(BridgeBase.scala:166)
	at io.joern.console.BridgeBase.runAmmonite$(BridgeBase.scala:147)
	at io.joern.joerncli.console.AmmoniteBridge$.runAmmonite(AmmoniteBridge.scala:5)
	at io.joern.joerncli.console.AmmoniteBridge$.delayedEndpoint$io$joern$joerncli$console$AmmoniteBridge$1(AmmoniteBridge.scala:7)
	at io.joern.joerncli.console.AmmoniteBridge$delayedInit$body.apply(AmmoniteBridge.scala:5)
	at scala.Function0.apply$mcV$sp(Function0.scala:39)
	at scala.Function0.apply$mcV$sp$(Function0.scala:39)
	at scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17)
	at scala.App.$anonfun$main$1(App.scala:76)
	at scala.App.$anonfun$main$1$adapted(App.scala:76)
	at scala.collection.IterableOnceOps.foreach(IterableOnce.scala:563)
	at scala.collection.IterableOnceOps.foreach$(IterableOnce.scala:561)
	at scala.collection.AbstractIterable.foreach(Iterable.scala:926)
	at scala.App.main(App.scala:76)
	at scala.App.main$(App.scala:74)
	at io.joern.joerncli.console.AmmoniteBridge$.main(AmmoniteBridge.scala:5)
	at io.joern.joerncli.console.AmmoniteBridge.main(AmmoniteBridge.scala)

To Reproduce
Steps to reproduce the behavior:
Use cpggen container image to generate a cpg for a go project. Example invocation below
https://github.com/AppThreat/cpggen/blob/main/.github/workflows/repotests.yml#L92
Expected behavior
Same CPG spec is to be used with CPG being compatible.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS
Joern Version
Java version

Additional context
Add any other context about the problem here.

Closing, because the open source front end is just started.

authors: itsacoderepo prabhu

repo: joernio/joern


text:
Natty 0.11 : Parsing "two minutes from" throws org.antlr.runtime.tree.RewriteEmptyStreamException: rule relative_time_suffix_anchor

"two minutes from" is the minimal String that causes a org.antlr.runtime.tree.RewriteEmptyStreamException when parsing.  The larger work is valid English, "...all the backstory I needed in the first two minutes. From there, I....".  The parser seems to skip the period, include the 'from' into a phrase "two minutes from" and then gets lost, lacking a solid point to base its two minute delta upon.
Artifact :  Maven Central 'com.joestelmach:natty:0.11'
Java:
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)
Relevant Stack :
org.antlr.runtime.tree.RewriteEmptyStreamException: rule relative_time_suffix_anchor
at org.antlr.runtime.tree.RewriteRuleElementStream._next(RewriteRuleElementStream.java:158)
at org.antlr.runtime.tree.RewriteRuleElementStream.nextTree(RewriteRuleElementStream.java:145)
at com.joestelmach.natty.generated.DateParser.relative_time_suffix(DateParser.java:27045)
at com.joestelmach.natty.generated.DateParser.relative_time(DateParser.java:31470)
at com.joestelmach.natty.generated.DateParser.date_time(DateParser.java:1116)
at com.joestelmach.natty.generated.DateParser.date_time_alternative(DateParser.java:2328)
at com.joestelmach.natty.generated.DateParser.parse(DateParser.java:592)
at com.joestelmach.natty.Parser.singleParse(Parser.java:188)
at com.joestelmach.natty.Parser.parse(Parser.java:87)

Update : Seems only some time units in the phrase "number (minutes|hours) from" and then ends there without solidifying the instant in time to be relative to results in this problem, e.g. :
"three hours from" -> Exception
"two days from" -> Exception
... but using 'days' or another word in the middle doesn't die (just realizes it isn't a date or uses 'now' as the solid instant reference point)
"two days from" -> Successfully returns May 14, 2015 (today being May 12, 2015, so +2 days ... success)!
"two monkeys from" -> Successfully returns zero date groups and doesn't explode with RewriteEmptyStreamException

./salute - appreciate the fix.

repo: joestelmach/natty


text:
Consider package-json-to-readme

https://github.com/zeke/package-json-to-readme

Nope. Too simplistic

repo: joeybaker/generator-iojs


text:
TookitCleaner: Node 18 Lambdas do not have aws-sdk@2

I attempted to deploy ToolkitCleaner as a brand new stack but the lambdas fail to execute. Seems that they attempt to require aws-sdk which is assumed to be available in the lambda environment but that's not the case in node 18 lambdas which only have aws-sdk@3
Runtime.ImportModuleError in step: GetStackNames
{
  "errorType": "Runtime.ImportModuleError",
  "errorMessage": "Error: Cannot find module 'aws-sdk'\nRequire stack:\n- /var/task/index.js\n- /var/runtime/index.mjs",
  "trace": [
    "Runtime.ImportModuleError: Error: Cannot find module 'aws-sdk'",
    "Require stack:",
    "- /var/task/index.js",
    "- /var/runtime/index.mjs",
    "    at _loadUserApp (file:///var/runtime/index.mjs:1000:17)",
    "    at async UserFunction.js.module.exports.load (file:///var/runtime/index.mjs:1035:21)",
    "    at async start (file:///var/runtime/index.mjs:1200:23)",
    "    at async file:///var/runtime/index.mjs:1206:1"
  ]
}

Thanks for reporting, I reverted the change in the meantime.

thank you!

authors: joeflateau jogold

repo: jogold/cloudstructs


text:
adds public key types to Gob registry

Forgot to add the PublicKey types for rsa and ecdsa in #52.

Codecov Report

Merging #56 into master will increase coverage by 0.16%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage      70%   70.16%   +0.16%
==========================================
  Files           8        8
  Lines         370      372       +2
==========================================
+ Hits          259      261       +2
  Misses         71       71
  Partials       40       40

Impacted Files
Coverage Δ

cache.go
79.79% <100%> (+0.41%)
:arrow_up:

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 068e838...fa39096. Read the comment docs.

authors: codecov-io jlindsey

repo: johanbrandhorst/certify


text:
Add link to Emojipedia.org

I think a nice to have feature would be to have a link to http://emojipedia.org/ in the GUI somewhere when a emoticon is selected. This way you can easily check what is meant by this emoticon or how it looks with different emoticon styles.

Yeah why not, if someone wants to take a stab at this feel free to.

authors: johannhof rugk

repo: johannhof/emoji-helper


text:
AttributeError: 'NoneType' object has no attribute 'f_locals'

I get a error when test function download_company_concepts.
Snipcode:
from datamule import Downloader

downloader = Downloader()
downloader.download_company_concepts()

Error logs:
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001169034.json'
Downloading files:  79%|█████████████████████████████████████████████████████▉              | 8072/10167 [1:02:09<03:40,  9.50it/s]
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001779303.json'
Downloading files:  79%|██████████████████████████████████████████████████████              | 8082/10167 [1:02:10<03:04, 11.27it/s]
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001227862.json'
Downloading files:  80%|██████████████████████████████████████████████████████              | 8086/10167 [1:02:10<03:45,  9.25it/s]Error downloading https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json: https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json

Rate limited for https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json. Will retry after 601 seconds.

Rate limit hit. Sleeping for 601 seconds before retrying.
Downloading files:  80%|██████████████████████████████████████████████████████              | 8086/10167 [1:46:00<27:17,  1.27it/s]
Traceback (most recent call last):
  File "/datamule-python/datamule/../examples/download_company_concepts_for_all_companies.py", line 5, in <module>
    downloader.download_company_concepts()
  File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 493, in download_company_concepts
    self.run_download_urls(urls=urls, filenames=filenames, output_dir=output_dir)
  File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 198, in run_download_urls
    return asyncio.run(self._download_urls(urls, filenames, output_dir))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/homebrew/Cellar/python@3.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 188, in _download_urls
    urls = [task.get_coro().cr_frame.f_locals['url'] for task in pending]
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'f_locals'

How about includes a check to ensure task.get_coro().cr_frame is not None before accessing f_locals?
urls = [task.get_coro().cr_frame.f_locals['url'] for task in pending if task.get_coro().cr_frame is not None]

Hey Im not the author of this script but Ive been working on my own stock
market program for a few months now and I came across this guys project a
few weeks ago and decided to follow it. I just checked the first two of
those cik numbers and the first one is for blackrock bonds and trust. Bond
and trust companies do not file 10qs or 10ks which is what the companyfacts
endpoint is for. The second cik belongs to direct communications solutions.
Looks like they withdrew from public offering back in oct 2023. They may
not have any entries in companyfacts because they were delisted. I havent
check the other ciks that you got errors for but im sure there are probably
similar reasons. Do some research and let me know.
On Sat, Nov 2, 2024 at 06:17 hoanghn418 @.***> wrote:

I get a error when test function download_company_concepts.
Snipcode:
from datamule import Downloader
downloader = Downloader()
downloader.download_company_concepts()
Error logs:
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001169034.json'
Downloading files:  79%|█████████████████████████████████████████████████████▉              | 8072/10167 [1:02:09<03:40,  9.50it/s]
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001779303.json'
Downloading files:  79%|██████████████████████████████████████████████████████              | 8082/10167 [1:02:10<03:04, 11.27it/s]
Failed to download: 404, message='Not Found', url='https://data.sec.gov/api/xbrl/companyfacts/CIK0001227862.json'
Downloading files:  80%|██████████████████████████████████████████████████████              | 8086/10167 [1:02:10<03:45,  9.25it/s]Error downloading https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json: https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json
Rate limited for https://data.sec.gov/api/xbrl/companyfacts/CIK0001278752.json. Will retry after 601 seconds.
Rate limit hit. Sleeping for 601 seconds before retrying.
Downloading files:  80%|██████████████████████████████████████████████████████              | 8086/10167 [1:46:00<27:17,  1.27it/s]
Traceback (most recent call last):
File "/datamule-python/datamule/../examples/download_company_concepts_for_all_companies.py", line 5, in
downloader.download_company_concepts()
File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 493, in download_company_concepts
self.run_download_urls(urls=urls, filenames=filenames, output_dir=output_dir)
File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 198, in run_download_urls
return asyncio.run(self._download_urls(urls, filenames, output_dir))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File @./3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File @./3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File @.***/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/datamule-python/.venv/lib/python3.12/site-packages/datamule-0.376-py3.12.egg/datamule/downloader/sec_downloader.py", line 188, in _download_urls
urls = [task.get_coro().cr_frame.f_locals['url'] for task in pending]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'f_locals'
—
Reply to this email directly, view it on GitHub
https://github.com/john-friedman/datamule-python/issues/9, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AI3AHY52JHO5RNHYNAMBPTDZ6SYELAVCNFSM6AAAAABRBUMRJCVHI2DSMVQWIX3LMV43ASLTON2WKOZSGYZTAMZZGU2DQNY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi @340cruz, very helpful. The Failed to download print statement is because of missing information - not a real error. I haven't fixed it yet as it would require time that I'd rather spend working on the parsers.
@hoanghn418 The error stopping your code from running is that the rate limit was triggered, and the downloader failed to handle it correctly. This may be because you opened a sec.gov url in your browser which pushed the requests/second over the maximum, and then the downloader incorrectly handled the rate limit error.
Workaround:
downloader.set_limiter('www.sec.gov', 5)
downloader.set_limiter('efts.sec.gov', 5)

I'll look into updating the downloader to be more robust with rate-limits. Note: I'm working on something that will allow me to move away from downloading using the SEC as rate limits + lack of metadata is currently the most requested feature.

repo: john-friedman/datamule-python


text:
Add a test for identifying new REST API routes

The wp json-dump routes command reads all the routes registered with the REST API and dumps their schemas to files in the tests/data/rest-api/routes directory. These files aren't actually used during tests, the intention was to use them to implement a test which fails when a new endpoint is registered in a new version of WordPress so I can be alerted when a schema for it needs to be created.

Implemented in 362033825d9fdce3945837cdac3cc6ca964fd587.

repo: johnbillion/wp-json-schemas


text:
error: Parceler: Unable to find read/write generator for type io.realm.RealmList

I'm programing a project by using Kotlin:
Kotlin version: 1.1.3-2
Parcerler version 1.1.9
Realm version 3.2.0
I am using Parceler for FragmentArgs with RealmObjects and getting the following crash.
Parceler: Unable to find read/write generator for type io.realm.RealmList

My Class Job like this:

@Parcel(value = Parcel.Serialization.BEAN, analyze = arrayOf(Job::class))
open class Job(
        //tweet ID
        @PrimaryKey open var tweetId: Long? = -1L,
        //tweet Text
        open var text: String = "",
        //job title
        open var title: String = "",
        open var longitude: Double? = null,
        open var latitude: Double? = null,
        //job link
        open var link: String = "",
        //urlImages of image
        @ParcelPropertyConverter(RealmStringListParcelConverter::class)
        open var imageUrls: RealmList<RealmString>? = null
) : RealmObject()

The class RealmString looks like this:
My class RealmString.kt like this:

@Parcel(value = Parcel.Serialization.BEAN, analyze = arrayOf(RealmString::class))
open class RealmString(
        open var value: String = ""
) : RealmObject()

The class RealmListParcelConverter looks like this:

public class RealmListParcelConverter implements TypeRangeParcelConverter<RealmList<? extends RealmObject>, RealmList<? extends RealmObject>>
{
    private static final int NULL = -1;

    @Override
    public void toParcel(RealmList<? extends RealmObject> input, Parcel parcel)
    {
        parcel.writeInt(input == null ? NULL : input.size());
        if(input != null)
        {
            for(RealmObject item : input)
            {
                parcel.writeParcelable(Parcels.wrap(item), 0);
            }
        }
    }

    @Override
    public RealmList fromParcel(Parcel parcel)
    {
        int       size = parcel.readInt();
        RealmList list = new RealmList();
        for(int i = 0; i < size; i++)
        {
            Parcelable parcelable = parcel.readParcelable(getClass().getClassLoader());
            list.add((RealmObject) Parcels.unwrap(parcelable));
        }
        return list;
    }
}

So which part i was wrong could your pls tell me ?

@johncarl81

Update
I have tried add implementations = RealmStringRealmProxy and implementations = JobRealmProxy , still get the same issue.

Don't you need to specify the converter in the @Parcel annotation for your Job class?

@dcow i am not sure what you mean. You want me to add @Parcel before my Job class?
Actually i have done this:@Parcel(value = Parcel.Serialization.BEAN, analyze = arrayOf(Job::class)) is that you want ?

I see you used the property annotation. BTW: you can use https://github.com/johncarl81/parceler/blob/master/parceler-api/src/main/java/org/parceler/ParcelConverter.java instead of TypeRangeParcelConverter.

Why do you need the analyze parameter?

@dcow Hello again, really thank your patient response and suggestion. Finally I got one solution for this answer. All I need is add setter in my model Job. I'll give my whole code here:

Job.kt

@Parcel(value = Parcel.Serialization.BEAN, analyze = arrayOf(Job::class))
            open class Job(
                    @PrimaryKey open var tweetId: Long? = -1L,
                    open var text: String = "",
                    open var title: String = "",
                    open var longitude: Double? = null,
                    open var latitude: Double? = null,
                    open var link: String = "",

            ) :RealmObject(){
@ParcelPropertyConverter(RealmStringListParcelConverter::class)
                        open var imageUrls: RealmList<RealmString>? = null}

RealmString.kt

@Parcel(value = Parcel.Serialization.BEAN, analyze = arrayOf(RealmString::class))
                open class RealmString(
                        open var value: String = ""
                ) : RealmObject()

3.RealmStringListParcelConverter.kt
class RealmStringListParcelConverter : RealmListParcelConverter<RealmString>() {
    override fun itemToParcel(input: RealmString?, parcel: Parcel?) {
        parcel?.writeParcelable(Parcels.wrap(RealmString::class.java, input), 0)
    }

    override fun itemFromParcel(parcel: Parcel?): RealmString {
        return Parcels.unwrap(parcel?.readParcelable<Parcelable>(RealmString::class.java.classLoader))
    }
}

Hello. I'm a very similar problem with Kotlin + Realm + Parceler.
My app needs to parcel some objects with realm list attributes. This is the error:
error: Parceler: Unable to find read/write generator for type io.realm.RealmList for com.retoglobal.datingcorelibrary.model.UserTest#photos
Find bellow the main classes:
UserTest class
@Parcel(implementations = arrayOf(UserTestRealmProxy::class),
        value = Parcel.Serialization.BEAN)

@RealmClass
open class UserTest(

    @PrimaryKey open var id: String = "",
    open var years : Int = 0,
    @SerializedName("profile_photo") open var profilePhoto: ProfilePhoto? = ProfilePhoto("www", "fd"),
    open var location : Property? = null,
    open var town : String? = "",
    open var username : String? = "") : RealmObject()
{

    @ParcelPropertyConverter(RealmUserTestParcelConverter::class)
    open var photos : RealmList<ProfilePhoto>? = null
    set

}

class RealmUserTestParcelConverter : RealmListParcelConverter<ProfilePhoto>() {

    override fun itemFromParcel(parcel: android.os.Parcel?): ProfilePhoto {
        return Parcels.unwrap(parcel?.readParcelable<Parcelable>(ProfilePhoto::class.java.classLoader))

    }

    override fun itemToParcel(item: ProfilePhoto?, parcel: android.os.Parcel?) {
        parcel?.writeParcelable(Parcels.wrap(ProfilePhoto::class.java, item), 0)
    }

}

ProfilePhoto class
@Parcel(implementations = arrayOf(ProfilePhotoRealmProxy::class),
        value = org.parceler.Parcel.Serialization.BEAN)
@RealmClass
open class ProfilePhoto(
        @SerializedName("m") open var photo : String = "",
        open var id : String = "") : RealmObject()

RealmListParcelConverter
@Parcel(implementations = arrayOf(ProfilePhotoRealmProxy::class),
        value = org.parceler.Parcel.Serialization.BEAN)
@RealmClass
open class ProfilePhoto(
        @SerializedName("m") open var photo : String = "",
        open var id : String = "") : RealmObject()

Thanks in advance for your help!!!!
Kind Regards,

authors: QifanViseo dcow samiissa


text:
Only output slowness report when explicitly enabled

PHPUnit may be configured with runtime options that alter its output or generated reports, such as --coverage-html or --log-junit or --testdox-html
Currently the slowness report is output on every test suite execution when SpeedTrapListener is enabled in phpunit.xml. This may not be desired when running PHPUnit with other options. For example, generating code coverage via --coverage-html is an opt-in runtime option. SpeedTrap should behave similarly.
Instead, the slowness report should only output when at least one of the following is true:

Providing runtime command-line argument: --speedtrap
PHP environment variable PHPUNIT_SPEEDTRAP has a string value of "enabled"

PHP environment variables can be set in php.ini or any method supported by PHP.
PHP environment variables can also be set using phpunit.xml:
<phpunit>
    <php>
        <env name="PHPUNIT_SPEEDTRAP" value="enabled" />
    </php>
</phpunit>

Feedback requested

Are there any other ways we should support opt-in slowness reporting?
What do you think of the name --speedtrap for runtime option? I'm not sure if/how this option's presence can be detected by the listener, but it can probably be done.
What do you think of the name PHPUNIT_SPEEDTRAP for the environment variable? This name scopes it into a fake namespace (PHPUNIT) and specific to this library (SPEEDTRAP).
Suggestions for PHPUNIT_SPEEDTRAP variable value to declare the listener should be enabled? I proposed string "enabled" because: 1) environment variables should always assume to be strings; 2) using a word prevents accidental type casting (i.e. "true" could become a boolean, "1" could be come an int or boolean; 3) the word definition of "enabled" declares exactly its effect on the listener behavior.

I'm confused as why this wasn't working, and I saw it isn't part of 3.2 release. was that an oversight?
https://github.com/johnkary/phpunit-speedtrap/compare/v3.2.0...master
Thanks for the great work!

Hi @MarkVaughn,
Sorry for the confusion. This ticket should have been closed when #66 was merged. Feature #66 is complete and now part of tagged version v3.3.0.
I originally thought this feature would be part of a v4.0 release. When you left that comment, it was merged to master, but not yet tagged on a release.
v4.0 will still happen and update to using PHPUnit's hooks system via #67.

authors: MarkVaughn johnkary

repo: johnkary/phpunit-speedtrap


text:
Missing REQUIRE file

(StatsBase, Distributions)

Closed by #12.


text:
Async version

Ref #1.

Rad, thanks!

authors: johnotander ngryman

repo: johnotander/get-readme


text:
Setup automatic build

Requires:
nosetests
flake8
Travis/tox

Using pytest not nose.

Travis and Coveralls running

repo: johnstonskj/rdftools


text:
'InputMessage' URI domain field parameter

Instead to evaluate if an URI domain is secured, a new parameter should define if the SSL protocol is expected. This optional field is only available when the 'fs' filesystem parameter is set to false. A logical validation should check if an URI domain is defined with the SSL parameter. The logic should be as follow,

If the specified URI domain is not secured and the SSL field set to true then the protocol will be "https://"
If the specified URI domain is secured and the SSL field set to false then the protocol will be "http://"

For simplicity, it will not have an additional field. When instantiating the 'InputMessage' class, the user is prompted to enter
the full URI by specifying the SSL protocol if required.
Examples,
http://somedomain/pathto either InputMessage('http://somedomain','pathto')
https://somedomain/pathto either InputMessage('https://somedomain','pathto')

For simplicity, it will not have an additional field. When instantiating the 'InputMessage' class, the user is prompted to enter
the full URI by specifying the SSL protocol if required.
Examples,
http://somedomain/pathto either InputMessage('http://somedomain','pathto')
https://somedomain/pathto either InputMessage('https://somedomain','pathto')

For simplicity, it will not have an additional field. When instantiating the 'InputMessage' class, the user is prompted to enter
the full URI by specifying the SSL protocol if required.
Examples,
http://somedomain/pathto either InputMessage('http://somedomain','pathto')
https://somedomain/pathto either InputMessage('https://somedomain','pathto')

repo: johnvanderton/flysh


text:
Repository has no license file

It would be nice to have a license file.
What can I assume if a publicly published project has no license?

See #31

authors: blessio johnwason

repo: johnwason/vcpkg-action


text:
Added missing namespace

In my last MR I created a new configmap. Sadly I forgot to add a namespace. Thus a kubectl apply -f k8s-deployment will create the configmap in the default namespace. Thus the pods will not start. Not a major issue but inconvenient.

Thanks!

authors: hikhvar johscheuer

repo: johscheuer/todo-app-web


text:
IP doesnt exist on mac

We use ip in /scripts/start-vault.sh and that command doesn't exists on mac's. So we need to catch missing dependencies, and tell people instead of simply continuing.

Great work!

authors: hoeghh jonasvinther

repo: jonasvinther/medusa


text:
ORM for Get Server

Let me confess the fact that the GetX ecosystem is the most amazing thing that ever happened to Dart. With Fuchsia is on the horizon, it just feels right to have a unified full-stack Dart ecosystem. Get Server is the right step towards the backend of this unified full-stack ecosystem.
However, despite it's too early, but I think the GetX ecosystem as whole needs to have a formal roadmap.
One important part of the modern backend is ORM. Which is currently lacking in Get Server or probably in any other server-side  Dart framework. Yes, I know that @jonataslaw already planning to have one. But the purpose of creating this issue is specific to give some opinion on the implementation of the upcoming ORM which I am expecting to be available sooner than later.
Here's my thought:
I have surfed enough of the backend frameworks from Laravel to Spring to Django to .NET for a while now. What I have found is that the ORMs on Django and .NET (Entity Framework) are two of the best there is. But in my observation, the Django ORM is tightly coupled to the Django framework. For example, you have to extend your model classes from models.Model class to ensure the ORM can detect changes. On the other hand, the .NET Entity Framework has something called Database Context. Which specifies all of the models that should be tracked. Models are simple classes without any extension.
Therefore, in my opinion, I think it would be nice to have an ORM like Entity Framework in Get Server (Or maybe in the Flutter front-end GetX too to be able to communicate with in-app databases like SQLite). We already have the amazing get_cli tool which can be used to generate the database migration classes/files without build_runner and also to sync/update the database (much like manage.py and dotnet-ef tool).
Also, can we have a GitHub organization now? As GetX is growing rapidly?
Thanks for the amazing work.

I thing that some ORM similar to Isar can be nice to have here. I am not .NET expert but isn't Isar similar to EntityFramework in .NET??
And yes some GetX github organization can be useful when GetX is growing up and now have a lot of parts: State management, Dependency Injection, Route management, Server, CLI, etc..
And this all can be separated into different repositories because some people want to use only some parts in their projects.

I am not sure if we want code generation except the migration file. That will defeat the purpose of GetX. Which is no code generation, no build runner. And what I know is that Isar is database itself, not ORM. So no! Isar isn't helpful in this case I think.

https://github.com/CpdnCristiano/mysql_simple_orm
as close to an orm without a code generator as it can get

https://github.com/CpdnCristiano/mysql_simple_orm
An orm without a code generator.
Still in development

Nice work! But if you can find a way to get rid of manually defining the table schema, then it will be useful. The schema code can be generated as soon as we don't need to use them anywhere in our code except the ORM itself. Like I said, like EntityFramework. You just need to register your models as DbSets in the database context and you are done. Then you just use the database context object to do any database operations.

Have you ever tried the sqfentity package ?
I were a .NET developer and searching for an ORM like EF. Finally I found this package to be useful and have an EF-like structure . Try it 👍

Have you ever tried the sqfentity package ?
I were a .NET developer and searching for an ORM like EF. Finally I found this package to be useful and have an EF-like structure . Try it

Definitely not what I wish for.
I am talking about code-first migration and without code-generation except for the actual migration file. Like how the get_cli generates code.

authors: CpdnCristiano hosseinhadi mjablecnik smjxpro


text:
ease does not work cannot delete the written value after restarting the app

ease、remove not working

Can you provide the needed steps to reproduce the problem?


text:
Controller has been marked as permanent, SmartManagement is not authorized to delete it

I have been created Binding class:
class _Binding extends Bindings {
  @override
  void dependencies() {
    // TODO: implement dependencies
    Get.lazyPut<LoginController>(() => LoginController(), fenix: true);
  }
}

then called it:
runApp(GetMaterialApp(
      // home: isLogged ? MainHomePage() :IntroPage(),
      home: LoginPage(),
      initialBinding: _Binding(),
    ));

And when I call offAll:
Get.offAll(MainHomePage());

I get an error:
[GETX] "LoginController" has been marked as permanent, SmartManagement is not authorized to delete it.

Please, help me! Tks

Please add reproduce code. Also I think you don't need fenix in this case.

Update GetX, this problem has already been resolved in the newest version

Update GetX, this problem has already been resolved in the newest version

I'm using GetX 3.26.0 but still getting the error as well

Update GetX, It's not occurs on last version.
Closing it

authors: eduardoflorence ghprod jonataslaw nemoryoliver pqtrong17

repo: jonataslaw/getx


text:
Fix RxInterface.proxy losing its previous value on exception

Currently, whenever we encounter the !canUpdate exception, the static RxInterface.proxy isn't reverted to its previous value, making it really unsafe for other Obx/Rx (I personally encountered a problem where an Obx doesn't listen correctly to its .obs's if there was an exception).
And yes I see that this exception should be avoided in the first place, but still, this is much safer imho.
Pre-launch Checklist

[-] I updated/added relevant documentation (doc comments with ///).
[-] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
[v] All existing and new tests are passing.

Yeah, makes sense.
Thanks for this PR.
LGTM

authors: WillowWisp jonataslaw


text:
TBHIV: Improve the commentary portion...

Including content, and presentation.

working on it now.

authors: jonathanhhb menriquez-IDM


text:
Stops working after a while

I've been seeing some issues where after running for a while, and mixing local browsing with web browsing, it just stops working.  No more requests come in the handler after that point, although web traffic continues to get passed through.  Any idea what might cause this?

Actually, I'm stupid.  ignore this, was user error.

repo: jonchang/recordpeeker


text:
🛑 ES - Spain is down

In 40ffac0, ES - Spain (https://www.skyshowtime.com/es/help/) was down:

HTTP code: 404
Response time: 1002 ms

Resolved: ES - Spain is back up in 9d05e4b after 19 minutes.

repo: jonesyriffic/gsp-sst


text:
Update imap-proto to 0.8.1

New imap-proto release has an important fix, without which I can't use https://github.com/deltachat/deltachat-core-rust/ with my server: https://github.com/djc/tokio-imap/commit/f4fe25faf46c14ce7c2e40cd17c8cf81c9daecd7
Unfortunately, simply changing version in Cargo.toml does not work: rust-imap does not compile with the new version of imap-proto.
The error is:
error[E0308]: mismatched types
   --> src/parse.rs:162:39
    |
162 |                 break Ok(Capabilities(caps));
    |                                       ^^^^ expected reference, found enum `imap_proto::Capability`
    |
    = note: expected type `std::collections::HashSet<&'static str>`
               found type `std::collections::HashSet<imap_proto::Capability<'_>>`

Looks like PR #120 is related.

@jonhoo @avitex  lberezy Any updates on this?

repo: jonhoo/rust-imap


text:
TypeError: Cannot read property 'forceValidation' of undefined

I can't even get started using this. Getting an error: "TypeError: Cannot read property 'forceValidation' of undefined"
Any ideas?

What version are you using?
On Sun, 15 Mar 2015 11:10 Robert Wagner notifications@github.com wrote:

I can't even get started using this. Getting an error: "TypeError: Cannot
read property 'forceValidation' of undefined"
Any ideas?
—
Reply to this email directly or view it on GitHub
https://github.com/jonsamwell/angular-auto-validate/issues/49.

1.17.23

More info:
I'm using foundation, and I included:
.run([
    'validator',
    'foundation5ElementModifier',
    function(validator, foundation5ElementModifier) {
      debugger
      validator.setDefaultElementModifier(foundation5ElementModifier.key);
    }])

I'm trying to load a page with my form on it when I get that error.

Sorry there is a bad build with that version.  Updgrade to the latest one v1.18.02

It appears that version is not available:
bower angular-auto-validate#~1.18.02     ENORESTARGET Tag/branch ~1.18.02 does not exist

Additional error details:
Available tags: V1.0.1, V1.0.2, v1.0.0, v1.0.10, v1.0.11, v1.0.12, v1.0.13, v1.0.14, v1.0.15, v1.0.16, v1.0.17, v1.0.18, v1.0.19, v1.0.20, v1.0.3, v1.0.4, v1.0.5, v1.0.6, v1.0.7, v1.0.8, v1.0.9, v1.10.21, v1.11.21, v1.12.21, v1.13.22, v1.14.22, v1.15.22, v1.16.22, v1.17.23, v1.18.01, v1.18.02, v1.2.20, v1.3.20, v1.4.20, v1.5.20, v1.6.20, v1.7.21, v1.9.21
Available branches: gh-pages, master

Should I do 1.9.21?

Hmmm, just looking - there is a tag with that version number

Ah, haha, yeah there is. Well, is there a reason I shouldn't use the newer 1.9.21 one?

It's not newer it is really old - you could use 1.16.22 that is a good version.  Give me 5 minutes looking at it now

Ah, I was confused, as I thought the order it spit them out in was the order of versions. I tried putting the "v" in front of the version and it appears to work.

Also, thanks so much for responding so quickly. Very helpful.

Sorry you had a problem getting started! That definitely not what I want.  I'm just sorting out the bower issue now.  I might add a simple plunker link to the readme so it is easy to get started.  Let me know if you need anymore help!!!

No worries. It's already a lot easier than what I was using before. Great library so far. A plnkr might be helpful, and/or perhaps a couple more examples on the docs. As far as I could tell, no common validations are included correct? Like checking for email, etc? That may be to cut down on bloat, not sure, but including an email checker, as well as a way to check a password and confirm password are equal, might be some nice common use cases to include out of the box. Shouldn't be hard to wire up, as I can write custom ones for it, but just thinking out loud here.

Yeah I'll sort out a plunker.  The library is for the processing of angular validation and displaying the results to the user rather than doing any actual validation.  That being said it includes default error messages to all the built in angular validator.  Angular has a built in email validator if you have an input with type email it should work.

All the bower version issues should now be fixed.
bower install --save-dev angular-auto-validate
should now resolve to the latest release v1.18.3
Thanks!

repo: jonsamwell/angular-auto-validate


text:
Nombre de solution Back Jumping

@JbRezidu : On ne devrait pas toujours avoir le même nombre de solutions quelque soit la méthode ?

On essaye de r�soudre le csp suivant :
CSP :
lstVariable (3) =[
X1 {[1, 2, 3, 4]},
X2 {[1, 2, 3]},
X3 {[4]}]
lstContrainte (2) =
[
Contrainte [
X1 {[1, 2, 3, 4]},
X3 {[4]} : [(1,4), (3,4), (4,4)]],
Contrainte [
X2 {[1, 2, 3]},
X3 {[4]} : [(1,4), (2,4), (3,4)]]]
Solution par Back Jumping : ( 3 solutions)
Solution [{1=1, 2=1, 3=4}]
Solution [{1=1, 2=2, 3=4}]
Solution [{1=1, 2=3, 3=4}]
Solution par Forward Checking : ( 9 solutions)
Solution [{1=1, 2=1, 3=4}]
Solution [{1=1, 2=2, 3=4}]
Solution [{1=1, 2=3, 3=4}]
Solution [{1=3, 2=1, 3=4}]
Solution [{1=3, 2=2, 3=4}]
Solution [{1=3, 2=3, 3=4}]
Solution [{1=4, 2=1, 3=4}]
Solution [{1=4, 2=2, 3=4}]
Solution [{1=4, 2=3, 3=4}]
Solution par Back Tracking : ( 9 solutions)
Solution [{1=1, 2=1, 3=4}]
Solution [{1=1, 2=2, 3=4}]
Solution [{1=1, 2=3, 3=4}]
Solution [{1=3, 2=1, 3=4}]
Solution [{1=3, 2=2, 3=4}]
Solution [{1=3, 2=3, 3=4}]
Solution [{1=4, 2=1, 3=4}]
Solution [{1=4, 2=2, 3=4}]
Solution [{1=4, 2=3, 3=4}]

Si si ^^ pour l'instant j'ai pas encore trouvé comment faire pour tout parcourir avec le back jumping =p

authors: JbRezidu jordane-quincy


text:
Incorrect Backup Times Being Reported

I can't seem to find where the issue is in the script but I am seeing backup times of "-27 hours"  or "-55 years" for various jobs, usually copy jobs.
Has anyone else run into this? Reports themselves show the correct times (usually a few hours). I verified it's nothing with the Grafana panel itself and no calculations are being done, the values in Influx are indeed incorrect and have negative values.

Figured it out, if anyone else has issues, add this to filter our the "Working" state jobs.

|> filter(fn: (r) => r["veeamBackupSessionsJobState"] == "Stopped")


text:
Close current chat box instead of all chat boxes

Is your feature request related to a problem? Please describe.
Yes, the feature is related to a problem. I use Ctrl+N for the extension in the extension shortcuts to "Close all chats in this page". However, instead of "all", it should  just close "current" chat box or chat-box which is on the top as most of the time we do not want to close all the chatboxes. In fact if there is option to close current chat-boxes then we can press shortcut key multiple times to close all chat boxes, which is not the case with the existing setup to just close top-chat-box.
Describe the solution you'd like
你期望的新功能实现方案
Replace "Close all chats in this page" in  the extension shortcut page with something like "Close current chats in this page". If not replaced, add such shortcut.
Additional context
其他

I think closing the chat directly using the close button is enough, there is no need to introduce too many features.
To be honest, I don't want to implement window management and activation functions. Currently, I cannot directly access the activated chat. Furthermore, there is a difference in user preferences regarding whether to close last dragged chat or last sent chat.

repo: josStorer/chatGPTBox


text:
Create EBH

Envio prueba!

Muchas gracias por la aportación.

authors: edgarbah josechqtop