ict.ken.be

Delivering solid user friendly software solutions since the dawn of time.

Enable TCP/IP on mssql 

Categories: SQL Server

Let's say you want to use 'npm install mssql --save' but can't get connected to your local server.

You probably need to check these things:

  • Ensure you can connect manually through SQL Server management studio
  • Provide connection info to clients by turning on mssql browser service
    • Services > SQL Server Browser
  • Check Sql Server Network Configuration
    • Start > SQL Server Configuration Manager > SQL Server Network Configurations > enable TCP/IP
    • On property tab of protocol ensure IP ALL has no dynamics and 1433 as port with 127.0.0.1 enabled
    • Restart server instance

npm WARN optional SKIPPING OPTIONAL DEPENDENCY 

Categories: Nodejs

Depending on the operating system you are using, you might get warnings like these:

  • npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.11 (node_modules\fsevents)

Warnings for sure are useful during development, but they just overload build servers with noise that should only be there when requested.

You could use npm install --loglevel=error to prevent the warnings to show up in your build logs.

In case you have hard time finding an issue, you could go with npm install --loglevel=silly

(loglevels: silent, error, warn, info, verbose, silly - see also https://docs.npmjs.com/misc/config)

npx react-native start gives invalid regular expression 

Categories: Nodejs Reactjs

Most likely your 'node_modules\metro-config\src\defaults\blacklist.js' has an invalid regular expression.

You can correct it with the expression below

var sharedBlacklist = [
  /node_modules[\/\\]react[\/\\]dist[\/\\].*/,
  /website\/node_modules\/.*/,
  /heapCapture\/bundle\.js/,
  /.*\/__tests__\/.*/
];

However, it's more likely that you just downloaded an older react-native example and are trying to run this with a different version than intended.

You could ensure that you install all the package.json dependencies fixed to the version the example was build with.

Or you could upgrade all packages to their latest version and fix any issues that might come from that.

At least with the second option you are ready to go with all the latest tools.

Playstation 

Categories: Notes

Glossary

  • ELF: Extensible Linking Format is the file format commonly used for Playstation binaries. Eg. BOOT.ELF
  • ESR : This is not an abbriviation but a way to load dvd copies. I prefer using network loading with OPL as the whole point is to not only spare your dvd roms but also your playstation laser. Remeber that you need to patch your dvd iso before burning it.
  • FMCB : FreeMcBoot allows for booting your playstation into software installed onto your memory card. Which allows you to copy software from a usb-drive. It's kind of catch-22 as to be able to install the initial software on your memory card you need to have a card that has FMCB installed. If you can't buy an initial copy there are tricks to exploit the dvd loading and install it like this, but that's kind of tedious.
  • GSM : Graphics Synthetizer Mode Selector you might need to get some specific games working. You can learn about the workings, but it's mostly enough to just lookup the mode in the tables at PS2-home.
  • OPL : Open PS2 Loader, far the easiest way to manage playing games over the network. Doesn't work for all games, but use it whenever possible to spare your ps2 laser.
  • SMB : Server Message Block aka Samba allows you to setup a network between your PS2 and pc.
  • SMS : Simple Media System allows for playing videos. Nice, but not very useful since we all have tablets now.
  • MagicGate : Brand of original PS2 memory cards that is needed to run FMCB, watch out as often the bigger ones are fake and will not work. Use an original 8MB for your first experiments.
  • uLaunchElf : Your basic file browser that allows you to run executables.

Configuration

Some screenshots of playstation 2 fmcb and opl settings over network.

References

Page 1 of 42 1 2 3 4 5 6 7 8 9 10 20 40 > >>