๐Ÿš€ OharaLumina

All Posts

Thumbnail for Posts

Declare an array in TypeScript

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Arrays Typescript

Im having trouble either declaring or using a boolean array in Typescript not sure which is wrong I get an undefined error Am I supposed to use JavaScript

Thumbnail for Posts

Different CUDA versions shown by nvcc and NVIDIA-smi

๐Ÿ“‚ Categories: Programming
๐Ÿท๏ธ Tags: Cuda Nvidia

I am very confused by the different CUDA versions shown by running which nvcc and nvidiasmi I have both cuda92 and cuda10 installed on my ubuntu 1604 Now I set

Thumbnail for Posts

Do event handlers stop garbage collection from occurring

๐Ÿ“‚ Categories: C#

If I have the following code MyClass pClass new MyClass pClassMyEvent MyFunction pClass null Will pClass be garbage collected Or will it hang around still

Thumbnail for Posts

Do spurious wakeups in Java actually happen

๐Ÿ“‚ Categories: Java

Seeing various locking related question and almost always finding the loop because of spurious wakeups terms1 I wonder has anyone experienced such kind of a

Thumbnail for Posts

Do subclasses inherit private fields

๐Ÿ“‚ Categories: Java
๐Ÿท๏ธ Tags: Oop Inheritance Private

This is an interview question Do subclasses inherit private fields I answered No because we cant access them using the normal OOP way But the interviewer

Thumbnail for Posts

Docker is in volume in use but there arent any Docker containers closed

๐Ÿ“‚ Categories: Docker
๐Ÿท๏ธ Tags: Docker-Machine

Closed This question is not about programming or software development It is not currently accepting answers This question does not appear to be about a

Thumbnail for Posts

Eclipse cannot load SWT libraries

๐Ÿ“‚ Categories: Java

Every time I try to open Eclipse in Ubuntu 1204 I get an Unsatisfied Link Error and it will not open I have recently installed the java JDK and Android SDK

Thumbnail for Posts

ES6 immediately invoked arrow function

๐Ÿ“‚ Categories: Javascript
๐Ÿท๏ธ Tags: Node.Js Arrow-Functions

Why does this work in a Nodejs console tested in 411 and 530 but doesnt work in the browser tested in Chrome This code block should create and invoke an

Thumbnail for Posts

Extend Express Request object using Typescript

๐Ÿ“‚ Categories: Node.js
๐Ÿท๏ธ Tags: Express Typescript

Im trying to add a property to express request object from a middleware using typescript However I cant figure out how to add extra properties to the object Id