mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#constant

1 post1 participant0 posts today
Replied in thread

@Charlyf_81
#Fascists like this & others worldwide need neutralizing,
by #HUMOUR
ostracisation
#PROTEST
#BOYCOTT
Make it know wherever they are
theyre NOT welcome
#SHOUT out their crimes & deeds
#EMBARRASS them
#HUMILIATE
#MOCK
#PICKETT
#HOUND
#HARASS
be #UNRELENTING
#UNFORGIVING
#CONSTANT
#STRESS Them
make them #FEAR going out, to engage
make them #DISAPPEAR!
every decent human is #DUTY #BOUND #DUTY to #RISE against these scumbags

EVIL FLOURISHES WHEN GOOD PEOPLE DO NOTHING

DO YOUR PART

Continued thread

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.

github.com/typescript-language

#TypeScript#max#lines

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.

[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?

dvhn.nl/meer/geld/Waarom-kopen

#Constant #tropische

Dagblad van het Noorden · Waarom kopen we zo veel online, en kan dat ook anders? ‘Mensen worden wel bewuster maar kopen toch hetzelfde’By Samuel Boerma

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?

#Dark #energy was assumed to be a #constant force in the universe, both currently and throughout cosmic history.

But new data suggest that it may be more changeable, growing stronger or weaker over time, reversing or even fading away.

“As #Biden would say, it’s a B.F.D.,” said #Adam #Riess, an astronomer at Johns Hopkins University and the Space Telescope Science Institute in Baltimore.
Riess shared the 2011 Nobel Prize in Physics with two other astronomers for the discovery of dark energy, but was not involved in this new study.

“It may be the first real clue we have gotten about the nature of dark energy in 25 years,” he said.

If the work of dark energy were constant over time, it would eventually push all the stars and galaxies so far apart that even atoms could be torn asunder, sapping the universe of all life, light, energy and thought.
Instead, it appears, dark energy is capable of changing course and pointing the cosmos toward a richer future.

Wendy Freedman, an astrophysicist at the University of Chicago who has led efforts to measure the expansion of the universe, praised the new survey as “superb data.”

The results, she said, “open the potential for a new window into understanding dark energy, the dominant component of the universe, which remains the biggest mystery in cosmology

nytimes.com/2024/04/04/science

The New York Times · A Tantalizing ‘Hint’ That Astronomers Got Dark Energy All WrongBy Dennis Overbye