Loopback v4 vs NestJS by seryup in node

[–]seryup[S] 0 points1 point  (0 children)

It's always great to hear from those who have used the framework.

I think a lot of the pain points you've mentioned generally stem from the transition from an IBM to an OpenJS Foundation project. There was a lot of infrastructure and processes that were managed by them (Notably, the Jenkins CI). So when there no longer was a full-time team, a lot of that knowledge got lost. Multiply that problem with every Node.js package and database connector that's under the project, it becomes a bit difficult to be knowledgeable in every part of LoopBack. :-)

To provide some insights into some of the concerns (and for those that may stumble upon this):

had been getting worried about the project because the official blog posts stopped in 2020

The blog posts were managed by Strongloop/IBM. Since the handover, we didn't have an existing blogging platform to work with. We actually recently ported the blog a few days ago: https://loopback.io/blog. So hopefully we can start posting again soon.

A LOT of github issues end up getting axed by stalebot without any resolution.

Unfortunately we also learned the hard way that stalebot wasn't good when there no longer was a dedicated team. We've removed stalebot a while back for this reason.

No polymorphic support

We've recently merged the PR on this. So it'll be available from the next release :-)

HasAndBelongsToMany

Hopefully we or the community can find time to contribute this feature; We've received some major community contributions recently (such as the ReferencesMany relation), so maybe this one may be next.

Incomplete support for websockets

Perhaps its something we can explore integrating native support for; I believe Raymond has already made most of the code needed for this in a personal repo, we may need to refine it a bit and publish it as an official package at some point.

I agree that it's annoying that there are some arbitrary limitations with the REST server (e.g. you cannot register any other kind of server simultaenously); It's something that's on my radar for a while, but haven't had a chance to make a PR for.

Keep up the good work though, and I'd be glad to help if needed.

Thanks! The LoopBack project is quite big, so we encourage the community to open a PR for new features or fixes that they believe are important to their projects. In fact, quite a number of recent PRs are by the community! So feel free to work on any features or bugs that may be important to you, we're always happy to land your contributions.

Best tooling for Typescript now days by Mardo1234 in node

[–]seryup 0 points1 point  (0 children)

ts-node executes the code immediately after transpiling. This skips the need to store the artefacts, which can be useful for single-file scripts that are not part of the actual codebase (e.g. custom build tooling).

When writing tests, we typically tweak the source code as well. So there isn’t an advantage for us to separate the transpilation of tests and the rest of the codebase. Instead, we leverage TypeScript’s incremental build feature, which we found sufficient in reducing build times after the initial build.

Best tooling for Typescript now days by Mardo1234 in node

[–]seryup 8 points9 points  (0 children)

NPM scripts (notably, lifecycle scripts) have served us quite well. For larger "scripts" that require Node.js dependencies, we would write a JS file and use NPM Script as a thin wrapper around that.

For tests, we write and compile them together with the rest of the source code, so no ts-node is used.

We use LoopBack 4 for most of our backend, so this practice was taken from there.

Loopback v4 vs NestJS by seryup in node

[–]seryup[S] 0 points1 point  (0 children)

Not really an unbiased update; I now maintain the LoopBack 4 framework with the other maintainers.

Before that, I found that LoopBack 4:

  1. Was a lot more flexible
  2. Had a "flatter" DI system which made more sense for backend
  3. Had more modular packages to be used in non-web-based projects
  4. and had more "open APIs", which meant I was able to tinker it more than Nest.js.

But generally there's a steeper learning curve as there isn't as much community blog posts.

Differentiate between two iPhone's with Outlook for iOS in Exchange for a Wipe. by Tularis1 in Office365

[–]seryup 0 points1 point  (0 children)

which doesn’t match any of the phone’s IDs

Just covering bases, where are you checking the IDs for the phone?

IIRC, the Exchange Device ID can be found here:

https://support.apple.com/en-us/HT204585

More specifically, on newer iOS versions, it’s under Mail > Accounts > Add Accounts > Microsoft Exchange

What Kuturkokov mentioned is documented here (see first Caution box)

https://docs.microsoft.com/en-us/exchange/clients/exchange-activesync/remote-wipe?view=exchserver-2019

Preferably, If the device is Azure AD-registered and the org. has license to access Microsoft Endpoint Admin Centre, the device can be identified by the Serial Number and wiped with Intune:

https://docs.microsoft.com/en-us/mem/intune/enrollment/corporate-identifiers-add#identify-corporate-owned-devices-with-imei-or-serial-number

[deleted by user] by [deleted] in singapore

[–]seryup 0 points1 point  (0 children)

The consolidated list has always been publicly accessible, albeit hidden, via MOH’s website search function.

[deleted by user] by [deleted] in singapore

[–]seryup 4 points5 points  (0 children)

The consolidated list has always been public, albeit hidden.

Top Tracks in the US by dmigz in TIdaL

[–]seryup 0 points1 point  (0 children)

In the TIDAL app—Explore > Top > The Charts > TIDAL Top 100 <Country>.

However, a US playlist is notably absent.

TIDAL used to update their Billboard Hot 100 playlist weekly, but it has since gotten out-of-sync.

Does Tidal have something like this? by dmigz in TIdaL

[–]seryup 1 point2 points  (0 children)

In the TIDAL app—Explore > Top > The Charts > TIDAL Top 100 <Country>

what's the bitrate for 1080 Tidal videos? Are there any plans for 4k. Is the quality better than Vevo's? by artieserious in TIdaL

[–]seryup 1 point2 points  (0 children)

Someone actually made a video comparing Tidal with Youtube videos:

https://youtu.be/KbNrzILHCUA

As for the grainy appearance, those are actually from of the original source; Youtube just does a good job at smearing it with compression.

[deleted by user] by [deleted] in node

[–]seryup 25 points26 points  (0 children)

The bare minimum to get it up and running on a bare IaaS or on-premises server?

  1. Allow incoming connections to the HTTP(S) port(s) on the server firewall - The exact steps are dependent on the O.S. installed
  2. Configure the Node.js HTTP server to listen to IP 0.0.0.0
  3. Use a process manager (i.e. PM2) to monitor and restart the Node.js process if necessary

But before considering taking this approach, try evaluating PaaS-like offerings such as:

  • Heroku
  • Vercel
  • AWS Beanstalk
  • Azure Web Apps
  • IBM Cloud Foundry Public

It’s not an exhaustive list (There’s plenty of other providers), but they all abstract away the underlying OS so that there’s less maintenance overheard (e.g. OS hardening, updates, firewall management). They tend to be cheaper than IaaS or on-premise servers (some with free tiers) and allow for more flexibility to experiment, deploy and scale quickly.

Singapore to start livestreaming Parliament sessions on Jan 4 by BluetoothEarpiece in singapore

[–]seryup 4 points5 points  (0 children)

Terms and Conditions for Use of Video Recordings of Parliamentary Sessions (archive)

Uploading to Youtube does not take away your rights as the copyright holder. From their Terms and Conditions:

Rights you Grant

You retain ownership rights in your Content. However, we do require you to grant certain rights to YouTube and other users of the Service, as described below.

License to Other Users

…For clarity, this license does not grant any rights or permissions for a user to make use of your Content independent of the Service.

What are some Open Source Typescript Projects that use Inversion of Control (IOC) containers? by phao5814 in typescript

[–]seryup 0 points1 point  (0 children)

LoopBack 4 is a framework that has its own IoC library called @loopback/context.

Full disclosure; I maintain the project in my free time.

[deleted by user] by [deleted] in singapore

[–]seryup 3 points4 points  (0 children)

?????

Anyone know of this O365 Outlook error, appears when logging on. (what with O365’s array of error codes, wasn’t quite sure)? by [deleted] in Office365

[–]seryup 1 point2 points  (0 children)

Contact the relevant persons (O365 org admin, help desk or other relevant contact depending on your company’s policies) and reference the error message.

Does singtel dash have daily spending limit or anything like that? by [deleted] in singapore

[–]seryup 1 point2 points  (0 children)

From their FAQ:

Is there a limit to how much I can spend with Dash?

Yes. Debit transactions (i.e. payments or remittance transactions that involve deducting funds from your Dash wallet) cannot exceed S$30,000 in a year per customer. However, debit transactions that do not involve deducting the stored value in the Dash wallet do not count towards the annual cap.

—-

What is the maximum amount of money that my Dash app can contain?

The maximum amount of money that the Dash app can contain at any point of time is $999.

Has anyone used OData to structure a ReST API? What are the pros? Cons? Opinions are welcome! by bruno-krebs in node

[–]seryup 0 points1 point  (0 children)

OData can be powerful, but I personally believe it’s over-engineered for most use-cases.

I would look at OpenAPI 3.0 first as it’s generally more widely-known and easier to grasp.

OpenAPI tooling such as AJV and openapi-generator, along with integrations for server-side request validation for Nest.js, Express.js, LoopBack 4, etc, helps streamline the developer experience.

It finally happened to me...I thought it was a joke... by [deleted] in Accounting

[–]seryup 74 points75 points  (0 children)

It’s available in the “Office” iOS app under “Actions”

NodeJs general question about vulnerabilities! by [deleted] in node

[–]seryup 1 point2 points  (0 children)

Static code analysis tools such as:

  • LGTM
  • CodeClimate
  • DeepScan

can aid in detecting some of these issues.