profile
viewpoint
Rafael Almeida rafaelalmeidatk https://rafaelalmeidatk.com Learning how to break stuff in different ways. Interested in JS, React, GraphQL, and security.

MarcosRenato266/Grow-Roadmaps 63

Opensource project of shared study roadmaps for programmers.

rafaelalmeidatk/discord-react-clone 18

Front-end replication of Discord's app made with React

rafaelalmeidatk/JGSS 15

Plugins to RPG Maker MV

rafaelalmeidatk/i-need-ideas 8

An app where you can look for ideas for new projects and create your own ideas to inspire other people

rafaelalmeidatk/hitbox 7

Program for creating animations based on a sprite sheet, you can edit the frames and colliders and see the results in real time

Phantom-Ignition/Winter-Defense 5

Source code of the game Winter Defense - built with MonoGame

rafaelalmeidatk/MonoGame-Minkowski-Difference 4

Collision based on Minkowski Difference

rafaelalmeidatk/graphql-architecture-example 1

Simple example of a modulable GraphQL architecture

rafaelalmeidatk/Grow-Roadmaps 1

Opensource project of shared study roadmaps for programmers.

startedrafaelalmeidatk/Super-Pete-The-Pirate

started time in 11 hours

PR opened craftworkgames/MonoGame.Extended

ShapeF refactoring

I started converting IShapeF methods to use Generics.

Also added a Analizer to warn about usage of IShapeF.

+847 -168

0 comment

17 changed files

pr created time in 20 hours

startedDrachenfrucht1/godotcord

started time in a day

startedornicar/chessground

started time in a day

issue commentcraftworkgames/MonoGame.Extended

pull requests do not build anymore

Yup, it's a problem with GitVersion. I already have a fix for it, I'll push the change soon.

LokiMidgard

comment created time in 2 days

startedheyvito/dotfiles

started time in 2 days

issue commentcraftworkgames/MonoGame.Extended

[Core] Duplicate `struct`s for things already available in `Microsoft.Xna.Framework`

Something for that education piece there (although this does contain a bit of speculation/assumption from me, but it makes more sense to me): Vector2 and all the "Vector*" data structures in System.Numberics are referring to a "vector" in terms of computer science, not mathematics. Either it is referring to C++ where a Vector is similar to a List<T> in C#, or it refers to the act of doing 1 CPU operation on multiple pieces of data at the same time called either "SIMD" or "vector operations".

I'm thinking any kind of explanation when it comes to documentation could be as simple as "There are multiple conflicting definition of vectors in computer science and programming. Here it means a specified number of float values passed around together."

fdrobidoux

comment created time in 2 days

startedrafaelalmeidatk/twitter-fullstack-clone

started time in 2 days

startedvazco/uniforms

started time in 2 days

startedNargonath/cra-build-watch

started time in 2 days

startedottomated/CrewLink

started time in 2 days

pull request commentreactiflux/reactiflux.com

Use Netlify Forms

I merged this to fight spam, but still feel free to review

nickmccurdy

comment created time in 2 days

issue commentcraftworkgames/MonoGame.Extended

Provide a generic overload for IShapeF

I tried moving everything Shape like to collisions project.

I moved

  • ShapeF
  • RectangleF
  • RectangleExtensions
  • Segment2
  • Ray2
  • Polyline
  • Polygon
  • EllipseF
  • CircleF
  • BoundingRectangle

I then changed

  • IRectangular to only contain the interface IRectangular removing IRectangularF. Should probably moved instead of removing
  • ShapExtension I removed the methods that work with the moved ones (also better moving instead)
    • FillRectangle (that takes an RectangleF)
    • DrawRectangle (3 variants that uses RectangleF)
    • DrawPolygon
    • One of the DrawCircle

After that Following files could no longer get compield since they use RectangleF

  • BitmapFont
  • Camera
  • Sprite
  • OrthographicCamera

So I currently don't think it is a good Idea to move IShape (and everything that needs it) to the collision project.

LokiMidgard

comment created time in 2 days

issue openedcraftworkgames/MonoGame.Extended

pull requests do not build anymore

like in #705

Error: Unable to process command '::set-env name=DOTNET_ROOT::../share/dotnet' successfully.
Error: The `set-env` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
Error: Unable to process command '::add-path::/opt/hostedtoolcache/GitVersion.Tool/5.2.4/x64' successfully.
Error: The `add-path` command is disabled. Please upgrade to using Environment Files or opt into unsecure command execution by setting the `ACTIONS_ALLOW_UNSECURE_COMMANDS` environment variable to `true`. For more information see: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/

created time in 2 days

PR opened craftworkgames/MonoGame.Extended

Added Editor config

My complete code was full of warnings because I have different standard styles then this Project.

I added a .editorconfig that has the style of this source code (at least for the things that were different then mine).

Maybe it would also make sense to activate warnings as errors on build, then ci could check if a pull request don't mix styles.

+35 -0

0 comment

2 changed files

pr created time in 3 days

issue openedcraftworkgames/MonoGame.Extended

ComponentManager.Destroy can throw an NRE

https://github.com/craftworkgames/MonoGame.Extended/blob/develop/Source/MonoGame.Extended.Entities/ComponentManager.cs#L83

This line can throw an NRE if a component is Referenced in an aspect builder, but never attached to an entity. Could check if the componentMapper is not null before trying to call componentMapper.Delete(entityId)

created time in 3 days

starteddmtrKovalenko/odiff

started time in 3 days

startedrafaelalmeidatk/twitter-fullstack-clone

started time in 3 days

issue openedcraftworkgames/MonoGame.Extended

Create an Analizer to help use this library in a performant way

As mentioned in #705 an Analyzer could help to prevent common mistakes using this library.

  • [ ] Warn if using IShapeF anywhere but in generic types
  • [ ] Some methods could be marked as unfit to be called in Update and Draw methods
    If e.g. those methods would them self allocate objects

Maybe someone else has some ideas?

created time in 3 days

startedgoldbergyoni/nodebestpractices

started time in 3 days

issue commentcraftworkgames/MonoGame.Extended

Provide a generic overload for IShapeF

I thought about preventing the ussage of IShapeF, depricating it would also show a warining when it is used in the where clause.

Instead a Rosyln Analyzer could warn the user not to use this. It can check where the type is used and only warn when a Variable, parameter or field is declared. Maybe I find time in the weekend to try this in a Fork.

I'll open a seperate issue for this.

LokiMidgard

comment created time in 3 days

startedrafaelalmeidatk/twitter-fullstack-clone

started time in 3 days

delete branch reactiflux/reactiflux.com

delete branch : use-netlify-forms

delete time in 4 days

push eventreactiflux/reactiflux.com

Nick McCurdy

commit sha 2ef7e165353b41213f854788e8e4b3bcdd252db5

Replace Netlify Functions with Netlify Forms

view details

Nick McCurdy

commit sha 9e282e8bc8b672f7b68e4c7d4ce587d3879b67c0

Remove extra functions config

view details

Nick McCurdy

commit sha 617bdff0006f3b5b8ea17434332341372cb17d73

Add form name for Netlify manually

view details

Nick McCurdy

commit sha 65fbae94ba0f8516b895eeefc69db5d9fb6e9f61

Also add form name to DOM

view details

Nick McCurdy

commit sha 883b01c9ce211ead21ed1f97caf9f5c16c3d974a

Only render onSubmit when given as a prop

view details

Nick McCurdy

commit sha d4a02ccbf76a12f144c533a2c924d68649ee593b

Revert "Only render onSubmit when given as a prop" This reverts commit 883b01c9ce211ead21ed1f97caf9f5c16c3d974a.

view details

Nick McCurdy

commit sha 534dcbf6df2e3b7961090f363a6573b17b2646a3

Submit form with fetch

view details

Nick McCurdy

commit sha 7b7f08e7c9221872477e69ca5f60fc8892b1c82c

Fix form data mapping

view details

Nick McCurdy

commit sha 5685577a4ecccc28a1aa9f9d27b22bc40fbea858

Remove extra handler

view details

Nick McCurdy

commit sha 19f71834d969439a28c3fde85f42945f64211688

Revert "Fix form data mapping" This reverts commit 7b7f08e7c9221872477e69ca5f60fc8892b1c82c.

view details

Nick McCurdy

commit sha 6e97a56d4b7e57fbef0caa26a468761a19609299

Fix form format again

view details

Nick McCurdy

commit sha 177c24b75662957bbb06af8ff45141a992638f42

Merge pull request #170 from reactiflux/use-netlify-forms Use Netlify Forms

view details

push time in 4 days

PR merged reactiflux/reactiflux.com

Use Netlify Forms

Testing things out with deploy previews

+15 -26

1 comment

5 changed files

nickmccurdy

pr closed time in 4 days

push eventreactiflux/reactiflux.com

Nick McCurdy

commit sha 19f71834d969439a28c3fde85f42945f64211688

Revert "Fix form data mapping" This reverts commit 7b7f08e7c9221872477e69ca5f60fc8892b1c82c.

view details

Nick McCurdy

commit sha 6e97a56d4b7e57fbef0caa26a468761a19609299

Fix form format again

view details

push time in 4 days

push eventreactiflux/reactiflux.com

Nick McCurdy

commit sha 5685577a4ecccc28a1aa9f9d27b22bc40fbea858

Remove extra handler

view details

push time in 4 days

push eventreactiflux/reactiflux.com

Nick McCurdy

commit sha 7b7f08e7c9221872477e69ca5f60fc8892b1c82c

Fix form data mapping

view details

push time in 4 days

push eventreactiflux/reactiflux.com

Nick McCurdy

commit sha d4a02ccbf76a12f144c533a2c924d68649ee593b

Revert "Only render onSubmit when given as a prop" This reverts commit 883b01c9ce211ead21ed1f97caf9f5c16c3d974a.

view details

Nick McCurdy

commit sha 534dcbf6df2e3b7961090f363a6573b17b2646a3

Submit form with fetch

view details

push time in 4 days

push eventGympass/yoga

Yoga

commit sha 44aaff171555ced20c68baef9730fa6c1763ff94

Updates

view details

push time in 4 days

more