Rafael de Oleza

1.5K posts

Rafael de Oleza banner
Rafael de Oleza

Rafael de Oleza

@rafeca

JS at @stripe

Barcelona, Spain Katılım Nisan 2007
492 Takip Edilen845 Takipçiler
Rafael de Oleza
Rafael de Oleza@rafeca·
@emilsjolander unfortunately I don't know a better way to debug these issues :( in our case the issues came from OSX showing an auth popup which is very hard to debug without having remote desktop access
English
0
0
2
0
Emil Sjölander
Emil Sjölander@emilsjolander·
@rafeca Is there any way to get better logs from the workflow or ssh into the container running my workflow? Because now I just push random code changes and wait an hour to see if it works. Not exactly a quick iteration cycle ^^
English
1
0
0
0
Emil Sjölander
Emil Sjölander@emilsjolander·
Anyone in my feed successfully built + notarized an electron/macOS app using GitHub actions ?
English
5
0
0
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@emilsjolander I'm glad it helped, did you move away from storing the certificate in base64? That's a pretty neat solution and I'm considering doing the same (we're currently downloading it from a private GitHub repo)
English
1
0
0
0
Emil Sjölander
Emil Sjölander@emilsjolander·
@rafeca I honestly don't know what the difference is between this and what I had but I re-wrote our code based on this and now it works. Thanks ^^
English
1
0
1
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@ladybenko - big shops usually 8pm, smaller local shops 6-7pm - modulor is a must for arts and crafts! - the barn! you can buy them on any of their cafés have fun in Berlin!!
English
1
0
2
0
Peter van der Zee
Peter van der Zee@kuvos·
Hey @github, do you support vacation notices on repos? Like "During the holiday season we are less likely to respond to issues or PRs, ping x or y for urgent requests" etc?
English
3
0
7
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@fatih At Facebook most of the codebase is in the monorepo, which doesn’t have ACLs or any ownership rule (anybody can modify any file), but this requires a very open culture with lots of trust in the engineers
English
1
0
4
0
Fatih Arslan
Fatih Arslan@fatih·
Lately I'm thinking about monorepos vs polyrepos (one repo per project) and how it affects orgs. But one thing that I try to understand is how ACL (authorization per project) works on Monorepos. Just read this comment on HN and seems like Google had this problem at some point.
Fatih Arslan tweet media
English
5
0
29
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@_zamotany @dan_abramov @syke @callstackio @haul Yes you're right, in order to make Metro inline your imports you need your Babel config to leave the imports intact 😅 (it's just that Metro internally uses a Babel plugin to do that inlining), but yeah that's part of the bundling process.
English
1
0
1
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@_zamotany @dan_abramov @syke @callstackio @haul Yes! actually, we initially tried to use babel's lazy mode but we saw performance regressions (caused by the additional logic that the lazy mode forces to execute very time a require is used). After this, we decided to implement the inlining of import statements inside Metro
English
1
0
0
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@_zamotany @dan_abramov @syke @callstackio @haul RAM bundling is a different concept than inline requires (although RAM bundling extremely benefits from inline requires). As far as I know, WebPack/Haul do not support inlining the require/import statements
English
1
0
0
0
Rafael de Oleza retweetledi
React Native
React Native@reactnative·
Six months ago the community told us Hot Reloading was a major pain point. A better Fast Refresh mode is on it's way into React Native. It's resilient to errors (no need for full reloads after a typo) and supports function components with Hooks. Check it out:
English
51
499
2.1K
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@sebmck @mjesun Could you use this step to encode a list of imports/exports to later do dead code elimitation of unused exports?
English
1
0
0
0
Sebastian
Sebastian@sebmck·
@rafeca @mjesun You could encode some information in there, such as if the module didn't have any side effects, only exported types etc. Then you can reunify those artifacts later when constructing the actual dependency graph.
English
1
0
1
0
Sebastian
Sebastian@sebmck·
Rome detects imports that are only used in TS or Flow types and marks them when analyzing dependencies. These imports will not effect module order or be included in a bundle. Files that contain only types will never need to be included.
English
4
1
33
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@cnakazawa @sebmck @mjesun On the TypeScript case since it’s a normal import it would not get stripped (unless the babel plugin to strip typescript type definitions also removes the import, which idk if it does)
English
1
0
2
0
Rafael de Oleza
Rafael de Oleza@rafeca·
@sebmck @mjesun Makes sense, relying on the side effects of a module that was imported just for its types is quite an edge case 😅 i was just curious if Rome did some kind of pre-analysis of dependencies before building the graph
English
1
0
1
0
Sebastian
Sebastian@sebmck·
@rafeca @mjesun The implementation was driven by TypeScript which doesn't have 'import type'. It resulted in a bunch of unfixable module cycles inside Rome (I'm converting it from Flow). Whether a module is marked as "only for types" isn't effected by anything about the file itself.
English
1
0
2
0
Rafael de Oleza
Rafael de Oleza@rafeca·
How to get your name on almost every blame of a project 🙃
Rafael de Oleza tweet media
English
11
22
261
0
Rafael de Oleza
Rafael de Oleza@rafeca·
In order to not cause inconvenience to other contributors, I created a (very hacky) semi-automated script to fix the conflicts caused by this commit on existing PRs and I ran it against all the opened PRs that had been updated in the last 6 months. twitter.com/rafeca/status/…
Rafael de Oleza@rafeca

@marklangovoi Thanks for the suggestion! While rewriting the history may work in some situations, this was done on a big opensource project with almost 8 years of git history, >36K commits and thousands of forks. In this scenario, rewriting would have caused high disruption to the contributors

English
1
0
5
0