Validering javascript former

Validering av ifyllda fält Exempel 1. Genom att kontrollera att vissa fält är ifyllda får du användaren att fylla i den information du vill ha via formuläret. Scriptet kontrollerar även att en e-postadress angivits med @ i adressen. JavaScript Form Validation. HTML form validation can be done by JavaScript. If a form field (fname) is empty, this function alerts a message, and returns false, to prevent the form from being submitted: Herunder finder du JavaScript koderne der vil blive lavet i videoen! - kopier dem gerne! Video tags: JavaScript video tutorial, JavaScript vejledning, dansk video tutorial, lær JavaScript, JavaScript for begyndere, validering af forumlar i javascript, form kontrol in javascript. by Ameer Jhan How to implement declarative Xamarin form validation If you have an existing Xamarin.Forms codebase and want to add validation without affecting your code behind or view model, then this is for you. ? What made me write this article? Our team designed and developed a Xamarin mobile app with multiple forms with zero validations, since we had less time and we were okay with back ... Hva er JavaScript® Form Validering? JavaScript® form validering refererer til bruk av JavaScript® språk for å skrive skript som bidrar til å sikre at informasjonen som besøkende til et nettsted inn i skjemafeltene i et skjema er gyldig før den er behandlet. For eksempel, kan ingen e-po JavaScript validation is coded using JavaScript. This validation is completely customizable, but you need to create it all (or use a library). Using built-in form validation. One of the most significant features of HTML5 form controls is the ability to validate most user data without relying on JavaScript. This is done by using validation ... JavaScript er generelt accepteret som den scriptsprog af internettet. Dens anvendelsesområder er mangfoldige : tilføjer funktionalitet til websites , validering former , afsløring browsere og meget mere. Da det kører som en integreret del af webbrowser , er det almindeligvis anvendes til at levere client- side validering hvor input værdier ...

What is the MEAN stack? JavaScript web applications

2020.04.23 11:27 faizrashid What is the MEAN stack? JavaScript web applications

The MEAN stack is a software stack—that is, a set of the technology layers that make up a modern application—that’s built entirely in JavaScript. MEAN represents the arrival of JavaScript as a “full-stack development” language, running everything in an application from front end to back end. Each of the initials in MEAN stands for a component in the stack:
MongoDB: A database server that is queried using JSON (JavaScript Object Notation) and that stores data structures in a binary JSON format
Express: A server-side JavaScript framework
Angular: A client-side JavaScript framework
Node.js: A JavaScript runtime
A big part of MEAN’s appeal is the consistency that comes from the fact that it’s JavaScript through and through. Life is simpler for developers because every component of the application—from the objects in the database to the client-side code—is written in the same language.
This consistency stands in contrast to the hodgepodge of LAMP, the longtime staple of web application developers. Like MEAN, LAMP is an acronym for the components used in the stack—Linux, the Apache HTTP Server, MySQL, and either PHP, Perl, or Python. Each piece of the stack has little in common with any other piece.
This isn’t to say the LAMP stack is inferior. It’s still widely used, and each element in the stack still benefits from an active development community. But the conceptual consistency that MEAN provides is a boon. If you use the same language, and many of the same language concepts, at all levels of the stack, it becomes easier for a developer to master the whole stack at once.
Most MEAN stacks feature all four of the components—the database, the front end, the back end, and the execution engine. This doesn’t mean the stack consists of only these elements, but they form the core.
MongoDB
Like other NoSQL database systems, MongoDB uses a schema-less design. Data is stored and retrieved as JSON-formatted documents, which can have any number of nested fields. This flexibility makes MongoDB well-suited to rapid application development when dealing with fast-changing requirements.
Using MongoDB comes with a number of caveats. For one, MongoDB has a reputation for being insecure by default. If you deploy it in a production environment, you must take steps to secure it. And for developers coming from relational databases, or even other NoSQL systems, you’ll need to spend some time getting to know MongoDB and how it works. InfoWorld’s Martin Heller dove deep into MongoDB 4 in InfoWorld’s review, where he talks about MongoDB internals, queries, and drawbacks.
As with any other database solution, you’ll need middleware of some kind to communicate between MongoDB and the JavaScript components. One common choice for the MEAN stack is Mongoose. Mongoose not only provides connectivity, but object modeling, app-side validation, and a number of other functions that you don’t want to be bothered with reinventing for each new project.
Express.js
Express is arguably the most widely used web application framework for Node.js. Express provides only a small set of essential features—it’s essentially a minimal, programmable web server—but can be extended via plug-ins. This no-frills design helps keep Express lightweight and performant.
Nothing says a MEAN app has to be served directly to users via Express, although that’s certainly a common scenario. An alternative architecture is to deploy another web server, like Nginx or Apache, in front of Express as a reverse proxy. This allows for functions like load balancing to be offloaded to a separate resource.
Because Express is deliberately minimal, it doesn’t have much conceptual overhead associated with it. The tutorials at Expressjs.com can take you from a quick overview of the basics to connecting databases and beyond.
Angular
Angular (formerly AngularJS) is used to build the front end for a MEAN application. Angular uses the browser’s JavaScript to format server-provided data in HTML templates, so that much of the work of rendering a web page can be offloaded to the client. Many single-page web apps are built using Angular on the front end.
One important caveat: Developers work with Angular by writing in TypeScript, a JavaScript-like typed language that compiles to JavaScript. For some people this is a violation of one of the cardinal concepts of the MEAN stack—that JavaScript is used everywhere and exclusively. However, TypeScript is a close cousin to JavaScript, so the transition between the two isn’t as jarring as it might be with other languages.
For a deep dive into Angular, InfoWorld’s Martin Heller has you covered. In his Angular tutorial he’ll walk you through the creation of a modern, Angular web app.
Node.js
Last, but hardly least, there’s Node.js—the JavaScript runtime that powers the server side of the MEAN web application. Node is based on Google’s V8 JavaScript engine, the same JavaScript engine that runs in the Chrome web browser. Node is cross-platform, runs on both servers and clients, and has certain performance advantages over traditional web servers such as Apache.
Node.js takes a different approach to serving web requests than traditional web servers. In the traditional approach, the server spawns a new thread of execution or even forks a new process to handle the request. Spawning threads is more efficient than forking processes, but both involve a good deal of overhead. A large number of threads can cause a heavily loaded system to spend precious cycles on thread scheduling and context switching, adding latency and imposing limits on scalability and throughput.
Node.js is far more efficient. Node runs a single-threaded event loop registered with the system to handle connections, and each new connection causes a JavaScript callback function to fire. The callback function can handle requests with non-blocking I/O calls and, if necessary, can spawn threads from a pool to execute blocking or CPU-intensive operations and to load-balance across CPU cores.
Node.js requires less memory to handle more connections than most competitive architectures that scale with threads—including Apache HTTP Server, ASP.NET, Ruby on Rails, and Java application servers. Thus, Node has become an extremely popular choice for building web servers, REST APIs, and real-time applications like chat apps and games. If there is one component that defines the MEAN stack, it’s Node.js.
Advantages and benefits of the MEAN stack
These four components working in tandem aren’t the solution to every problem, but they’ve definitely found a niche in contemporary development. IBM breaks down the areas where the MEAN stack fits the bill. Because it’s scalable and can handle a large number of users simultaneously, the MEAN stack is a particularly good choice for cloud-native apps. The Angular front end is also a great choice for single-page applications. Examples include:
Expense-tracking apps
News aggregation sites
Mapping and location apps
MEAN vs. MERN
The acronym “MERN” is sometimes used to describe MEAN stacks that use React.js in place of Angular. React is a framework, not a full-fledged library like Angular, and there are pluses and minuses to swapping React into a JavaScript-based stack. In brief, React is easier to learn, and most developers can write and test React code faster than they can write and test a full-fledged Angular app. React also produces better mobile front ends. On the other hand, Angular code is more stable, cleaner, and performant. In general, Angular is the choice for enterprise-class development.
But the very fact that this choice is available to you demonstrates that MEAN isn’t a limited straitjacket for developers. Not only can you swap in different components for one of the canonical four layers; you can add complementary components as well. For example, caching systems like Redis or Memcached could be used within Express to speed up responses to requests.
MEAN stack developers
Having the skills to be a MEAN stack developer basically entails becoming a full-stack developer, with a focus on the particular set of JavaScript tools we’ve discussed here. However, the MEAN stack’s popularity means that many job ads will be aimed at full-stack devs with MEAN-specific skills. Guru99 breaks down the prerequisites for snagging one of these jobs. Beyond familiarity with the basic MEAN stack components, a MEAN stack developer should have a good understanding of:
Front-end and back-end processes
HTML and CSS
Programming templates and architecture design guidelines
Web development, continuous integration, and cloud technologies
Database architecture
The software development lifecycle (SDLC) and what it’s like developing in an agile environment[Source]-https://www.infoworld.com/article/3319786/what-is-the-mean-stack-javascript-web-applications.html
62 Hours Mean Stack Training includes MongoDB, JavaScript, A62 angularJS Training, MongoDB, Node JS and live Project Development. Demo Mean Stack Training available.
submitted by faizrashid to u/faizrashid [link] [comments]


2020.04.09 16:06 oriolesfan2131 Let Freedom Drink - Getting around the PLCB Website Block

Update 2
It's working again this morning. My guess is there's a server-side block as well that I didn't see during my testing and night-ordering or it was installed yesterday after a spike in traffic.
** They've "Fixed" the site**
Adding an item to the cart now results in this.
https://imgur.com/gallery/tgewE6O
Good luck friends. Stay safe out there.
I'm a former web developer, who has used technologies similar to what is used by the FWGS website. After watching it yesterday I decided to do a little research in the source code in my browser. Each page has a javascript code block similar to this

Here's how I got around the block.
  1. Download GreaseMonkey plugin for FireFox. This allows you to manipulate the source code in your browser, effecting how it executes.
  2. After you restart the browser, click on the GreaseMonkey icon and select New User Scrpt.
  3. Paste in this code and save it.
``` // ==UserScript== // @name Let Freedom Drink // @version 1 // @grant none // @run-at document-start // @match https://.finewineandgoodspirits.com/ // @match https://www.finewineandgoodspirits.com/* // ==/UserScript==
window.addEventListener('beforescriptexecute', function(e) { if(e.target.text.search('var limitOrders = "true";') != -1) { console.log(e.target.src) e.stopPropagation(); e.preventDefault(); $(e.target).remove(); } }, true) ``` This code captures the event that redirects the browser to the "store not available page".
Now when you navigate to FWGS.com the site should work as originally designed.
This likely won't work forever. But, it worked for me yesterday. They'll eventually notice this and change the page, but in the meantime, enjoy!
submitted by oriolesfan2131 to PLCB [link] [comments]


2020.03.20 08:41 Ynjxsjmh the server is redirecting the request for this address in a way that will never complete

There is an extension named Clean & unpersonalized Google URLs in Google Chrome. It can remove the extra parameters in Google search URL, However, it doesn't offer a FF version. I decide to use it in FF. When I load it to FF addon and search using Google, FF warns me
``` The page isn’t redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete. ```
I check the source code and there is only one JS file, the main content is
```javascript // Copyright 2017 Yoast BV. All Rights Reserved. // Author: [email protected] (Joost de Valk) // // Uses code from an extension originally developed by Manas Tungare: // // Copyright 2011 Google Inc. All Rights Reserved. // Author: [email protected] (Manas Tungare) // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License.
/** * @fileoverview automatically replaces Google searches with clean versions of that search */
"use strict"; // Enable the page action icon only for pages that look like a valid Google SRP. chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { chrome.pageAction.show(tabId); });
chrome.pageAction.onClicked.addListener(function(tab) { chrome.tabs.update({ url: "https://yoast.com/seo-tools/disable-personalized-search-plugin/" }); });
chrome.webRequest.onBeforeRequest.addListener( function(tab) { /** * Valid parameters to keep in a short URL; all others will be removed. * @enum {boolean} * @const * @private */ var VALID_PARAMS = { "deb": true, "gl": true, "hl": true, "num": true, "q": true, "start": true, "tbm": true, "tbs": true };
 var url = tab.url; var params = url.substring( url.indexOf( "?" ) + 1 ).split( /&#/ ); var paramsToKeep = {}; for ( var i = 0; i < params.length; ++i ) { var key = params[ i ].substring( 0, params[ i ].indexOf( "=" ) ); if ( VALID_PARAMS[ key ] ) { // To prevent duplicates, add to a map first, then flatten it. paramsToKeep[ key ] = params[ i ]; } paramsToKeep[ 'pws' ] = 'pws=0'; } if ( typeof( paramsToKeep['q'] ) === 'undefined' paramsToKeep['q'] === 'q=' ) { return false; } var cleanUrl = url.substring( 0, url.indexOf( "?" ) + 1 ); for ( var key in paramsToKeep ) { cleanUrl += "&" + paramsToKeep[ key ]; } cleanUrl = cleanUrl.replace( "?&", "?" ); return { redirectUrl: cleanUrl }; }, { urls: [ "https://www.google.com/*", ], types: ["main_frame", "sub_frame", "stylesheet", "script", "image", "object", "xmlhttprequest", "other"] 
}, ["blocking"]); ``` This js code is not complicated, so I know what's wrong here:
  1. the addon executes in Google search.
  2. the addon removes the extra parameters and redirect it to clean url.
  3. the problem occurs, the addon might execute again after redirecting. That will be an infinite loop, so FF gives a warning.
I'm not very experienced with creating FF addon, is it possible to edit the code to make it work on FF?
I also have some questions. Will Google get the former personalized url after using chrome.webRequest.onBeforeRequest.addListener?
----- Update -----
I compared the code with CleanUrl v1.0.5.5, the biggest difference I see is that cleanurl judges if the url is cleaned.
Maybe that's the main reason but why the above code works in Google Chrome remains a mystery for me.
```js
/** * Helper function which remove the tracking fields * for each provider given as parameter. * * @param {Provider} provider Provider-Object * @param {webRequest} request webRequest-Object * @return {Array} Array with changes and url fields */ function removeFieldsFormURL(provider, request) { var url = request.url; var rules = provider.getRules(); var changes = false;
if(provider.matchURL(url)) { for (var i = 0; i < rules.length; i++) { var bevorReplace = url; url = url.replace(new RegExp(rules[i], "gi"), ""); if(bevorReplace != url) { console.log("Bevor: "+bevorReplace); console.log("After: "+url); console.log("######################"); changes = true; } } } return { "changes": changes, "url": url } 
};
/** * Function which called from the webRequest to * remove the tracking fields from the url. * * @param {webRequest} request webRequest-Object * @return {Array} redirectUrl or none */ function clearUrl(request) { var result = { "changes": false, "url": "" }; // var providers = [amazon, google, googlesyndication, doubleclick, utm];
/* * Call for every provider the removeFieldsFormURL method. */ for (var i = 0; i < providers.length; i++) { result = removeFieldsFormURL(providers[i], request); /* * Ensure that the function go not into * an loop. */ if(result["changes"]){ return { redirectUrl: result["url"] }; } } 
};
/** * Call by each Request and checking the url. * * @type {Array} */ browser.webRequest.onBeforeRequest.addListener( clearUrl, {urls: [""]}, ["blocking"] ); ```
submitted by Ynjxsjmh to firefox [link] [comments]


2020.01.08 04:09 subreddit_stats Subreddit Stats: Monero top posts from 2019-01-07 to 2020-01-05 20:57 PDT

Period: 363.37 days
Submissions Comments
Total 1000 32255
Rate (per day) 2.75 88.32
Unique Redditors 413 4359
Combined Score 87276 146123

Top Submitters' Top Submissions

  1. 11193 points, 116 submissions: dEBRUYNE_1
    1. 'Monero in many respects is closer to what Bitcoin was intended to be than Bitcoin itself' - binaryFate (245 points, 61 comments)
    2. "It was a huge misstep that Satoshi’s original design has weak privacy. It set in stone an expectation that digital assets must have worse privacy than cash. Didn’t have to be this way." - Udi Wertheimer ‏ (215 points, 61 comments)
    3. 'Privacy should not be optional (and that’s why we made it a default).' - Firefox (214 points, 24 comments)
    4. Monero receives 'not a security' rating (best possible rating) by Crypto Rating Council (joint council created by Coinbase, Kraken, Circle/Poloniex, Bittrex, Paxos/itBit, Cumberland, Genesis and Grayscale) (214 points, 30 comments)
    5. GUI v0.14.1.0 'Boron Butterfly' (with Ledger Nano X and Trezor Model T support) released! (213 points, 243 comments)
    6. 'Apple CEO Tim Cook says privacy isn't a feature that should be built into products after the fact' (212 points, 39 comments)
    7. "you’ve been asking... we finally delivered! $XMR is live in [Exodus] Eden version 19.2.2" (202 points, 68 comments)
    8. The Bitcoin.com Exchange has listed Monero (190 points, 73 comments)
    9. Preliminary information thread regarding the scheduled protocol upgrade of November 30 (183 points, 141 comments)
    10. GUI v0.15.0.1 'Carbon Chamaeleon' released! (177 points, 278 comments)
  2. 3214 points, 41 submissions: SamsungGalaxyPlayer
    1. Some generous donor(s) topped off ALL of the proposals in funding required! (193 points, 38 comments)
    2. Tentative Monero 0.15 Release Schedule (162 points, 51 comments)
    3. Monero: Monero Adds Blockchain Pruning and Improves Transaction Efficiency (143 points, 23 comments)
    4. Logs from the 2.5 hr dev meeting on Monero's PoW (124 points, 124 comments)
    5. New logo for the Monero Community Workgroup YouTube channel, courtesy of u/anhdres! (119 points, 19 comments)
    6. Announcing the "Beware of Bitcoin" campaign for Mastering Monero (117 points, 98 comments)
    7. Preliminary support for Monero on BTCPayServer has been merged! (116 points, 19 comments)
    8. OpenBazaar dev call tomorrow discussing proof of concept for Monero integration (111 points, 21 comments)
    9. "Linking Anonymous Transactions via Remote Side-Channel Attacks" - Now-Fixed Network Analysis Attacks on Monero and Zcash (102 points, 50 comments)
    10. Monero added to Exodus mobile (100 points, 33 comments)
  3. 3157 points, 32 submissions: OsrsNeedsF2P
    1. Alright everybody pack it up. US Attorney General says encryption creates a security risk; if your wallet requires a password to unlock, you're doing acts that are used by terrorists, and it's time to stop. (317 points, 56 comments)
    2. What a shame Monero isn't included ¯_(ツ)_/¯ (254 points, 47 comments)
    3. Linus Tovalds believes processor vendors are approaching the end of Moore's Law, and optimization of code is going to be needed to increase performance (245 points, 61 comments)
    4. Fluffypony Appreciation Thread (199 points, 62 comments)
    5. IRS wants to subpoena Google, Apple & Microsoft to see if users have downloaded cryptocurrency related applications (190 points, 96 comments)
    6. Soon ™ (151 points, 55 comments)
    7. Privacy matters: Bitpay donations to Hong Kong Free Press not going through (141 points, 20 comments)
    8. IBM, MIT and Elliptic release world’s largest labeled dataset of bitcoin transactions to help identify "Bad Actors" (119 points, 22 comments)
    9. Celebrating 10 years of Tails (114 points, 5 comments)
    10. Former CTO of Purism, the developers of the Librem 5 Linux mobile phone, notes the PR momentum they got with GNOME, Matrix, and Monero (96 points, 12 comments)
  4. 2106 points, 29 submissions: ErCiccione
    1. Church Of Monero: Enough is enough - How the leader of the Church tried to fool the community to make look like the Church is organizing the Monero Konferenco and even adding his own Monero address on the flyer (166 points, 268 comments)
    2. [URGENT]Call for translators! - We have two days to submit as many translations as possible for the next release of the GUI wallet! We need your help! (123 points, 46 comments)
    3. Monero translators, we need you to make one final sprint! The code freeze is imminent. (112 points, 15 comments)
    4. 2 new projects joined the Monero Ecosystem! MoneroBox, a plug-and-play, zero-configuration Monero full node and Monero-Javascript, Monero wallet and daemon JavaScript API (107 points, 12 comments)
    5. PSA: We've posted an announcement regarding the potentially compromised CLI binaries on getmonero.org (101 points, 47 comments)
    6. New language for Monerujo: Esperanto! Will be available in next release (97 points, 6 comments)
    7. Monero Python - A comprehensive Python module for handling Monero cryptocurrency, has officially joined the Monero Ecosystem Project! (94 points, 12 comments)
    8. Getmonero.org is now available in German! (89 points, 16 comments)
    9. Getmonero.org updated: New user friendly download page, Welcome video in Brazilian Portuguese, 5 new merchants accepting Monero and more (76 points, 12 comments)
    10. My last proposal as coordinator of the Localization Workgroup has ended. A recap, some updates, plans for the future of the internationalization of Monero and a huge thanks (73 points, 22 comments)
  5. 1257 points, 14 submissions: xmrhaelan
    1. A response to the Reuters article about Monero (183 points, 28 comments)
    2. CoinDesk research shows Monero is #4 by Reddit post volume community metrics. Kudos to you all! (172 points, 57 comments)
    3. A response to Coinbase regarding their criticism of Monero’s approach to PoW security (171 points, 91 comments)
    4. Graphic idea for Boron Butterfly release, courtesy of Monero Outreach (170 points, 36 comments)
    5. PSA: Seeking Volunteer Reviewers for PoW RandomX (104 points, 55 comments)
    6. PSA: Mine Monero to Support the Network (77 points, 80 comments)
    7. Looking for ways to help, volunteer, or contribute to the Monero community? Look no further! (70 points, 20 comments)
    8. SWOT Analysis of Monero [draft] (59 points, 35 comments)
    9. Monero Konferenco Press Release (55 points, 9 comments)
    10. A Simplified Guide to Monero Wallets, from Monero Outreach (40 points, 9 comments)
  6. 1220 points, 9 submissions: geonic_
    1. Monero is second only to Bitcoin in terms of number of commits for the past 4 years! (269 points, 59 comments)
    2. Joe Weisenthal (Bloomberg): Until true anonymity (or near anonymity) is developed into Bitcoin, it's still incomplete, and not delivering on its promise. Without anonymity, there's no censorship resistance, and no store of value. (173 points, 38 comments)
    3. Nick Szabo puts Monero on an equal footing with Bitcoin: “deeply safe Bitcoin & Monero” (170 points, 41 comments)
    4. Chainalysis: Bitcoin is the most popular cryptocurrency accepted on dark markets, followed by Monero. Dark web spending to reach $1B this year. (150 points, 39 comments)
    5. BTC maximalist QOTD: “If you send me bitcoin, I would prefer if you used coinjoin first. I would prefer to not know the history of your sats. Don't put that liability on me. Thanks.” (142 points, 45 comments)
    6. Peter Todd wishes Bitcoin had perpetual inflation -- 2140 is much closer than you think (101 points, 89 comments)
    7. nopara73, creator of Wasabi Wallet: "Compared to privacy coins Wasabi is just a temporary hack. I think without Confidential Transactions, as the transaction fees grow, privacy will be priced out of Bitcoin's main chain." (95 points, 48 comments)
    8. Scott Stornetta, inventor of the first blockchain: “When I first read the Bitcoin white paper I thought [...] there’s no privacy at all here! What you’ve got is a completely traceable record of what’s going on.” @12:00 (68 points, 17 comments)
    9. Let's discuss: is Monero a privacy tool (i.e. Tor, CoinJoin, etc.) or a secure layer one protocol (https)? how aligned is it with Bitcoin ideologically (consider current vs original Bitcoin ideology)? is Monero's blockchain a temporary solution? (52 points, 27 comments)
  7. 1186 points, 12 submissions: hyc_symas
    1. RandomX Audit Status (148 points, 29 comments)
    2. RandomX Status Update (134 points, 82 comments)
    3. RandomX Audit Status - Final (130 points, 54 comments)
    4. RandomX Audit Status (116 points, 9 comments)
    5. RandomX Audit Status (110 points, 24 comments)
    6. RandomX testnet (99 points, 23 comments)
    7. Blockchain Growth stats (87 points, 26 comments)
    8. RandomX Auditor Selection (86 points, 47 comments)
    9. CCS: RandomX Audit now in Funding Required (78 points, 45 comments)
    10. RandomX Audit Funding Request (76 points, 14 comments)
  8. 1171 points, 13 submissions: Thunderosa
    1. Blend in the Crowd with Carbon Chamaeleon v0.15.0.0 (161 points, 25 comments)
    2. @monero Twitter banner (141 points, 25 comments)
    3. A little Christmas card for my favorite freaks. Happy Holidays! (136 points, 4 comments)
    4. Boron Butterfly ASCII (117 points, 23 comments)
    5. Monero Torch (111 points, 73 comments)
    6. Konferenco funding! (105 points, 19 comments)
    7. supportxmr-gui Update - Twice the features, half the size. All vanilla. (98 points, 15 comments)
    8. Happy 5th (70 points, 16 comments)
    9. Explore the expert speakers and important topics of Monero Konferenco 2019! (57 points, 11 comments)
    10. RandomX - Monero and Arweave to Validate New Proof-of-Work Algorithm (52 points, 12 comments)
  9. 1129 points, 14 submissions: pinkphloid
    1. [NEWS] CAKE WALLET for Monero has crossed 20,000 unique installs on iOS. (123 points, 69 comments)
    2. [PUBLIC BETA] Cake Wallet for Monero is now available on Android! (104 points, 48 comments)
    3. Going to the Monero Konferenco? Don’t miss MoneroTalk’s party Saturday night Casa De Monero! It’s THE party of the weekend! (99 points, 13 comments)
    4. [UPDATE] Cake Wallet version 3.1.7, now with Address book, Back-up to iCloud and other locations, and BCH is back in the exchange! (92 points, 70 comments)
    5. [UPDATE] Cake Wallet version 3.1.17 with Hidden balance mode plus other new useful features! (90 points, 16 comments)
    6. Cake Wallet is hiring! (88 points, 14 comments)
    7. If you like using Cake Wallet, please vote! Thank you 🙏🏼🙏🏼 (87 points, 20 comments)
    8. NYC Monero meetup featuring guest speaker Justin Ehrenhofer of XMR Community Work Group. - by Cake Wallet and Monero Talk (82 points, 10 comments)
    9. [UPDATE] Cake Wallet - Version 3.1.20 Black Forest Cake Edition (73 points, 23 comments)
    10. Cake Wallet (small news) - we have acquired the domain cakewallet.com! (67 points, 16 comments)
  10. 1054 points, 13 submissions: jman76358
    1. Monero receives A rating (194 points, 43 comments)
    2. Exodus Wallet now supports Monero (128 points, 38 comments)
    3. I tell a lot of people about Monero who don't know anything about crypto and they instantly get it. They ask me the same thing over and over, so why do people still use Bitcoin? (127 points, 119 comments)
    4. How trustyworthy is the Cake wallet for iOS? (80 points, 43 comments)
    5. Why don't other coin devs like talking about fungibility? They seem to shrug it off even though it's a necessary component to being a currency. (77 points, 85 comments)
    6. Any idea what's going on with the Official Monero Twitter page? (67 points, 33 comments)
    7. Should Quantum Resistance research for XMR be started soon? I would love to see what the great minds of the dev community could come up with ! (64 points, 55 comments)
    8. The End of Mainstream Privacy is Upon Us (62 points, 28 comments)
    9. Non-KYC exchanges coming to an end, even for small amounts. DEX with Monero as main coin when? (57 points, 18 comments)
    10. I find it funny that people think the gov doesn’t want people to use bitcoin, trust me , they’re estatic that people want to voluntarily be tracked and surveilled. (55 points, 45 comments)

Top Commenters

  1. dEBRUYNE_1 (9070 points, 1572 comments)
  2. OsrsNeedsF2P (5373 points, 757 comments)
  3. hyc_symas (2954 points, 332 comments)
  4. gingeropolous (2345 points, 313 comments)
  5. SamsungGalaxyPlayer (1897 points, 271 comments)
  6. rbrunner7 (1844 points, 299 comments)
  7. spirtdica (1835 points, 544 comments)
  8. pebx (1596 points, 318 comments)
  9. SarangNoether (1244 points, 115 comments)
  10. Same_As_It_Ever_Was (1234 points, 248 comments)

Top Submissions

  1. VLC accepts XMR for donations. Owner has turned down millions to keep it open source and ad-free. by tempMonero123 (468 points, 34 comments)
  2. Monero’s New Mascot by deepdarksea (433 points, 33 comments)
  3. Monero fashion spotted in the wild by Peterb88 (406 points, 34 comments)
  4. Found this in Basel, Switzerland. Then bought 0.968745 with no ID. by _0_1 (395 points, 120 comments)
  5. Bye-bye ASIC's! :-) by TheFuzzStone (357 points, 167 comments)
  6. Art by me by nikitko13 (328 points, 58 comments)
  7. Analysis: More than 85% of the current Monero Hashrate is ASICs and each machine is doing 128 kh/s by MoneroCrusher (324 points, 427 comments)
  8. Hi guys, long time no see 😁 this is what I do when not painting. Tools are printed on 3D printer. by cryptopaintings (322 points, 47 comments)
  9. Alright everybody pack it up. US Attorney General says encryption creates a security risk; if your wallet requires a password to unlock, you're doing acts that are used by terrorists, and it's time to stop. by OsrsNeedsF2P (317 points, 56 comments)
  10. India's ban could be Monero's boon by whotookmycrypto (313 points, 60 comments)

Top Comments

  1. 175 points: MoneroTipsBot's comment in Soon ™
  2. 139 points: MoneroCrusher's comment in Analysis: More than 85% of the current Monero Hashrate is ASICs and each machine is doing 128 kh/s
  3. 132 points: jonaemahina's comment in Kidnappers demand Monero ransom for wife of one of the Richest men in Norway.
  4. 116 points: leonardochaia's comment in Monero's Fluffypony reveals why he stepped down
  5. 111 points: katiecharm's comment in Tax Ramifications of Buying Coffee with Cryptocurrency
  6. 102 points: AlexAnarcho's comment in Kidnappers demand Monero ransom for wife of one of the Richest men in Norway.
  7. 100 points: fluffyponyza's comment in Fluffypony Appreciation Thread
  8. 96 points: Same_As_It_Ever_Was's comment in [Moderation Announcement] Religion related posts are now considered off-topic and will be removed
  9. 94 points: Flenst's comment in Security Warning: CLI binaries available on getmonero.org may have been compromised at some point during the last 24h.
  10. 93 points: moneroh's comment in Name Monero 0.14!
Generated with BBoe's Subreddit Stats
submitted by subreddit_stats to subreddit_stats [link] [comments]


2020.01.02 08:32 infinijithtech Everything You Want to Know About Full-stack Development All About Full Stack Development

Everything You Want to Know About Full-stack Development All About Full Stack Development

https://preview.redd.it/ijqvnz6xib841.png?width=1200&format=png&auto=webp&s=a3dab82c0a7ccd425692aba4122a3412dcd09caf
When you are looking for someone who can take care of your whole web or mobile application development process, then you must come across the term full-stack development or full-stack developers.
Certainly, why not since the internet makes everything available at our fingertips. So, you may come across the term full-stack development.
As you think to develop a new programming application it needs a team of specialists collaborates & works together with complex technologies.
But in this modern, it is simplified with a technical person who is a “know all”, has a wealth of information and experience handling all the technologies required in software or application development.
However, you need to know completely about full-stack development before getting to it for your web or mobile application development.
Let us discuss want makes full-stack development a special one and who it can be done.
What is Full Stack Development
Full stack development refers to the development of the front-end and back-end of an application that can be used or delivered to the customer. In general, full-stack web development can be categorized as three layers as follows
  • The Presentation Layer (deals with UI or UX)
  • Business Logic Layer (deals with data validation) and
  • Database Layer (deals with data storage)
In recent times, full stack development becomes more popular than any other development approaches. A few days back, the developer used to learn specific techniques and master that for years. Which needed to have a bunch of developers for single applications who are specialized in the particular technology.
But full stack development changed everything with the arrival of powerful libraries, which makes the development process easy and faster. And more efficiently a single developer can handle multiple things.
Earlier the life cycle for website development from Photoshop to Staging server was too long, but with full stack development, it has reduced 3 times lesser. Many purposes can be effectively achieved through this process.
Front-end Development
In software, the user interface is what visible to the users/customers. This want called as front-end of the software.
An front-end developer is responsible for the creation of visual elements like how the software or an app will look, interact and operate with the user.
Back-end Development
On the other hand, back-end what makes the software function well.
The developers who work at the back-end spend a lot of time creating and working with databases. To develop a user-driven software, you need both.
The full-stack developer is the one who is a pro in both the technical domains. It is also their responsibility to know every aspect of development including front-end, back-end, database queries, and various operating systems.
Technology That is Key for Full-Stack Development:
  1. Front-end
  2. Back end
  3. Database
  4. Middleware
  5. DevOps
  6. Project management tools
  7. Version control
1. Front End Technologies & Framework
A user interface is the visible part of a website or web application which in-tern responsible for user experience is the front-end. And the user of the application will directly interact with the front-end portion of the web application or website.
Languages and technologies which are used to build front-end portion are discussed below:
  • HTML: Hyper Text Markup Language.
The design of front-end for web pages done using markup language. HTML is the combination of hypertext and markup language. Hypertext defines the link between the web pages.
The markup language is used to define the text documentation within tag which defines the structure of web pages.
  • CSS: Cascading Style Sheets
The major responsibility of CSS is to simplify the process of making web pages presentable and fast as possible.
With help of CSS, you can apply different styles to your web pages. CSS enables you to do any style for your web page independent of the HTML which on the other hand makes up each web page.
  • JavaScript
JavaScript is used to make the application interactive for the user. It is quite popular with a different framework. It is used to enhancing the functionality of a website to run cool games and web-based software.
Front End Frameworks and Libraries:
  • Angular
Angular is mainly used to develop single-page web applications (SPAs).
It is an open-source framework.
It is a continuously growing and expanding framework which provides better ways for developing web applications. It changes the static HTML to dynamic HTML.
Moreover, Angular is an open-source project that can be used freely and also changed by anyone as per their needs. It is like HTML which is extended with Directives and attributes, and data is bound with HTML.
To know why to use Angular for your application development refer our blog Advantage of choosing angular.
  • React.JS:
A JavaScript for developing a user interface which is a declarative, effective, and more flexible to use.
It is also an open-source, and it is a component-based front-end library that responsible view layer of the application.
React application is made of multiple components, in that each element is accounted for rendering a small and reusable piece of HTML.
Go through our Reason why ReactJS is preferred to know what are the advantage of using React for development.
  • jQuery
jQuery simplifies the interactions between an HTML/CSS document, or more precisely the Document Object Model (DOM), and JavaScript.
It is an open-source JavaScript library. The major advantage of having jQuery is it simplifies the HTML task such as document traversing and manipulation, browser event handling, DOM animations, Ajax interactions, and cross-browser JavaScript development.
  • SASS:
It is an extension of CSS language which is more reliable, mature and robust. It extends the functionality of existing CSS by changing variables, inheritance, and nesting with ease.
It is compatible with all the versions of CSS.
2. Back end Technologies & Framework
It refers to the server-side development of web applications or websites focusing primarily on how the website works. It is responsible for managing the database through queries and APIs by client-side commands. This type of website mainly consists of three parts front end, back end, and database.
Languages and frameworks which are used to build a back-end are discussed below:
  • PHP: It is a back-end server-side scripting language designed for web development. PHP code is executed on the server side so it is called server-side scripting language.
  • Java: Java is one of the most popular and widely used programming languages and platforms. It is highly scalable. Java components are easily available.
  • Python: It is easier to learn and you can achieve more functionalities with less code. Especially for web development due to its amazing readability and efficiency. It is preferred due to fact the python code doesn't break when minor mistake or error has occurred.
  • JavaScript: JavaScript is used to make the web pages alive. And it can be used as both front end and back end programming languages.
  • Node.JS: It helps in executing JavaScript code outside of a browser. NodeJS is not a framework, and it’s not a programming language. It is a runtime environment. Most of the people are confused and understand it’s a framework or a programming language. It used for building back-end services like APIs like Web App or Mobile App.
Back End Framework
The list of back end frameworks is Express, Django, Rails, Laravel, Spring, etc.
JavaScript is essential for all stacks as it is the dominant technology on Web.
3. Database
The database is a data structure that stores the data in an organized format. It processes of retrieval, insertion, and deletion of data from the database are done simple if data are organized a form of tables, views, schemas, reports, etc. It is more are like a collection of inter-related data under one set.
  • Oracle: Oracle database is the collection of data that is treated as a unit. The purpose of this database is to store and retrieve information related to the query. It is a database server and used to manage information.
  • MongoDB: MongoDB, is an open-source document-oriented database. Since its a NoSQL database so it not look the table or relational database structure. It puts a different mechanism for storage and retrieval of data.
  • SQL: Structured Query Language is a standard database language that is used to create, maintain and retrieve the relational database.
4. Middleware
It is software that lies between an operating system and the applications running on it.
In distributed applications, it enables communication and data management. So, itis Calles as a hidden translation layer.
All network-based requests are essential attempts to interact with back-end data.
That data might be something as simple as an image to display or a video to play, or it could be as complex as a history of banking transactions.
The requested data can take on many forms and may be stored in a variety of ways, such as coming from a file server, fetched from a message queue or persisted in a database.
It is middleware responsibility is to enable and ease access to back-end resources.
5. DevOps
To automate the processes between software development and IT teams A set of practices called DevOps is used. DevOps enables them to build, test, and release software faster and more reliable.
In recent times, DevOps becomes more popular because of its ability to faster software releases, the ability to solve critical issues quickly, and better manage unplanned work. DevOps process is trusted and believed it will give a better outcome from developers.
Some of the DevOps character include increased collaboration, decreasing silos, shared responsibility, autonomous teams, and valuing feedback.
It is an extension of agile values since it uses many same as in agile values.
DevOps Tools
DevOps uses various tools to achieve consistency in the work process to deliver better results.
Some of the tools are as follows configuration management, test and build systems, application deployment, version control, and monitoring tools. Some processes are done continuous like integration, delivery, and deployment which may require different tools.
Still not convinced on using DevOps then read our DevOps and Cloud: The Key to Unlocking Faster Development to grab why DevOps is important
6. Project Management Tools
Project management involves understanding all the aspects involved in the development of the application or software.
It cores a wide variety of topics from people management to strategy and to communications.
All these process needs specialized tools and technologies to handle in the right manner.
Project management tools are used at a different stage of development. They include, but are not limited to:
  • Planning/Scheduling - Before starting any process there should be clear planning and evaluation. It let you have a tool that allows you to plan and assign work as with tasks, subtasks, folders, templates, workflows, and calendars.
  • Collaboration - Technologies have evolved long so, email is no longer the only tool of communication. Tools for assign tasks, add comments, organize dashboards, and for proofing & approvals has emerged and replaced emails.
  • Documentation - You can reduce missing files with file management features: editing, versioning, & storage of all files. Which also increases the efficiency of having retrieving the missed data.
  • Evaluation - Keep Track of all the process to evaluate the correctness.
You do not use any tools for Project management, then teams and clients are confused and unclear bout objectives. It also results in poor quality deliverables, projects going over budget and delivered late.
Project management enabled the team to ensure the right stuff is delivered; stuff that delivers real return on investment, and that makes happy clients.
7. Version Control
Technologies tens to evolve continues with new features and functionalities. If you have developed an application in particular technologies when a new feature is added the application must adapt to it as well. It becomes a challenging task for developers.
But version control systems help them to manage changes to source code over time. This is possible because it keeps track of every modification to the code in a special kind of database for every software.
Even if developers made a mistake, they can turn back the clock and compare earlier versions of the code. This intern helps fix the mistake.
The developer uses it for all non-binary files to enable multiple developers or teams to work in an isolated fashion without impacting the work of others.
It helps in isolation that the intern enables features to be built, tested, integrated or even scrapped in a controllable, transparent and maintainable manner.
Version Control Tools:
  • GitHub
  • GitLab
  • CVS Version Control
Popular Stacks:
  • MEAN Stack: MongoDB, Express, AngularJS, and Node.js.
  • MERN Stack: MongoDB, Express, ReactJS, and Node.js
  • Django Stack: Django, Python, and MySQL as Database.
  • Rails or Ruby on Rails: Uses Ruby, PHP, and MySQL.
  • LAMP Stack: Linux, Apache, MySQL, and PHP.
An Important Requirement to be a Full-Stack Developer
  • To write the front-end code in HTML, CSS, JavaScript
  • To create and use APIs
  • To write back-end code in Ruby, Python/ Java, PHP
  • Well versed to working with infrastructures like hardware and OS
  • Solve and understanding queries related to databases
  • Manage project and coordinate with the client
Even a full-stack developer requires some more skills to master the application development. Some as follows:
  • The Architecture of Web Application:
A full-stack website application developer must have a basic knowledge of web application architecture. It should allow him or her to figure out the type of data that needs to be structured, the structure of the code, where and how to perform various computational tasks. This would help in developing complex applications.
  • Basic Design Ability
Design skill is essential for good developers. Have a piece of knowledge in the principle and power of basic design prototype, UI design, UX design are also needed to understand the development lifecycle.
A full-stack developer should also have knowledge of the following innovation skills:
  • Thinking capacity to solve issues on time
  • Good communication skills to interact with the team efficiently
  • Great creativity for solving the problem with sufficient solutions
  • Time management skills to increase the productivity.
  • Need to know about different technologies
  • Can see the vision of the business and understands the customer’s requirement
Why Go for Full-stack Development?
Utilization of Multiple Technologies for A Project
Full stack development comes with its own perks. Most of the developers in full-stack are well adept at languages and technologies. Full-stack developers have a great experience, as well as expertise in all the languages. This means it becomes the responsibility of the developer to ensure that the website looks well, as well as performs as expected.
In Full stack development, developers or a team of developers will convert designs into front-end code and even working with animation and graphics.
Unique Coding with Preferred Tools
Full stack development uses the tools and technologies of their choice for creating and designing unique code. This creates endless opportunities for developers as it does not restrict them to a certain set of tools for development.
Easy to Switch
Based on the project requirement, a professional full-stack developer plays the dual role of a front-end and back-end developer. This turns out to be a cost and time saver for a business as all the roles and responsibilities are performed by a single person. If you have a single point of context it will easy to switch.
Designing and Development Simultaneously
One of the key takeaways of working with a full stack developer is that they do not restrict to merely development.
They can work well on the entire design structure and perform the necessary updates. Likewise, the experience of a developer comes into play as he takes care of the common errors and bugs beforehand.
Cost-Efficient
If you consider hiring a dedicated front-end developer and a back-end developer for a project, it will shoot up the cost of production tenfold. On the other hand, a full stack developer will perform the roles and responsibilities of both, and sometimes, the latter may surpass the efficiency of the former.
Designing and Implementation
A full stack developer takes responsibility for the design and development of the project. Given the fact that all the necessary resources are available in-house, the developer can perform his tasks with full potential.
Easy Updates
In this digital world, a full stack developer keeps up with emerging trends and technologies. As a result, the developer can grab the updates as soon as they appear on the market and add it to his armor. Faster than someone specializes only in the front end or back end technology.
Customized Workflows
It is possible to segment the tasks of design and development in full-stack development. And also customize the process as per requirement. A developer can also switch to any other task as per priority or as per the immediate need of the project.
All-In-One Solution
A full stack developer is efficient in not only finding out the root cause of a problem but can also provide solutions for any kind of bottlenecks. It makes this possible with their diverse knowledge of tools and technologies that are used for development.
Ideal for Small Scale Business
Full stack development is no less than a blessing for entrepreneurs and smaller to medium businesses of all shapes and kinds. Where a large-scale business may need help from dedicated teams and dedicated front end and back end developers, a front-end developer can take care of all these responsibilities by breaking down the tasks into smaller segments.
Conclusion
Full stack web development will be the finest approach to creating robust websites and applications. Since it enables us to take care of every part of development with a single person.
There is a wide range of tools and framework developers can handpick the resources of his choice.
Infinijithoffers you the best full-stack development services irrespective of the platform your business is running. Our full-stack developer can take care of the steps from conception of idea to actually finish your application. If you're looking for a full-stack developer, then Infinijith will be the preferred choice to satisfy all your software needs.
Originally Published at www.infinijith.com on 17 Dec, 2019
submitted by infinijithtech to u/infinijithtech [link] [comments]


2020.01.01 12:17 hamasakiayumi_01 Process PDF with Golang

I'v encountered many diferent cases in dealing with pdf files at work.
Also I'm a gopher, and today I'm gonna list some cases to you. such as:
``` pdf render pdf verify pdf add watermark pdf get page numbers pdf merge pdf split repaire broken pdf pdf convert to png get pdf fonts pdf decrption
```
ps: I'm not a PDF expert, if you have any question, welcome to leave comments,we can disscuss.

Render PDF from HTML

I'v used two ways to render pdf from html: - wkhtmltopdf - chromedp

1. use wkhtmltopdf render pdf

wkhtmltopdf is open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service.
the usage is simple: ```bash

render pdf from a static html file

$ wkhtmltopdf input.html output.pdf

render pdf from a remote site

$ wkhtmltopdf https://www.google.com output.pdf ``` wkhtmltopdf commend line tool has various arguments to use,such as:
send http post request: $ wkhtmltopdf --help ... --post Add an additional post field (repeatable) ... custome javascript, modify html page before render: bash $ wkhtmltopdf --run-script "javascript:(function(){document.getElementsByClassName('dom_class_name')[0].style.display = 'none'}())" page input.html output.pdf for more usage,pls go to official document
If you use Go,there is a third part package: go-wkhtmltopdf,which wrapped wkhtmltopdf,offers a easy way for development

2. use chromedp render pdf

chromedp is a faster, simpler way to drive browsers supporting the Chrome DevTools Protocol in Go without external dependencies (like Selenium or PhantomJS).
useage: ```go package main
import ( "context" "io/ioutil"
"github.com/chromedp/cdproto/page" "github.com/chromedp/chromedp" "errors" 
)
func main(){ err := ChromedpPrintPdf("https://www.google.com", "/path/to/file.pdf") if err != nil { fmt.Println(err) return } }
func ChromedpPrintPdf(url string, to string) error { ctx, cancel := chromedp.NewContext(context.Background()) defer cancel()
var buf []byte err := chromedp.Run(ctx, chromedp.Tasks{ chromedp.Navigate(url), chromedp.WaitReady("body"), chromedp.ActionFunc(func(ctx context.Context) error { var err error buf, _, err = page.PrintToPDF(). Do(ctx) return err }), }) if err != nil { return fmt.Errorf("chromedp Run failed,err:%+v", err) } if err := ioutil.WriteFile(to, buf, 0644); err != nil { return fmt.Errorf("write to file failed,err:%+v", err) } return nil 
} ```

PDF Watermark

I'v used two libs to add watermark to pdf file: - unidoc/unipdf - pdfcpu

1.unidoc/unipdf

UniDoc's UniPDF (formerly unidoc) is a PDF library for Go (golang) with capabilities for creating and reading, processing PDF files. The library is written and supported by FoxyUtils.com, where the library is used to power many of its services.
shell $ unipdf -h ... Available Commands: decrypt Decrypt PDF files encrypt Encrypt PDF files explode Explodes the input file into separate single page PDF files extract Extract PDF resources form PDF form operations grayscale Convert PDF to grayscale help Help about any command info Output PDF information merge Merge PDF files optimize Optimize PDF files passwd Change PDF passwords rotate Rotate PDF file pages search Search text in PDF files split Split PDF files version Output version information and exit watermark Add watermark to PDF files ...
add watermark via CLI mode ```shell $ unipdf watermark in.pdf watermark.png -o out.pdf
Watermark successfully applied to in.pdf Output file saved to out.pdf ```
if you want to use SDK api,pls go to unipdf github example
ps: unidoc is not a free libirary

2.pdfcpu

pdfcpu pdfcpu is a PDF processing library written in Go supporting encryption. It provides both an API and a CLI. Supported are all versions up to PDF 1.7 (ISO-32000).
```shell $ pdfcpu help ... The commands are:
attachments list, add, remove, extract embedded file attachments changeopw change owner password changeupw change user password decrypt remove password protection encrypt set password protection extract extract images, fonts, content, pages, metadata fonts install, list supported fonts grid rearrange pages or images for enhanced browsing experience import import/convert images to PDF info print file info merge concatenate 2 or more PDFs nup rearrange pages or images for reduced number of pages optimize optimize PDF by getting rid of redundant page resources pages insert, remove selected pages paper print list of supported paper sizes permissions list, set user access permissions rotate rotate pages split split multi-page PDF into several PDFs according to split span stamp add, remove, update text, image or PDF stamps for selected pages trim create trimmed version of selected pages validate validate PDF against PDF 32000-1:2008 (PDF 1.7) version print version watermark add, remove, update text, image or PDF watermarks for selected pages ... ```
add watermark via CLI mode:s shell $ pdfcpu watermark add -mode image 'voucher_watermark.png' 's:1 abs, rot:0' in.pdf out.pdf
add watermark via sdk API ```go package main
import ( "github.com/pdfcpu/pdfcpu/pkg/api" "github.com/pdfcpu/pdfcpu/pkg/pdfcpu" )
func main() { onTop := false wm, _ := pdfcpu.ParseImageWatermarkDetails("watermark.png", "s:1 abs, rot:0", onTop) api.AddWatermarksFile("in.pdf", "out.pdf", nil, wm, nil) } ```

PDF Merge

  • cpdf
  • unipdfc
  • pdfcpu

1.use cpdf merge pdf files

cpdf is a Command Line Tools Which allows you to manipulate existing PDF files in a variety of ways. For example:: - Merge PDF files together, or split them apart - Encrypt and decrypt - Scale, crop and rotate pages - Read and set document info and metadata - Copy, add or remove bookmarks - Stamp logos, text, dates, page numbers - Add or remove attachments - Losslessly compress PDF files
merge pdf: shell $ cpdf -merge input1.pdf input2.pdf -o output.pdf

2.use unipdf merg pdf files

shell $ unipdf merge output.pdf input1.pdf input2.pdf
if you want to use SDK API, pls go to unpdf github example

3.use pdfcpu merge pdf

shell $ pdfcpu merge output.pdf input1.pdf input2.pdf
ps: pdfcpu Support all versions up to PDF 1.7 (ISO-32000).

Split PDF

  • cpdf
  • unipdf
  • pdfcpu

1.use cpdf split pdf

```shell

split pdf by single page

$ cpdf -split in.pdf 1 even -chunk 1 -o ./out%%%.pdf ```

2. use unipdf slit pdf

```shell

split first page of input.pdf

$ unipdf split input.pdf out.pdf 1-1 ```
if you want to use SDK API,pls see unipdf github examples

3.use pdfcp split pdf

shell $ pdfcpu split in.pdf .

Convert PDF to Image

  • mupdf
  • xpdf

1. use mupdf convert pdf to png

MuPDF is a lightweight PDF, XPS, and E-book viewer.
MuPDF consists of a software library, command line tools, and viewers for various platforms.
after download mupdf,you'll get series of command line tools, such as: shell mupdf pdfdraw pdfinfo pdfclean pdfextract pdfshow xpsdraw pdfdraw could used to convert pdf to png shell $ pdfdraw -o out%d.png in.pdf

2. use Xpdf convert pdf to png

Xpdf is a free PDF viewer and toolkit, including a text extractor, image converter, HTML converter, and more. Most of the tools are available as open source.
after download Xpdf, you'll get series of command line tools, such as: shell pdfdetach pdffonts pdfimages pdfinfo pdftohtml pdftopng pdftoppm pdftops pdftotext
pdftopng is used to convert pdf to png shell $ pdftopng in.pdf out-prefix

PDF Decryption

Sometimes i got an encrypted pdf file, but i don't have password to descrypt it, and also I'll have to manipulate it. so how do i force decrypt it?
Yes, there is some tools could force descryt a pdf file.
  • use QPDF to descrypt
QPDF is a command-line program that does structural, content-preserving transformations on PDF files.
shell $ qpdf --decrypt in.pdf out.pdf
ps: QPDF is not that powerful, it does not always desrypt pdf succeed.
  • use pdfcpu to descrypt
shell $ pdfcpu decrypt encrypted.pdf output.pdf
But, when i have the password of the pdf file,i can use other lib to descrypt it.
  • use unipdf to descrypt shell $ unipdf decrypt -p pass -o output.pdf input.pdf

PDF Identify

There are some Scenario,
for example: - Need to identify if a pdf file is a pdf file - Need to lookup some special word in a pdf file - Need get image from pdf file

1. extract pdf text

when i extract text from pdf file,i can manipulate it with string functions or regrex.
  • use xpdf/pdftotext extract text from pdf file shell $ pdftotext input.pdf output.txt
  • use unipdf extract text from pdf file shell $ unipdf extract text input.pdf
    use sdk api,pls see unipdf github examples
  • use coordinate extract text
Also I can extract text with coordinate, Personaly, I like this way better, because it's a common solution.
And the library is: pdflib/tet
PDFlib TET (Text and Image Extraction Toolkit) reliably extracts text, images and metadata from PDF documents.
```shell

need four coordinates to extract text

$ tet --pageopt "includebox={{38 707.93 243.91 716.93}}" input.pdf ```
use --tetml command to generate a tetml file which include coordinates: shell $ tet --tetml input.pdf
if you know other libiaries to get coordinates from pdf file, welcome to leave comments
ps: pdflib/tet is not free,but it's free for processing under 10 pages or 1M pdf file, according to official document
pdflib/tet also support multi-language sdk,such as:C/C++/Java/.NET/Perl/PHP/Python/Ruby/Swift, but not support Go for now, so we only have two options: cli or cgo

Repaire broken pdf

Some pdf file opened in computer, it seem to be normal, but when i try to open it via code, it report error: ```go import ( "fmt" "github.com/rsc.io/pdf" )
func main() { filePath := "path/to/youbroken.pdf" _, err := pdf.Open(filePath) if err != nil { fmt.Println("open pdf failed,err:", err.Error()) return } } ```
run and get error: open pdf failed,err: malformed PDF: cross-reference table not found: {5 0 obj}<> /MediaBox [0 0 595.27600098 841.89001465] /Parent 3 0 R /Type /Page>>
And when i open this pdf in PC, and save as another new pdf, try to open this new pdf file with code,it will not show any error.
That's a magic thing!
but what if i need to repaire 1000 pdf files?
open 1000 times? save as 1000 times?
NO!
I need a tool to repaire pdf(and save my life), so i can batch repaire pdf in a short time.
At this time, mupdf saved me,it can repaire pdf!
after download mupdf, i got a command line tool :pdfclean ``` $ pdfclean broken.pdf repaired.pdf
  • pdf/pdf_xref.c:160: pdf_read_trailer(): cannot recognize xref format: '%' pdf/pdf_xref.c:481: pdf_load_xref(): cannot read trailer \ pdf/pdf_xref.c:537: pdf_open_xref_with_stream(): trying to repair ``` It appears mupdf tried to repair my pdf
And then, i try to use my Go code to open this pdf file, it run pass, excellent!
The last thing is to write a bash script to batch repaire my pdf files

List fonts in pdf

sometimes i need to analyze what fonts a pdf used, and i'll use xpdf/pdffonts
```shell $ pdffonts input.pdf name type encoding emb sub uni object ID
NimbusSanL-Regu CID TrueType Identity-H yes no yes 10 0 NimbusSanL-Bold CID TrueType Identity-H yes no yes 20 0 ```
Other Libiaries:
High performance library for creating, modiyfing and parsing PDF files in C++
for gopher, if need use this libiary, cgo is necessary
This is a pure Go PDF libiary, it can read pdf,read page numbers, get fonts,etc.. official document
References: - wkhtmltopdf - xpdf - cpdf - qpdf - unidoc - pdflib/tet - pdfwriter - mupdf - pdfcpu
submitted by hamasakiayumi_01 to golang [link] [comments]


2019.12.30 10:07 subreddit_stats Subreddit Stats: reactjs top posts from 2018-12-27 to 2019-12-27 01:31 PDT

Period: 364.41 days
Submissions Comments
Total 1000 34242
Rate (per day) 2.74 93.18
Unique Redditors 599 8942
Combined Score 139974 143962

Top Submitters' Top Submissions

  1. 19061 points, 145 submissions: swyx
    1. Microsoft has open sourced their Frontend Bootcamp training materials (including React and Redux exercises) (824 points, 84 comments)
    2. How Instagram uses Redux (418 points, 24 comments)
    3. Fun with React Hooks - great 1hr talk on the mental modal of useState and useEffect by Michael Jackson and Ryan Florence (416 points, 30 comments)
    4. New Facebook.com fully powered by React and Relay (412 points, 94 comments)
    5. Today Facebook is open sourcing Hermes, a small and lightweight JavaScript engine optimized for running React Native on Android (383 points, 39 comments)
    6. How Discord achieves native iOS performance with React Native (379 points, 29 comments)
    7. Overreacted.io: Things I Don’t Know as of 2018 (325 points, 82 comments)
    8. React 16.8 (The One Hopefully with Hooks) planned for Feb 4 (325 points, 102 comments)
    9. React Hook Pitfalls - Kent C. Dodds - React Rally 2019 (322 points, 25 comments)
    10. The Complete Introduction to React: All the fundamental React.js concepts in one place (307 points, 24 comments)
  2. 2005 points, 2 submissions: OutsourcedToRobots
    1. I fucking did it. (1470 points, 140 comments)
    2. Made an app, lets you find all your reddit saves (100% open source) (535 points, 65 comments)
  3. 1952 points, 17 submissions: dance2die
    1. Facebook and Microsoft Partnering on Remote Development (322 points, 83 comments)
    2. React's useEffect and useRef Explained for Mortals (222 points, 56 comments)
    3. Why Suspense matters, a short thread - Dan Abramov on Twitter (205 points, 51 comments)
    4. React Kawaii - Cute React SVG Components (156 points, 13 comments)
    5. Download Dan's Overreacted.io as an e-book! (144 points, 15 comments)
    6. Dan discusses benchmarks in JavaScript community (138 points, 27 comments)
    7. Rich Harris implements the "Round" React demo with Svelte making comparison on Twitter (130 points, 68 comments)
    8. Fix the slow render before you fix the re-render (111 points, 38 comments)
    9. Blocks UI - Bring your own component (to Gatsby) - Kyle Mathews on Twitter (105 points, 18 comments)
    10. Migrating to GraphQL at Airbnb - InfoQ (93 points, 6 comments)
  4. 1938 points, 1 submission: albaneso
    1. react-interactive-paycard (1938 points, 76 comments)
  5. 1932 points, 12 submissions: gaearon
    1. How Are Function Components Different from Classes? (393 points, 31 comments)
    2. What Is JavaScript Made Of? (247 points, 218 comments)
    3. A Complete Guide to useEffect (226 points, 28 comments)
    4. React as a UI Runtime (173 points, 12 comments)
    5. The “Bug-O” Notation (156 points, 9 comments)
    6. Writing Resilient Components (154 points, 25 comments)
    7. Algebraic Effects for the Rest of Us (138 points, 31 comments)
    8. The Elements of UI Engineering (128 points, 15 comments)
    9. How Does the Development Mode Work? (92 points, 4 comments)
    10. Why Isn’t X a Hook? (90 points, 12 comments)
  6. 1914 points, 3 submissions: SpecificGeneral
    1. 🛠👨‍💻 Made my first VSCode extension! Easily convert a file to a folder without breaking any import / export paths (772 points, 94 comments)
    2. UPDATE: 🛠👨‍💻My first VSCode extension is now published and available for download!!! 👉Folderize - easily convert javascript files into indexed folders (572 points, 61 comments)
    3. 🖥🚀Made my first desktop app, using Electron and React! ✏️Todo Editor - find and manage all the TODO comments in all your projects (570 points, 43 comments)
  7. 1905 points, 11 submissions: acemarke
    1. A pixel-perfect recreation of Windows XP, written in React (with hooks) (404 points, 61 comments)
    2. New Redux docs "Style Guide" page: recommended patterns and best practices for using Redux (369 points, 69 comments)
    3. Mark Erikson - A Deep Dive into React-Redux React Next 2019 (255 points, 12 comments)
    4. React-Redux v7.0.0-beta.0: faster performance, and built with hooks! (240 points, 47 comments)
    5. React-Redux Roadmap: v6, Context, Subscriptions, and Hooks (175 points, 16 comments)
    6. Redux Starter Kit 1.0: the official, opinionated, batteries-included toolset for Redux (124 points, 39 comments)
    7. Why React Hooks? (91 points, 24 comments)
    8. Introducing: Redux Hooks (72 points, 5 comments)
    9. Preparing for the Future with React Prereleases (65 points, 7 comments)
    10. Redux Starter Kit - Advanced Tutorial: usage with TypeScript, thunks, and React-Redux hooks (64 points, 4 comments)
  8. 1785 points, 5 submissions: Xiy
    1. Speed Coding Tinder in 60 Minutes (Clearly I'm Running out of Project Ideas...) (482 points, 61 comments)
    2. Building Todoist Using React (Custom Hooks, Context), Firebase, React Testing Library & SCSS (using BEM) (472 points, 71 comments)
    3. Building a newsreader using the HackerNews Api, React, React Testing Library, Styled Components, Axios & Memo (314 points, 10 comments)
    4. SMOOSHCAST: React Fiber Deep Dive with Dan Abramov (279 points, 19 comments)
    5. Learn GraphQL, Apollo Server 2, and Black-box Testing (P2/3 of a newsreader built using React) (238 points, 9 comments)
  9. 1564 points, 4 submissions: jarod-burch
    1. I made a calculator in react the other day! (613 points, 93 comments)
    2. I made a Blackjack game in React! (395 points, 44 comments)
    3. This is my first react app on my own! I only started messing around with react a couple weeks ago and it's not much, but I'm really enjoying learning! (375 points, 71 comments)
    4. create-react-app is now showing off the new React logo/branding (181 points, 30 comments)
  10. 1550 points, 2 submissions: VanaticalDesign
    1. After falling in love with React Native less than a year ago, here's my first project, Tour, a drag-drop-based travel planning app. (iOS beta link in comments) (1140 points, 177 comments)
    2. After working with React Native for 7 months, my trip planning app, Tour, is now on the App Store! (410 points, 129 comments)
  11. 1385 points, 1 submission: TrillCyborg
    1. I didn’t get paid, so I open sourced my clients project (1385 points, 193 comments)
  12. 1332 points, 6 submissions: brianvaughn
    1. Introducing the New React DevTools (559 points, 86 comments)
    2. ⚛️🛠️ new DevTools Profiler answers the question "Why did this render?" (294 points, 36 comments)
    3. Hooks support added in DevTools v3.6. (178 points, 19 comments)
    4. Early demo of the new React DevTools (170 points, 30 comments)
    5. New hooks alpha published – 16.8.0-alpha.1 (77 points, 13 comments)
    6. ⚛️DevTools Components tree changes to improve HOCs and browsing deep trees (54 points, 12 comments)
  13. 1253 points, 2 submissions: skizzoat
    1. Proof-of-concept for gyroscope-controlled canvas (smartphone rotation controls visible canvas part) using THREE, PIXI and React (1212 points, 65 comments)
    2. hey community! just wanted to share a little game i made with React & Three.js. feedback very much appreciated! (41 points, 13 comments)
  14. 1216 points, 3 submissions: s____s___
    1. I made a visual programmer for javascript (593 points, 40 comments)
    2. I made a half assed code editor (577 points, 26 comments)
    3. GitHub - solidsnail/readme-jsx: Create beautiful HD readme content with ease (46 points, 12 comments)
  15. 1198 points, 10 submissions: selbekk
    1. How to implement Redux in 27 lines (190 points, 40 comments)
    2. Get started with animations in React - Part of React Christmas 🎅 (177 points, 11 comments)
    3. How I structure my React projects (170 points, 23 comments)
    4. The 10 Component Commandments (164 points, 32 comments)
    5. Get in that declarative spirit with React Christmas 🎅 (156 points, 13 comments)
    6. Can you feel the Suspense?!? (81 points, 16 comments)
    7. How to write a progressive image loading hook (79 points, 6 comments)
    8. What are the React Team Principles? (73 points, 14 comments)
    9. Managing content with Sanity and React (55 points, 10 comments)
    10. Refactoring a small Next app to use Hooks (53 points, 10 comments)
  16. 1152 points, 9 submissions: jameskingio
    1. Build a React Switch Toggle Component (239 points, 31 comments)
    2. Understanding the Context API by Building a Spotify Clone in React (194 points, 9 comments)
    3. Using Custom React Hooks to Simplify Forms (167 points, 30 comments)
    4. How to Use the useContext Hook in React - Upmostly (154 points, 27 comments)
    5. Build a React Switch Toggle Component (150 points, 26 comments)
    6. Form Validation Using Custom React Hooks (106 points, 23 comments)
    7. Published my first React component, Modali: A delightful modal for the Hooks era! (63 points, 7 comments)
    8. Build a Password Strength Meter in React (40 points, 10 comments)
    9. Build a File Uploader with React Dropzone in React (39 points, 2 comments)
  17. 1076 points, 1 submission: -silverman-
    1. My first extension on React (Homy: Home page for Google Chrome) (1076 points, 114 comments)
  18. 1062 points, 1 submission: Arcotechbeats
    1. A Message to All the Self Taught Devs Feeling Discouraged... (1062 points, 102 comments)
  19. 980 points, 4 submissions: FlorinPop17
    1. More projects to improve your coding skills (331 points, 16 comments)
    2. App ideas you can build to level up your coding skills (319 points, 36 comments)
    3. Dan Abramov teaches me React Hooks (205 points, 36 comments)
    4. How to create a Timeline with React (125 points, 17 comments)
  20. 931 points, 8 submissions: domyen
    1. Storybook 5.0 for React just launched! (258 points, 67 comments)
    2. Storybook DocsPage - Beautiful documentation, instantly (228 points, 18 comments)
    3. State of Storybook 2019 – a breakout year for a popular frontend tool (173 points, 31 comments)
    4. Component Story Format – expressive universal component examples for Storybook (68 points, 8 comments)
    5. Introducing Storybook Design System, a reusable UI library for contributors (built in the open) (66 points, 6 comments)
    6. Storybook 5.1 is here! (55 points, 4 comments)
    7. Design Systems for Developers – a free 9 chapter guide for React with code commits (52 points, 4 comments)
    8. Storybook 5.2 – streamlined component docs for design systems and UI libraries (31 points, 12 comments)
  21. 852 points, 2 submissions: intrepidev
    1. I made an interactive solver for the traveling salesman problem to visualize different algorithms with hooks and web workers. Each step of progress is drawn to the map in real-time and can be controlled all in the browser at tspvis.com. (628 points, 61 comments)
    2. I made on offline notetaking app using hooks, indexeddb, material-ui, and redux with support for markdown. Notes are stored locally for maximum privacy. Looking to improve https://www.ofnote.site (224 points, 44 comments)
  22. 814 points, 4 submissions: bugzpodder
    1. Create-react-app v3 is released (304 points, 33 comments)
    2. Create-react-app v3.1.0 released (188 points, 60 comments)
    3. Formik 2.0 with hooks (169 points, 33 comments)
    4. React v16.8.5 (153 points, 13 comments)
  23. 797 points, 6 submissions: magenta_placenta
    1. Remove "Redux itself is very simple" (325 points, 216 comments)
    2. 21 Talks from React Rally 2019 (208 points, 12 comments)
    3. svg-to-react - a utility to convert raw SVG files into accessible and extendable React Components (129 points, 16 comments)
    4. Introducing Base Web, Uber’s New Design System for Building Websites in React (60 points, 7 comments)
    5. Material-UI v4 is out (40 points, 14 comments)
    6. Introducing Worldview - a React library that makes it easy to render 2D and 3D scenes (35 points, 1 comment)
  24. 759 points, 4 submissions: benawad
    1. In-depth Fullstack JWT Authentication Tutorial (436 points, 32 comments)
    2. Just finished making a Series on Typescript, GraphQL, and Next.js (244 points, 45 comments)
    3. React Native Web Workout App Tutorial (42 points, 11 comments)
    4. React Typescript YouTube Tutorial (37 points, 7 comments)
  25. 748 points, 7 submissions: rwieruch
    1. Advanced Webpack Setup from Scratch (209 points, 20 comments)
    2. Why Redux makes you a better JavaScript Developer (188 points, 71 comments)
    3. History of React Components and Patterns (118 points, 8 comments)
    4. React Component Composition: What, Why and How (71 points, 6 comments)
    5. Modern State Management with Hooks: useState, useReducer, useContext (68 points, 8 comments)
    6. How to use Firebase Realtime Database in React (47 points, 8 comments)
    7. useReducer or useState - When to use which? (47 points, 10 comments)
  26. 746 points, 1 submission: PHPonPCP
    1. If you're learning React, steer clear of 80% of the content on this subreddit. (746 points, 231 comments)
  27. 735 points, 5 submissions: latviancoder
    1. useJquery: An essential hook for your React applications (246 points, 41 comments)
    2. Getting hired as a remote frontend developer in 2019 (165 points, 53 comments)
    3. From Redux to Hooks: A Case Study (147 points, 49 comments)
    4. Video-tutorial about performance profiling using Profiler and Chrome Performance Tab (121 points, 12 comments)
    5. I finished my portfolio! (56 points, 60 comments)
  28. 698 points, 9 submissions: singsong43
    1. I've started a YouTube channel where I review other people's code and refactor it whilst explaining why. Please check out my first video (on React) and let me know what you think! (171 points, 46 comments)
    2. Building a Manga Reader PWA Using React.js Part 1 Pair Programming (130 points, 4 comments)
    3. PWA Manga Reader in React/Node.js Integrating With MangaEden API Part 3 Pair Programming (91 points, 7 comments)
    4. Finally Building the Frontend... React/Node PWA Manga Reader Part 6 Pair Programming (75 points, 2 comments)
    5. Professional React Developer Performs Code Review React.js Todo List Code Review #4 Part 1 (54 points, 12 comments)
    6. Professional React Developer Reviews and Refactors Code React.js Cards Code Review #5 Part 1 (50 points, 36 comments)
    7. I've uploaded a different style of code review this time, where I have a discussion on a React.js library with a former colleague. Please check it out and let me know what you think! (49 points, 9 comments)
    8. React/Node.js Microservices App With Docker and GraphQL Part 1 Code With Me! (42 points, 2 comments)
    9. PWA Manga Reader in React/Node.js Setting up MongoDB with Mongoose Part 2 Pair Programming (36 points, 1 comment)
  29. 686 points, 4 submissions: swizec
    1. useAuth – the simplest way to add authentication to your React app (336 points, 78 comments)
    2. I wrote this to help me wrap my head around React Suspense for data fetching. Hope it helps you too (147 points, 15 comments)
    3. useDimensions – a React Hook to measure DOM nodes (124 points, 32 comments)
    4. Hooks based WebGL library for React (79 points, 6 comments)
  30. 626 points, 6 submissions: murimuffin
    1. Using React (Hooks) with D3 – [06] Responsive Chart Components with ResizeObserver (169 points, 14 comments)
    2. Creating an Animated Tree Chart – Using React (Hooks) with D3 (168 points, 0 comments)
    3. Using React (Hooks) with D3 – [04] Animated Bar Chart (130 points, 3 comments)
    4. Using React (Hooks) with D3 – [02] Curved Line Chart (87 points, 2 comments)
    5. Using React (Hooks) with D3 – [09] Racing Bar Chart (42 points, 0 comments)
    6. [Tutorial] Visualizing the Breaking Bad Timeline – Using React (Hooks) with D3 (30 points, 0 comments)
  31. 623 points, 1 submission: noonien_soong_86
    1. Server-client rendering technique spectrum (623 points, 52 comments)
  32. 615 points, 3 submissions: Hidja
    1. React + Firebase + Redux + Material-UI Social Media site tutorial (Skip to #14 to skip Firebase back-end setup) (feedback will be appreciated :) (315 points, 42 comments)
    2. React + Redux with Hooks (using new react-redux 7.1 hooks) (165 points, 37 comments)
    3. React Typescript Tutorial - Why and How (135 points, 22 comments)
  33. 612 points, 4 submissions: peggyrayzis
    1. Apollo raises $22 million to simplify app development (393 points, 48 comments)
    2. The new Apollo docs site, now built with Gatsby themes! (114 points, 11 comments)
    3. Official React Hooks support for Apollo Client is here! (53 points, 17 comments)
    4. Apollo Client 2.5: GraphQL state management (52 points, 12 comments)
  34. 611 points, 4 submissions: Aroneus
    1. Have you started using React hooks yet? If not, I made a quick video that outlines the basics in a simple way. Cheers! (237 points, 71 comments)
    2. A React video tutorial! Live chat app with Hooks, Context, Web sockets (socket.io) and Material UI (184 points, 11 comments)
    3. A video tutorial on how to build a full stack job board app with React hooks, create-react-app and deploy on digitalocean (all in 100 minutes!) (100 points, 2 comments)
    4. Are you using the React context API yet? Made another video explanation, with a simple example, PLUS discussion of the million dollar question: does it replace Redux? (90 points, 37 comments)
  35. 557 points, 5 submissions: alexreardon
    1. What does react-beautiful-dnd cost to maintain? (187 points, 13 comments)
    2. react-beautiful-dnd 10.1 is out! (154 points, 31 comments)
    3. react-beautiful-dnd 11.0: The one with hooks 🎣 (almost 🙈) (85 points, 10 comments)
    4. react-beautiful-dnd 12.0 is out!! (80 points, 8 comments)
    5. virtual list support for react-beautiful-dnd is coming soon (51 points, 2 comments)
  36. 553 points, 2 submissions: tazemebro
    1. create-react-app 3.3.0 released! Support for optional chaining and nullish coalescing operators (378 points, 56 comments)
    2. After wrestling with managing network request state, I decided to create use-axios-client: a custom hooks library to abstract away your network request state so you can focus on building your UI. (175 points, 52 comments)
  37. 545 points, 2 submissions: jones-macallan
    1. I made a tutorial on how to make a App Intro component with animations [link in comment] (329 points, 23 comments)
    2. Med-i: a health app built with React Native. Call national emergency numbers from anywhere, find nearby pharmacies, get medication for your symptoms and learn first aid steps in case of accidents and emergencies. [app links in the comment] (216 points, 30 comments)
  38. 510 points, 1 submission: iconof
    1. My top React techtalks of 2019 (510 points, 36 comments)
  39. 507 points, 4 submissions: wcandillon
    1. Monzo Card Selection - “Can it be done in React Native?” (With Hooks + API) (195 points, 4 comments)
    2. Apple Bedtime - “Can it be done in React Native?” (181 points, 31 comments)
    3. Safari Tabs - “Can it be done in React Native?” (66 points, 10 comments)
    4. YouTube Transitions - “Can it be done in React Native?” (65 points, 21 comments)
  40. 505 points, 1 submission: Wojtek1942
    1. Microsoft launches React Native for Windows (505 points, 93 comments)
  41. 484 points, 2 submissions: yershalom
    1. Browse the history of any file from GitHub with style, written in React and it's super cool! (301 points, 20 comments)
    2. I had a real nostalgic attack so I created this library (183 points, 28 comments)
  42. 477 points, 6 submissions: jsloverr
    1. Create Stripe Subscription Payments Using React & AWS Lambda Pt 2: Building Our React Frontend (117 points, 6 comments)
    2. Phantom props, unnecessary renders and what no one told me about memo() (104 points, 39 comments)
    3. How Redux Connect compares to the new Redux Hooks. (87 points, 37 comments)
    4. No more tears, handling Forms in React using Formik, part I (78 points, 47 comments)
    5. No more tears, handling Forms in React using Formik, part II (51 points, 12 comments)
    6. Testing Components built using React Hooks with Jest + Enzyme (40 points, 7 comments)
  43. 459 points, 2 submissions: slide-lock
    1. React Transitions Library (Animations for react router) (239 points, 32 comments)
    2. Introducing Full Page React Router Transitions (220 points, 31 comments)
  44. 450 points, 1 submission: PistachioPlz
    1. This helped me understand React, Webpack and Babel setups. Detailed guide to get started (450 points, 22 comments)
  45. 441 points, 1 submission: wronglyzorro
    1. A message to the beginners out there who are seeking help. (441 points, 52 comments)
  46. 440 points, 1 submission: PickleRick104
    1. Scan to Listen: React Native app for scanning book barcodes to find matching audiobook! (440 points, 19 comments)

Top Commenters

  1. swyx (6552 points, 1264 comments)
  2. acemarke (3632 points, 465 comments)
  3. gaearon (1744 points, 128 comments)
  4. dance2die (937 points, 276 comments)
  5. Awnry_Abe (917 points, 385 comments)
  6. timmonsjg (887 points, 408 comments)
  7. brianvaughn (798 points, 115 comments)
  8. Charles_Stover (670 points, 133 comments)
  9. careseite (641 points, 110 comments)
  10. Yodiddlyyo (609 points, 87 comments)
  11. themaincop (554 points, 87 comments)
  12. minty901 (491 points, 50 comments)
  13. brodega (476 points, 44 comments)
  14. AegisToast (451 points, 52 comments)
  15. stolinski (443 points, 43 comments)
  16. mawburn (431 points, 10 comments)
  17. VanaticalDesign (428 points, 91 comments)
  18. zephyrtr (415 points, 61 comments)
  19. NotSelfAware (388 points, 9 comments)
  20. skizzoat (372 points, 24 comments)
  21. SpecificGeneral (371 points, 45 comments)
  22. spryes (369 points, 21 comments)
  23. neotorama (361 points, 7 comments)
  24. editor_of_the_beast (348 points, 70 comments)
  25. OutsourcedToRobots (342 points, 48 comments)
  26. TrillCyborg (316 points, 26 comments)
  27. bikeshaving (307 points, 23 comments)
  28. Xiy (304 points, 78 comments)
  29. Earhacker (302 points, 33 comments)
  30. Baryn (298 points, 77 comments)
  31. drcmda (293 points, 68 comments)
  32. StuckOnCoboldLevel (286 points, 5 comments)
  33. dixncox (279 points, 3 comments)
  34. mrmckeb (264 points, 46 comments)
  35. evenisto (262 points, 85 comments)
  36. soulshake (256 points, 28 comments)
  37. Skeith_yip (255 points, 52 comments)
  38. gekorm (252 points, 20 comments)
  39. iamkiko (251 points, 5 comments)
  40. loradan (242 points, 8 comments)
  41. jameskingio (241 points, 48 comments)
  42. Klathmon (241 points, 19 comments)
  43. Drawman101 (239 points, 28 comments)
  44. FullMetal21337 (239 points, 9 comments)
  45. jarod-burch (238 points, 59 comments)
  46. xmashamm (236 points, 48 comments)
  47. ArcanisCz (236 points, 36 comments)
  48. LosEagle (236 points, 6 comments)
  49. Trout_Tickler (234 points, 5 comments)
  50. nandapandatech (230 points, 20 comments)

Top Submissions

  1. react-interactive-paycard by albaneso (1938 points, 76 comments)
  2. I fucking did it. by OutsourcedToRobots (1470 points, 140 comments)
  3. I didn’t get paid, so I open sourced my clients project by TrillCyborg (1385 points, 193 comments)
  4. Proof-of-concept for gyroscope-controlled canvas (smartphone rotation controls visible canvas part) using THREE, PIXI and React by skizzoat (1212 points, 65 comments)
  5. After falling in love with React Native less than a year ago, here's my first project, Tour, a drag-drop-based travel planning app. (iOS beta link in comments) by VanaticalDesign (1140 points, 177 comments)
  6. My first extension on React (Homy: Home page for Google Chrome) by -silverman- (1076 points, 114 comments)
  7. A Message to All the Self Taught Devs Feeling Discouraged... by Arcotechbeats (1062 points, 102 comments)
  8. Microsoft has open sourced their Frontend Bootcamp training materials (including React and Redux exercises) by swyx (824 points, 84 comments)
  9. 🛠👨‍💻 Made my first VSCode extension! Easily convert a file to a folder without breaking any import / export paths by SpecificGeneral (772 points, 94 comments)
  10. If you're learning React, steer clear of 80% of the content on this subreddit. by PHPonPCP (746 points, 231 comments)

Top Comments

  1. 747 points: gaearon's comment in Dan Abramov deactivates Twitter account
  2. 353 points: neotorama's comment in there is just too much blogging about react...
  3. 292 points: spryes's comment in Dan Abramov deactivates Twitter account
  4. 286 points: mawburn's comment in If you're learning React, steer clear of 80% of the content on this subreddit.
  5. 282 points: NotSelfAware's comment in What Is JavaScript Made Of?
  6. 280 points: StuckOnCoboldLevel's comment in PSA: Axios is mostly dead
  7. 253 points: dixncox's comment in Why did you learn react.js?
  8. 243 points: iamkiko's comment in My first extension on React (Homy: Home page for Google Chrome)
  9. 217 points: LosEagle's comment in I'm making this NSFW GIF Swiper thingy
  10. 214 points: careseite's comment in What Is JavaScript Made Of?
Generated with BBoe's Subreddit Stats
submitted by subreddit_stats to subreddit_stats [link] [comments]


2019.12.25 20:11 The_Blue_Fuzz Convert my Python code to JavaScript

Hey guys! I've finished writing a program in Python to help me easily solve my maths problems as a personal fun project but I've started to get really interested in HTML, CSS, and JavaScript. My current project is to create a pretty basic website with two buttons requesting the first term and the difference/ratio and then the website would print somewhere the answers. I've been doing a bit of reading and I've managed to create some fairly simple websites with HTML and CSS but I'd like to challenge myself with the more interactive JavaScript. Basically, I can handle myself pretty well with the former two languages but that's about it. I tried to do some research on everything I need to know about JavaScript to be able to solve my maths problem, e.g. functions and while loops, but the problem is it all seems pretty confusing and I'm just not sure where to start. It seems JavaScript and Python work quite similarly but the syntax is where I'm having most of my problems. Here is the Python code for my program:
# This program will allow me to be lazy in maths from fractions import Fraction print('This is program to help solve simple arithmetic sequences.') # Stating purpose print('Please input the first term.') # Requesting first input def get_number(): while True: try: n = Fraction(input()) # Input the first term of the sequence, cannot convert fractions into integers so convert integers into fractions except ValueError: print('Please input an integer, fraction, or decimal. This does not work with square roots or exponents.') # Detailing valid inputs pass else: break return n print('Please input the first term.') # Requesting first input t1 = get_number() print('Please input the difference.') # Requesting second input d = get_number() t1 = float(t1) #Conversion into float d = float(d) for i in range(1,11): # Avoiding repetition, allow for only 10 calculations to be solved for tn = t1 + (i - 1) * d # General arithmetic equation print(tn) # Print answers 
From what I've gathered I don't have to deal with the float and fractions issues in JavaScript and also I don't need to print anything since that would be dealt with in HTML. I appreciate any and all help. Thanks!
submitted by The_Blue_Fuzz to learnprogramming [link] [comments]


2019.12.04 14:35 squath Development Update (November): Public Zaidan API spec, 0x v3 and multi-collateral DAI, a Kosu update, and more.

Hello /ParadigmMarket (formerly /ParadigmFoundation)!
If you're new here or haven't already, be sure to check out our recent announcements.
Thanks for reading out latest update. November was another busy month for us, with some exciting progress made on our recently announced Zaidan trading system.
Be sure to checkout other recent updates on our (old) subreddit for a more complete picture of our recent progress.
Note: have just moved to /ParadigmMarket. Our old updates can be found on /ParadigmFoundation.

Highlights

Draft of the first Zaidan Dealer public API

We're excited to announce that we have published the first draft of the Zaidan Dealer JSONRPC specification (A.K.A. Zaidan JSONRPC, or Dealer JSONRPC).
This is an important step for Zaidan, as it formalizes the model we have been developing here at Paradigm Labs over the past several months by defining a public API that anyone may implement. It is the first milestone in the journey towards our long-term vision of a diverse marketplace of non-custodial dealer systems built on 0x.
Paradigm Labs will be building the first production system that implements this API to 1) demonstrate the efficacy of the model, and 2) familiarize a community of traders and developers with Zaidan, with the long-term goal of encouraging additional Dealer implementations.
Stay tuned for more updates on this front. We expect the API specification to stabilize over the coming weeks and to have more information about our upcoming implementation (which will replace the current beta/proof-of-concept currently supporting our trade portal).

Upgrading Zaidan (beta) to use 0x V3 and MCD

This past week, 0x activated version 3 of their protocol, following a successful governance vote in late November.
We're please to announce that we have upgraded our current Zaidan beta (NOT using the Zaidan JSONRPC) to use the new 0x v3.0 exchange contract for settlement, one day after the contracts were activated on the Ethereum main-network.
For traders using our hosted web interface, no action is necessary, as the latest client version has been built into the interface. Traders who use the API directly with the JavaScript client must update to v0.7.0-beta.4 or later in order to continue using the system.
Additionally, we have removed support for SAI (single collateral DAI v1.0) and now support the new multi-collateral DAI token. If you have SAI (old DAI) you need to migrate to the new DAI, we suggest using Maker's official migration portal which offers 1:1 SAI-to-DAI swaps.
Read more about the historic multi-collateral DAI launch here.

Stability and feature completion of the Kosu client

Over the past several weeks, the Kosu project (client implementation, contract suite, and libraries) has increasingly stabilized as the project reached feature-completion.
We've been intensely focused on Kosu for the last ~34 weeks, pushing >2600 commits in 6 languages across 21 packages.
Just in the last 24 hours, our internal test-network validated block 1,000,000 after operating under a simulated high-load environment for the past ~month. While this metric is arguably meaningless in a non-adversarial environment, it is still an important testament to the ever-increasing stability of our Go client implementation (kosud).
Although he codebase has matured significantly and reached a place of stability, we're far from done with Kosu. There are still several crucial things that must take place before a main-network launch, such as Solidity contract audits, a remote-signer binary, and other supporting documentation and tooling.
You will hear more about Kosu's development and what lies ahead in the coming months, but expect less major development updates and breaking changes for Kosu as it has essentially reached feature-completion, and as we shift our short-term focus to building and shipping Zaidan.
Track the Kosu (test) network live statistics on our hosted web-explorer. Metamask or other web3 browser required.
Thanks for reading, and be sure to check back in for more development, community, and research updates.
Henry Harder
CTO, Paradigm Labs
[email protected]
For more updates like this, follow us on Reddit, Twitter, Medium, and join our community chat server.
All code related to Kosu discussed in this post can be found in the Kosu monorepo on GitHub.
The Zaidan dealer system is proprietary at this time, but there is an open-source client available on GitHub.
submitted by squath to ParadigmMarket [link] [comments]


2019.09.24 12:11 emailout What Happened In The Digital Marketing World This Month?

What Happened In The Digital Marketing World This Month?

CRM provider reveals survey findings of trends and challenges in marketing, Google My Business is removing the remaining distance-based service areas and over 60 million websites powered by WordPress are under attack.

“The best marketing doesn’t feel like marketing.” – Tom Fishburne

In this article, we’ll cover the most recent digital marketing news:

  1. CRM provider shares new market research on sales and marketing initiatives
  2. Google My Business: Service-area businesses currently based on a distance will be automatically converted to the closest named areas.
  3. An ongoing WordPress “backdoor attack” is trying to compromise over 60 million users
Let’s dig in.
Digital Marketing News EmailOut.com - free email marketing software

The First-Ever CRM Platform that Unifies Marketing, Sales & Project Management

CRM provider Insightly revealed findings from a survey of over 440 businesses about trends and challenges in marketing. Among the findings, the study found that the majority of businesses (54%) say marketing is very important to their business growth, with nearly one in five reporting they couldn’t run their business without it. That said, 11% do not integrate marketing and sales initiatives, while 42% only do it on occasion.
How Important Is Marketing To Business Growth? Source: Insightly
Having spent more than 20 years of my career in marketing, I have experienced the challenges and critical importance of aligning marketing with sales in order to validate its effectiveness,” added Tony Kavanagh, CMO of Insightly. “By driving a better connection to the ROI of marketing programs, we are ensuring marketing teams (no matter how lean) are maximising the impact of their efforts and ultimately, boosting the bottom line for the business.
Survey takeaways. While the brief survey confirmed that the majority of businesses recognise the importance of marketing to their business growth, it also revealed inconsistencies in the ways businesses manage and invest in marketing and marketing technologies. One of the most common reasons why businesses don’t fully align their sales and marketing efforts is because they don’t consider it a priority.
There is an opportunity for companies to better invest in marketing technologies. One that would allow them to do more with less. As well as focus on aligning their sales and marketing efforts. Also, with a strong combination of a strategic sales and marketing alignment and scalable, integrated marketing technologies, businesses can not only create consistent brand experiences for their customers at every touchpoint; but also, accurately measure the performance of all marketing activities and their impact on business growth.

Google Makes Changes to GMB Listings

Google is going to automatically apply changes to Google My Business (GMB) listings with distance-based service areas. The last remaining distance-based service areas are going to be removed.
Going forward, service-area businesses currently based on a distance will be automatically converted to the closest named areas. Managers of GMB listings affected by this change will have the opportunity to review these updates; after logging into their account.
If your listing is affected by this change you will see an “Updates from Google” notification next time you log in. From there, you’ll have two options. You can either accept the changes made by Google or provide a new service area based on city, postcode or other areas.
This is not a sudden change. Google has been in the process of phasing out distance-based service areas since last year. And now, they are making the shift in order to accommodate businesses that provide services outside of a set distance from where they are physically located. Which, in our opinion, is ideal for businesses that don’t serve customers at the physical location.
This change should not affect how listings appear in search results. Though it would be wise to review Google’s changes. Even if only to ensure your listing still shows up in the area where you serve customers.

Critical ‘Backdoor Attack’ Warning Issued For 60 Million WordPress Users

Over 60 million websites powered by WordPress are under attack.
There seems to be an ongoing “backdoor attack” that is attempting to compromise as many WordPress websites as possible. If you think you might be in the ‘danger zone’, here’s what you need to know:
What can you do? If your website is powered by WordPress and using any of these plugins, the best course of action is to make sure that the plugins are updated. Make sure you’ve verified the plugin update status as most of the plugins has already been patched. Also, ensure your WordPress software and themes are up-to-date.
As being one of the most popular publishing platforms, it’s no doubt that there will be ever-emerging threats on a day to day basis. Each with the sole purpose to mislead website visitors and drive traffic away from websites. However, regularly checking your current/recent admins, software, themes, etc. is the best way to try an avoid potential attacks.

Final Thoughts

Do you have any suggestions or ideas what digital marketing news topics you’d like us to look out for in the future? Write your requests below. We’ll keep an eye out (or two) so you don’t have to – and all for FREE, of course.
In the meantime, you can take a look at our email marketing blog for useful advice, tips and tricks. We will also keep you up-to-date with the most recent email news, social media news, search engine news as well as PPC & Ads news.
This article was originally published on 16 September by EmailOut.com and can be found here.

Open your Unlimited Sends one-month free trial today – after your first month with us you can switch to our FreeForever account giving you 12,500 sends to 2,500 contacts each and every month for free, forever. Corporate email marketing? Contact us.

submitted by emailout to u/emailout [link] [comments]


2019.07.08 06:01 javascript_dev Will switching skills trigger an account review?

An out of work Java engineer on another sub tried signing up for an account and said she was rejected, showing this Upwork rejection notice: https://imgur.com/a/CK0Nf
My situation is different, I'm a former writer with about 50 clients on Upwork which I last worked on 2-3 years ago. I have retrained in web development (Wordpress/Php and also Javascript/React) which is more popular than Java especially on freelance websites.
I'm still concerned that switching skills may trigger a big account review along the lines of: "Hey, you have all these writing reviews and now you want to change into something else? Plus we already have too many wordpress developers"
Is this a valid concern? Will upwork review or possibly limit/suspend accounts that drastically switch skills?
submitted by javascript_dev to Upwork [link] [comments]


2019.03.15 22:21 UBAI_UNIVERSITY ICO Avenues of Opportunities

Hello! My name is Nikolay Krasheninnikov, I am a Backend Developer at Platinum, the biggest crypto market player in the league. Our team knows how to start any security token offering and it is of great importance in 2019 as STOs are becoming the new norm today. See the full list of our services: Platinum.fund We also developed the coolest online courses on crypto economics ever made! How do security tokens work? How to launch your own STO/ICO? We know all the answers! How will ICO companies be adopted and integrated into the mainstream? Get the answer after reading Platinum article!
ICO As an Avenue of Opportunities
Since the first appearance of blockchain technology, people have been debating the continuing preeminence of fiat currency. Pro-crypto analysts argue that cryptocurrency has the potential to replace fiat as the currency of the future. Cryptocurrency is aided by the fact it transcends national borders, and it can transform and innovate quickly in response to different situations in a way that fiat currency cannot.
One of the most valuable innovations of blockchain technology is that it renders intermediaries unnecessary and obsolete. Middlemen acting as trusted third parties between unknown participants in a transaction will simply not be essential in the future. Banks have always been the safe storehouses and trusted channels to transfer money up until now. But the blockchain provides a secure, decentralized, and tamper-proof ledger which poses direct competition to the traditional banking system. Transactions are executed quicker and at lower comparative costs.
MoneyGram has been a major player dominating global money transfer services. Blockchain start-ups are coming forward with competitive platforms that offer faster, cheaper, and more versatile methods of international remittances. After witnessing the exceptional performance of bitcoin, a vast number of new currencies have sprung up that also base their platform on the principles of blockchain technology. The potential applications of blockchain technology have been most notably demonstrated in the financial sector. The real estate industry, for example, was disrupted by the introduction of Rentberry. The marketing and advertising industry was disrupted by Gnosis, and a host of others as well. “ “We saw an explosion in the use of the ICO fundraising method in 2017. In May, the ICO for a new web browser called Brave generated approximately $35 million in under 30 seconds.
Having previously issued $50 million tokens called “”Kin”” to institutional investors, the popular messaging app developer Kik’s ICO sought to raise an additional $125 million from the public, on top of the close to $100 million they had already raised.
By the end of 2017, ICOs had raised close to forty times as much capital as they had raised in the previous year. But this amount is still less than 2% of the total capital raised by traditional IPOs, just to provide a degree of context. This comparison is not necessarily fair because most IPO companies already have a functioning, profitable business in operation. But it does give us insight into the sheer depth of our capital markets, and shows us how far the ICO method of fundraising can mature from here.
According to industry newsletter Cointelegraph, companies raised around $6 billion via ICOs in 2017; 37% of that amount was made by only twenty ICOs. By February 2018, there was an estimated failure of 46% of the 2017 ICOs. Crowdfunding and syndication lawyer Amy Wan described the coin in an ICO as “”a symbol of ownership interest in an enterprise—a digital stock certificate”” stating that they are likely subject to regulation as securities in the USA.
“ “The Most Successful ICO Industries When ICOs First Launched
Mastercoin was the first project to introduce the ICO model. They secured $5 million worth of BTC during their ICO, and that was certainly a big success at the time. After that, various companies realized how the ICO model can ease the difficulty of fundraising by avoiding regulatory hurdles. Vitalik Buterin’s Ethereum was also one of the projects that utilized the ICO fundraising method. And then, Ethereum was quickly followed by Waves. Both of these projects raised over $10 million each.
The crucial factors to think about in the success of an ICO have been the following:
-Is the technology new or inventively applied? -Are reviews on ICO rating sites such as ICO Drops positive? -Does the project clearly solve a problem? -Is there a distinguished team behind the project? -What technical edge does the project have over similar projects? -What is the community sentiment and marketing situation?
The Most Successful ICO Industries in the Present Days
Some of the recent projects that have experienced tremendous success are BAT (Basic Attention Token), Rentberry, and EOS. We will examine BAT and Rentberry as our examples. “ “Present Days: BAT (Basic Attention Token) – Advertising Industry
The Basic Attention token revolutionizes the advertising sector by improving the efficiency of digital advertising. The technology is built around the Brave browser which has a special setting that allows users to see only the advertisements that are relevant to their browsing habits. The team noticed that people were being bombarded daily with too many ads while they were using the internet. Both ads that they want to see and ads they don’t want to see were indiscriminately popping up on pages they were visiting. This is due more to Google Adsense and Adword capabilities.
This team created a browser that gives users complete control of what advertisements they choose to see. The browser blocks out other ads to avoid constantly disrupting the users’ workflow. The ICO for this project was a massive success, and it showed how interested people were in BAT. Some analysts like to stress that the success of this ICO is also due to the influence of Brendan Eich who is the lead creator of the project.
Key figure: Brendan Eich
Mr. Eich developed the popular javascript language, as well as The Mozilla Firefox project, which he co-founded. Investors would jump at any feasible project presented by this caliber of individual. The Basic Attention Token sold one billion utility tokens at a valuation of $36 million in less than 30 seconds. The technology itself had over one million active users by the end of 2017 alone. BAT is a clear success, and the Brave browser team does not seem to be slowing down in 2018. “ “Present Days: Rentberry – Real Estate Industry
On the surface, this may seem to be a rather unusual sector for blockchain disruption, but Rentberry has recorded surprising success since their inception. This platform provides a decentralized home rental service, thereby eliminating real estate agents and their much-loathed exorbitant fees. Some regarded it as the Uber of real estate industry. Let us dive deeper into the tech and see why it is currently regarded as one of the most successful ICO projects.
According to their website, “Rentberry is a transparent home rental service and price negotiation platform uniting tenants and landlords. It automates all the standard rental tasks from submitting your personal information, credit reports and custom offers to e-signing rental agreements to sending maintenance requests”. In basic terms, they are cutting down on many of the middlemen involved in the real estate industry such as brokers, lawyers, insurance companies and escrow companies in order to unite tenants and landlords in a peer-to-peer platform.
Rentberry eventually sold over $30 million in its ICO, which made it the biggest ever for a company in the Property Tech / Real Estate space. It recently announced a strategic partnership with Roomdao which is disrupting the tourism industry and bringing blockchain technology directly to consumers. It would be a good idea to keep a close eye on the development of this company. “ “Notable Industry Examples of Failures
In this section, we will delve into two failed ICOs, Enigma and Coindash, and the reasons why they did not succeed. These ICOs delivered sub-optimal performance for investors, basically because they provided only sub-standard security.
ENIGMA – Security Industry
The goal of the Enigma Project is to turn “”smart contracts”” into “”secret contracts””. How does it do that? It keeps input data secret from nodes in the network that execute the code. It aims to function as an extra layer on top of all blockchains in order to fully bring about the decentralization of smart contracts from the authority of a central figure.
With that in mind, you can imagine the level of embarrassment felt by the founders when half a million dollars’ worth of ETH was successfully hacked prior to the commencement of the ICO. Enigmas mailing list, Slack channels and website were all compromised. That enabled the hackers to contact potential investors via Slack and inform them about early access to the ICO. The hackers made off with 1492 ETH of Enigma investor’s tokens, leaving the Enigma project resource’s untouched but their reputation in ruins even before they were able to begin their crowdsale.
In fact, the exact path to the Enigma project Slack account, where the hacker’s initiated their phishing scam, was through the personal email of Enigma founder Guy Zyskind!
“ ” ICOS in the Future : Industries likely to be revolutionized by the Blockchain
Obviously, the world cannot immediately adopt and adapt to all of the potential that the blockchain makes available right now. But the blockchain has already revolutionized the way industry leaders are thinking about the future. We will discuss some of the features of the blockchain that are ready to redefine the way certain sectors and industries operate.
Accounting
This is one sector most likely to be redefined by the blockchain. Transparency is a major feature of the blockchain due to the open ledger system. Keeping records on the blockchain eliminates human error and ensures the security of the data. Implementation of the blockchain will undeniably cause a quantum leap forward in this area, radically altering the future of accounting.
Business can become more efficient and productive, with less time required to simply create, maintain and prepare records. For the accounting industry, this will allow them to focus on value-added services, maybe even acquire new partners and open up new lines of business, rather than spend so much time on basic administrative tasks. “ ” Industries likely to be revolutionized by the Blockchain
Aviation
This industry plays a major role in the world economy. How can the blockchain influence aviation? Accenture is a blockchain-based company that intends to implement blockchain solutions to the aviation system. Specifically, Accenture is looking at simplifying the reconciliation process. According to the official website, “Using robust cryptographic techniques and a distributed messaging protocol, it creates shared ledgers that decentralize reconciliation-based processes”. The use of smart-contracts will eliminate time-consuming contractual transactions and bring about automatically validated agreements. This will of course render intermediates and middle men obsolete in the process. Processes such as ticketing, loyalty mechanics, security, identity, and maintenance can all be automated.
Financial Technology
The Fintech industry is facing direct and immediate impact from the blockchain. Right from the start, the banking and finance sectors have been significantly threatened by the fundamental ability of the blockchain to eliminate middle-men, reduce cost and time required to perform so many traditional financial transactions.
The blockchain Fintech industry has been growing exponentially within the overall crypto ecosystem. Projects that started before the blockchain have in many cases been fundamentally redesigned to adopt blockchain technology. Projects like Pecunio and Eotrade have fused the real world with the virtual world. “ ” Industries likely to be revolutionized by the Blockchain
Supply Chain Management
Blockchain technology has special characteristics that can make any supply chain significantly more efficient and responsive. It offers cost efficiency and traceability ensuring transactions, while also ensuring transparency at every step of the journey. This will make processes such as ownership transfers, production and payment problems disappear the same way better technology made black & white television disappear.
Other industries that are likely to experience a revolution due to the blockchain include governmental agencies and systems (for energy supply etc.), electioneering processes (voting), B2B (Business to Business) interactions, and B2C (Business to Customers) interactions, among many others.
But what actually is it about the blockchain that makes it such a powerful and disruptive force in government, industry and society at large?
The blockchain has special qualities and capabilities that no one and nothing else has had before; the use of smart contracts, and an immutable, transparent ledger system. “ ” Future of the ICO
ICOs have progressed way past the novelty of simply creating a new cryptocurrency. The financial sector has no choice but to acknowledge what the technology has to offer; adopt it and adapt to it. Like in any sophisticated system, there are major forces that help drive solutions toward greatness. There are professional teams and companies that can help ICO firms in the same way VCs have always helped early-stage companies in traditional industries.
We will look at the leaders and major players in the blockchain industry. We will see what their function is and how they have propelled the growth of ICOs.
Vedran Kajic, co-founder of CryptoTask, views ICOs as better means of raising funds than traditional IPOs. “”Smart contracts for smarter crowdfunding””. One example is that of the CryptoTask crowdfunding mechanism. Its code is audited by bitcoin/blockchain veteran Peter Vessenes who is the co-founder of the Bitcoin Foundation and Pantera Capital among others.
Stakeholders or token holders can vote on the project’s progress after the crowdfunding ends. If they are not satisfied, the code ensures that refunds are made to them. Funds are released for use in stages, only as the founders actually deliver. “ “Professional Traditional Firm Assistance to ICO Firms
At this point it is no longer in doubt that growth of blockchain technology is inevitable. If people have insufficient understanding of what that technology is, how it works, and what it can do, they may simply get left behind.
The role of experts and professional advisors etc., cannot be overstated. Team members must include marketing professionals, copywriters, community managers, legal counsel, business advisory boards, and a host of others. The important thing is that team members work together toward achieving the team goal.
The main function of an ICO is to raise funds for a blockchain related project. Investors commit funds for the incredible returns they can get. Advisors can help with networking, especially with venture capital firms and other financial backers.
More so than with conventional businesses, ICOs have little room to change their structure after it is established at the beginning of the project. But the key advantage ICOs have over traditional fundraising techniques is the ability for literally anybody to invest. This model has been tremendously successful for ICO companies so far. These companies have largely had this success due to the professionalism and talent of the team. VC firms are famous worldwide for their shrewd business insight, ownership and restructuring strategies. While traditional firms might not necessarily be able to help ICO companies change or improve the structure of the firm; they will have an increasingly valued role advising on business strategy and direction.
“ “Professional Traditional Firm Assistance to ICO Firms
ICO companies like Foundico and Antier offer a full suite of corporate services to ICOs in exchange for fees and tokens from the projects. These two companies offer a competitive alternative to the traditional firms assisting startups, and are a good example of the maturity and development of the blockchain industry.
The fact that the industry now has advisory firms providing this kind of sophisticated strategy for ICO startups demonstrates the confidence of the founders in the continued success of the business, and also the actual demand for the services.
ICOs as a funding mechanism will not completely replace the role of Venture Capital. They will coexist in a world where specialization is the rule. VC firms will no longer need to provide such comprehensive advisory services or networking abilities to early stage startups. Early stage companies will be able to look for an advisory firm with experience assisting a pre or ICO company, while at the same time being able to lean on VC firms for their strategy and thoughts on tokenomics.
Ultimately though the choice will be made by the founders of the ICO project. They can elect to use the full suite of corporate services available at any point in the progress of their ICO project; or they can selectively choose the advisory or other services they feel are the most valuable and beneficial for their needs. Founders and teams that are looking for a greater level of support and more confidence might consider a VC that already has experience scaling companies quickly. “ “Evolution of the ICO Process
Necessity for the Future
The major difference between ICOs and IPOs is that the latter is government regulated while the former is not. ICOs are a new concept. The cryptocurrency and blockchain industry is still struggling without a clear legal framework in this regard.
As of late 2017, certain ICOs require investors to do a KYC (Know Your Customer) before investors are allowed to purchase tokens. KYC involves sharing your personal information with the identity verification services that complete KYC processes for governments. This is a measure taken by the ICO companies to identify who purchased what tokens in their sale. This particular measure has been a significant step in legitimizing the ICO process. Hopefully this will lead to more regulatory clarification that will further advance the acceptance of ICOs as a legitimate funding mechanism.
The two primary attributes that need to develop for ICOs to be recognized and accepted are; the interplay between traditional regulation and the blockchain industry, as well as the clarity and transparency of regulations regarding the legal status ICOs.
The blockchain industry is still far from obtaining the clear legal status and regulatory framework it requires.
Universities and professional bodies can help by conducting research and publishing papers on the topic too. Universities can educate individuals about the opportunities and processes in the blockchain industry, further helping to drive the acceptance of blockchain technology into mainstream and academic social consciousness.” “The Maturity of the ICO Process
The ICO process has undergone considerable change as it matures. At first, users didn’t have to reveal their identities when investing in ICOs. With the recent adoption of KYC into almost all ICOs, investors are worried the decentralized nature of the system might be corrupted and forgotten.
Many people see this as the natural evolution of the ICO process. Other people have their doubts, and are growing reluctant to participate in ICOs.
Key Developments from the Beginning
There have been both positive and negative changes to the ICO process over the years. In the beginning, ICOs were defined without any knowledge of token metrics. People didn’t care about hardcaps. Often, the sales were more equitable and didn’t have large bonuses for private sales. Funds were almost entirely raised in public sales.
Over time, the process matured and more projects started to raise funds privately, in seed, private, and pre-sale. Small public sales were carried out to create demand to support price action on exchanges.
There has also been significant growth in the amount of funds raised as people have begun taking KYC more seriously. But due to the introduction of KYC, the process has lost some of its key values. The disadvantages of this maturity are:
-Regulatory scrutiny. -Loss of Anonymity. -Ambiguous fundraising prices and depths.
ICOs are becoming more popular and widely used in today’s blockchain economy, and this indeed shows that investors still have faith in the ICO system. Why ICOs matter for the future of business & finance? How to start your own ICO and become successful? Read the full lesson now: UBAI.co
Learn all about best blockchain platforms and other technologies after finishing the UBAI courses! Contact me via Instagram, Facebook and LinkedIn to learn more: Instagram Facebook LinkedIn
submitted by UBAI_UNIVERSITY to u/UBAI_UNIVERSITY [link] [comments]


2019.02.27 00:19 witoldsz My first project in Haskell, just started, would like your opinion.

Hi,
For so long time, I could not get myself to create something in Haskell. Up until last week when I decided to create a small app looking after some other app to see if it works and if not – to notify interested parties through Discord.
A little background:
For many many (many) years I was coding in Java (despising other languages), then (around 2014) I have discovered Node.js with JavaScript with some (at least for me back then) cool library called Ramda which was the first piece of software which exposed me to Functional programming. In that time I started questioning the "sacred" OOP and fast forward to now I do really really hate it. From love to hate? Maybe… I think I was hating OOP, but now my emotional relation with it has ended. I… just don't care anymore :)
So, I started reading books about Clojure, Lisp, created an app or two in Elm, started reading about Haskell, read 3 times a book (see below) about FP in JavaScript (that was helpful) and finally, wrote that small semux-discord app.
Unfortunately, I don't know personally anyone who could guide me through that hard and dark paths the former OOP fan has to go through to get to the FP level required to create something in Haskell.
It took me like 5 evenings to complete this and… like twice I was thinking about just switching over to Node.js, but I was able to withstand. So, here it is:
https://github.com/witoldsz/semux-discord
So, the application (launched by cron every 10 minutes) is looking over a Semux Validator which is supposed to forge a new block (to get a reward). If something bad happens to that validator, we (the shareholders) want to be notified. The semux-discord app is querying the Semux Network to get the last transaction number of that validator, then searches the ledger for the last COINBASE transaction of that validator and if it’s older than 1 hour – it posts a message to Discord channel/webhook.
I do not know what to think about the code. For sure, I was struggling just to make it work, that is for sure. I was also experimenting with different ways of using _aeson_. I am not sure if the overall structure of the app is good. I don’t know what I should think about it, for example: is it testable? How should I get to test it? Is it doable or the code I have creates is not easy to test… Or maybe in such a simple app – there is nothing to test? Is it the fact that GHC is happy is enough to be sure it works?
I have a bigger plan for this Semux – Discord integration in the future. I would like to convert that simple script-app into a full featured Discord Bot, so people could talk to it, it could remember them. For example, I was thinking I could let users tell that bot that they want to be notified on each transfer in/out of their wallets… All that I could easily write in Java or JavaScript, but I am really looking forward to learn something new. Maybe I could switch to Haskell, or at least I could take some great lessons and use that knowledge elsewhere…
Just tell me what do you think, I would really appreciate your code review. Thanks.

In case you might be interested:
(*) https://mostly-adequate.gitbooks.io/mostly-adequate-guide/
This book is really great to get the true feeling about FP for anyone who knows JavaScript (or similar OOP language). I must say I was surprised how one can actually show and explain FP to people spoiled, indoctrinated by object oriented and procedural programming. Superb exercisers at the end of some chapters.
submitted by witoldsz to haskell [link] [comments]


2019.01.31 16:49 chinese_jet_pilot Front End Developers who don't like CSS: What attracted you to the field?

"Front End Developer" has become a controversial title that covers many disciplines.
A first generation front end web developer often came from a design background, and was responsible for JavaScript-based UI functionality along with the layout and styling of an application. "UI Developer" may be a better description of this role today.
Today, the responsibilities of front end developers have been transformed by capable browsers, ES6-syntax JavaScript or TypeScript, unit testing, and frameworks that optimize single page application development. Front end developers with computer science backgrounds have introduced many best practices from more sophisticated languages to JavaScript.
I come from the former camp. My design background led to my passion for user interface development, where I embraced the challenges of responsive layouts, accessibility, web typography, and browser performance. CSS is a critical skill for this breed of UI developer, along with JavaScript for DOM manipulation, UI components, form validation, and asynchronous data binding.
I recently transitioned to Angular 2+ development for single page applications. I'm finding my feet after a year-long ramp-up to master functional programming with modern, object-oriented JS. My front-end colleagues have been a terrific source of help.
Even in this new role, CSS remains the responsibility of a front end team. The UI skills I take for granted to create a superior user experience seem increasingly rare in our industry. For the first time in my career I'm encountering a strange creature, the front end developer who hates CSS!
I get it. Design is subjective, not logical. But please satisfy my curiosity -- what's the appeal of the front end without mastering CSS?
submitted by chinese_jet_pilot to Frontend [link] [comments]


2018.12.26 21:45 Kosass Searching for the Unicorn Cryptocurrency

Searching for the Unicorn Cryptocurrency
For someone first starting out as a cryptocurrency investor, finding a trustworthy manual for screening a cryptocurrency’s merits is nonexistent as we are still in the early, Wild West days of the cryptocurrency market. One would need to become deeply familiar with the inner workings of blockchain to be able to perform the bare minimum due diligence.
One might believe, over time, that finding the perfect cryptocurrency may be nothing short of futile. If a cryptocurrency purports infinite scalability, then it is probably either lightweight with limited features or it is highly centralized among a limited number of nodes that perform consensus services especially Proof of Stake or Delegated Proof of Stake. Similarly, a cryptocurrency that purports comprehensive privacy may have technical obstacles to overcome if it aims to expand its applications such as in smart contracts. The bottom line is that it is extremely difficult for a cryptocurrency to have all important features jam-packed into itself.
The cryptocurrency space is stuck in the era of the “dial-up internet” in a manner of speaking. Currently blockchain can’t scale – not without certain tradeoffs – and it hasn’t fully resolved certain intractable issues such as user-unfriendly long addresses and how the blockchain size is forever increasing to name two.
In other words, we haven’t found the ultimate cryptocurrency. That is, we haven’t found the mystical unicorn cryptocurrency that ushers the era of decentralization while eschewing all the limitations of traditional blockchain systems.
“But wait – what about Ethereum once it implements sharding?”
“Wouldn’t IOTA be able to scale infinitely with smart contracts through its Qubic offering?”
“Isn’t Dash capable of having privacy, smart contracts, and instantaneous transactions?”
Those thoughts and comments may come from cryptocurrency investors who have done their research. It is natural for the informed investors to invest in projects that are believed to bring cutting edge technological transformation to blockchain. Sooner or later, the sinking realization will hit that any variation of the current blockchain technology will always likely have certain limitations.
Let us pretend that there indeed exists a unicorn cryptocurrency somewhere that may or may not be here yet. What would it look like, exactly? Let us set the 5 criteria of the unicorn cryptocurrency:
Unicorn Criteria
(1) Perfectly solves the blockchain trilemma:
o Infinite scalability
o Full security
o Full decentralization
(2) Zero or minimal transaction fee
(3) Full privacy
(4) Full smart contract capabilities
(5) Fair distribution and fair governance
For each of the above 5 criteria, there would not be any middle ground. For example, a cryptocurrency with just an in-protocol mixer would not be considered as having full privacy. As another example, an Initial Coin Offering (ICO) may possibly violate criterion (5) since with an ICO the distribution and governance are often heavily favored towards an oligarchy – this in turn would defy the spirit of decentralization that Bitcoin was found on.
There is no cryptocurrency currently that fits the above profile of the unicorn cryptocurrency. Let us examine an arbitrary list of highly hyped cryptocurrencies that meet the above list at least partially. The following list is by no means comprehensive but may be a sufficient sampling of various blockchain implementations:
Bitcoin (BTC)
Bitcoin is the very first and the best known cryptocurrency that started it all. While Bitcoin is generally considered extremely secure, it suffers from mining centralization to a degree. Bitcoin is not anonymous, lacks smart contracts, and most worrisomely, can only do about 7 transactions per seconds (TPS). Bitcoin is not the unicorn notwithstanding all the Bitcoin maximalists.
Ethereum (ETH)
Ethereum is widely considered the gold standard of smart contracts aside from its scalability problem. Sharding as part of Casper’s release is generally considered to be the solution to Ethereum’s scalability problem.
The goal of sharding is to split up validating responsibilities among various groups or shards. Ethereum’s sharding comes down to duplicating the existing blockchain architecture and sharing a token. This does not solve the core issue and simply kicks the can further down the road. After all, full nodes still need to exist one way or another.
Ethereum’s blockchain size problem is also an issue as will be explained more later in this article.
As a result, Ethereum is not the unicorn due to its incomplete approach to scalability and, to a degree, security.
Dash
Dash’s masternodes are widely considered to be centralized due to their high funding requirements, and there are accounts of a pre-mine in the beginning. Dash is not the unicorn due to its questionable decentralization.
Nano
Nano boasts rightfully for its instant, free transactions. But it lacks smart contracts and privacy, and it may be exposed to well orchestrated DDOS attacks. Therefore, it goes without saying that Nano is not the unicorn.
EOS
While EOS claims to execute millions of transactions per seconds, a quick glance reveals centralized parameters with 21 nodes and a questionable governance system. Therefore, EOS fails to achieve the unicorn status.
Monero (XMR)
One of the best known and respected privacy coins, Monero lacks smart contracts and may fall short of infinite scalability due to CryptoNote’s design. The unicorn rank is out of Monero’s reach.
IOTA
IOTA’s scalability is based on the number of transactions the network processes, and so its supposedly infinite scalability would fluctuate and is subject to the whims of the underlying transactions. While IOTA’s scalability approach is innovative and may work in the long term, it should be reminded that the unicorn cryptocurrency has no middle ground. The unicorn cryptocurrency would be expected to scale infinitely on a consistent basis from the beginning.
In addition, IOTA’s Masked Authenticated Messaging (MAM) feature does not bring privacy to the masses in a highly convenient manner. Consequently, the unicorn is not found with IOTA.

PascalCoin as a Candidate for the Unicorn Cryptocurrency
Please allow me to present a candidate for the cryptocurrency unicorn: PascalCoin.
According to the website, PascalCoin claims the following:
“PascalCoin is an instant, zero-fee, infinitely scalable, and decentralized cryptocurrency with advanced privacy and smart contract capabilities. Enabled by the SafeBox technology to become the world’s first blockchain independent of historical operations, PascalCoin possesses unlimited potential.”
The above summary is a mouthful to be sure, but let’s take a deep dive on how PascalCoin innovates with the SafeBox and more. Before we do this, I encourage you to first become acquainted with PascalCoin by watching the following video introduction:
https://www.youtube.com/watch?time_continue=4&v=F25UU-0W9Dk
The rest of this section will be split into 10 parts in order to illustrate most of the notable features of PascalCoin. Naturally, let’s start off with the SafeBox.
Part #1: The SafeBox
Unlike traditional UTXO-based cryptocurrencies in which the blockchain records the specifics of each transaction (address, sender address, amount of funds transferred, etc.), the blockchain in PascalCoin is only used to mutate the SafeBox. The SafeBox is a separate but equivalent cryptographic data structure that snapshots account balances. PascalCoin’s blockchain is comparable to a machine that feeds the most important data – namely, the state of an account – into the SafeBox. Any node can still independently compute and verify the cumulative Proof-of-Work required to construct the SafeBox.
The PascalCoin whitepaper elegantly highlights the unique historical independence that the SafeBox possesses:
“While there are approaches that cryptocurrencies could use such as pruning, warp-sync, "finality checkpoints", UTXO-snapshotting, etc, there is a fundamental difference with PascalCoin. Their new nodes can only prove they are on most-work-chain using the infinite history whereas in PascalCoin, new nodes can prove they are on the most-work chain without the infinite history.”
Some cryptocurrency old-timers might instinctively balk at the idea of full nodes eschewing the entire history for security, but such a reaction would showcase a lack of understanding on what the SafeBox really does.
A concrete example would go a long way to best illustrate what the SafeBox does. Let’s say I input the following operations in my calculator:
5 * 5 – 10 / 2 + 5
It does not take a genius to calculate the answer, 25. Now, the expression “5 \ 5 – 10 / 2 + 5”* would be forever imbued on a traditional blockchain’s history. But the SafeBox begs to differ. It says that the expression “5 \ 5 – 10 / 2 + 5”* should instead be simply “25” so as preserve simplicity, time, and space. In other words, the SafeBox simply preserves the account balance.
But some might still be unsatisfied and claim that if one cannot trace the series of operations (transactions) that lead to the final number (balance) of 25, the blockchain is inherently insecure.
Here are four important security aspects of the SafeBox that some people fail to realize:
(1) SafeBox Follows the Longest Chain of Proof-of-Work
The SafeBox mutates itself per 100 blocks. Each new SafeBox mutation must reference both to the previous SafeBox mutation and the preceding 100 blocks in order to be valid, and the resultant hash of the new mutated SafeBox must then be referenced by each of the new subsequent blocks, and the process repeats itself forever.
The fact that each new SafeBox mutation must reference to the previous SafeBox mutation is comparable to relying on the entire history. This is because the previous SafeBox mutation encapsulates the result of cumulative entire history except for the 100 blocks which is why each new SafeBox mutation requires both the previous SafeBox mutation and the preceding 100 blocks.
So in a sense, there is a single interconnected chain of inflows and outflows, supported by Byzantine Proof-of-Work consensus, instead of the entire history of transactions.
More concretely, the SafeBox follows the path of the longest chain of Proof-of-Work simply by design, and is thus cryptographically equivalent to the entire history even without tracing specific operations in the past. If the chain is rolled back with a 51% attack, only the attacker’s own account(s) in the SafeBox can be manipulated as is explained in the next part.
(2) A 51% Attack on PascalCoin Functions the Same as Others
A 51% attack on PascalCoin would work in a similar way as with other Proof-of-Work cryptocurrencies. An attacker cannot modify a transaction in the past without affecting the current SafeBox hash which is accepted by all honest nodes.
Someone might claim that if you roll back all the current blocks plus the 100 blocks prior to the SafeBox’s mutation, one could create a forged SafeBox with different balances for all accounts. This would be incorrect as one would be able to manipulate only his or her own account(s) in the SafeBox with a 51% attack – just as is the case with other UTXO cryptocurrencies. The SafeBox stores the balances of all accounts which are in turn irreversibly linked only to their respective owners’ private keys.
(3) One Could Preserve the Entire History of the PascalCoin Blockchain
No blockchain data in PascalCoin is ever deleted even in the presence of the SafeBox. Since the SafeBox is cryptographically equivalent to a full node with the entire history as explained above, PascalCoin full nodes are not expected to contain infinite history. But for whatever reason(s) one may have, one could still keep all the PascalCoin blockchain history as well along with the SafeBox as an option even though it would be redundant.
Without storing the entire history of the PascalCoin blockchain, you can still trace the specific operations of the 100 blocks prior to when the SafeBox absorbs and reflects the net result (a single balance for each account) from those 100 blocks. But if you’re interested in tracing operations over a longer period in the past – as redundant as that may be – you’d have the option to do so by storing the entire history of the PascalCoin blockchain.
(4) The SafeBox is Equivalent to the Entire Blockchain History
Some skeptics may ask this question: “What if the SafeBox is forever lost? How would you be able to verify your accounts?” Asking this question is tantamount to asking to what would happen to Bitcoin if all of its entire history was erased. The result would be chaos, of course, but the SafeBox is still in line with the general security model of a traditional blockchain with respect to black swans.
Now that we know the security of the SafeBox is not compromised, what are the implications of this new blockchain paradigm? A colorful illustration as follows still wouldn’t do justice to the subtle revolution that the SafeBox ushers. The automobiles we see on the street are the cookie-and-butter representation of traditional blockchain systems. The SafeBox, on the other hand, supercharges those traditional cars to become the Transformers from Michael Bay’s films.
The SafeBox is an entirely different blockchain architecture that is impressive in its simplicity and ingenuity. The SafeBox’s design is only the opening act for PascalCoin’s vast nuclear arsenal. If the above was all that PascalCoin offers, it still wouldn’t come close to achieving the unicorn status but luckily, we have just scratched the surface. Please keep on reading on if you want to learn how PascalCoin is going to shatter the cryptocurrency industry into pieces. Buckle down as this is going to be a long read as we explore further about the SafeBox’s implications.
Part #2: 0-Confirmation Transactions
To begin, 0-confirmation transactions are secure in PascalCoin thanks to the SafeBox.
The following paraphrases an explanation of PascalCoin’s 0-confirmations from the whitepaper:
“Since PascalCoin is not a UTXO-based currency but rather a State-based currency thanks to the SafeBox, the security guarantee of 0-confirmation transactions are much stronger than in UTXO-based currencies. For example, in Bitcoin if a merchant accepts a 0-confirmation transaction for a coffee, the buyer can simply roll that transaction back after receiving the coffee but before the transaction is confirmed in a block. The way the buyer does this is by re-spending those UTXOs to himself in a new transaction (with a higher fee) thus invalidating them for the merchant. In PascalCoin, this is virtually impossible since the buyer's transaction to the merchant is simply a delta-operation to debit/credit a quantity from/to accounts respectively. The buyer is unable to erase or pre-empt this two-sided, debit/credit-based transaction from the network’s pending pool until it either enters a block for confirmation or is discarded with respect to both sender and receiver ends. If the buyer tries to double-spend the coffee funds after receiving the coffee but before they clear, the double-spend transaction will not propagate the network since nodes cannot propagate a double-spending transaction thanks to the debit/credit nature of the transaction. A UTXO-based transaction is initially one-sided before confirmation and therefore is more exposed to one-sided malicious schemes of double spending.”
Phew, that explanation was technical but it had to be done. In summary, PascalCoin possesses the only secure 0-confirmation transactions in the cryptocurrency industry, and it goes without saying that this means PascalCoin is extremely fast. In fact, PascalCoin is capable of 72,000 TPS even prior to any additional extensive optimizations down the road. In other words, PascalCoin is as instant as it gets and gives Nano a run for its money.
Part #3: Zero Fee
Let’s circle back to our discussion of PascalCoin’s 0-confirmation capability. Here’s a little fun magical twist to PascalCoin’s 0-confirmation magic: 0-confirmation transactions are zero-fee. As in you don’t pay a single cent in fee for each 0-confirmation! There is just a tiny downside: if you create a second transaction in a 5-minute block window then you’d need to pay a minimal fee. Imagine using Nano but with a significantly stronger anti-DDOS protection for spam! But there shouldn’t be any complaint as this fee would amount to 0.0001 Pascal or $0.00002 based on the current price of a Pascal at the time of this writing.
So, how come the fee for blazingly fast transactions is nonexistent? This is where the magic of the SafeBox arises in three ways:
(1) PascalCoin possesses the secure 0-confirmation feature as discussed above that enables this speed.
(2) There is no fee bidding competition of transaction priority typical in UTXO cryptocurrencies since, once again, PascalCoin operates on secure 0-confirmations.
(3) There is no fee incentive needed to run full nodes on behalf of the network’s security beyond the consensus rewards.
Part #4: Blockchain Size
Let’s expand more on the third point above, using Ethereum as an example. Since Ethereum’s launch in 2015, its full blockchain size is currently around 2 TB, give or take, but let’s just say its blockchain size is 100 GB for now to avoid offending the Ethereum elitists who insist there are different types of full nodes that are lighter. Whoever runs Ethereum’s full nodes would expect storage fees on top of the typical consensus fees as it takes significant resources to shoulder Ethereum’s full blockchain size and in turn secure the network. What if I told you that PascalCoin’s full blockchain size will never exceed few GBs after thousands of years? That is just what the SafeBox enables PascalCoin to do so. It is estimated that by 2072, PascalCoin’s full nodes will only be 6 GB which is low enough not to warrant any fee incentives for hosting full nodes. Remember, the SafeBox is an ultra-light cryptographic data structure that is cryptographically equivalent to a blockchain with the entire transaction history. In other words, the SafeBox is a compact spreadsheet of all account balances that functions as PascalCoin’s full node!
Not only does the SafeBox’s infinitesimal memory size helps to reduce transaction fees by phasing out any storage fees, but it also paves the way for true decentralization. It would be trivial for every PascalCoin user to opt a full node in the form of a wallet. This is extreme decentralization at its finest since the majority of users of other cryptocurrencies ditch full nodes due to their burdensome sizes. It is naïve to believe that storage costs would reduce enough to the point where hosting full nodes are trivial. Take a look at the following chart outlining the trend of storage cost.

* https://www.backblaze.com/blog/hard-drive-cost-per-gigabyte/
As we can see, storage costs continue to decrease but the descent is slowing down as is the norm with technological improvements. In the meantime, blockchain sizes of other cryptocurrencies are increasing linearly or, in the case of smart contract engines like Ethereum, parabolically. Imagine a cryptocurrency smart contract engine like Ethereum garnering worldwide adoption; how do you think Ethereum’s size would look like in the far future based on the following chart?


https://i.redd.it/k57nimdjmo621.png

Ethereum’s future blockchain size is not looking pretty in terms of sustainable security. Sharding is not a fix for this issue since there still needs to be full nodes but that is a different topic for another time.
It is astonishing that the cryptocurrency community as a whole has passively accepted this forever-expanding-blockchain-size problem as an inescapable fate.
PascalCoin is the only cryptocurrency that has fully escaped the death vortex of forever expanding blockchain size. Its blockchain size wouldn’t exceed 10 GB even after many hundreds of years of worldwide adoption. Ethereum’s blockchain size after hundreds of years of worldwide adoption would make fine comedy.
Part #5: Simple, Short, and Ordinal Addresses
Remember how the SafeBox works by snapshotting all account balances? As it turns out, the account address system is almost as cool as the SafeBox itself.
Imagine yourself in this situation: on a very hot and sunny day, you’re wandering down the street across from your house and ran into a lemonade stand – the old-fashioned kind without any QR code or credit card terminal. The kid across you is selling a lemonade cup for 1 Pascal with a poster outlining the payment address as 5471-55. You flip out your phone and click “Send” with 1 Pascal to the address 5471-55; viola, exactly one second later you’re drinking your lemonade without paying a cent for the transaction fee!
The last thing one wants to do is to figure out how to copy/paste to, say, the following address 1BoatSLRHtKNngkdXEeobR76b53LETtpyT on the spot wouldn’t it? Gone are the obnoxiously long addresses that plague all cryptocurrencies. The days of those unreadable addresses will be long gone – it has to be if blockchain is to innovate itself for the general public. EOS has a similar feature for readable addresses but in a very limited manner in comparison, and nicknames attached to addresses in GUIs don’t count since blockchain-wide compatibility wouldn’t hold.
Not only does PascalCoin has the neat feature of having addresses (called PASAs) that amount to up to 6 or 7 digits, but PascalCoin can also incorporate in-protocol address naming as opposed to GUI address nicknames. Suppose I want to order something from Amazon using Pascal; I simply search the word “Amazon” then the corresponding account number shows up. Pretty neat, right?
The astute reader may gather that PascalCoin’s address system makes it necessary to commoditize addresses, and he/she would be correct. Some view this as a weakness; part #10 later in this segment addresses this incorrect perception.
Part #6: Privacy
As if the above wasn’t enough, here’s another secret that PascalCoin has: it is a full-blown privacy coin. It uses two separate foundations to achieve comprehensive anonymity: in-protocol mixer for transfer amounts and zn-SNARKs for private balances. The former has been implemented and the latter is on the roadmap. Both the 0-confirmation transaction and the negligible transaction fee would make PascalCoin the most scalable privacy coin of any other cryptocurrencies pending the zk-SNARKs implementation.
Part #7: Smart Contracts
Next, PascalCoin will take smart contracts to the next level with a layer-2 overlay consensus system that pioneers sidechains and other smart contract implementations.
In formal terms, this layer-2 architecture will facilitate the transfer of data between PASAs which in turn allows clean enveloping of layer-2 protocols inside layer-1 much in the same way that HTTP lives inside TCP.
To summarize:
· The layer-2 consensus method is separate from the layer-1 Proof-of-Work. This layer-2 consensus method is independent and flexible. A sidechain – based on a single encompassing PASA – could apply Proof-of-Stake (POS), Delegated Proof-of-Stake (DPOS), or Directed Acyclic Graph (DAG) as the consensus system of its choice.
· Such a layer-2 smart contract platform can be written in any languages.
· Layer-2 sidechains will also provide very strong anonymity since funds are all pooled and keys are not used to unlock them.
· This layer-2 architecture is ingenious in which the computation is separate from layer-2 consensus, in effect removing any bottleneck.
· Horizontal scaling exists in this paradigm as there is no interdependence between smart contracts and states are not managed by slow sidechains.
· Speed and scalability are fully independent of PascalCoin.
One would be able to run the entire global financial system on PascalCoin’s infinitely scalable smart contract platform and it would still scale infinitely. In fact, this layer-2 architecture would be exponentially faster than Ethereum even after its sharding is implemented.
All this is the main focus of PascalCoin’s upcoming version 5 in 2019. A whitepaper add-on for this major upgrade will be released in early 2019.
Part #8: RandomHash Algorithm
Surely there must be some tradeoffs to PascalCoin’s impressive capabilities, you might be asking yourself. One might bring up the fact that PascalCoin’s layer-1 is based on Proof-of-Work and is thus susceptible to mining centralization. This would be a fallacy as PascalCoin has pioneered the very first true ASIC, GPU, and dual-mining resistant algorithm known as RandomHash that obliterates anything that is not CPU based and gives all the power back to solo miners.
Here is the official description of RandomHash:
“RandomHash is a high-level cryptographic hash algorithm that combines other well-known hash primitives in a highly serial manner. The distinguishing feature is that calculations for a nonce are dependent on partial calculations of other nonces, selected at random. This allows a serial hasher (CPU) to re-use these partial calculations in subsequent mining saving 50% or more of the work-load. Parallel hashers (GPU) cannot benefit from this optimization since the optimal nonce-set cannot be pre-calculated as it is determined on-the-fly. As a result, parallel hashers (GPU) are required to perform the full workload for every nonce. Also, the algorithm results in 10x memory bloat for a parallel implementation. In addition to its serial nature, it is branch-heavy and recursive making in optimal for CPU-only mining.”
One might be understandably skeptical of any Proof-of-Work algorithm that solves ASIC and GPU centralization once for all because there have been countless proposals being thrown around for various algorithms since the dawn of Bitcoin. Is RandomHash truly the ASIC & GPU killer that it claims to be?
Herman Schoenfeld, the inventor behind RandomHash, described his algorithm in the following:
“RandomHash offers endless ASIC-design breaking surface due to its use of recursion, hash algo selection, memory hardness and random number generation.
For example, changing how round hash selection is made and/or random number generator algo and/or checksum algo and/or their sequencing will totally break an ASIC design. Conceptually if you can significantly change the structure of the output assembly whilst keeping the high-level algorithm as invariant as possible, the ASIC design will necessarily require proportional restructuring. This results from the fact that ASIC designs mirror the ASM of the algorithm rather than the algorithm itself.”
Polyminer1 (pseudonym), one of the members of the PascalCoin core team who developed RHMiner (official software for mining RandomHash), claimed as follows:
“The design of RandomHash is, to my experience, a genuine innovation. I’ve been 30 years in the field. I’ve rarely been surprised by anything. RandomHash was one of my rare surprises. It’s elegant, simple, and achieves resistance in all fronts.”
PascalCoin may have been the first party to achieve the race of what could possibly be described as the “God algorithm” for Proof-of-Work cryptocurrencies. Look no further than one of Monero’s core developers since 2015, Howard Chu. In September 2018, Howard declared that he has found a solution, called RandomJS, to permanently keep ASICs off the network without repetitive algorithm changes. This solution actually closely mirrors RandomHash’s algorithm. Discussing about his algorithm, Howard asserted that “RandomJS is coming at the problem from a direction that nobody else is.”
Link to Howard Chu’s article on RandomJS:
https://www.coindesk.com/one-musicians-creative-solution-to-drive-asics-off-monero
Yet when Herman was asked about Howard’s approach, he responded:
“Yes, looks like it may work although using Javascript was a bit much. They should’ve just used an assembly subset and generated random ASM programs. In a way, RandomHash does this with its repeated use of random mem-transforms during expansion phase.”
In the end, PascalCoin may have successfully implemented the most revolutionary Proof-of-Work algorithm, one that eclipses Howard’s burgeoning vision, to date that almost nobody knows about. To learn more about RandomHash, refer to the following resources:
RandomHash whitepaper:
https://www.pascalcoin.org/storage/whitepapers/RandomHash_Whitepaper.pdf
Technical proposal for RandomHash:
https://github.com/PascalCoin/PascalCoin/blob/mastePIP/PIP-0009.md
Someone might claim that PascalCoin still suffers from mining centralization after RandomHash, and this is somewhat misleading as will be explained in part #10.
Part #9: Fair Distribution and Governance
Not only does PascalCoin rest on superior technology, but it also has its roots in the correct philosophy of decentralized distribution and governance. There was no ICO or pre-mine, and the developer fund exists as a percentage of mining rewards as voted by the community. This developer fund is 100% governed by a decentralized autonomous organization – currently facilitated by the PascalCoin Foundation – that will eventually be transformed into an autonomous smart contract platform. Not only is the developer fund voted upon by the community, but PascalCoin’s development roadmap is also voted upon the community via the Protocol Improvement Proposals (PIPs).
This decentralized governance also serves an important benefit as a powerful deterrent to unseemly fork wars that befall many cryptocurrencies.
Part #10: Common Misconceptions of PascalCoin
“The branding is terrible”
PascalCoin is currently working very hard on its image and is preparing for several branding and marketing initiatives in the short term. For example, two of the core developers of the PascalCoin recently interviewed with the Fox Business Network. A YouTube replay of this interview will be heavily promoted.
Some people object to the name PascalCoin. First, it’s worth noting that PascalCoin is the name of the project while Pascal is the name of the underlying currency. Secondly, Google and YouTube received excessive criticisms back then in the beginning with their name choices. Look at where those companies are nowadays – surely a somewhat similar situation faces PascalCoin until the name’s familiarity percolates into the public.
“The wallet GUI is terrible”
As the team is run by a small yet extremely dedicated developers, multiple priorities can be challenging to juggle. The lack of funding through an ICO or a pre-mine also makes it challenging to accelerate development. The top priority of the core developers is to continue developing full-time on the groundbreaking technology that PascalCoin offers. In the meantime, an updated and user-friendly wallet GUI has been worked upon for some time and will be released in due time. Rome wasn’t built in one day.
“One would need to purchase a PASA in the first place”
This is a complicated topic since PASAs need to be commoditized by the SafeBox’s design, meaning that PASAs cannot be obtained at no charge to prevent systematic abuse. This raises two seemingly valid concerns:
· As a chicken and egg problem, how would one purchase a PASA using Pascal in the first place if one cannot obtain Pascal without a PASA?
· How would the price of PASAs stay low and affordable in the face of significant demand?
With regards to the chicken and egg problem, there are many ways – some finished and some unfinished – to obtain your first PASA as explained on the “Get Started” page on the PascalCoin website:
https://www.pascalcoin.org/get_started
More importantly, however, is the fact that there are few methods that can get your first PASA for free. The team will also release another method soon in which you could obtain your first PASA for free via a single SMS message. This would probably become by far the simplest and the easiest way to obtain your first PASA for free. There will be more new ways to easily obtain your first PASA for free down the road.
What about ensuring the PASA market at large remains inexpensive and affordable following your first (and probably free) PASA acquisition? This would be achieved in two ways:
· Decentralized governance of the PASA economics per the explanation in the FAQ section on the bottom of the PascalCoin website (https://www.pascalcoin.org/)
· Unlimited and free pseudo-PASAs based on layer-2 in the next version release.
“PascalCoin is still centralized after the release of RandomHash”
Did the implementation of RandomHash from version 4 live up to its promise?
The official goals of RandomHash were as follow:
(1) Implement a GPU & ASIC resistant hash algorithm
(2) Eliminate dual mining
The two goals above were achieved by every possible measure.
Yet a mining pool, Nanopool, was able to regain its hash majority after a significant but a temporary dip.
The official conclusion is that, from a probabilistic viewpoint, solo miners are more profitable than pool miners. However, pool mining is enticing for solo miners who 1) have limited hardware as it ensures a steady income instead of highly profitable but probabilistic income via solo mining, and 2) who prefer convenient software and/or GUI.
What is the next step, then? While the barrier of entry for solo miners has successfully been put down, additional work needs to be done. The PascalCoin team and the community are earnestly investigating additional steps to improve mining decentralization with respect to pool mining specifically to add on top of RandomHash’s successful elimination of GPU, ASIC, and dual-mining dominance.
It is likely that the PascalCoin community will promote the following two initiatives in the near future:
(1) Establish a community-driven, nonprofit mining pool with attractive incentives.
(2) Optimize RHMiner, PascalCoin’s official solo mining software, for performance upgrades.
A single pool dominance is likely short lived once more options emerge for individual CPU miners who want to avoid solo mining for whatever reason(s).
Let us use Bitcoin as an example. Bitcoin mining is dominated by ASICs and mining pools but no single pool is – at the time of this writing – even close on obtaining the hash majority. With CPU solo mining being a feasible option in conjunction with ASIC and GPU mining eradication with RandomHash, the future hash rate distribution of PascalCoin would be far more promising than Bitcoin’s hash rate distribution.
PascalCoin is the Unicorn Cryptocurrency
If you’ve read this far, let’s cut straight to the point: PascalCoin IS the unicorn cryptocurrency.
It is worth noting that PascalCoin is still a young cryptocurrency as it was launched at the end of 2016. This means that many features are still work in progress such as zn-SNARKs, smart contracts, and pool decentralization to name few. However, it appears that all of the unicorn criteria are within PascalCoin’s reach once PascalCoin’s technical roadmap is mostly completed.
Based on this expository on PascalCoin’s technology, there is every reason to believe that PascalCoin is the unicorn cryptocurrency. PascalCoin also solves two fundamental blockchain problems beyond the unicorn criteria that were previously considered unsolvable: blockchain size and simple address system. The SafeBox pushes PascalCoin to the forefront of cryptocurrency zeitgeist since it is a superior solution compared to UTXO, Directed Acyclic Graph (DAG), Block Lattice, Tangle, and any other blockchain innovations.


THE UNICORN

Author: Tyler Swob
submitted by Kosass to CryptoCurrency [link] [comments]


2018.05.25 21:50 QuantalyticsResearch Cryptocurrency Weekly Recap

submitted by QuantalyticsResearch to CryptoCurrency [link] [comments]


2018.04.13 03:16 plubberplubber I'm writing a review on Nebulas and would love feedback! Technical, syntactical, style or otherwise.

In the world of cryptocurrency, it is becoming increasingly common to validate up-and-coming blockchain projects by characterizing them in terms of a more recognizable technology. NEO, the ‘Ethereum of China’ is one such example. Nebulas, the ‘Google for blockchain,’ is another and will be the focus of this review. This is certainly a simple and effective way to brand a token, but it comes at the price of a more thorough and nuanced understanding of what the project offers. While, it is true that the Nebulas development team intends to integrate search capabilities within their protocol, this is but only one small component of their overall ambitions.
So what does Nebulas do?
A searchable blockchain protocol is already a ground-breaking development. With this capability, users could easily locate the DApps (decentralized applications) or smart contracts that best met their needs. Bringing searchability to the blockchain is a crucial step in promoting accessibility and usability of this exciting new technology. Just as Google uses their ‘page rank’ algorithm to prioritize certain web-pages above others, Nebulas uses the Nebulas Rank protocol, which will measure the value of users, DApps, and smart contracts on the platform. In order to return the most relevant and effective content, the ranking system will consider network quality, interoperability, liquidity, and transaction frequency. But unlike what ‘Google for blockchain’ might suggest, this is but one of many features that makes the Nebulas project unique.
For one, Nebulas will support smart contracts written in Javascript, Python, and Java. This means that practically any coder will be able to contribute DApps and smart contracts to the platform, without needing to learn a more specialized programming language like Ethereum’s Solidity. In addition, the Nebulas team has integrated an incentive mechanism, which they call the Developer Incentive Protocol (DIP), into the platform. This protocol will attract talented DApp and smart contract developers by rewarding them with Nebulas tokens based on their rank within the platform.
What is perhaps most overlooked about this next-generation blockchain platform, is how the integrated Nebulas Force protocol architecture will reduce, if not outright eliminate, the need for hard forks. This is becoming increasingly problematic within cryptocurrency markets and is often the source of scams. Furthermore, Nebulas Force will allow developers to dynamically adapt their applications to community feedback or changes in the market.
Finally, it’s important to consider the utility of the Nebulas Token (NAS) and how it is being integrated into the overall architecture of the protocol. NAS will act as a means of exchange between chains on the platform and as the de facto currency for establishing voting rights in the governance system and rewarding developers.
Given the ambitious scope of the roadmap it is inevitable that, as it matures, the Nebulas project will face many challenges. But, if any group could overcome these challenges, it’s the all-star Nebulas team. The project has founded by Hitters Xu, who was previously the Founding Director of Ant Financials Blockchain Platform and a co-founder of NEO, which currently boasts a market cap of over $4 billion. Nebulas was co-founded by Robin Zhong, who was formerly the architect of Ant Financials Blockchain Platform, and Aero Wang, who was also a founding member of NEO. This impressive leadership team is buttressed by an accomplished group of developers, many of whom left positions at Alibaba and Google to join Nebulas.
Despite its immense promise, the Nebulas project has it's limitations. For one, the search engine component of the protocol is centralized, as a decentralized system to search blockchain data remains technologically infeasible. In addition, the Nebulas search engine will only be updated on a weekly basis. This means that information will not be available in real time. Yet, these are but minor issues in what is otherwise one of the otherwise revolutionary and ambitious projects in cryptocurrency.
submitted by plubberplubber to nebulas [link] [comments]


2018.03.01 09:05 DGSlider Who are you? Really?

This is a True Story
Bit of background on me before I start. I'm the son of middle-class parents and I have 2 brothers, one older and one younger. I love working with computers, it's such a joy to install and configure hardware and software. I love learning new things. One last thing, I'm mildly paranoid.
I'd been working at a Travel Agency as a Web DevelopeIT Technician for almost 4 years. They didn't pay so well and I was starting to get bored. I didn't get a raise in 2017 so I decided it's time to go.
I managed to land a IT Support job at a holiday camp my younger brother was an instructor at. There were 2 tasks I had to complete to pass the interview process, one was designing a Kitchen Menu Database and the second was coding a Social Security Number (or ID Number in my country) validator, which I did in Javascript. I managed to get both done, but my experience with databases was very limited. I would have to learn to work with databases but it's a lovely learning curve.
I sat down with the boss on day 1 and he spoke to me and said there's a lady coming end on November. I thought "Yes! Someone I can learn from. This is gonna be great." She arrives and we talk. Said she's a former IT Manager and Network Engineer that used to get 40k per month. Something just didn't feel right. Why would you leave 40k to get 6k?
We work on a project that weekend and it starts to look like she has no idea what's going on, she starts to show signs that she's having someone help her.. One day, she leaves her Facebook open and I stumble on it, she's chatting to somebody, sharing our faulty project code! I can't help my curiosity and scroll up, there was talk about the validator. She didn't program it herself. I realized that she's a fraud. She was also an entitled drama queen.
It became evident after that, she was getting help constantly. It was also painfully obvious she had no idea what she was doing. She would ask for help even a basic Technician, Engineer or Programmer would know. To get deeper, I loaded a Keylogger onto her PC. Searches for extremely obvious things came up. Started asking for help on simple things. Things she should be able to do. Having no idea what's going on. Lie about things she didn't even need to disclose to me. She would spend 90% of the day looking for another job.
I started to see application forms in her documents when I was helping her. One day, she said she's gonna have a "meeting" and asked if I can grab lunch for her. I agreed, but before I left, I slipped my phone into the drawer and put it on record. I came back when she was done and listened, it was a job interview! She then proceeds to lie about it to me. I felt like saying "Dammit, just stop, I know who you are!"
It happened again a few weeks later, same "Meeting" story, which I recorded.
A few weeks after that, I was handed a massive project but the one Director. The next day, the other Director, my boss (who is a Mechanical Engineer, IT Specialist and all-round genius man whom I have the gift of working under), calls and tells me the entire structure needs to be redone, so I must hand it over to her (since he thinks she's the database expert). Fine by me, I get the invoicing project, way easier. She starts flipping out constantly, moaning about every little issue in it.
Yesterday, her pc needed a fresh Windows install, so I had to do it (so an IT Manager can't install Windows??) and she used my PC to surf, which she left tabs open. I glanced and saw something.
She had another "meeting" yesterday as well, I recorded again. It was the same people whose application form I saw. She again, lied about something she didn't even need to bring up.
While I've been writing this, it sounds like she's accepted an offer at another company. We'll just see what happens.
submitted by DGSlider to story [link] [comments]


2018.02.23 19:51 CryptoJennie BAT Community Weekly Update: 02/16/2018 to 02/22/2018 — Bart Baker (10M subs) promotes Brave, interview with Brendan, big YouTube channels coming onboard, ETHDenver reflections, Ethereum wallet + hardware wallet support coming to Brave

Welcome to this week's community update! Now back from ETHDenver and seeing big adoption among major YouTube channels. Check it out! Thanks to MurphD for his invaluable contributions.
 
Short interview with Brendan Eich about BAT, Brave and JavaScript /w Panama Crypto
“The Basic Attention Token (BAT) forms the basis of a blockchain-based digital advertising platform. The BAT reconnects users directly to content creators, and reduces ad fraud and improves reporting for advertisers, without compromising user privacy and anonymity. The BAT platform cuts out all the parasitic middlemen in between brands, publishers and users, to make a much more efficient and accountable ecosystem.”
Read the full interview: https://medium.com/@Panama_TJ/brave-short-interview-c02a5b59a877
 
HowToBasic (10,300,000 subscribers) is now a verified YouTube Creator!
We’re seeing more and more channels come onboard, both large and small. HowToBasic has become famous with its… intriguing videos… now with 10.3 million subscribers!
https://www.reddit.com/BATProject/comments/7zb8hn/howtobasic_is_now_a_verified_youtube_creator_103/
 
Bart Baker (10 million subscribers) asks his audience to download Brave; video then locked by YouTube
This week, Bart Baker made a video calling out to his audience to support his channel with Brave’s referral program. However, shortly after uploading the video, it was removed by YouTube. Bart, understandably, was very upset with the situation and followed up on Twitter. You can follow the whole situation here:
  1. Tweet: https://twitter.com/BartBakestatus/966068674636406785
  2. Situation covered on /YouTube: https://www.reddit.com/youtube/comments/7z01a4/bart_baker_10_million_subs_makes_video_about/
  3. Post on /BATProject with helpful links: https://www.reddit.com/BATProject/comments/7yzp45/youtuber_bartbaker_10_million_subscribers/
  4. Reuploaded video: https://www.youtube.com/watch?v=Zjj1m4LX5uM
We wholeheartedly support Bart in his efforts to remonetize his videos and to continue creating the content that makes millions of people laugh around the world. Let’s show him some support. (Also check the #SaveBartBeBrave hashtag on Twitter.)
 
“The Best Ethereum Wallet Ever”: Ethereum Wallet coming to Brave with hardware wallet support
BAT/Brave’s hacking team at ETHDenver put their minds together and built an Ethereum wallet with hardware support for Brave. Features: 1-click wallet creation; 1-click shortcut to transfer funds from the ETH wallet into @Brave $BAT wallet; Hardware wallet support; Open source; Brave is up-to-date with the latest upstream Chromium release + sandboxing x-platforms; Automatically watches BAT token contract.
See a video demo and full description here: https://devpost.com/software/best-ethereum-wallet-ever
 
ETHDenver
The BAT/Brave team made an appearance at ETHDenver last week. It was a great experience and the team was excited to meet with countless fans and members of the community. Jennie, Luke and some cherished BAT community members (special shoutouts to miyayes, dragespir) answered hundreds of questions at the BAT/Brave booth.
The BAT/Brave booth was especially popular; publishers, advertisers as well as users were lining up to speak with the team and learn more. We had many people come and express their love for Brave, as well as newcomers of all kinds!
BAT/Brave also had two hacking teams at the event, (1) one of which created a fun retro game called Vapor (https://devpost.com/software/vapor) while (2) the other implemented an Ethereum wallet into Brave (see above).
Luke participated in a panel on designing cryptoeconomic models, see the video here: link here
Check out this link to see all the videos from ETHDenver: https://www.facebook.com/pg/ETHDenvevideos/
 
Zengineering Podcast: Episode 052 — with Jonathan Sampson, on Brave, Basic Attention Token and Browser Security
“In this episode, Jonathan walks us through the history of the internet and web browsers. We discuss Brave’s CEO, Brendan Eich, the prolific architect of the JavaScript programming language, and a founder and former CTO of the Mozilla Corporation. This story is compelling and important to the state of the modern web, modern software, and the entire planets intoxication with digital communication.
We dive deeply into web technologies, the digital advertising revolution, internet search, the history of web browsers, an intense appreciation of digital privacy, the future of technology, and digital crypto-currencies like Bitcoin and Basic Attention Token (a foundational component of what the Brave team is working on). We believe Brave Browser and its team are doing something that is both technologically innovative and deeply important for our digitized world.”
Listen now: https://zengineeringpodcast.com/episode-052-with-jonathan-sampson-on-brave-basic-attention-token-and-browser-security-bb719b515d4b
 

BAT/Brave Mentions:

Brave Browser Readers Just Gave Us Some Eth – is This Actually Working?
That’s our dashboard, so it’s not much and at current BAT prices … but it is something, and it is free. https://www.trustnodes.com/2018/02/11/brave-browser-readers-just-gave-us-eth-actually-working
The key to massive innovation in crypto
BAT is mentioned on a great article on Hacker Noon.
https://hackernoon.com/cryptocurrency-platforms-the-key-to-disruptive-innovation-ddb5bcf8c5c7
BAT and You; What I learned from the BAT team at ETHDenver
https://www.reddit.com/BATProject/comments/7yz24bat_and_you_what_i_learned_from_the_bat_team_at/
What’s Brave, YouTubers’ new favorite browser?
Brave is an open-source web browser that YouTubers are using in wake of the platform’s evolving policies. Included within the browser is Brave Payments, which the company introduced in beta in September 2016. The idea behind the Payments tool is that users should be allowed to choose who can financially benefit from their clicks without having to sift through ads — or feeling guilty about using ad blockers.
https://www.polygon.com/2018/2/22/17040522/brave-browser-cryptocurrency-youtube-demonetizationye

News You Should Know:

Google's new ad-blocking rules show its massive power online, and some smaller players are concerned
Google's dominance of the online ads business — in conjunction with the dominance of its Chrome browser and its influence on the group that selected which ads count as "intrusive" — raises some thorny questions. https://www.cnbc.com/2018/02/17/google-chrome-ad-blocking-reactions.html
Chrome's default ad blocker strengthens Google's data-driven advertising platforms
Google's browser now blocks certain ad formats by default. This move is less about improving the browsing experience and more about forcing publishers and advertisers to switch to Google’s data-driven advertising platforms.
https://cliqz.com/en/magazine/chromes-default-ad-blocker-strengthens-googles-data-driven-advertising-platforms
Something to think about
  • Jason Kint @jason_kint Thought experiment: if the two major ad blockers turned off Google’s whitelisting, what would happen? Google would have to kick out their extensions, walk into legal disputes, promote better solutions. This would likely help real publishers.
  • Jason Kint @jason_kint Google had many ways to play their "ad blocking problem” back in 2013. The noble one would've been to stand for consumer experience, privacy/security like Apple, Mozilla. But they opted to pay off the ad blockers, something even Facebook and all reputable publishers refuse to do. 1:53 PM - Feb 19, 2018
 

Brave Team Tweets:

  • Twitch coming in the next few weeks CryptoBlockchainBTCETH @CrytpoBlock Does your team have an estimate for when Twitch will be fully integrated with BAT and Brave? //REPLY BrendanEich@BrendanEich Weeks not months, my best thought. 9:19 PM - Feb 17, 2018
  • BrendanEich‏ @BrendanEich Content owners are paid in the fiats they use by @upholdinc for regions in which Uphold operates. Conversion from BAT is part of their service. 10:58 PM - 17 Feb 2018 Direct photo link: https://twitter.com/BrendanEich/status/965073049757208577/photo/1 Second photo link 2: https://twitter.com/BrendanEich/status/965072057854652417/photo/1
  • BAT / Brave is a piece to cake compared to how ads work now BrendanEich @BrendanEich Compared to ad tech (the “Lumascape”), it is a piece of cake. Note users need not study it to find Brave easy to use. pic.twitter.com/oEA6NcMOy6 6:12 PM - Feb 18, 2018
  • There’s always a middleman in the ad space: BrendanEich @BrendanEich At least one middle-person in any advertisepublisher relation: the user. Brave is the user agent, we take fixed fee always less than user share (70% revenue to user for private opt-in ads; 15% to user & 70 to pub if both consent to in-page ads), & no user data goes off device. 6:20 PM - Feb 18, 2018
  • What’s the point of BAT, and do users of the web have rights? BrendanEich @BrendanEich The point is to send revenue back to your favored sites & creators anonymously — Web is not going to fund itself. Replace the ad tech complex with private/anon analytics, self- or (bigger idea) auto-funded.
  • BrendanEich @BrendanEich Users have rights to block ads/trackers/scripts, but many see ecosystem problem of free-riding that way. Some can afford to pay & Brave enables anonymous contributuons, automated and/or pinned by user. Not all can afford, so private BAT ad option is coming, to pay for contribs. 6:53 PM - Feb 18, 2018
  • Future features preview: BrendanEich @BrendanEichWe do WebTorrent IPFS & dat: coming soon. We are not only for browsing one new & incompatible web. Web is here and evolves. 8:02 PM - Feb 20, 2018

Roaring Fans on Twitter:

  • Nick Summers @nicksum18 ..And the home of the @Brave !! For those of you who have not yet tried the new Brave browser, this is one days worth of benefits;$BAT #BEBRAVE #[email protected] @BraveSampson 9:15 PM - Feb 16, 2018
  • Shilly Mo'Filly @EzMrcz Awesome, just got notified from @brave that $BAT payments are going out to my favorite content contributors soon! Thanks again for creating awesome stuff, enjoy the @AttentionToken :D Can't wait until more and more people adopt the idea of giving directly to the creators! 1:35 PM - Feb 16, 2018
  • Janus @Janus_Token Some of the inspiration for incorporating $Kreds cryptocurrency in our media sites came from economic models like $BAT true utility can be game changing. Kudos to @AttentionToken for inspiring valid altcoin use cases. 12:26 AM - Feb 17, 2018
  • Kevin [LTC] [BAT] @wholelotamoney $BAT in Denver being a proud sponsor of #ETHDenver @EthereumDenver Fantastic browser and great [email protected] @brave @BrendanEich 9:48 AM - Feb 17, 2018
  • Miyayes @miyayesereum Re. Botting: 1. Fraud/bot detection running in native app (browser) will always be better than through in-page JS; 2. KYC for payouts; 3. Can't summon ads en masse by nav to a site; low freq ads only show at specific times during browsing xp. Erase old ad model from your mind. 7:40 PM - Feb 19, 2018
  • Fabrice Desré @fabricedesre I just paid publishers with @AttentionToken from @brave . That was much easier than any other subscription mechanism. 5:50 PM - Feb 20, 2018
submitted by CryptoJennie to BATProject [link] [comments]


2018.01.22 03:51 zigzagzig Nebulas (NAS) Technical White Paper Review

Nebulas Technical White Paper Review - January 20, 2018 by u/satoshibytes

Whitepaper version: 1.0 September, 2017.

Built on ground-breaking innovation, Nebulas brings blockchain technology into the 3rd generation.
Nebulas offers two different white papers; while the first is a basic overview, the second is technical.
The technical white paper describes the specifics of the project, and with each part broken down into details, it is not only quite long, it is also considered one of the most technical white paper of any blockchain technology to date. Although detailed information provides transparency and answers questions, many people are finding it difficult to comprehend.
No doubt, most investors are looking for the next hot coin that will provide a good pay day! While I believe that Nebulas can provide just that, I also feel that it is always important to understand what you are investing in. If you take the time to read everything carefully, Nebulas’ technical white paper shows the entire system in its final glory!
Therefore, the comments below compile my analysis of the technical white paper (in combination with other reliable sources). I will also do my best to include the page where you can find these facts in the technical white paper. Therefore, I suggest that rather than taking my word for it, read it for yourself.
Based on pros and cons, let’s break down the primary elements of Nebulas:

Nebulas Rank (NR)

Nebulas Rank (NR) will be the first to integrate search engine capability into blockchain. In other words, Nebulas Rank is the protocol responsible for making search engine a viable element in the blockchain. Right off the bat, let’s address an important question, "What good is a ranking system inside a blockchain?"
Currently, there is no way to search the blockchain for meaningful data (other than simple transactions), and, therefore, it’s impossible to find dApps or locate smart contracts. If this doesn’t sound like a big deal, imagine trying to search the internet without google or some other search engine – it would be impossible!
Just as the first internet search engine evolved the internet into what it is today, the first blockchain search engine will inevitably evolve blockchain. Not only a stepping stone for the future of blockchain, we’re talking about a new foundation for blockchain technology.
By providing a blockchain search engine, the Nebulas Ranking system will allow users to locate quality dApps (decentralized apps) and smart contracts. For example, let’s say that you are looking for a dApp like CryptoKitties. No doubt, there could be dozens of similar apps. So, based on multiple data resources, such as blockchain activity, github activity, and even google search history, the ranking algorithm (NR) orders similar apps, and then lists them in a manner that the user can evaluate and select.

Now, can you see why Nebulas is being compared to google?

But, this is only the beginning…. Nebulas Rank is also interwoven into the Developer Incentive Protocol (DIP) and the Proof of Devotion (PoD) Consensus Algorithm. Without Nebulas Rank, these other two elements could not operate as the white paper states.
Based on the current white paper, let’s spotlight some potential negatives about the Nebulas Rank(NR) protocol. However, also keep in mind that these potential issues could be completely eliminated as the project develops (thanks to Nebulas Force – more on this later).

Now the potential negative:

However, while the white paper describes the search engine being centralized, it also says "In current stage..." Thereby indicating that Nebulas developers have a better solution in the long run. Perhaps a sidechain just for searching? The white paper also states that "the complete code for searching backend is available to the community and third-party developers can create their own searching services on this basis." Hopefully, this will keep the ranking honest.
Since the Nebulas blockchain is based on the Nebulas Rank (NR) system, now that we have highlighted the most important aspects of Nebulas Rank (NR), we can dive deeper into specific functions.

Proof of Devotion (PoD) Consensus Algorithm

In the cryptocurrency world, Proof of work (PoW) means mining. While damaging to the environment, few can argue that this is a terrible waste of natural resources. As an alternative, the cryptocurrency world also has Proof of Stake (PoS). Proof of Stake allows token/coin holders to stake (aka hold un-spendable tokens), and to be rewarded with more tokens when they create a new block. For example, if there are 100 people staking and there are 100 new blocks per hour, every stake will, on average, receive one block reward per hour.
While better for the environment, Proof of Stake creates an imbalance where major coin holders (aka whales) are rewarded with even more coins, and this allows "whales" to stake even more coins (this means that there could be a potential to monopolize the system).
Now, Nebulas brings us Proof of Devotion (PoD)[iii]. As far as I know, there is currently nothing like this in blockchain technology (nor ready to be released). Proof of Devotion essentially awards developers who make awesome things (such as dApps) on the Nebulas blockchain.
If you develop an dApp that’s performing well on the Nebulas network, you will have the option to be a validator (aka validate submitted transactions), and, in return, receive token rewards from the blockchain. To be a validator, you will need to stake (deposit) X amount of tokens. Then, multiple validators (per transaction) will have to agree on the result[iv], and, each will be rewarded 1.5x the amount staked.
The generation of new blocks[v] will be carried out by "highly important" accounts that Nebulas Rank (NR) calculates. As stated in the whitepaper, "PoD empowers the selected accounts to have the bookkeeping right with equal probability to participate in new block generation in order to prevent tilted probability that may bring about monopoly".
The bottom line... when it comes to Proof of Devotion, why use Ethereum to create a dApp when you can create the same dApp on Nebulas and make a profit? Needless to say, this is a huge incentive for developers to make dApps on the Nebulas network, and, consequently, it will increase the value of the network. Furthermore, since Nebulas will provide developer tools, it will be easier to create dApps.

Now the potential negative:

  • Although Proof of Devotion gives new developers the potential to profit greatly, it also favors top developers. For example, Gifto[vi] just announced that they will launch on the Nebulas network. At least in the beginning, Gifto will be a powerful contender for other dApp creators.
Because it inspires developers to create awesome dApps, and, at the same time, profit directly from blockchain, I personally love this idea! No longer will dApp creators require insane ICO’s nor will they need some other stream of revenue. However, participating in PoD does not stop developers from benefiting from other income streams. Truly groundbreaking!

Developer Incentive Protocol (DIP)

Not only can Proof of Devotion give incentive to developers, quality developers will also receive extra coins/tokens for their hard work. Based on Nebulas Rank(NR), Nebulas will use an algorithm for reward distribution[vii]. The rewards will be automatically distributed to the smart contract cash-out address every 7 days.
There is really nothing negative to add to this. It’s truly a powerful incentive!

Nebulas Force (NF)

Who needs hard forks? Nebulas Force will allow developers to introduce new features/protocols into the Nebulas blockchain without a fork. The Nebulas white paper calls it "Self-evolving blockchain technology" but I don’t believe this is quite correct. Rather than being self-evolving, it is actually community driven! Because this will build the blockchain community, in my opinion, this is even better!
With other blockchains for example, if a developer has an awesome idea for a dApp but it needs a new protocol that does not exist on any blockchain, the developer would have to centralize the dApp or chuck it altogether.
With Nebulas, new ideas can be developed, and if they provide positive contribution, the Nebulas community (Nebulas token holders) can vote on and approve changes to the network protocol. Once approved, Nebulas developers can add the new protocol into the Nebulas blockchain. Perhaps, further in the development, sub-chains will also support new protocols for full implementation.

Upgradable Smart Contracts

Revolutionary for blockchain, Nebulas Force will include upgradable smart contracts[viii]. Why is this important? Well, due to bugs in smart contracts, investors can lose funds in any blockchain network that uses smart contracts. Once submitted to the blockchain, nothing can be done to fix the bugs, and, as a result, tens of millions of dollars have already been lost.
Nebulas plans to overcome this problem through the implementation of upgradable smart contracts. In a nutshell, token holders will vote on proposed changes (to fix specific bugs), and when the overall vote is affirmative, bugs can be eliminated at any time. By saving investors millions, it will restore lost confidence!

Now the potential negative:

  • The Nebulas protocol is only modifiable by the Nebulas core developers. Although this is not really a negative, I would not call it "self-evolving". If you look at Bitcoin, there is a handful of developers responsible for source code, and, subsequently, the source code for all alt coins that use Bitcoin core in some capacity (such as LTC, BCC, BTG, DOGE, etc…)
  • The protocol updates will be applied via a hard coded signature into the genesis block[ix] and this means that there is a potential for network compromise.
  • Although there are some ethical issues with modifying smart contracts, overall, it is a great idea! Since token holders will have to vote on any changes, there could be an issue with whales (monopoly owners) controlling contracts.
Even with the negatives, this is a powerful feature.

The above includes Nebulas’ most innovative features, and although these features stand out, there is even more to Nebulas:

Anti-cheating algorithms[x]

To ensure fairness, the above protocols contain anti-cheating algorithms that are manipulation resistant, and, if someone is found trying to cheat, there are penalties.

Smart contracts almost anyone can write![xi]

Nebulas will support smart contracts written in Javascript, Python, Java and more! And this means that any coder can create a logical contract!

Full voting protocol[xii]

Since Nebulas includes a full voting protocol in the blockchain, you and I, as token holders, can help decide the direction of Nebulas. As an example, the coin "Decred[xiii]" also has a voting system; giving end-users a voice keeps them engaged.

Domain Name Service[xiv]

Although blockchain users are accustomed to "please send funds to: 0x488B2630CEdB5Bfd5e02c33A3653227170743357", it’s simply not logical. If you miss a letter, change a number, or simply enter an address incompletely, funds are sent into the abyss - forever. To correct this inherent problem, Nebulas will implement the use of "meaningful names." For instance, using a meaningful name, your Nebulas address could be "Rick_Sanchez.me." Users will have the opportunity to bid for requested names, and renew yearly - just like a web based domain name.

Lightning Network[xv]

As many of you probably already know, bitcoin can now use a Lightning Network. This will allow multiple small transactions to be signed without clogging up the blockchain and memory pool. It keeps an open ledger between two entities and can be closed at any time by either party, resulting in one transaction on the network instead of potentially dozens or hundreds.If the Bitcoin network started with the Lightning Network, it would currently be able to handle all transactions per second without any problems. Without the Lightening Network, Bitcoin can only handle 7~ transactions per second (and usually less). With the Lightening Network initially in place, the Nebulas network will be able to handle the required transactions and close the lightning ledgers when requested by users. It would also not cost $20.00++ to send $5.00 nor would it take an hour. I won’t get into the ludicrous prices of Bitcoin transactions fees and how we got here, but if you don’t know much about it, you should learn more. As an important feature of Nebulas, the Lightning Network will provide quick and cheap transactions.

High Strength Encryption

Nebulas uses SHA3-256 encryption. Although you won’t find this in the white paper, SHA3-256 is Highly Quantum Resistant[xvi] - research it yourself. Why is this so important? Well, as an inevitable evolution of quantum computing, previous generations of encryption will be rendered inadequate, and, consequently, susceptible to decryption of private keys. Basically, this means that once quantum computers are developed, you can lose your money in a non-quantum resistant blockchain. Since Quantum Resistance is a very important feature, many new coins (such as the QRL coin[xvii]) are being intentionally created for this purpose.

So, what role does the NAS token play in the network?

Directly from the white paper[xviii]; "The Nebulas network has its own built-in token, NAS. NAS plays two roles in the network. First, as the original money in the network, NAS provides asset liquidity among users, and functions as the incentive token for PoD bookkeepers and DIP. Second, NAS will be charged as the calculation fee for running smart contracts. The minimum unit of NAS is 10−18 NAS." If interested, the white paper goes into detail. If you question the purpose of NAS, simply ask yourself, "What role does ETHER play in the Ethereum network?" As of this writing, ETHER’s current price is $1098.00USD – and that’s not even it’s high. I believe that common sense indicates the potential value of the NAS coin!

Nebulas will have a maximum of 100,000,000 tokens

Many of the top 10 cryptocurrencies will distribute coins/tokens in the tens of billions, and, in fact, Ethereum will have an indefinite amount (albeit, they will taper off in time). However, when there are significantly less coins/tokens, the value of each increases. Treasure each NAS token!

A web-based playground for developer tools[xix]

To help developers create smart contracts easier and faster, Nebulas will offer developer tools. Nebulas will also support multiple IDE’s.
Although the list of features and functions goes on, this should give you an overview of what the Nebulas network can do, how it can evolve blockchain technology, and why it will be a very attractive option for future dApps. Having said all this, please be clear, it is not financial advice.
Also, keep in mind that the above statements are based on my analysis of the white paper (version: 1.0 September, 2017), but this is not to say that the developers don’t have a different perspective. With that being said, Nebulas staff and co-founder, Robin Zhong, actively responds to questions in their Slack channel. This leads us to a review of the Nebulas team.

The Nebulas Team

When looking at a new, and yet to be released, project, it’s not only important to understand the innovation, it’s also important to understand the team behind the innovation. Although not the largest team, the developers are highly educated with real blockchain experience. In fact, many have worked at Google, IBM, Alibaba, Alibaba financial, Airbnb, etc… Additionally, two Nebulas founders previously co-founded the NEO coin (formerly Antshares) which on January 20, 2018 trades at $140.00 (not even its high) per coin/token.
No doubt, the team is influential in past, current and future blockchain innovation. In fact, playing a huge part in bringing blockchain to China, Hitters Xu created Bitsclub, and many other team members started blockchain communities. If you have not yet learned about the team, I strongly suggest you do. Check out their LinkedIn pages and also look at the developers Githubs.

Full disclosure:

As a fellow investor and fan of blockchain technology, I got into the crypto world in 2012. Since then, I have mined, traded, and even created an arbitrary trading system. My portfolio includes dozens of different types of tokens/coins. My focus is on innovation rather than "rinse and repeat."
I first learned about Nebulas in the beginning of January 2018. After reading the technical white paper multiple times and fully understanding Nebulas (what it is and what it’s not), I confidentially purchased NAS (ERC-20) tokens.
As with any great blockchain, Nebulas will not be the last, but it is a crucial step to the next generation of blockchain innovation! Without doubt, I see the true potential of blockchain technology, and, if you ask me, Nebulas is an amazing short, medium and long term project, and I’m excited about the future!
To quote a Nebulas founder, "Ask not what blockchain can do for you, ask what you can do for blockchain..." - Hitters Xu

References

i: Pg 41 – 6.2
ii: Pg 24 – Last bullet point
iii: Pg 34 - 5.3.1
iv: Pg 35 – 3.3.3
v: Pg 34 – 5.3.1
vi: Visit https://gifto.io/ for more info – Watch the video for an example of what Nebulas will do.
vii: Pg30 – 4.2
viii: Pg 27 – 3.3.2
ix: Pg 26 – Paragraph2
x: Many locations – There are many parts of the white paper that talk about anti-cheating in different capacities.
xi: Pg 26 – 3.3.1
xii: Many locations – There are many parts of the white paper that talk about voting in different capacities.
xiii: Visit https://decred.org/ for more information. For full disclosure, I do own DCR and stake them.
xiv: Pg 45 – 7.1
xv: Pg 45 – 7.2
xvi: Visit https://www.theregister.co.uk/2016/10/18/sha3256_good_for_beelions_of_years_say_boffins/ for more information.
xvii: Visit https://www.theqrl.org for more information. And yes, for full disclosure, I like this project as well, and have invested post ICO.
xviii: Pg 47 - 8
xix: Pg 46 – 7.3
submitted by zigzagzig to CryptoCurrency [link] [comments]


2018.01.21 09:16 satoshibytes Nebulas Technical White Paper Review January 20, 2018

Nebulas Technical White Paper Review January 20, 2018

Whitepaper version: 1.0 September, 2017.

Built on ground-breaking innovation, Nebulas brings blockchain technology into the 3rd generation.
Nebulas offers two different white papers; while the first is a basic overview, the second is technical.
The technical white paper describes the specifics of the project, and with each part broken down into details, it is not only quite long, it is also considered one of the most technical white paper of any blockchain technology to date. Although detailed information provides transparency and answers questions, many people are finding it difficult to comprehend.
No doubt, most investors are looking for the next hot coin that will provide a good pay day! While I believe that Nebulas can provide just that, I also feel that it is always important to understand what you are investing in. If you take the time to read everything carefully, Nebulas’ technical white paper shows the entire system in its final glory!
Therefore, the comments below compile my analysis of the technical white paper (in combination with other reliable sources). I will also do my best to include the page where you can find these facts in the technical white paper. Therefore, I suggest that rather than taking my word for it, read it for yourself.
Based on pros and cons, let’s break down the primary elements of Nebulas:

Nebulas Rank (NR)

Nebulas Rank (NR) will be the first to integrate search engine capability into blockchain. In other words, Nebulas Rank is the protocol responsible for making search engine a viable element in the blockchain. Right off the bat, let’s address an important question, "What good is a ranking system inside a blockchain?"
Currently, there is no way to search the blockchain for meaningful data (other than simple transactions), and, therefore, it’s impossible to find dApps or locate smart contracts. If this doesn’t sound like a big deal, imagine trying to search the internet without google or some other search engine – it would be impossible!
Just as the first internet search engine evolved the internet into what it is today, the first blockchain search engine will inevitably evolve blockchain. Not only a stepping stone for the future of blockchain, we’re talking about a new foundation for blockchain technology.
By providing a blockchain search engine, the Nebulas Ranking system will allow users to locate quality dApps (decentralized apps) and smart contracts. For example, let’s say that you are looking for a dApp like CryptoKitties. No doubt, there could be dozens of similar apps. So, based on multiple data resources, such as blockchain activity, github activity, and even google search history, the ranking algorithm (NR) orders similar apps, and then lists them in a manner that the user can evaluate and select.

Now, can you see why Nebulas is being compared to google?

But, this is only the beginning…. Nebulas Rank is also interwoven into the Developer Incentive Protocol (DIP) and the Proof of Devotion (PoD) Consensus Algorithm. Without Nebulas Rank, these other two elements could not operate as the white paper states.
Based on the current white paper, let’s spotlight some potential negatives about the Nebulas Rank(NR) protocol. However, also keep in mind that these potential issues could be completely eliminated as the project develops (thanks to Nebulas Force – more on this later).

Now the potential negative:

However, while the white paper describes the search engine being centralized, it also says "In current stage..." Thereby indicating that Nebulas developers have a better solution in the long run. Perhaps a sidechain just for searching? The white paper also states that "the complete code for searching backend is available to the community and third-party developers can create their own searching services on this basis." Hopefully, this will keep the ranking honest.
Since the Nebulas blockchain is based on the Nebulas Rank (NR) system, now that we have highlighted the most important aspects of Nebulas Rank (NR), we can dive deeper into specific functions.

Proof of Devotion (PoD) Consensus Algorithm

In the cryptocurrency world, Proof of work (PoW) means mining. While damaging to the environment, few can argue that this is a terrible waste of natural resources. As an alternative, the cryptocurrency world also has Proof of Stake (PoS). Proof of Stake allows token/coin holders to stake (aka hold un-spendable tokens), and to be rewarded with more tokens when they create a new block. For example, if there are 100 people staking and there are 100 new blocks per hour, every stake will, on average, receive one block reward per hour.
While better for the environment, Proof of Stake creates an imbalance where major coin holders (aka whales) are rewarded with even more coins, and this allows "whales" to stake even more coins (this means that there could be a potential to monopolize the system).
Now, Nebulas brings us Proof of Devotion (PoD)[iii]. As far as I know, there is currently nothing like this in blockchain technology (nor ready to be released). Proof of Devotion essentially awards developers who make awesome things (such as dApps) on the Nebulas blockchain.
If you develop an dApp that’s performing well on the Nebulas network, you will have the option to be a validator (aka validate submitted transactions), and, in return, receive token rewards from the blockchain. To be a validator, you will need to stake (deposit) X amount of tokens. Then, multiple validators (per transaction) will have to agree on the result[iv], and, each will be rewarded 1.5x the amount staked.
The generation of new blocks[v] will be carried out by "highly important" accounts that Nebulas Rank (NR) calculates. As stated in the whitepaper, "PoD empowers the selected accounts to have the bookkeeping right with equal probability to participate in new block generation in order to prevent tilted probability that may bring about monopoly".
The bottom line... when it comes to Proof of Devotion, why use Ethereum to create a dApp when you can create the same dApp on Nebulas and make a profit? Needless to say, this is a huge incentive for developers to make dApps on the Nebulas network, and, consequently, it will increase the value of the network. Furthermore, since Nebulas will provide developer tools, it will be easier to create dApps.

Now the potential negative:

  • Although Proof of Devotion gives new developers the potential to profit greatly, it also favors top developers. For example, Gifto[vi] just announced that they will launch on the Nebulas network. At least in the beginning, Gifto will be a powerful contender for other dApp creators.
Because it inspires developers to create awesome dApps, and, at the same time, profit directly from blockchain, I personally love this idea! No longer will dApp creators require insane ICO’s nor will they need some other stream of revenue. However, participating in PoD does not stop developers from benefiting from other income streams. Truly groundbreaking!

Developer Incentive Protocol (DIP)

Not only can Proof of Devotion give incentive to developers, quality developers will also receive extra coins/tokens for their hard work. Based on Nebulas Rank(NR), Nebulas will use an algorithm for reward distribution[vii]. The rewards will be automatically distributed to the smart contract cash-out address every 7 days.
There is really nothing negative to add to this. It’s truly a powerful incentive!

Nebulas Force (NF)

Who needs hard forks? Nebulas Force will allow developers to introduce new features/protocols into the Nebulas blockchain without a fork. The Nebulas white paper calls it "Self-evolving blockchain technology" but I don’t believe this is quite correct. Rather than being self-evolving, it is actually community driven! Because this will build the blockchain community, in my opinion, this is even better!
With other blockchains for example, if a developer has an awesome idea for a dApp but it needs a new protocol that does not exist on any blockchain, the developer would have to centralize the dApp or chuck it altogether.
With Nebulas, new ideas can be developed, and if they provide positive contribution, the Nebulas community (Nebulas token holders) can vote on and approve changes to the network protocol. Once approved, Nebulas developers can add the new protocol into the Nebulas blockchain. Perhaps, further in the development, sub-chains will also support new protocols for full implementation.

Upgradable Smart Contracts

Revolutionary for blockchain, Nebulas Force will include upgradable smart contracts[viii]. Why is this important? Well, due to bugs in smart contracts, investors can lose funds in any blockchain network that uses smart contracts. Once submitted to the blockchain, nothing can be done to fix the bugs, and, as a result, tens of millions of dollars have already been lost.
Nebulas plans to overcome this problem through the implementation of upgradable smart contracts. In a nutshell, token holders will vote on proposed changes (to fix specific bugs), and when the overall vote is affirmative, bugs can be eliminated at any time. By saving investors millions, it will restore lost confidence!

Now the potential negative:

  • The Nebulas protocol is only modifiable by the Nebulas core developers. Although this is not really a negative, I would not call it "self-evolving". If you look at Bitcoin, there is a handful of developers responsible for source code, and, subsequently, the source code for all alt coins that use Bitcoin core in some capacity (such as LTC, BCC, BTG, DOGE, etc…)
  • The protocol updates will be applied via a hard coded signature into the genesis block[ix] and this means that there is a potential for network compromise.
  • Although there are some ethical issues with modifying smart contracts, overall, it is a great idea! Since token holders will have to vote on any changes, there could be an issue with whales (monopoly owners) controlling contracts.
Even with the negatives, this is a powerful feature.

The above includes Nebulas’ most innovative features, and although these features stand out, there is even more to Nebulas:

Anti-cheating algorithms[x]

To ensure fairness, the above protocols contain anti-cheating algorithms that are manipulation resistant, and, if someone is found trying to cheat, there are penalties.

Smart contracts almost anyone can write![xi]

Nebulas will support smart contracts written in Javascript, Python, Java and more! And this means that any coder can create a logical contract!

Full voting protocol[xii]

Since Nebulas includes a full voting protocol in the blockchain, you and I, as token holders, can help decide the direction of Nebulas. As an example, the coin "Decred[xiii]" also has a voting system; giving end-users a voice keeps them engaged.

Domain Name Service[xiv]

Although blockchain users are accustomed to "please send funds to: 0x488B2630CEdB5Bfd5e02c33A3653227170743357", it’s simply not logical. If you miss a letter, change a number, or simply enter an address incompletely, funds are sent into the abyss - forever. To correct this inherent problem, Nebulas will implement the use of "meaningful names." For instance, using a meaningful name, your Nebulas address could be "Rick_Sanchez.me." Users will have the opportunity to bid for requested names, and renew yearly - just like a web based domain name.

Lightning Network[xv]

As many of you probably already know, bitcoin can now use a Lightning Network. This will allow multiple small transactions to be signed without clogging up the blockchain and memory pool. It keeps an open ledger between two entities and can be closed at any time by either party, resulting in one transaction on the network instead of potentially dozens or hundreds.If the Bitcoin network started with the Lightning Network, it would currently be able to handle all transactions per second without any problems. Without the Lightening Network, Bitcoin can only handle 7~ transactions per second (and usually less). With the Lightening Network initially in place, the Nebulas network will be able to handle the required transactions and close the lightning ledgers when requested by users. It would also not cost $20.00++ to send $5.00 nor would it take an hour. I won’t get into the ludicrous prices of Bitcoin transactions fees and how we got here, but if you don’t know much about it, you should learn more. As an important feature of Nebulas, the Lightning Network will provide quick and cheap transactions.

High Strength Encryption

Nebulas uses SHA3-256 encryption. Although you won’t find this in the white paper, SHA3-256 is Highly Quantum Resistant[xvi] - research it yourself. Why is this so important? Well, as an inevitable evolution of quantum computing, previous generations of encryption will be rendered inadequate, and, consequently, susceptible to decryption of private keys. Basically, this means that once quantum computers are developed, you can lose your money in a non-quantum resistant blockchain. Since Quantum Resistance is a very important feature, many new coins (such as the QRL coin[xvii]) are being intentionally created for this purpose.

So, what role does the NAS token play in the network?

Directly from the white paper[xviii]; "The Nebulas network has its own built-in token, NAS. NAS plays two roles in the network. First, as the original money in the network, NAS provides asset liquidity among users, and functions as the incentive token for PoD bookkeepers and DIP. Second, NAS will be charged as the calculation fee for running smart contracts. The minimum unit of NAS is 10−18 NAS." If interested, the white paper goes into detail. If you question the purpose of NAS, simply ask yourself, "What role does ETHER play in the Ethereum network?" As of this writing, ETHER’s current price is $1098.00USD – and that’s not even it’s high. I believe that common sense indicates the potential value of the NAS coin!

Nebulas will have a maximum of 100,000,000 tokens

Many of the top 10 cryptocurrencies will distribute coins/tokens in the tens of billions, and, in fact, Ethereum will have an indefinite amount (albeit, they will taper off in time). However, when there are significantly less coins/tokens, the value of each increases. Treasure each NAS token!

A web-based playground for developer tools[xix]

To help developers create smart contracts easier and faster, Nebulas will offer developer tools. Nebulas will also support multiple IDE’s.
Although the list of features and functions goes on, this should give you an overview of what the Nebulas network can do, how it can evolve blockchain technology, and why it will be a very attractive option for future dApps. Having said all this, please be clear, it is not financial advice.
Also, keep in mind that the above statements are based on my analysis of the white paper (version: 1.0 September, 2017), but this is not to say that the developers don’t have a different perspective. With that being said, Nebulas staff and co-founder, Robin Zhong, actively responds to questions in their Slack channel. This leads us to a review of the Nebulas team.

The Nebulas Team

When looking at a new, and yet to be released, project, it’s not only important to understand the innovation, it’s also important to understand the team behind the innovation. Although not the largest team, the developers are highly educated with real blockchain experience. In fact, many have worked at Google, IBM, Alibaba, Alibaba financial, Airbnb, etc… Additionally, two Nebulas founders previously co-founded the NEO coin (formerly Antshares) which on January 20, 2018 trades at $140.00 (not even its high) per coin/token.
No doubt, the team is influential in past, current and future blockchain innovation. In fact, playing a huge part in bringing blockchain to China, Hitters Xu created Bitsclub, and many other team members started blockchain communities. If you have not yet learned about the team, I strongly suggest you do. Check out their LinkedIn pages and also look at the developers Githubs.

Full disclosure:

As a fellow investor and fan of blockchain technology, I got into the crypto world in 2012. Since then, I have mined, traded, and even created an arbitrary trading system. My portfolio includes dozens of different types of tokens/coins. My focus is on innovation rather than "rinse and repeat."
I first learned about Nebulas in the beginning of January 2018. After reading the technical white paper multiple times and fully understanding Nebulas (what it is and what it’s not), I confidentially purchased NAS (ERC-20) tokens.
As with any great blockchain, Nebulas will not be the last, but it is a crucial step to the next generation of blockchain innovation! Without doubt, I see the true potential of blockchain technology, and, if you ask me, Nebulas is an amazing short, medium and long term project, and I’m excited about the future!
To quote a Nebulas founder, "Ask not what blockchain can do for you, ask what you can do for blockchain..." - Hitters Xu

Quick Update (January 31, 2018)

For full transparency, I wanted to add that I have been asked by the Nebulas Team Reddit manager if I would be willing to be a moderator of the Nebulas subreddit. I told them that I would happy to continue helping the community and accepted. There is no extra benefit to me and does not change my opinion about Nebulas. I look forward to continuing helping the community!

References

i: Pg 41 – 6.2
ii: Pg 24 – Last bullet point
iii: Pg 34 - 5.3.1
iv: Pg 35 – 3.3.3
v: Pg 34 – 5.3.1
vi: Visit https://gifto.io/ for more info – Watch the video for an example of what Nebulas will do.
vii: Pg30 – 4.2
viii: Pg 27 – 3.3.2
ix: Pg 26 – Paragraph2
x: Many locations – There are many parts of the white paper that talk about anti-cheating in different capacities.
xi: Pg 26 – 3.3.1
xii: Many locations – There are many parts of the white paper that talk about voting in different capacities.
xiii: Visit https://decred.org/ for more information. For full disclosure, I do own DCR and stake them.
xiv: Pg 45 – 7.1
xv: Pg 45 – 7.2
xvi: Visit https://www.theregister.co.uk/2016/10/18/sha3256_good_for_beelions_of_years_say_boffins/ for more information.
xvii: Visit https://www.theqrl.org for more information. And yes, for full disclosure, I like this project as well, and have invested post ICO.
xviii: Pg 47 - 8
xix: Pg 46 – 7.3
submitted by satoshibytes to nebulas [link] [comments]


2017.06.25 18:21 Bear-Tamer Student Developer - I'm now leading the dev I displaced. He's refusing to get on board a new tech stack. Advice?

My university hired me as a full-stack developer 2 months ago - part time during the academic year and full time over the summer. I'm the service owner for a financial webapp that handles a large amount of public technology related budget proposals - we use this website to allocate 5 million dollars in funding annually.
Our existing website uses HTML templates, some spaghetti SQL, and raw javascript. We have read-only page controllers that are nearly 900 lines long. The idea behind this stack was to be as simple and unopinionated as possible, but over time that hasn't been the case. We now have no way to trace state mutations and bugs, and most of the codebase is unprofessional and unreadable.
I'm rebuilding (the euphemism I'm using is "refreshing") the website to be a react-redux based website backed by a RESTful Express API. I'm trying to incorporate things like unit testing, time-travel debugging and modularity while trying to keep our codebase as simple as possible, since redux can get out of control. Some of my design decisions have also been made so that it would be possible to hire new student talent when I graduate in 2 years (e.g. using MongoDB).
The old developer just graduated and now reports to me, instead of HR. He's been vehemently opposed to my project for a while now, but his tune has changed post-graduation as he didn't have a position lined up. However, he adamantly refuses to work with our existing DB. He brings up valid concerns, but is so hardheaded that ever time I explain parts of our new website, he'll jump to conclusions and criticize the decisions before understanding the problems being solved. I think one of the root causes may be his fixation on efficient code, he always advocates efficient code over clean code, although that's not necessarily what he creates. I'm trying to get him to understand that striking a balance is the best use of a developer as an organizational resource.
He's never used React or looked into flux architecture before, which can be a bit hard to wrap your head around initially. Here's what one of my data-backed components looks like. I'd expect him to take at least 2 months to spin up, and by that time the v1 of the new webapp will be done. So, the question I have is - what do I do with this guy? Here are some of the options I've thought through:
Additionally, I'm curious as to how this sort of experience will be useful after I gradaute. Would I be a better candidate as someone who's built and maintained financial systems solo, or a "lead" with a disgruntled junior?
TL;DR The old web developer now reports to me, refuses to work with our DB, prickly when I talk about any of the new stack and design decisions. Trying to find out what's best for us.
EDIT: The new website is open source and I'd be glad to share the codebase with anyone who PM's. It's a Node-React-Redux app backed by a RESTful api. One of my long term strategies is to make the codebase, branded components and stuff a university-writing resource, and to make the Read operations of the API public to increase community engagement.
submitted by Bear-Tamer to cscareerquestions [link] [comments]


Former JAG Officer Richard Black Warns of a Potential ... Javascript kursus / tutorials for begyndere #15 Validering af HTML formular The Future Of JavaScript Frameworks OnlineCoding - YouTube html-5 Andra fel i HTML-kod YouTube

Validering af HTML formular/form med JavaScript

  1. Former JAG Officer Richard Black Warns of a Potential ...
  2. Javascript kursus / tutorials for begyndere #15 Validering af HTML formular
  3. The Future Of JavaScript Frameworks
  4. OnlineCoding - YouTube
  5. html-5 Andra fel i HTML-kod
  6. YouTube
  7. Excel Custom Data Validation (Use formulas to check for ...
  8. John Turner, former prime minister, dead at 91 - YouTube
  9. The Bizarre Behavior of Rotating Bodies, Explained - YouTube
  10. Apprendre JavaScript - du Zéro au Héros en 3 Jours - YouTube

Check the Excel Essentials Course: https://courses.xelplus.com/p/learn-excel-essentials Excel's data validation feature allows you to build in validation che... Try watching this video on www.youtube.com, or enable JavaScript if it is disabled in your browser. Try watching this video on www.youtube.com, or enable JavaScript if it is disabled in your browser. In this video, Addy Osmani, Andrew Clark, Jason Miller, Steve Orvell, Rob Wormald, Tracy Lee, Chad Hietala, Sean Larkin, Malte Ubl, and Alex Russell form a panel on Frameworks, discuss hot topics ... Ce cours pour apprendre Javascript est classé le 1er dans le marché français avec plus de 8390 étudiants sur Udemy. Actuellement, on fait une promotion de fo... Javascript kursus / tutorials for begyndere #15 Validering af HTML formular NemProgrammering. Loading... Unsubscribe from NemProgrammering? ... JavaScript Tutorial: ... Spinning objects have strange instabilities known as The Dzhanibekov Effect or Tennis Racket Theorem - this video offers an intuitive explanation. Part of th... Enjoy the videos and music you love, upload original content, and share it all with friends, family, and the world on YouTube. Her vil du kunne finde videoer, som lærer dig forskellige markup og programmeringssprog som fx HTML, CSS, JavaScript, PHP osv. I fremtiden kan det være at ka... Föreläsning i kursen 1ME321 Webbteknik 1, vid Linnéuniversitetet.