Skip to content

Instantly share code, notes, and snippets.

View blorente's full-sized avatar

Borja Lorente blorente

View GitHub Profile
@blorente
blorente / GSoC_Borja_Lorente.md
Last active February 27, 2018 20:01
A gist with links to the Pull Requests containing the code that developed during GSoC 2016

The work during GSoC 2016 resulted in the submission of three Pull Requests to ScummVM's mainline, with the first two being already merged, and the third one being in the process:

Extraction and extension of the MacGui GUI system, and subsequent leak fixing

Addition of the MacVenture engine to ScummVM

The bulk of the effort was directed towards the MacVenture engine, and thus most of the basic functionality was developed, including reaching winnability with Shadowgate. More information can be found in the Pull Request description and comments, as well as in the various entries on the blog and in the Trello board used to keep track of progress throughout the program. There are, however, some unfinished or unpolished parts in the engine, which are either marked as TODO or HACK in the

Pride and Prejudice

Lessons learned from failing to meet every deadline despite 60-hour weeks

GSoC is nearly over and whatever the result may be, I believe it's worth to make a brief self-reflection. After all, GSoC is first and foremost about learning, and as such it would be a waste to not take as much value as possible from all those hours in front of the computer. And I did spend them, trust me. Here's a brief summary of the major work periods that underwent this summer:

From start until the first midterm This period was easily the most stressful of my life, and took a high toll on my body and mind. In my University June is reserved as the exam period, which in reality translates to the "juggle final projects and preparing final exams for two insane weeks, then just crash and sleep for a week" period. This year however, the exams were scattered through the entire month, with roughly a week between exams and a couple of final projects to deliver in between. This seemed extremely good, but the re

@blorente
blorente / dsi_lab2.md
Last active November 4, 2016 16:35
Project 2: Mockup with MyBalsamiq
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 1 column 17
---
title: Project 2: Video Broadcasting with _Stream_
authors:

  - García Castillo, Pedro
  - García Ferreiro, Jorge
  - Reyes Parrilla, Daniel
  - Lorente Escobar, Borja
---

Introduction

Grace Code

(0) {
(1)   4;
(2)   4 + 5;
(3)   true && false;
(4)   "Hello" ++ "World";
(5)   var x := true;
(6)   def y = 6;
(7) def obj = object {
## ------------------------
## VAR
def procesa(var):
if nivel == 0:
apilaInt(dir)
else:
apilad(nivel)
apilaInt(dir)
suma()
if es_por_ref:
grammar gramatica_acondicionada
{
analysis LR1, LALR1;
nonterminal Sp, S, G, F;
terminal a, b, c, d;
Sp := S;
S := a F;
S := b G;
F := c;
@blorente
blorente / .scalafix.conf
Created October 6, 2017 05:35
Scalafix-CLI linter issue
rule = "file:../rules/ShowTheImplicits.scala"
lint.explain = true
{
"call_with_implicit_params": {
"function": {
"name": "t.byRepository(owner, repository)",
"location": {
"line": 17,
"col": 43,
"sourceFile": "src/main/scala/gitbucket/core/service/CommitsService.scala"
}
},
We can make this file beautiful and searchable if this error is corrected: It looks like row 5 should actually have 9 columns, instead of 5. in line 4.
id,path,line,col,name,fqn,class,type,kind
kernel/src/main/scala/cats/kernel/instances/boolean.scala:6:43,kernel/src/main/scala/cats/kernel/instances/boolean.scala,6,43,catsKernelStdOrderForBoolean,cats.kernel.instances.BooleanInstances.catsKernelStdOrderForBoolean,cats.kernel.Order,Order[Boolean] with Hash[Boolean]{},val
kernel/src/main/scala/cats/kernel/instances/set.scala:11:46,kernel/src/main/scala/cats/kernel/instances/set.scala,11,46,catsKernelStdPartialOrderForSet,cats.kernel.instances.SetInstances1.catsKernelStdPartialOrderForSet()cats.kernel.PartialOrder,cats.kernel.PartialOrder,[A] => PartialOrder[Set[A]],def
kernel/src/main/scala/cats/kernel/instances/set.scala:6:38,kernel/src/main/scala/cats/kernel/instances/set.scala,6,38,catsKernelStdHashForSet,cats.kernel.instances.SetInstances.catsKernelStdHashForSet()cats.kernel.Hash,cats.kernel.Hash,[A] => Hash[Set[A]],def
kernel/src/main/scala/cats/kernel/instances/set.scala:14:45,kernel/src/main/scala/cats/kernel/instances/set.scala,14,45,catsKernelStdSemil

In the figure of this section, we can see that:

> Test and IntegrationTest extends Runtime; Runtime extends Compile; CompileInternal extends Compile, Optional, and Provided.