Skip to content

Instantly share code, notes, and snippets.

View charlenopires's full-sized avatar
💭
I may be slow to respond.

Charleno Pires charlenopires

💭
I may be slow to respond.
View GitHub Profile
@zachdaniel
zachdaniel / libraries_and_frameworks.md
Last active June 29, 2023 16:42
EEF Working Group Proposal: Libraries and Frameworks Working Group

Libraries and Frameworks Working Group

Mission Statement

  • To provide resources for library and framework authors to ensure that BEAM languages have a rich, vibrant ecosystem with a high degree of developer experience. Main Objectives
  • Provide and maintain best practices on library and framework standardization, documentation, code, and distribution. Collaborate to work on and make proposals for underlying tooling that improve the experience for library/framework authors and users.
  • Provide more visibility into the library ecosystem of Elixir on behalf of both authors and users.
  • (if Build and Packaging want to move this here, we could also take this over) Improve the user experience in generating and accessing documentation from the shell, IDEs, web pages, and more.
@veekaybee
veekaybee / chatgpt.md
Last active October 30, 2024 08:38
Everything I understand about chatgpt

ChatGPT Resources

Context

ChatGPT appeared like an explosion on all my social media timelines in early December 2022. While I keep up with machine learning as an industry, I wasn't focused so much on this particular corner, and all the screenshots seemed like they came out of nowhere. What was this model? How did the chat prompting work? What was the context of OpenAI doing this work and collecting my prompts for training data?

I decided to do a quick investigation. Here's all the information I've found so far. I'm aggregating and synthesizing it as I go, so it's currently changing pretty frequently.

Model Architecture

@vmarcosp
vmarcosp / links-live-rescriptbr.md
Last active November 25, 2022 16:22
Links de todas as referências, redes sociais e sites utilizados nas lives de ReScript
@flschweiger
flschweiger / Flutter.format
Created February 16, 2019 20:19
Flutter color format file for Sip Color Picker
{
"name" : "Flutter",
"clipboardFormat" : {
"function" : "concat",
"y" : ")",
"x" : {
"x" : "const Color(0xFF",
"function" : "concat",
"y" : {
"x" : "hex[red]hex[green]hex[blue]",

Elixir Assignment #3

Over the next few weeks we'll be implementing the game of mastermind.

A quick recap. The game is played with a bag containing lots of colored pegs. Typically there are 6 distinct colors, and there will be multiple pegs of each.

One player sets a challenge by picking four pegs and placing them in sequence somewhere the other player can't see. The other player takes

@bergwerf
bergwerf / main.dart
Last active December 9, 2017 02:44
Currying in Dart
typedef R Fn1<R, T1>(T1 arg1);
typedef R Fn2<R, T1, T2>(T1 arg1, T2 arg2);
Fn1<Fn1<R, T2>, T1> curry12<R, T1, T2>(Fn2<R, T1, T2> fn) {
return (T1 arg1) => (T2 arg2) => fn(arg1, arg2);
}
Fn1<Fn1<R, T1>, T2> curry21<R, T1, T2>(Fn2<R, T1, T2> fn) {
return (T2 arg2) => (T1 arg1) => fn(arg1, arg2);
}
@bergwerf
bergwerf / main.dart
Last active December 6, 2017 00:46
Dart pattern matching like Rust
typedef bool Case<T>(T input);
Case<num> gt(num than) => (num x) => x != null && x > than;
Case nil = (instance) => instance == null;
O match<T, O>(T input, Map<dynamic, Function> cases) {
for (final _case in cases.keys) {
if (_case == input || (_case is Function && _case(input) == true)) {
return cases[_case]();
}
}
@MikeMitterer
MikeMitterer / FromToDate.kt
Last active December 5, 2017 04:08
Compare Dart -> Kotlin -> Java
/**
* Definiert einen Zeitrahmen
*
* User: mikemitterer, Date: 16.10.13, Time: 10:29
*/
@DartClass(library = "mobiad_rest_ui.model", classname = "FromToDate")
data class FromToDate(
val from: DateTime,
val to: DateTime)
{
@mjohnsullivan
mjohnsullivan / downloader.dart
Last active December 5, 2017 04:31
Simple HTTP downloader script in Dart
// Copyright 2017 Matt Sullivan
// Governed by the 2-Clause BSD license: https://opensource.org/licenses/BSD-2-Clause
import 'dart:io';
import 'package:http/http.dart' as http;
import 'package:args/args.dart';
void main(List<String> args) {
var parsedArgs = parseArgs(args);