Giter Club home page Giter Club logo

wollok-site's Introduction

Wollok Site

Wollok Programming Language Web Site - Xtext implementation

Access it at : http://www.wollok.org

Since July 2024, this website will become in low maintenance mode. Please check out our new website

Environment Setup

Install Ruby: If you are in Linux, this is a good tutorial: http://tecadmin.net/install-ruby-on-rails-on-ubuntu/

git checkout gh-pages
gem install bundler
bundle install

Run locally

jekyll server --incremental --livereload

Incremental is important to reload changes in an active server 😄 Livereload refreshes the content after saving the files You can navigate a local site in http://localhost:4000 or add the parameter --open-url so it opens automatically

Troubleshooting

If you see an error like "cannot load such file -- bundler (LoadError)" you should see which rake is missing, and do

# gem install -rake-

You have activated colorator 1.0 but ...

An error like this in Linux is solved by setting "true" to "Run command as a login shell" in Terminal settings (Edit > Profile Preferences... Title and Command)

RVM is not a function?

Ok, see these pages:

Strange dependencies errors

Something like

~/.rvm/gems/ruby-2.3.0/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize': Could not find minitest-5.9.0 in any of the sources (Bundler::GemNotFound)

Try deleting Gemfile.lock and jekyll server afterwards.

Working with the site

  • Every time you make a change in a .md or .html file, it will be regenerate into _site folder.
  • Changes in _config.yml have no effect, you have to stop & start Jekyll server

Site Deployment

If you push to branch master the site will be automatically published in netlify.

Although we don't need to do anything, here's the tutorial that shows how to accomplish this task just in case we forget.

Picture effects

Images are cropped using this online application Effects are

  • Effect | Unicolor | Amy
  • Adjustment - Color
  • Hue -16
  • Saturation 30
  • Brightness 0
  • You can also make adjustments Blur or Sharpen

wollok-site's People

Contributors

fdodino avatar lspigariol avatar palumbon avatar javierfernandes avatar ezequielpereyra avatar dependabot[bot] avatar clombardi avatar npasserini avatar maeriens avatar asanzo avatar julimr avatar facundo91 avatar faloi avatar maximilianofelice avatar tesonep avatar wollok-site-bot avatar mosjim avatar

Watchers

 avatar Deby avatar Guille Polito avatar Gaston Prieto avatar James Cloos avatar Federico Scarpa avatar Ernesto Bossi avatar  avatar Juan José Contardo avatar Juan Bono avatar  avatar Leo Gassman avatar  avatar  avatar  avatar Julian Karp avatar  avatar  avatar Federico Cano avatar  avatar Javier Zolotarchuk avatar LizaChambi avatar Leandro avatar  avatar

wollok-site's Issues

Remove 32 bit Mac instalation

We are not generating this component. Now it is linking to a very old Wollok version. We should remove that link.

Falta documentación: ¿cómo configurar la JDK que quiero usar para Wollok?

Me llega la siguiente pregunta y no encontré la respuesta en la doc, ¿deberíamos agregarla?

hola en linux donde como se encuentra la ruta del jdk y como se la agrego al .ini?

Yo respondí esto:

Cómo saber la ruta del jdk depende de tu versión de linux, en la mía es "which java" o también "readlink -f $(which java)"
Y para ponerlo en el eclipse.ini es "-vm" y el path. Por ejemplo:

-vm
/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

Ojo que hay un enter en el medio, es necesario.

imagen y texto

cuando explica text() dice "Pero nuestro objeto no debe tener definido el método image() (al menos por ahora)."
pero luego hay un ejemplo con text() e image() en el mismo objeto

¿Orientada?

En el texto de la home dice:

programación a objetos.

Creo que le falta en "orientada a", ¿no?

Problema para descargar Wollok

Estoy usando Chrome - Version 86.0.4240.111 (Official Build) (64-bit), y cuando intento descargar Wollok desde el sitio no pasa nada (nunca comienza la descarga).

Mirando la consola salta este error:

Mixed Content: The site at 'https://www.wollok.org/' was loaded over a secure connection, but the file at 'http://wollokdownload.s3-website-us-west-2.amazonaws.com/wollok/products/stable/wollok-linux.gtk.x86_64.zip' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.
  • Al parecer el problema es que el sitio es https y el link de la descarga http.
  • Si hago click en el link http que aparece en el error de la consola sí comienza a descargar (o sea, el link funciona).

Problemas para descargar Wollok

Estoy usando Chrome - Version 86.0.4240.111 (Official Build) (64-bit), y cuando intento descargar Wollok desde el sitio no pasa nada (nunca comienza la descarga).

Mirando la consola salta este error:

Mixed Content: The site at 'https://www.wollok.org/' was loaded over a secure connection, but the file at 'http://wollokdownload.s3-website-us-west-2.amazonaws.com/wollok/products/stable/wollok-linux.gtk.x86_64.zip' was redirected through an insecure connection. This file should be served over HTTPS. This download has been blocked. See https://blog.chromium.org/2020/02/protecting-users-from-insecure.html for more details.
  • Al parecer el problema es que el sitio es https y el link de la descarga http.
  • Si hago click en el link http que aparece en el error de la consola sí comienza a descargar (o sea, el link funciona).

Example of super has errors

in argentinian version

class AveEficiente inherits Ave {
override method energiaGain(comida) {
super(comida) / 2
}
}

must be

class AveEficiente inherits Ave {
override method energiaObtenida(comida) {
return super(comida) / 2
}
}

in english version

only add return in super line

Renombrar 'variables de instancia' => 'atributos'

El término variable de instancia tiene dos problemas

  1. Lo usamos antes de tener clases, donde la palabra instancia no tiene sentido y confunde.
  2. Pueden ser constantes.

El término atributo además de evitar estos problemas me parece más prolijo para evitar confusiones y se usa en muchos lugares en la industria y en la academia. De yapa es más corto.

Accesors property heredados - Chequeador de tipos

Buenas!

Les reporto este pequeño bug del chequeador de tipos que encontré. Resulta que al heredar de una clase que tiene atributos definidos como property, el chequeador de tipos no detecta los accesors heredados en la subclase.

En tiempo de ejecución todo va bien, el problema es solo en el entorno.

Saludos!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.