groovy / groovy-website Goto Github PK
View Code? Open in Web Editor NEWThe previous source repo for the Groovy language website
Home Page: http://www.groovy-lang.org
The previous source repo for the Groovy language website
Home Page: http://www.groovy-lang.org
assert [
'Guillaume',
'April, 1st',
'$ dollar sign',
'$ escaped dollar sign',
'\\ backslash',
'/ forward slash',
'$/ escaped forward slash',
'/$ escaped dollar slashy string delimiter'
].each { dollarSlashy.contains(it) }
needs to be changed to something like
assert [
'Guillaume',
'April, 1st',
'$ dollar sign',
'$ escaped dollar sign',
'\\ backslash',
'/ forward slash',
'/ escaped forward slash',
'/$ escaped dollar slashy string delimiter'
].every { dollarSlashy.contains(it) }
Note two errors. The first is that escaped forward slash isn't displayed as escaped. The second is that the assert doesn't actually work.
I can't see the google site search bar on (http://groovy-lang.org/search.html) when using Firefox 64.0 on Ubuntu.
It says:
Loading failed for the <script> with source “http://www.google.com/cse/cse.js?cx=013939896723962546743:hbhn__olhii”
This isn't an issue particular to your website, as I can see the google site search bar in Chromium. This is probably because I have the "block trackers" option on (that also blocks all Google Captcha). However, I thought it might be an accessibility concern if you want to make sure your site functionality doesn't rely on a third-party tracking your users through your website. Just in case you're concerned about that.
The "Fork me on Github" image floats over the vertical scrollbar. When scrolled to the top of the page, the image completely covers the scrollbar thumb making it impossible to click/drag scroll. The linkable region is also the bounding box of the image (vs. the triangular slice)
i like visiting github...but i've done it unintentionally about a dozen times already today reading the Docs :)
The download links (on http://groovy-lang.org/download.html) provided for binary, source, sdk bundle and windows installer are all http. How am I suppose to know what I'm downloading hasn't been compromised in transit? Can they be https links or can you list the correct md5 hashes for the downloads?
Also the sdkman instruction are scary. It is asking me to download something of http and just run it. How do I know it hasn't been tampered in transit? is there a secure way of using sdkman?
In the div with class='col-right' the Apache's Image is without the class='img-responsive'.
<img src="img/xasf_logo.png.pagespeed.ic.oYGxdP6oSc.png" title="The Apache Software Foundation" alt="The Apache Software Foundation" class="img-responsive">
When viewed in mobile Safari the scrolling on many of the pages is very slow and lacks the usual inertia. It makes viewing the site a pretty unpleasant experience.
There are links for groovy truth on the URL http://www.groovy-lang.org/operators.html which are broken.
http://www.groovy-lang.org/operators.html#Groovy-Truth
I tried to make these changes to the doc and submit a PR, but it was taking me too long to figure out the templating system, since I'm still new to groovy. I would still like to offer my ideas for improving the documentation, in hopes that someone familiar with the build system can easily make the changes.
Proposals:
groovy -version
to verify proper installation.something appears to be interfering w/ the regular behavior of anchor history. Clicking on an anchor link properly brings you to the anchor position
but clicking "back" from this point has no effect
vs. the expected behavior of returning to the part of the document where the anchor link was clicked.
this makes navigating the Documentation pages very difficult
As seen in the image below there's an error here:
It looks the code block is incorrect.
The error can be found on the following page: http://docs.groovy-lang.org/latest/html/documentation/#_interface
link needs to be changed from http://groovy-lang.org/syntax.html#_the_groovy_truth
to http://groovy-lang.org/semantics.html#Groovy-Truth
"Energy Transfer" - Company logo using Groovy is repeated twice in homepage.
On a side note, how is the list of organizations using Groovy language determined?
How can other organizations be added to that list, if required?
As seen in the image below there is (possibly) a bug here:
The bug can be found on the following page: http://docs.groovy-lang.org/latest/html/documentation/#type-inference
Please see attached the following Ideone: https://ideone.com/Evao2b
Hello,
There seems to be a typo in the metaprogramming page.
In the sentence:
"You can a access a objects metaClass or set your own MetaClass implementation for changing the default interception mechanism."
probably the part: "You can a access a objects metaClass" should be replaced by: "You can access an object's metaClass".
Best regards,
Ivaylo
www.groovy-lang.org still points to codehaus
http://www.groovy-lang.org/install.html
GVM
has renamed to SDKman
def isOdd = { int i-> i%2 == 1 }
The % operation is defined as (a/b)*b+(a%b) == a
with (a/b)
rounding towards zero. That means the closure yields incorrect results for negative odd numbers.
Fix: def isOdd = { int i-> i%2 != 0 }
You have the following property set in one of your stylesheets. I prevents printing the documentation eg. http://groovy-lang.org/style-guide.html. When the properties are removed all pages can be printed
html, body{
height:100%;
-webkit-overflow-scrolling:touch;
}
As the title said I wish I could provide Chinese localization.
It whould be nice to add two new subsections on the learn section of the site.
Videos
There are many really nice playlists on YouTube that could be added to the site like the GR8Conf, Greach, /dev/Kico that are nice resources to those whose whould like to see some Groovy code in action.
Tutorials
There are also many tutorials on the net that may be usefull to starters.
The site should have an user group section showing all the user groups around the world.
This is an important feature that can help spread the Groovy ecossystem around the world.
Every google search result for things in Groovy documentation points to groovy.codehaus.org, which redirects to beta.groovy-lang.org - the main page, not the page from the search results.
Example:
http://groovy.codehaus.org/Closures+-+Formal+Definition
just loads the main page, instead of
http://beta.groovy-lang.org/closures.html
am trying to pass the private key through groovy script : below is the script
Input:
output = sh(returnStdout: true, script: 'set +x; ./bin/create_bmc_host.sh "${AVAILABILITY_DOMAIN}" "${COMPARTMENT_ID}" "${IMAGE_ID}" "${SUBNET_ID}" "${SHAPE}" "${PRIVATE_KEY}" "${USER_OCID}" "${TENANT_OCID}" "${REGION}" "${USER_TIMEOUT}"')
Output : In Jenkins pipeline the parameters are empty
DOMAIN=
COMPARTMENT_ID=
IMAGE=
SUBNET=
SHAPE=
PRIVATE_KEY=
USER_OCID=
TENANT_OCID=
REGION=
Then I changed the above script as below
output = sh(returnStdout: true, script: "set +x; ./bin/create_bmc_host.sh ${AVAILABILITY_DOMAIN} ${COMPARTMENT_ID} ${IMAGE_ID} ${SUBNET_ID} ${SHAPE} ${PRIVATE_KEY} ${USER_OCID} ${TENANT_OCID} ${REGION}")
Output:
DOMAIN=kgzP:PHX
COMPARTMENT_ID=ocid1.compartment.oc1..aaaaaaaaq5
IMAGE=ocid1.image.oc1.phx.aaaaaaaaqutj4qjxihpl4mboabsa27mrpusygv6
SUBNET=ocid1.subnet.oc1.phx.aaaaaaaanhnue37m3gpouzhc7vi5oppru3zcpi7h
SHAPE=VM.Standard
PRIVATE_KEY=-----BEGIN
USER_OCID=PRIVATE
TENANT_OCID=KEY-----nMIIEwAIBADANBgkqhkiG9w0BAQEFAASCBKowggSmAgEAAoIBAQC4cQsgrfMIyC6DnwfeKOJTJgagHp39dC2djxr+ivf02MXmPrtlVypGngwlcNNgn0AYISDqUPmsl7QU/n0bBRm/Vs9ZXXUU78inEujhRYP8kNUeoD+......................................................................................bRhRl4FnHe1Q5quyakoyG+1rjuk4j4vQhfl+cw6xfSGSFfYsSskCgYEA4GajBLD2pjU4ePkVnqVXAUAoZ66w4aLSeoLD/zALY9wzHTVSY4y8dSZOt8+Mqgmv/1OYOanTC+yMz7p+0KrGRuqPgZpziFobNfLvTDzQu2z5E5dwXztV1f+1tHaeTkp9Wk1R3pdnNYOs6jU44JuZlbef42/2bs0g3Gg=n-----END
REGION=PRIVATE
the entire private key is one argument/parameter but the same key is assign to many parameters , please help me on the same . How to send the entire private key as one argument.
As with most sites employing fixed-width responsive designs, the new groovy site isn't friendly to all devices. For example, on an iPad mini retina in portrait orientation, the site is rendered too wide for the device rather than flowing text to the browser's actual width. Consequently, the reader is constantly having to move the page from left to right and back again just to finish reading a sentence.
This would not be a problem if normal pinch-zooming, or double-tap zooming worked, but they don't.
It stop here for a long time, I have to kill it, any solustion?
Generating website using Groovy 2.4.15
Cache directory: build/cache
<==========---> 78% EXECUTING
> :site-user:generateSite
Hello,
I noticed a few display bugs with your home page. I'm viewing from OSX on a 2013 Macbook Pro 13" Retina (2560x1600 pixels, rendering at 1280 x 1024).
The Apache Foundation Logo at the bottom needs to have "float:right;" added to it's img element.
The Wells Fargo Logo in your 'Companies that use us' section looks bad at all sizes, and just needs to go.
Best of luck!
I found a typo in http://www.groovy-lang.org/style-guide.html and wanted to send a pull request. I spent half hour but couldn't find where the source for that page is.
"But sometimes, this doesn’t look to good when" => It should be "too good".
As noted in the title, I've downloaded multiple distributions from bintray and all did not match the checksum...
root@colton-dev:/home/colton/Downloads# cat apache-groovy-binary-2.6.0-alpha-3.zip.sha256
13030011ef4f08ac99aec2f3cb287a5305f53c1f364a89e3a2611d7750160c80
root@colton-dev:/home/colton/Downloads# sha256sum apache-groovy-binary-2.6.0-alpha-3.zip
afc991be459de226523cf18cc76361b546a20a912ae48e1247371f6df14fa18d apache-groovy-binary-2.6.0-alpha-3.zip
root@colton-dev:/home/colton/Downloads# sha256sum /home/colton/Downloads/apache-groovy-binary-2.6.0-alpha-3\ \(1\).zip
13030011ef4f08ac99aec2f3cb287a5305f53c1f364a89e3a2611d7750160c80 /home/colton/Downloads/apache-groovy-binary-2.6.0-alpha-3 (1).zip
root@colton-dev:/home/colton/Downloads# cat /home/colton/Downloads/apache-groovy-binary-2.4.15.zip.sha256
bd4ca37a4d1b3704526d56fc48c119a8f70d418093d8703724407d65250f4aed
root@colton-dev:/home/colton/Downloads# sha256sum /home/colton/Downloads/apache-groovy-sdk-2.4.15.zip
621001284d8fe32970168b0bfa21e2de04517f357826d663f8bbd6d40260a86c /home/colton/Downloads/apache-groovy-sdk-2.4.15.zip
Groovyblogs.org is the best blog aggregator we have for Groovy developers.
On the community section whould be really nice to see the content of that site on it. It's also a nice incentive for new Groovy bloggers to see their posts on the official Groovy website
The book animations are neat, but I think removing them should be considered, at the very least on mobile.
On a mobile device, they break the layout and slow scrolling to a grinding halt. Now that links to the books are included for each book (via the orange book title header) there is no more need to include the "More Info" link.
On desktop I don't have a huge problem with them, except for maybe that the book cover is hidden when the book opens. There aren't really any performance issues I've noticed, though.
I suggest that a website to manage events is to be made, that way event makers and conference organizers has one central place to maintain conferences related to Groovy.
When I get around to it, I will start such initiative. This is a placeholder to see if there is any interest in the matter.
Also suggested for the Grails website: grails/grails-static-website#43
Every page under http://beta.groovy-lang.org/docs/ does not load resources (images, JS, etc.). For example: http://beta.groovy-lang.org/docs/latest/html/documentation/markup-template-engine.html does not work.
The resources are requested at wrong URLs. An image like http://beta.groovy-lang.org/docs/latest/html/documentation/img/pivotal.png is in fact located at http://beta.groovy-lang.org/img/pivotal.png.
I've tried http://docs.groovy-lang.org/docs/latest/html/documentation/markup-template-engine.html and it works.
Note that the failed linked I provided was taken from an external site.
It is currently not possible to view any documentation on iPad. When I try to scroll down through the new documentation the page moves up and down but there is no scrolling. The same goes for the Groovy API and Groovy JDK API docs.
It looks like docs are displayed in an iframe. Perhaps it would be best to open documentation in a new tab?
This is affecting an iPad Air running iOS 7.1.2. The issue occurred in the Safari and Google Chrome apps.
As seen in the image below there is a typo here:
The typo can be found on the following page: http://docs.groovy-lang.org/latest/html/documentation/#_optional_typing
EADS has been rebranded to Airbus Group see http://www.airbus-group.com/airbusgroup/int/en/news/press.20140102_airbusgroup_new_brand.html.
Please change logo to reflect this.
On the design patterns page the images are broken. The same
On website broken
http://docs.groovy-lang.org/latest/html/documentation/assets/img/ChainOfResponsibilityClasses.gif
On github working
https://raw.githubusercontent.com/apache/incubator-groovy/master/src/spec/doc/assets/img/ChainOfResponsibilityClasses.gif
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.