@lorenc_dan
I’m maintaining
@react
-google-maps/api package, which is used by hundreds of thousands projects. Two times google employees contacted me for more than an hour each, and I gave them all the answers they had asked. I’ve asked about some funding, but they said they will try, and did
@TheJackForge
Humans are very adaptive creatures. Programmers are most adaptive. No need to doomsday scare us, we will figure things out. Calculator did not killed Mathematicians, nor AI will kill the programming.
@tekbog
For my last team lead/senior fullstack engineer job I went through 13 steps interviews, which took them 30 days, and only after I’ve got contra offer from another employer, I’ve said it to them on 13th interview, and got an offer. I’ve worked there 3 years and 2 months, and got
@tekbog
Check out my latest PR:
If
@NetlifyDev
@Netlify
would not merge it next week, I will release all the gatsby packages under a new name.
@GatsbyJS
could be reborn from slow death spiral.
@ChShersh
Community support was better from typescript. The main reason -
@types
/ packages were made for a lot of packages.
Flow just could not keep up.
Everything else is history.
I’ve rewritten a lot of packages from flow to typescript, and flow types are incompatible enough to break
@webdevcody
The issue here is that attacker usually uses someone else’s hardware and network to initiate DDOS, and it cost them peanuts, but someone else will pay the bill eventually. Nothing is free in this world, except if it is stolen, and even that have its riscs and consequences.
@housecor
There is issues with returning early. You can’t return before all hooks are defined, hence in cases it is better to lift the spinner to the parent component, or define one more component for successful path and move hooks inside new component.
@_georgemoller
This is bad advice, you should not use carry pattern for functions in React.
There should be useCallback hook for onClick handler, but if you return onClick from another function, it always will be a new function, which will cause an element to needlessly re-render. If you pass
@t3dotgg
It is too late, we have so many options, they should have been rebranding node.js itself.
Now we have more runtimes, more package registries, more package managers. It won’t stop, cos I’m building one more registry and one more package manager
@dhh
I better will write types than tests and code to handle invalid types of values.
The most issues with typescript I get in monorepos, recently I’ve started to rewrite gatsby.js codebase with more than 100 packages to pnpm and latest typescript, fixing annoying bugs on the way,
@ethanniser
The biggest issue for me is that for the end user, there is no actual visual difference between buttons and links.
There is a simple interaction: click.
Visually, if links and buttons look the same, everything non-technical person will assume they are the same.
Even designers,
@tsoding
What you are talking about is lambdas in aws or workers in cloudflare.
Microservices could be some server with minimal api, and a team of devs attached to maintain it. Microcervice has small api surface, in compare with full blown API server infrastructure.
@IroncladDev
I do all of that with my developers. My main goal for every member of my team is unblocked and can do his job.
Nobody is perfect, anybody could stuck. I nurture the culture, so anybody can ask me questions, and I would help them, and they can trust me, and I can trust them, and
@AdamRackis
Also, what about minification ? How is it possible to minify without a build step?
Long time ago, before frameworks and webpack, we used grunt gulp etc, to optimize assets.
@AdamRackis
Well, somebody has picked a state management solution without a thorough research 5 years ago, and now it’s not maintained and whole codebase depends on it including tests.
@getifyX
Please don’t give up, and please do not remove your books from GitHub. I’m teaching many mentee using your book.
Your books helped me to organise my knowledge several years ago, and I still teach others by recommending the first edition of your book.
@jsjoeio
Yes, until it does not. I mean until I find a limit or the bug in typescript itself. Some inconsistency of the language.
The last one bummer was Array.isArray can’t narrow ReadonlyArray…
@housecor
Your advice is not good. Performance matter here and now. Bugs should not be created cos there will be compiler. I’ve seen codebase stuck in old version due to skill issue.
@tsoding
but but… build fast, break things they say… validate and pivot if not valid they say…
I see the main tensions betting client expectation that software built your way, and actual implementation is being on cutting corners and shipping faster.
A thought that doom is never a
@dereklwalker
I got hired 3 years ago and on interview they offered a 3 months severance package.
They did not mention it in the contract, and I’ve missed that out. Now they are going to fire me, cos my salary is too much for them, and they say they did not offer severance package anymore, and
@coldhealing
Then I was a kid, I got hit by car, and I was in hospital for a month. In the room next to mine, there was a kid who ride the train like those kids. He fell down and next train cut his legs off. He survived though, but the second kid didn’t. That was 30 years ago.
@ThePrimeagen
I’m now at the point of rewriting pnpm with more strict typescript, and I’ve done 80% in time of 50 hours. Now after I’ve slept not enough again, I need to rest until I spend another 50 hours to finish 20% I left.
Seriously, last time I got so many hours coding uninterrupted, I
@t3dotgg
14 years ago then I’ve started programming, the majority of educational information was around PHP, Wordpress, etc. Before node.js, there was no other choice. Still if used correctly in good architecture, it is possible to create performant API, but I would not recommend serving
@kyleshevlin
Hear me out: the only viable way to go forward with software, is replacing free open source with commercial open source, so it is still open source, but instead of protecting it with unusable limiting license,or making a close source, we should make a license free for personal
@Mind_Clash
@DocBadVibes__
@tekbog
@dhh
Honestly, if they don’t merge this PR, I will publish it under the new name and test it as is in my own project.
Original plan was to fix Content Security Policy issue.
I just could not run the project in state it has been, something weird with crosslinking gatsby-core-utils,
@sparker888
@flaviocopes
I can say that there is maintenance happening on the project and new versions released. I’m sure it will mature from here and became more stable
@jamonholmgren
The only usage for semicolons I found so far - it is the only way to search through a large codebase with regular expressions. Without a semicolon at the end of the line, I could not differentiate required search results from not required.
@jarredsumner
Why are you so obsessed about windows? How much of a development actually happens on windows? All developers I know, at some point switches from windows to Mac or Linux if they can’t afford a Mac.
@dan_abramov
BTW, right now the main standards for me to include any new package to the project is Typescript, stats, release frequency and maintainers activity.
@jarredsumner
I have 15 years of experience programming, and I still love to code.
I can burn out only if I work with difficult people.
Check out my last PR:
@mjackson
I’ve dug deep into the codebases of npm, yarn and pnpm. So now I can share some details:
Npm: is written in plain JavaScript. A ton of effort to refactor to typescript. I’ve abandoned an idea on second day of investigation. Also they have Creative preventive license.
Yarn
@1
:
@TkDodo
I was thinking that you mean is early return self closed fragment vs null.
Null is better than fragment in this case, cos it doesn’t trigger the function call and subsequent fragment object creation performance wise.
@PLBompard
There are always trade offs. With SSR you paying for compute, with CSR your clients paying for compute, with SSG, compute is minimised to build time and CDN hosting.
Which architecture do you think is better for humanity in general?
@jherr
Huge switch components returning other components per each case. Causing huge bundle sizes. Specially for svg icons in components like ButtonWithIcon or LinkWithIcon
One time I’ve seen a hundred plus cases in single switch.
@doge_codes
@tekbog
You can’t even imagine how many things already did went wrong. And I’ve fixed them.
The most annoying part was to refactor flow to typescript.
Types are different enough to be illegal typescript, and I had to disable eslint before renaming file extensions js to ts, cos it started
@JoshWComeau
Guys, if you all look at lighthouse perf, you’ll see that there is a requirement to have less than 1000 html elements in the DOM tree, so running tests on more than 1k is hitting the ceiling on some internal chrome limits
@jacobmparis
@andreasklinger
That is treeshaking or skill issue. I’ve seen some implementation with a thousand icons as svg fragments with usage of one or two per application.
@diegohaz
I use tailwind in conjunction with css modules and types css modules, so I get best of both sides. Ease of review, composability, and readability with type safety and customisation.
@AdamRackis
Reusability of tailwind classes is astonishing. You can just extract classnames into const variables in separate file, and reuse them as variables across your style system.
No more long classnames in JSX. Just higher order variable names.
If you use typescript, use ‘as const’
@dan_abramov
Well, how do you evaluate open source project for stable foundation, if you are not qualified enough to read the source code, like most of programmers this days? Immutable.js was hyped a lot back then in 2015 by FB as stable foundation for redux applications.
@JanuBuilds
Problem: as open source package maintainer, I can’t publish my package with commercial license to commercial registry compatible with npmjs and get paid for subscription
@tannerlinsley
Have you tried to setup Content Security Policy to prevent browser extensions to execute code and mess with DOM?
For me it is the only solution.
@ThePrimeagen
Is it a private project? Are you rewriting it with typescript? Can I join? I half done something similar in 2015 myself. Would love to join
@samarthbuilds
@adamc0dez
I’m currently building a new kind of marketplace, in a niche which is deliberately avoided or haven’t been discovered yet. Going through organisation stage.
@kickiniteasy
@flaviocopes
That is the point, you don’t have to have more css than you use. And you are not creating more css, except backgrounds, and custom gradients.
@dhh
Nothing personal, just a business. MS embraced the permissive licensed opensource ideology as long term game plan, so they could train their AI without paying for IP. That was their main reason to acquire GitHub and npmjs: to get a direct access to source code.
All of us,
@hswolff
@reactjs
Hello Harry, just a friendly notice, don't define functions, arrays and objects as default values while destructuring props, if you are passing this default props down to child components! Define them outside of component function scope, and assign to default values instead.
@mishadevelops
Lawyers
… man, you need good lawyers, specially in IT sphere. Without a good lawyer you better don’t even start. First you have to setup your legal entity, and build a strategy based on terms of service and privacy policy.
While they doing that work with you, you can safely
@aarondfrancis
@PlanetScale
I guess you can start your own business now, I can say that your courses are the best on SQL. Would say you are on par with
@mattpocockuk
with his typescript education approach. Would love to see a coop of both of you guys on something typed SQL stuff
@DanielW_Kiwi
I’ve paid a year for copilot, and I’m paying for Figma project access. Canceled ChatGPT subscription cos it is not worth much for me.
Thinking about switching to supermaven after copilot expire. Before copilot I had tabnine subscription for 3 years.