Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x

Components

33K

Solutions

32K

Contributors

Components are those devices that are internal to a computer -- the PC boards, the central processor (CPU), the memory (RAM), disk and video controllers and so on.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hello - I am playing with an input box with typeahead/completer style functionality in Angular 2+. Its been set up so that a user starts typing...the completer suggests items based on what is being entered...and the user clicks on the selection they want.

What they have selected from the completer drives what is displayed in a table. All that is working fine.

What I am not sure how to do is...if the item they select should have multiple rows in the table...lets say if the completer is searching a list of customers to display orders...but the customer they select has multiple orders.

*ngFor is not working for me...because I get an error telling me it can only be used with an array.

The way things are set up with the completer...i have this code in the component.ts file setting the selected item. It looks in a users array, and sets the item selected to selectedUser.

   protected onCompleterSelect(item: CompleterItem) {
   console.log(item)
   if (item && item.originalObject) {
     console.log(this.users.find(user => user.ID === item.originalObject.ID))
     this.selectedUser = this.users.find(user => user.ID === item.originalObject.ID) ;
    
  }

}

Open in new window


Then in my html file the table is being built based on the selected user.

<table class="table">


   <th rowspan="1" colspan="4" >
     PERSONAL INFORMATION

   </th>
   <tr>
     <td>ID</td><td>{{selectedUser && selectedUser.ID || " " }}</td>
     <td>Name</td><td>{{selectedUser && selectedUser.Name || " " }}</td>
     
   </tr>
  

   </table>

Open in new window



When i try to add an ng-container  with *ngFor...it complains the ngFor needs an array...which because the "selectedUser" is being set in the componet.ts file...where its looking through the array there and specifing the selectedUser based on what the user clicks on when using the completer. ...its not happy.

I have tried a handful of ways to use the *ngFor  ...but it does not work.

Some of the items I have tried are
<ng-container *ngFor="let selectedUser of users">

Open in new window


or
<ng-container *ngFor="let x of selectedUser">

Open in new window

0
Get your problem seen by more experts
LVL 11
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Hello - I'm trying to figure out how to override CSS to make an input box larger.

I downloaded code from github for an ng2 completer (that provides typeahead functionality).
https://github.com/oferh/ng2-completer

I'm trying to make the input box tied to the <ng2-completer> larger and am not having a lot of luck.

I'm seeing some options on-line on items to try...but many of them seem to be depreciated. I do not want to spend time trying to learn something that is being depreciated...so thought I would see if someone could provide some guidance on which method to pursue.

Some sites seem to say that specifying a css style in the components .css file...starting wit with ":host" could do the trick...but I tried that and it did not work.
Css entry:
:host .completerWidth {
  width: 650px;
}

used in HTML by:
<ng2-completer class="completerWidth"
...other completer settings...
closing >

That does not work...works on a regular input box...but not the ng-completer.

Two other items I have tried...

I tried specifying styling in the global css file and using it in the component with the ngcompleter...no luck.

I have also tried viewing the underlying code of the ng completer and determining where the width is specified so I can change it...and have not been able to pinpoint the correct place.

Any tips you can provide would be greatly appreciated.  

Thanks,
0
I was wondering if there is anyone here with experience or benchmark results on the performance of cheap ebay RAM vs brand manufacturers? What is the difference, if any?
0
Five years ago I purchased Kingston server RAM with the following specs:

Kingston ValueRAM 16GB 240-Pin DDR3 SDRAM ECC Registered DDR3 1600 Server Memory (Intel Validated ) Model KVR16R11D4/16I

I understand that this RAM is no longer being made and it is now becoming increasingly difficult to find this RAM.

What model of Kingston RAM has replaced this model of memory and will be fully compatible within an Intel S2600cp server system board that already contains 8 sticks of this RAM?

I need to purchase 8 more sticks of this RAM that will be used on the same Intel S2600cp server system board and I need to make sure that both types of RAM are fully compatible and work without any problems for a Server 2016 Data Center OS that will be running on this server system board.
0
Where can I purchase the following RAM from?

I am shopping around and am trying to find the lowest price for buying this RAM

Kingston ValueRAM 16GB 240-Pin DDR3 SDRAM ECC Registered DDR3 1600 Server Memory (Intel Validated ) Model KVR16R11D4/16I
0
Please provide me with the Hardware Compatibility List (HCL) URL address for an Intel S2600cp server board.
0
I'm looking for a high quality PCI Express USB 3 card with 4 USB 3 ports that will be fully compatible with an Intel S2600cp server board running Server 2016 DataCenter.

I had previously been running Server 2012 & then Server 2012 R2 on this Intel S2600cp server board (for five years) with a low quality PCI Express USB 3 card and there were no problems.

However, once I installed Server 2016 the Server OS would always bluescreen until I pulled out this low quality PCI Express USB 3 card. Without this card installed Server 2016 runs fine.

I still need to have a PCI Express USB 3 card with 4 USB 3 ports connected to this server and need to be sure it is on this server boards Hardware Compatibility List (HCL) and that it won't cause any issues or bluescreens.

Please provide me with a list of PCI Express USB 3 card with 4 USB 3 ports that will do this.
0
RAM
0
I contacted Lenovo to purchase an FRU part of 01AV968.  This FRU is a motherboard for a Lenovo 11e 3rd Generation Chromebook.  Lenovo or their Encompass do not have the board.  A number on the board is DALI8BMB6H0 REV: H.   I have tried several suppliers to no avail.  If anyone has any suggested suppliers for this motherboard, it would be greatly appreciated.
0
I have an Intel S2600CP server board in my lab that is currently running Windows Server 2012 R2.

I need to replace this server board with another Intel Server board that:

- Is fully compatible with Server 2016

- Will accept the two CPUs & RAM currently being used in the Intel S2600CP server board.

What are some Intel server boards that will be able to do this?

Please let me know if any further information is needed.

Attached is the manual and service manual for the Intel S2600CP server board.

g26942005_s2600cp_p4000cp_tps_rev19.pdf
g54899001-s2600cp-p4000cp-sg-r1-3.pdf
0
Industry Leaders: We Want Your Opinion!
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

As a technician in some cases I need to access a hard drive externally, so I am looking for a USB Hard Drive Docking Station. there is lot of them on the market but looking for one that has the best capabilities of reading (even troubled hard drives to the best possible), also Dual-Bay with Offline Clone [reliable]. and if available (not sure if there is) from a larger size drive to a smaller size [as long the date is less than the target drive].

Any recommendations from experience?
0
System will boot but after a while a red light turns on next to CPU and system shuts down
0
Alright, this is probably a silly question, but I do not necessarily know the answer.  

I have a Dell PowerEdge 2950 (yes, ancient, I know) with 2 E5405 Intel Xeon Processors (2 ghz) and 12 GB of RAM running Windows 2012 R2.  

I also have a Dell Optiplex 330 (obviously, it, too is ancient) with a Core2 Quad Q9550 (2.83 ghz) processor and 8 GB of RAM running Windows 7 64-bit.  

I need to stream video with one of these two machines.  Which one is better?
0
This question first originated here: https://www.experts-exchange.com/questions/29053053/CPU-running-at-100-after-memory-upgrade.html

All the HW details can be found there.
I had used CL5 RAM on a motherboard that took CL6 RAM. We assumed the processor was doing 100% because of this, and that it couldn't handle the full 8 GB that the mainboard was supposed to be able to take.

So I bought new 8 G B of memory, this time CL6 from here: https://www.ebay.com/itm/For-Kingston-8GB-PC2-6400-4-x-2GB-Desktop-Memory-DDR2-800Mhz-240pin-CL6-DIMM-RAM/222696177816?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2060353.m2749.l2649

But I still have the same problem. When all 8GB are installed, the CPU goes up to 100%, when I remove one memory stick and am left with 6 GB the CPU operates normally. Suggestions?

Makes me wonder if something is broken in the motherboard.

With all together 8GB of CL5 ram (see the first link) + 2 x 1 GB of the same RAM from before and now 8 GB of CL 6 RAM (all together 18 GB), I wonder what I am going to do with all that RAM that I apparently can't use. I will have to look for motherboards that can take these memory specs. Any suggestions?
0
For a Lenovo ThinkStation D30 6-Core 2.50GHz E5-2640

Thank you in advance!
0
I have a ATAPI iHBS212 2 blu-ray burner. I believe its a LITEON brand. Does anyone know where I can find if the're any firmware update is that is available for this drive, and how to detect which version firmware I have installed?

Happy New Year!
0
Can you please tell me where can I get charger?
pic1.jpgpic2.jpgpic3.jpgpic4.jpg
0
The place I park in office is about 200-300m from where I seat:
I can't see the car as blocked by walls.

My car is parked along the street which can get vandalised (scratched, etc):
I wanted to be able to view my car from my office PC/laptop (or at least from
my iphone) remotely : the street is a straight one & if I sit in the car, I could see
if someone is approaching (even >100m away).

Anyone has any solution to this?  I don't want a recorded video as it's too late
& the vandal would have taken place.  I wanted a camera/device which will make
it like I'm viewing from within the car (but I'm viewing from my office seat).

Feel free to show me any eBay/Amazon links of the items you recommend.
Not something more than US$300 ideally.

I have an iPhone 4 and an iPhone 6: perhaps one of them can be mounted in
the car (with a low-cost 4G data plan of US$20/month for 20GB data)?  If it's
something that don't need any data plan, will be better but I'm Ok to get one
0
Is it safe to use a Sharpie Fine Point marker to write on blank CD, DVD, Blu-ray? Forever; I've been using a regular Sharpie Fine Point marker to write on the top of blank media. I never had any problems or damage from my discs that I can think of. However, I was reading online that this can damage this disc(s) overtime. Is this true or false? What do you guys and gals use to write on blank media?

Happy New Year!
0
What does it mean to be "Always On"?
LVL 5
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

I have a pc with about 10 vmware vm [pc and server] on it [testing lab] I am looking on a faster hard drive [ssd is not a option] came across 1- SSHD 7200 RPM SATA 6Gb/s 64MB Cache 2- 6GB/s 5400rpm 128 MB Cache which would be a better choice?

https://smile.amazon.com/Seagate-FireCuda-Gaming-Solid-Hybrid/dp/B01IEKG484/ref=sr_1_fkmr0_4?ie=UTF8&qid=1514258876&sr=8-4-fkmr0&keywords=Seagate+FireCuda+Gaming+SSHD+1TB+SATA+6.0Gb%2Fs+2.5%22+Notebooks+%2F+Laptops+Internal+Hard+Drive+ST1000LX015

https://smile.amazon.com/gp/product/B01LWRTRZU/ref=ask_ql_qh_dp_hza
0
Does anyone have the front panel header pinout for a Primergy Econel 200 s2?

I'm a Fujitsu Certified Engineer and I can't find one anywhere.

I'm recasing an old Econel motherboard and non of the documentation details the pinout.
0
I know that PCIE 3.0 cards will work in a 2.0 slot, but my question is which GPU will outperform the 2.0 specs, such that any higher-end GPU would be a waste.  I just upgraded to a GTX 970 and my score on the Passmark GPU rating maxed out at 7,500 passmarks, while the 970 scores an average of 8,566 on the passmark website (which I'm assuming is because it's 2.0.

Take a look: https://www.videocardbenchmark.net/video_lookup.php?gpu=GeForce+GTX+970&id=2954

Your thoughts?
0
Is the AC adapter for a Microsoft Surface Pro 3 fully compatible with a Microsoft Surface Book 2?
0
Anyone knows the requirements for the racks clearance in the server room?  Or recommended clearance off the walls.

I read front should be 36" and rear 24"  Now, what about the sides of the racks?  Contractor is about to install one of my racks with its side flashed to the wall.  I believe it would be uncomfortable to mount equipment with one side right next to the wall.  Screw rails in, cable mgmt, power, etc.
What are the requirements or suggestions.  Thanks in advance.
0
All

I suspect that it won't be an issue, I've got a 4570k overclocked to 4.8 and I need a new GPU for 4k gaming.

Getting

AORUS NVIDIA GeForce GTX 1080 Ti 11GB XTREME Edition

Now if I were running 1080p then sure, it wouldn't make any difference, but at 4k I should be able to utilise the full usage of the GPU right?

Cheers

Alex
0

Components

33K

Solutions

32K

Contributors

Components are those devices that are internal to a computer -- the PC boards, the central processor (CPU), the memory (RAM), disk and video controllers and so on.