of course it goes without saying that i am hopelessly dependent on the object
of course it goes without saying that i am hopelessly dependent on the object
How to stop META using your data on Facebook/Instagram for AI training. European users.
https://www.youtube.com/watch?v=LqZC4Y9wLuI
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.
(This is an excerpt of) We are all Mahsa!
*
QRt by PRURITUS MIGRANS
*
CC: BY-NC-ND
*
Download the full #artwork #FREE of charge from #Humanities #Commons thanks to this #Digital #Object #Identifier https://doi.org/10.17613/8tm3-vq36
Please feel free to #download & #share this artwork as much as you #like
*
@geerlingguy sometimes forks are just too good opnsense vs pfsense is a good example, rsj should start wearing a shirt that says lucky. pls do followup on making minirack for specific use cases and matched up with the odd hw/sw req - add in a couple usb - one for dx and another for iso/backups #minirack blends #ci/cd #open source hw #object orientated #partimage #dd piped through gz
“The traditional dualism between subject and object assumes a clear distinction between the perceiver and the external world. However, if organisms actively construct and modify one another and their environments, this separation becomes problematic.
…perception is an embodied, active engagement with the world rather than a passive reception of stimuli. The perceiver and the perceived are intertwined in a dynamic, co-creative dance.”
—Matthew Segall
#subject #object
500 kg, 2.5 meter #object from #space crashes into Mukuku village in Makueni county, #Kenya -
It is claimed its sound could be heard from 200 km away.
Current identification says it is a #separation #ring from a #rocket
(and it does in fact resemble one) -
any experts here who recognize the make?
@space @planet4589
@esa
@nasa (more links in first comment)
Nomi wall lamp that's absolutely adorable to have on the wall. Invigorating charm
"Khong"
Architectural concrete light sculpture, only one made
This sculpture contains a box of which rectangular and angular shapes are pushed out, pulled in and cut out. The lamp is lifted on 4 small feet on 2 different angles which give the illusion the lamp is "walking".
Through openings on the top and bottom indirect light emerges.
Available at ThuhShop
https://www.etsy.com/listing/1765245543/concrete-light-sculpture-khong-table-top?click_key=8e9837d472f12c72b27df7a04c4200026fc4c64d%3A1765245543&click_sum=02370e4c&ref=shop_home_active_7&cns=1
Here are the slides (in german) from the #GND-Forum "NFDI, FID & Co" about the #researchdata in @nfdi4objects. They include an overview about the #heterogenous data of our consortium, the usage of #terminologies and our work to #harmonize the #archaelogical and #object data to make them #fair, such as the development of a #minimumdata recommendation and a #cidoccrm based #datamodel for the #objectbiography. https://zenodo.org/records/14359746
#nfdirocks #nfdi #authorityfiles #vocabularies #LIDO
“A digital twin is a virtual representation of something. It could be an #object, like a car or an aircraft. Or, as we consider in the next two stories, it could be more #ComplexSystems, such as industrial processes or bodily organs.
Even in the case of a humble car part, it encompasses more than #PhysicalAttributes, from details about how the object was built and how it ages to how it breaks and the way it can be recycled.
To work, a #DigitalTwin needs to be constantly updated by its physical counterpart. This is done using #RealTime #information gleaned from sensors that measure just about anything that can be measured”
‘Digital twins are speeding up manufacturing’: #economist / #manufacturing / #tech <http://active.econweb.p.aws.economist.com/science-and-technology/2024/08/28/digital-twins-are-speeding-up-manufacturing> (free article)
Would you rather know the history of every object you touched or be able to talk to animals?
#CriticalQuestions #Quiz #PubQuiz #History #Object #Talk #Animals #StayHome #StaySafe #StayHomeStaySafe
Mystery object of the day. Not sure if this is for photography (filter of some sort?);or audio (pop screen?). UFO (Unidentified Found Object) -- UPDATE: Mystery (already) solved -- pop filter for a microphone. Well... part of one. (see https://infosec.exchange/@dko/112203637956510198) #Mystery #object
Як же мене після C++
навіть на Python
тягне оптимізувати там де ніхто не звертає уваги. До прикладу багато хто використовує всюди списки дам де це не потрібно і можна взяти кортеж.
Обʼєкт типу object
займає 16 BYTES
. Це можна дізнатись викликавши метод __sizeof__
в обʼєкта.
o = object()
o.__sizeof__()
Від цього типу наслідуються всі інші стандартні й не тільки типи навіть якщо явно цього не вказано. Тому це найменший можливий розмір будь-якого обʼєкта. Перевірити це можна за допомоги функції issubclass
яка приймає два типи та повертає значення типу bool
.
>>> issubclass(int, object)
True
>>> issubclass(float, object)
True
>>> issubclass(bool, object)
True
>>> issubclass(str, object)
True
>>> issubclass(list, object)
True
>>> issubclass(tuple, object)
True
>>> class A:
... pass
...
>>> issubclass(A, object)
True
Саме через це всі обʼєкти мають функцію __sizeof__
і не тільки.
Якщо ми подивимось на розміри стандартних типів, то можемо трохи здивуватись.
>>> int().__sizeof__()
28
>>> float().__sizeof__()
24
>>> bool().__sizeof__()
28
>>> str().__sizeof__()
49
>>> tuple().__sizeof__()
24
>>> list().__sizeof__()
40
>>> set().__sizeof__()
200
>>> dict().__sizeof__()
48
Найбільше я здивувався розміру типу bool
. Він займає скільки ж як і int
, і є більшим за float
та tuple
. І це все розміри порожніх (нульових) обʼєктів.
Тепер порівняємо кортежі та списками з однаковим вмістом.
>>> t = (1,2,3,4,5,6)
>>> l = [1,2,3,4,5,6]
>>> t.__sizeof__()
72
>>> l.__sizeof__()
88
Різниця та ж що й при порожніх контейнерах через те що контейнер зберігає тільки посилання на обʼєкт. Можемо в цьому переконатись за id обʼєктів.
>>> id(t[0]) == id(l[0])
True
>>> t[0] is l[0]
True
Оператор is
робить те саме, він порівнює ідентифікатори.
Це добре що python
оптимізує програму не створюючи зайвих обʼєктів, але всеодно всі обʼєкти займають дуже багато місця. Саме через це я й ненавиджу такі мови як python
, js
...
#програмування #python #sizeof #розміри #типи #int #float #list #tuple #списки #кортежі #sizeof #object #оптимізація #бісить
The `weld-parser` crate wasn't happy with its name. Now, we must refer to it as `weld-object`. This crate has ambitions for its life!, like supporting Elf32, MachO, COFF, and more object formats, look at this little cheeky!
https://github.com/Hywan/weld/commit/7556abeb5d80f015e92634d8b9a6c1494e815b9e