#constant : firm; solid; fixed; immovable
- French: soutenu
- German: beständig
- Italian: costante
- Portuguese: constante
- Spanish: constante
------------
Thank you so much for being a member of our community!
#constant : firm; solid; fixed; immovable
- French: soutenu
- German: beständig
- Italian: costante
- Portuguese: constante
- Spanish: constante
------------
Thank you so much for being a member of our community!
So it does look like the TypeScript language server has a limit of 4MB source size where it disables type checking (and actually shows an erroneous error stating that exports that exist in the file do not exist) for files that are imported but not open in the current workspace/session.
Still not sure if this is documented anywhere or not (haven’t been able to find it, if it is).
99.99999% of the time, unless you’re doing niche stuff like I am, you won’t run into this.
Workaround: should you have such a large file, e.g., with a large generated object, try and refactor to split it up into multiple files and rejoin it a separate file. The actual object size/memory usage isn’t the issue, it’s the file size.
Right, well, I can reproduce it with a simple example so I just filed a bug. Let’s see if it’s a known issue/limitation or what.
https://github.com/typescript-language-server/typescript-language-server/issues/951
Screen recording showing the issue:
Hit an interesting limit in the TypeScript language server¹:
Looks like there’s a limit on the number of entries an object (constant) can have before the language server balks. Seems to hit it around 1,343.
(I’m generating an object for an icon library.)
Doesn’t appear to be related to file/memory size (breaking up the same number of entries into several objects works).
Anyone know what limitation exactly I’m hitting (if it’s documented somewhere?) Been searching but couldn’t find any reference to it.
¹ It’s definitely a language server limit as I tried in VSCode as well to rule out it being a limit in Helix Editor.
Happy Pi Day! I'm taking a blueberry pie break.
.
#photooftheday #pi #pie #constant
[08:12] Waarom kopen we zo veel online, en kan dat ook anders? ‘Mensen worden wel bewuster maar kopen toch hetzelfde’
Constant nieuwe spullen kopen is niet goed voor het milieu. Dat weten we nu wel. En ja, als de prijs te laag is om waar te zijn, dan is daar vast een onprettige reden voor. De filmpjes van arme kinderen in sweatshops en tropische stranden vol aangespoelde troep hebben velen weleens gezien. Waarom blijven we die spullen dan toch kopen?
https://dvhn.nl/meer/geld/Waarom-kopen-we-zo-veel-uit-China-en-kan-dat-ook-anders-45516031.html
#Constant #tropische
Sit down at desk
Check phones to see which gets charged 1st
See notification of a vid I want to watch
Grab earphones
They connect to laptop instead
Grab mouse to unconnect them
Mouse dead
Dig around for mouse cable
Nothing
Touch desk light to turn on
Darkness
Tap tap tap
Crawl under desk to make sure plug isn't loose
Tap tap
Follow cable to make sure it's right one
Switch places w/ diff plug
*Light!*
Find mouse cable. Plug in
What just happened? How did I get here?
Workshop #DEDBUG by Maurits Fennis of @unbinare at #Constant studio #Brussels 27-28/05/2023
In 2019 alone, 83% of electronic waste had been shipped to the global south, with massive environmental consequences. This amount of unprocessed waste is only set to increase, growing from 53.6 Mt of #E-Waste in 2019 to an estimated 110 Mt by 2050. A large percentage of the devices shipped to the global south have very small components, called #SMD (surface-mounted device) components. The #DEDBUG toolkit by Unbinare revives and facilitates free-form, point-to-point construction techniques for small, surface-mount components salvaged from electronic waste, allowing for the construction of circuits without the requirement to design a #PCB beforehand. Each participant will receive a DEDBUG toolkit and basic electronics tools to experiment with at home. The kit will also be donated to workers in the informal sector surrounding waste management sites throughout the Global South.
The practicalities of the workshop: https://constantvzw.org/site/Workshop-DEDBUG,3744.html
*This workshop is hosted by https://unbina.re/ & https://constantvzw.org/site/.
*For more information -> https://theanarchistlibrary.org/library/an-ontology-of-electronic-waste
#ferniverse #ferns #BidstonHill #wirral
Preparing the #Constant studysession Down Dwars Delà in BOARC with lovely walks on the hill!
https://constantvzw.org/site/-Down-Dwars-Dela,234-.html
http://bidstonobservatory.org/