profile
viewpoint

gulp-community/gulp-livereload 779

gulp plugin for livereload

hughsk/vinyl-source-stream 331

:cyclone: Use conventional text streams at the start of your gulp or vinyl pipelines

garrows/browser-serialport 195

Robots in the browser. Just like node-serialport but for browser/chrome apps.

darkforest-eth/client 116

Dark Forest client

hughsk/vinyl-buffer 78

Convert streaming vinyl files to use buffers

darkforest-eth/plugins 77

A showcase of Dark Forest plugins from the community!

darkforest-eth/eth 75

Dark Forest contracts

andreas/ocaml-dataloader 42

Dataloader is a utility for batching and caching when fetching data, in particular for GraphQL.

heapwolf/level-users 37

Store and get users, salt their passwords, persist them to disk, etc.

gulp-community/gulp-wrap-umd 32

Wrap files with an UMD wrapper

startedvshymanskyy/embedded-wasm-apps

started time in 20 hours

issue commentgoogleapis/release-please

Manifest releaser: Customize PR title

@chingor13 Maybe we can make it an option on the "." path? That's what we use currently.

phated

comment created time in a day

push eventgrain-lang/binaryen.ml

Blaine Bublitz

commit sha bac5bab0dd97bf69ff45d3612dd4f45c2f89bc80

beta9 and windows should work

view details

Blaine Bublitz

commit sha 4b1d3900865429d3c505bdd98651c7f63f885afd

ubuntu latest

view details

push time in 2 days

issue commentfdopen/opam-repository-mingw

Why was my package marked as unavailable on windows?

Ah, interesting. I didn't know that. I'm not too familiar with this stack—is that something I can fix in my dune file?

phated

comment created time in 2 days

issue commentdarkforest-eth/eth

Compile error

Is this from a fresh clone or did you pull new commits and try to rebuild over some old stuff?

itewqq

comment created time in 3 days

issue closedgulp-sourcemaps/gulp-sourcemaps

Bug: `write` should not compute absoule path of content source code based on `file.base`

Hi,

The README say

Important: Make sure the paths in the generated source map (file and sources) are relative to file.base (e.g. use file.relative).

following how the source code content is loaded here

var sourcePath = path.resolve(file.base, sourceMap.sources[i]);

However IMHO the file.base should not be used for this purpose since it doesn't always reflect where the source map file is.

In gulp-typescript for example, we set file.base to be the outDir option in tsconfig.json. Because gulp.dest use file.relative for final destination, this is required in order to copy the structure of src folder into the compiled folder.

Making the sources field relative to file.base meaning we're having an incorrect path. If we set it correctly, then gulp-sourcemaps can't load the source content.

The suggested solution is to use path.dirname(file.path) instead.

EDIT: I see in the README

sourceRoot Set the location where the source files are hosted (use this when includeContent is set to false). This is usually a URL (or an absolute URL path), not a local file system path. By default the source root is '' or in case destPath is set, the relative path from the source map to the source base directory (this should work for many dev environments). If a relative path is used (empty string or one starting with a .), it is interpreted as a path relative to the destination. The plugin rewrites it to a path relative to each source map.

This fixes the problem. But is there a reason for using file.base instead of path.dirname(file.path) ? Am I missing something ?

closed time in 3 days

haoadoresorange

issue commentgulp-sourcemaps/gulp-sourcemaps

Bug: `write` should not compute absoule path of content source code based on `file.base`

file.base is the path parent before the glob which helps gulp rebuild directory structures in the destination. That is purposefully the default. If you are doing something weird, you should use sourceRoot to set your sourceRoot however you want.

haoadoresorange

comment created time in 3 days

pull request commentfdopen/opam-repository-mingw

Mark libbinaryen as available on windows

@fdopen @smorimoto can you take a look at this? It is blocking a release of binaryen.ml (ref https://github.com/grain-lang/binaryen.ml/pull/113)

phated

comment created time in 3 days

pull request commentgrain-lang/grain

chore: Document memory management in Grain

@peblair were you planning to update this PR for the new memory management style? We should get this in sooner rather than later.

peblair

comment created time in 3 days

push eventgrain-lang/grain

Spotandjake

commit sha 66bd45fdfba94083c1e337e68d8eba51cb72b542

chore(stdlib): Add docs to Set module (#949)

view details

push time in 3 days

PR merged grain-lang/grain

Reviewers
chore(stdlib): Add Graindoc to Set library

chore(stdlib): Add GrainDoc To Set Library

related tp #702.

+674 -5

3 comments

2 changed files

spotandjake

pr closed time in 3 days

PullRequestReviewEvent

pull request commentgulpjs/interpret

Add .cjs as list of potential JS files

That'd be a ton of help! I've not done much with "type": "module" stuff. It seems the issue is that the .cjs extension doesn't exist in the commonjs context, so we might need to stub it the same way we stub mjs.

crutchcorn

comment created time in 3 days

pull request commentgulpjs/interpret

Add .cjs as list of potential JS files

@crutchcorn I'm trying to figure out how to write a test for this right now.

crutchcorn

comment created time in 3 days

delete branch grain-lang/grain

delete branch : phated/esy-upgrade

delete time in 3 days

push eventgrain-lang/grain

Blaine Bublitz

commit sha cc4ac1e30443885df42c37df1f50ec3e7b2bb8c4

chore(compiler): Upgrade esy to support new macOS (#1031) chore(compiler): Upgrade esy to 0.6.12 chore: Remove yarn workspace command and drop vscode script chore(docs): Add contributor note about global esy in your path

view details

push time in 3 days

PR merged grain-lang/grain

chore(compiler): Upgrade esy to support new macOS

@ospencer @marcusroberts can you test this out on your fancy new macOS version?

+17 -48

8 comments

7 changed files

phated

pr closed time in 3 days

pull request commentgrain-lang/grain

chore(compiler): Upgrade esy to support new macOS

Going to merge this but pinging @peblair @jozanza and @cician for visibility because it changes the requirement to need esy installed globally to have ocamllsp support.

phated

comment created time in 3 days

push eventgrain-lang/grain

Blaine Bublitz

commit sha 080373e7ec74a63a6941e5989ed7b43686a33f3b

Update CONTRIBUTING.md

view details

push time in 3 days

Pull request review commentgrain-lang/grain

chore(compiler): Upgrade esy to support new macOS

 There are a set of contributor docs in [docs/contributor](https://github.com/gra  ### Compiler +When working with the compiler, you'll want to install [esy][https://esy.sh/docs/en/getting-started.html#install-esy] globally and make it available in your `$PATH`. This will allow you to have LSP services while working on the compiler code.
When working with the compiler, you'll want to install [esy](https://esy.sh/docs/en/getting-started.html#install-esy) globally and make it available in your `$PATH`. This will allow you to have LSP services while working on the compiler code.
phated

comment created time in 3 days

PullRequestReviewEvent

pull request commentgrain-lang/grain

chore(compiler): Upgrade esy to support new macOS

Esy 0.6.12 is officially out! I've updated this PR and promoted it from draft. I've also reverted the yarn ... run stuff because it causes really weird behaviors in esy. I added a note to the contributor docs that you need it installed globally and in your PATH.

phated

comment created time in 3 days

push eventgrain-lang/grain

Tim Gestson

commit sha 9091930344224925bb7b2e1ef6f879c79a5c2f62

feat(stdlib): Add sort function to Array module (#1012) Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>

view details

Blaine Bublitz

commit sha 003cb1e10ca51c3f16d2155581eb8dccdde3ce5c

fix(compiler): Allow modules to re-export imported types containing generics (#1019)

view details

Oscar Spencer

commit sha 422dbcb01cd09627c6a5f4494cc7c2e7644e92f0

fix(compiler): Fix binop operator reported location (#1018)

view details

Spotandjake

commit sha 477662b32dc035fdd1a5c8e242eb378244f5b06f

chore(stdlib): Add docs to the Result module (#953) chore(docs): Generate markdown docs for the Result module

view details

Marcus Roberts

commit sha 7dc77cd3ec28745dfad6cdbd1551c09a82a1ba6b

fix(grainfmt): Resugar match lists properly fix(grainfmt): Handle recursive enums Co-authored-by: Marcus Roberts <marcus@marcusr.com>

view details

Oscar Spencer

commit sha 1087cd661bc4e67e5cba30d3fe4cd0c91bff63fe

chore: Add -slim Dockerfile and update Docker workflows (#1032)

view details

Itay Dafna

commit sha 98fc577ee754317cd2421bfaa8e3c1e049488949

feat(stdlib): Add rotate function in Array module (#838)

view details

Spotandjake

commit sha 7e7cb3b35d093a55d924d2ec19b1ed63991e3275

chore(graindoc): Add since attributes to Result docblocks (#1030) chore(docs): Regenerate Result markdown docs

view details

Spotandjake

commit sha 028188df59a4963238a90d5a56c5ae20c8beacf3

chore(docs): Regenerate markdown docs for the stdlib (#1040)

view details

Tim Gestson

commit sha a076e200013114ccf16c2e6cbe814af1ec09c1ce

feat(stdlib): Implement List.sort via mergesort (#1014)

view details

Matt Butcher

commit sha df761db55b3e14e31190090ae008ce5047135c09

feat(stdlib): Add reverse function to String module (#1027) Co-authored-by: Blaine Bublitz <blaine.bublitz@gmail.com>

view details

Blaine Bublitz

commit sha ed65d8819ce180cc6eaee844a083dca4073255b0

chore(compiler): Upgrade esy to 0.6.12

view details

Blaine Bublitz

commit sha 53f8cec111bc78c08ed8ecce4b7f3d8810037938

chore: Remove yarn workspace command and drop vscode script

view details

Blaine Bublitz

commit sha 16ede7a4ed2c77bd260f748f37b7bb70acda3dc7

chore(docs): Add contributor note about global esy in your path

view details

push time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let diff = (set1, set2) => {   set } +/**+ * Combines two sets into a single set containing only the values shared between both sets.
 * Combines two sets into a single set containing only the elements shared between both sets.
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let add = (key, set) => {   } } +/**+ * Determines if the set contains the given value.+ *+ * @param key: The key to search for
 * @param key: The value to search for
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let diff = (set1, set2) => {   set } +/**+ * Combines two sets into a single set containing only the values shared between both sets.+ *+ * @param set1: The first set to combine+ * @param set2: The second set to combine+ * @returns A set containing only shared values from both sets
 * @returns A set containing only shared elements from both sets
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let fromArray = (array) => {   set } +/**+ * Combines two sets into a single set containing all values from both sets.+ *+ * @param set1: The first set to combine+ * @param set2: The second set to combine+ * @returns A set containing all items of both sets
 * @returns A set containing all elements of both sets
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let remove = (key, set) => {   } } +/**+ * Returns the number of values within the set.+ *+ * @param set: The set to inspect+ * @returns The number of items in the set+ * + * @since 0.3.0+ */ export let size = (set) => {   set.size } +/**+ * Determines if the set contains no items.
 * Determines if the set contains no elements.
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 let rec removeInBucket = (key, node) => {   } } +/**+ * Removes the given value from the set. If the value does not exist, nothing happens.+ *+ * @param key: The value to remove from the set
 * @param key: The value to remove
spotandjake

comment created time in 3 days

Pull request review commentgrain-lang/grain

chore(stdlib): Add Graindoc to Set library

 export let union = (set1, set2) => {   set } +/**+ * Combines two sets into a single set containing only the values not shared between both sets.+ *+ * @param set1: The first set to combine+ * @param set2: The second set to combine+ * @returns A set containing only unshared values from both sets
 * @returns A set containing only unshared elements from both sets
spotandjake

comment created time in 3 days

more