How to Implement Pagination in an ASP.NET Core App

See the original posting on DZone Python

When you have to show hundreds or thousands of records on your web page then you should apply pagination. This is because your users must not see all the records on the same page (which looks bad), instead, they move from one page to another page, and only see the records of the selected page.

Pagination brings cleanliness in your web page. It is an important technique which you should never miss to use. In this tutorial, I will teach you how to create pagination in Records in ASP.NET Core.

Using Node 11.7 Worker Threads With RxJS Observable

See the original posting on DZone Python

NodeJS worker_thread module and RxJS observables

With the release of Node 11.7, the worker_threads module becomes a standard feature and is no longer hidden behind the --experimental-worker switch. The worker_threads module allows developers to run JavaScript asynchronously in light-weight, isolated threads contained within the main Node process. This article will be focusing on how use worker threads to execute a task asynchronously and stream data from that task back to the rest of your Node application using RxJS Observables.

Before we get started, if you want to learn more about worker threads and why you might want to use them, I would recommend reading Node.js multithreading: What are Worker Threads and why do they matter? by Alberto Gimeno. Alberto has done a fantastic job explaining the purpose of the worker_thread module, provided some solid examples of where it makes sense to use it, as well as demonstrated some alternate ways to build a multi-threaded Node app.

Samsung’s Gear VR isn’t dead yet — will work with Galaxy S10

See the original posting on The Verge

Two years ago, Samsung’s virtual reality ambitions were big enough to produce a bizarre, award-winning commercial featuring an ostrich who learns to fly, thanks to a Gear VR headset and the music of Elton John. But 2017 was also the last year that Samsung produced a new Gear VR device, much less a TV spot. Just like in 2018, today’s Samsung Galaxy Unpacked event featured a whole bunch of new phones — but not a single mention of VR.

But Samsung hasn’t stopped supporting the tech quite yet. The new lineup of Galaxy S10 phones is still compatible with an existing Gear VR headset, a Samsung spokesperson tells me. “Yes, the latest model Gear VR will work. Gear VR comes with an adapter that will work with S10,” he wrote. Road to VR reports…

Continue reading…

Samsung Galaxy S10E vs. iPhone XR: two budget flagships compared

See the original posting on The Verge

Along with the new $899 Samsung Galaxy S10 and $999 Galaxy S10 Plus, Samsung is introducing a slightly more budget-friendly phone: the Galaxy S10E. While not the most surprising thing ever, following the release of Apple’s popular iPhone XR in late 2018, it’s encouraging that Samsung isn’t entirely pushing high-end smartphones out of reach.

Both the Galaxy S10E and iPhone XR start at $749, which is probably no coincidence on Samsung’s part. (That’s actually a higher starting price than the $720 Galaxy S9 last year, which had a higher-res curved screen.) But whether you’re focused on the design, or the specs inside, both of these phones have most of the selling points of their more expensive counterparts. Of course, there are plenty of…

Continue reading…

Samsung’s vision of tomorrow’s phones doesn’t include the headphone jack

See the original posting on The Verge

The Galaxy Fold was the most exciting announcement at Samsung’s Galaxy Unpacked event by a long shot. While the new S10 and its variants look like top-tier phones, it was the Fold that captured everyone’s imagination. As Samsung CEO DJ Koh proudly declared at the event, the Fold “sets this industry on a new path.” And apparently, it’s a path that — unlike the rest of the phones Samsung announced today — doesn’t include a 3.5mm headphone jack.

It’s a sour note on what otherwise looks like a really interesting product. And if the Galaxy Fold is the future of Samsung’s smartphones, then it might be time for users to start saying goodbye to the beloved headphone jack.

Whether or not to include a headphone jack is a decision that’s painted a…

Continue reading…

Like an Irish Spring

See the original posting on Boing Boing

This soap commercial is more creepy than I remembered.

This AM I was marveling at how I only use Dr. Bronner’s Peppermint Castille Soap and have for almost 20 years. Before Dr. Bronner’s I was brand loyal to Irish Spring.

I still occasionally enjoy reading a bit of the Chick-esque marketing on a Dr. B’s bottle but today in the shower I was wondering if the Irish Spring ads were the forgotten treasure trove of weird I remembered them to be.

Yup. Read the rest

Samsung’s Galaxy Fold might only launch on two of the big US carriers

See the original posting on The Verge

Samsung’s very fancy foldable phone, the Galaxy Fold, will be available on two carriers when it launches in the US in a couple months: AT&T and T-Mobile. As for everyone else? Samsung hasn’t said, but for now, it sounds like the initial model of the Fold won’t launch on Verizon and Sprint.

It’s not clear if that means the Fold outright won’t work on those two carriers, but that may be the case. Verizon and Sprint rely on a different mobile technology for their 3G networks, and it’s possible the Fold just doesn’t include support. Sometimes, unsupported phones can still access LTE on Verizon and Sprint, but it isn’t guaranteed.

This is a particularly surprising detail given that Verizon is getting an…

Continue reading…

How the Samsung Galaxy S10 measures up against the iPhone XS and the Pixel 3

See the original posting on The Verge

Where the Samsung Galaxy S9 phones last year felt mostly iterative, the latest S10 devices are some of the company’s biggest changes yet, with the company’s modus operandi being to win over customers that didn’t shell out for an upgrade last year.

The latest S10 flagship phones are packing a punch — they have more RAM, larger storage options, newer Snapdragon processors, better screen resolution, and Wi-Fi 6 support. That means that for almost the same weight and dimensions, these phones should be faster and better for streaming Netflix in HD while on the go. There are three rear cameras rather than two and the S10 Plus has dual selfie cameras as well — along with a built-in Instagram mode.

While that all sounds impressive, the past…

Continue reading…

Twitter opens applications for its ‘prototype’ program, first tests to focus on fixing conversations

See the original posting on TechCrunch

Twitter today is opening up applications for its new testing program, first announced at CES in January. The program potentially can cover any and every aspect of the Twitter experience, but the first set of tests will focus on how interactions between people, and specifically replies, appear on Twitter. They will include a new design […]

Here’s everything announced at Samsung’s Galaxy S10/Galaxy Fold event

See the original posting on TechCrunch

Missed today’s Samsung Unpacked event in San Francisco? In all, we have five new phones — one of them a foldable, some new earbuds, a virtual assistant and a watch. Here’s everything you need to know. Samsung’s Galaxy Fold launches April 26, starting at $1,980 The last time we saw Samsung’s foldable onstage, it was, quite […]

Hands-on with Samsung’s new Galaxy Watch Active

See the original posting on The Verge

Samsung just spent 90 minutes talking about its new Galaxy S10 phones that are coming out this year, including a folding model, but it also dropped information on a new smartwatch in its line of Galaxy wearables. The Galaxy Watch Active is the latest watch running Samsung’s proprietary Tizen software, and it will be available for $199.99 when it hits shelves on March 8th. We just spent some brief time with the Watch Active, and here’s what you need to know: it’s light. It feels almost unnaturally light.

The biggest change from prior Samsung watches is the lack of a rotating bezel, which is a bit of a bummer. Instead, the Active relies on its touchscreen and two side buttons for navigation. They work fine, but they are a little clumsier…

Continue reading…

Samsung’s Galaxy Home smart speaker will launch by April

See the original posting on The Verge

After announcing it last summer, Samsung is nearing the release of its Bixby Home smart speaker. The device, meant to compete with the Amazon Echo, Google Home, Apple HomePod, and Sonos speakers, will launch by April. That’s according to co-CEO DJ Koh, who spoke to CNET today.

The Galaxy Home uses Samsung’s own Bixby virtual assistant to respond to a user’s voice commands. Its sound performance is tuned by the company’s AKG division. Samsung first revealed the Galaxy Home during its Note 9 event back in August, but has stayed relatively quiet on launch details ever since. The Home can act as a hub for SmartThings and control any smart home gadgets compatible with that platform by voice.

The company also claims this is “the only AI…

Continue reading…

You can remap the Bixby button on Samsung’s Galaxy S10 to do whatever you want

See the original posting on The Verge

Samsung will allow buyers of its new Galaxy S10 smartphones to use the Bixby key to open whatever app they want. The Verge has confirmed that with the S10, the company has added settings that allow you to customize the button beyond what has been allowed previously. You can assign the Bixby button to open a third-party app with either a single or double press of the button.

Whichever option you don’t assign to a different app will continue to open the Bixby feed. So for example, if you choose to open Instagram, Google, Spotify or some other app with a single press, a double press will trigger Bixby. Holding down the button still opens Bixby voice no matter what.

Photo by Dieter Bohn / The Verge

This addresses the…

Continue reading…

Fortnite has an exclusive K-pop skin for those who preorder the Galaxy S10 Plus

See the original posting on The Verge

Samsung made an exclusive Fortnite skin for people who buy the new Galaxy S10 Plus phone. It’s K-pop-themed, and it’s modeled after Jung Chan-woo, a member of South Korean boy band iKon.

You may not have heard of iKon, but just know it’s a seven-member band from YG Entertainment, which also brought bands like Big Bang and 2NE1 to fame. Like their predecessors, iKon mostly performs hip-hop, from catchy ballads to more straight-up rap. Chan-woo is known as the group’s youngest member, or the maknae, who’s usually unofficially responsible for bringing more cuteness to a group.

The deal is exclusive to the S10 Plus, so if you’re planning on getting a regular S10, you won’t qualify. It feels like Samsung is trying to incentivize more mobile…

Continue reading…

1 2 3 4,704