Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
N

Nand32

@Nand32
About
Posts
485
Topics
118
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How did you survive this migration?
    N Nand32

    As a traditional (non-script) developer, who always starts the code with proper class, methods etc in C++/Java,

    class ApiClient
    {
    ApiClient(){}
    getSomething(){}
    putSomething(){}
    }

    This always looked so clean for my eyes.. Now compare it with JS/Typescript code :

    class ApiClient {
    public get(apiURL: string): Promise{

    return new Promise((resolve, reject) => {
      const options = {
        method: 'GET',
        headers: {
          'Content-Type': 'application/json',
          // Add any other headers as needed
        },
      };
    
      const request = http.request(apiURL, options, (response) => {
        let data = '';
    
        response.on('data', (chunk) => {
          data += chunk;
        });
    
        response.on('end', () => {
          if (response.statusCode === 200) {
            const responseData = JSON.parse(data);
            resolve(responseData);
          } else {
            reject(new Error(\`Error: ${response.statusCode}, Response: ${data}\`));
          }
        });
      });
    
      request.on('error', (error) => {
        reject(error);
      });
    
      request.end();
    });
    

    }
    }

    Why do they want to write the whole code into the ()? It's almost like writing all the code inside (..) in a C++ function.. where we just expect the params & arguments. like:

    ApiClient(.....Write the whole code here? What? :( ){}

    Seriously I have so much pain tracking where the brackets begin and end if I'm reviewing a .js code snippet. Did C++/Java also move into this Anonymous function hype? Looks like I'll have a pretty steep learning curve on any direction. Hating this. :| How did you survive this? If you happen to a non-JS developer migrating into the JS world?

    The Lounge javascript c++ java tools json

  • Healthcare Apps decision choice
    N Nand32

    Healthcare implementations are complex. If you notice, Azure FHIR architecture examples never insist we store our Application Data in FHIR standard. They say just go with what our App needs and don't worry about interop with external systems. When there's a need for interop, Azure FHIR adaptors can transform the app domain data into standard Healthcaredata. This has been the recommendation from different corners. But still want to hear from you guys here.

    The Lounge database question xml json

  • Healthcare Apps decision choice
    N Nand32

    Hello guys, We are into healthcare application development. I see there's a good amount of Standardization of the healthcare data. Like HL7 / FHIR etc. All these are needed for interops between different HC systems. The question is, Should our App DB schema that will be used internally should also adhere to FHIR standards? I see these options: 1. Store App Data in application domain schema - just plain JSON with our own attributes. Snappy format helps faster transfers between the Apps. 2. Store App Data in FHIR transformation-compatible format. (Make it easier for ETL later into FHIR std). Schema needs some effort. 3. Sore App Data in full FHIR format. This makes the json payloads heap up like a landslide. A lot of effort upfront and bloated transport all around. What would you recommend?

    The Lounge database question xml json

  • Screen recording with narration- for windows
    N Nand32

    Do we have any tools packaged with windows 10? I couldn't find a proper screen recorder. Google takes me to expensive options. For mac, it's available https://support.apple.com/en-us/HT208721[^] Any similar free tools available for windows?

    The Lounge com tools question

  • Surface pro machine
    N Nand32

    Thanks :thumbsup: I think it's a great suggestion.

    The Lounge business question

  • Surface pro machine
    N Nand32

    I see there's a lot of versions, and the variants names are very confusing. Which is the latest, good one that I can under $2000. My requirements: 1. 256GB+ Disk 2. intel 11th gen or Ryzen equivalent 3. 16GB Ram 4. Stylus 5. 13/14" display 6. Max 3.5lbs Any suggestions?

    The Lounge business question

  • OneDrive Weird behavior
    N Nand32

    I'm upgrading the HDD. I created a "Backup" folder in local disk & moved all the pile of files & folders and centralized there. Then I enabled "OneDrive" sync for this folder. OneDrive service automatically started uploading all the files to Cloud Disk. This is all great. Now the problem. I'm not able to copy this whole bunch of files from the OneDrive folder , in my local computer to any other destination folder in the same local computer or to an external USB Storage. When I select the folder and copy, and paste, it visually simulates a copy/paste as it's moving 10 GB data in a flash, but in the destination folder I see nothing actually moved. I tried closing OneDrive Sync service. No use, same gimmick happening , it just fakes up the copy/paste. Such a bad experience! :doh: PS: File-by-File or Single Folder copy paste is working , but how on earth I could navigate to a thousand folder and copy files one by one ? Whenever a folder structure is nested, is not working. MORAL OF THE STORY: When you want to take a back up of your files, first complete the USB/Local transfer before you fiddle with Cloud backup.

    The Lounge adobe hosting cloud help question

  • Azure HDInsight
    N Nand32

    The nomenclature in Azure is quite confusing. Many times it feels like a "Dashboard" :D but it actually stores data as well. The new one being Azure TimeSeries Insights, It's a DB again :/

    The Lounge cloud question

  • Azure HDInsight
    N Nand32

    What does "HD" stand for ? May be "Hadoop Distributed" :~

    The Lounge cloud question

  • Attaching an equalizer to Streaming Music
    N Nand32

    I've been trying to attach an equalizer to the streaming music with no success. I tried Windows Media Player, but the moment you cast the music to a device, Equalizer has no effect. I installed Spotify, & Installed a chrome plugin to do the equalizer job. But again, the moment I cast the audio to my music player device, Equalizer is cut off. The raw audio is going straight from Spotify to the music system. Any help? Equalizer - Spotify[^]

    Quote:

    You can’t change audio settings when using Spotify Connect to play on another device.

    The Lounge com help question career

  • Great suits ..
    N Nand32

    & Shorts. How many of you have tried this on the video calls. (Of course, not showing the bottom half) :-D

    The Lounge learning

  • Best online JSON viewer/editor utility
    N Nand32

    Which is your favorite? Constraints: 1. Browser based (No Php/asp) 2. No ads 3. Snappy UX 4. Syntax warning (And automatic fix suggestion - *greedy eyes*) 5. Persistent - Page refresh shouldnt make you lose data - silly :/ 6. Ability to upload a file dump (instead of just copy paste) 7. Ability to create multiple tabs - good to have 8. Free :-O

    The Lounge php design tools json help

  • Notebook Key Travel
    N Nand32

    All the recent notebook keypads actually come with a very less "key travel". Sometimes rightly called "Chiclet" keys. You are liking this model? I've been disliking it for so long, as I've been an fan of deep travel keys. But the new notebook I bought, I'm seeing, it takes a lot lesser effort to type. The stress on the fingers are so less. So I'm officially joining the chiclet bandwagon. :-D

    The Lounge css question

  • Oh no! Students are in real trouble!
    N Nand32

    Damn, just reading this message :/

    The Lounge com lounge

  • GoogleDrive is down!
    N Nand32

    Just figured out , the whole suite of google services are down.

    The Lounge com question

  • GoogleDrive is down!
    N Nand32

    drive.google.com down? Current problems and status.[^] :doh: When the gods go down.

    The Lounge com question

  • ALT keys dead
    N Nand32

    Just the two alt keys dead. Not sure if it's a hardware failure. I can just move out and buy a new one. but your reply might contribute towards an effective e-waste management policy. :rolleyes:

    The Lounge hardware

  • What a mid-life crisis sounds like for you? As an IT guy
    N Nand32

    At the middle, exactly.

    The Lounge question

  • What a mid-life crisis sounds like for you? As an IT guy
    N Nand32

    IT guy - Not just the technical support expert. :-D Anybody who's into Information Technology.

    The Lounge question

  • RFC - context
    N Nand32

    thanks mate!:thumbsup: I guess RFS is more closer for the needs. The Lounge[^]

    The Lounge business question discussion
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups