text
stringlengths
301
426
source
stringclasses
3 values
__index_level_0__
int64
0
404k
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. bicycle. We’ve simply broken down this common thought process into science, will, and engineering, terming it logical design thinking. The significant issue is that this basic thinking is not functioning in society, and yet there’s a lack of effort to address this. Pursuit of Societal Thinking This
medium
1,653
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. leads to two new areas of discussion necessary for studying societal thought: 1. The lack of responsibility towards societal risks: Beyond AI, there’s a visible lack of accountability for societal risks. Who should seriously and responsibly consider these risks? In a democracy, while ultimately
medium
1,654
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. everyone bears responsibility, someone needs to initiate and organize the discussion. For new or undefined issues, there’s currently no clear responsibility in society. 2. Methods to pursue responsibility: How should we handle factors causing rapid societal change? Traditional debates and
medium
1,655
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. decision-making may not keep up. There might be insufficient scientific evidence or time for democratic deliberation. Using this as an excuse for inaction doesn’t fulfill our responsibility. Even under time and resource constraints, we must find a way to pursue rational and responsible inquiry for
medium
1,656
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. humanity and society. This means we need to think about how we think, akin to logical design thinking. Conclusion To address contemporary societal problems, it’s crucial not just to explore the difficulty of these issues but also to enable appropriate societal thinking. If societal thinking isn’t
medium
1,657
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. effectively utilized, we risk lacking the capacity to understand and find solutions for complex social issues. Even if solutions are found, without societal thinking, reaching a consensus and implementing these solutions becomes challenging. This article delved into personal and societal thinking
medium
1,658
Logical Thinking, Design Thinking, Systems Thinking, Social Problems, Problem Solving. through the lens of logical design thinking. It became evident that the nature of responsibility is crucial, both individually and socially. While individual responsibility is a matter of personal conscience, in society, responsibility is distributed among many. Exploring this distributed nature of
medium
1,659
Internet of Things, Internet, Connection, Smart, World. The Internet of Things (IoT) is a term that has become increasingly prevalent in discussions about technology and connectivity. Image by Freepik It refers to the network of physical devices, vehicles, home appliances, and other objects embedded with sensors, software, and connectivity, enabling
medium
1,661
Internet of Things, Internet, Connection, Smart, World. them to collect and exchange data. In this article, we will explore the concept of IoT and its role in creating a smarter and more interconnected world. The Internet of Things encompasses a vast ecosystem of interconnected devices that communicate with each other over the internet. These devices
medium
1,662
Internet of Things, Internet, Connection, Smart, World. can range from simple sensors and actuators to complex systems like smart home devices, industrial machinery, and even wearable gadgets. One of the key features of IoT is its ability to gather data from the environment and provide real-time insights. For example, IoT sensors installed in
medium
1,663
Internet of Things, Internet, Connection, Smart, World. agricultural fields can monitor soil moisture levels, temperature, and crop health, helping farmers make informed decisions about irrigation and crop management. Similarly, IoT-enabled smart meters in homes can track energy consumption patterns, enabling residents to optimize their energy usage and
medium
1,664
Internet of Things, Internet, Connection, Smart, World. reduce costs. IoT is also revolutionizing the healthcare industry by enabling remote patient monitoring, personalized medicine, and efficient healthcare delivery. Wearable devices like fitness trackers and smartwatches can collect vital health data, allowing healthcare providers to monitor
medium
1,665
Internet of Things, Internet, Connection, Smart, World. patients’ health status remotely and intervene promptly if necessary. Moreover, IoT is transforming cities into smart cities by integrating various systems and infrastructure components. Smart traffic management systems use IoT sensors and data analytics to optimize traffic flow, reduce congestion,
medium
1,666
Internet of Things, Internet, Connection, Smart, World. and improve road safety. Smart lighting systems adjust brightness based on natural light levels and occupancy, leading to energy savings and enhanced urban environments. In the retail sector, IoT plays a crucial role in creating personalized shopping experiences and improving supply chain
medium
1,667
Internet of Things, Internet, Connection, Smart, World. management. RFID tags and sensors track inventory levels in real-time, ensuring efficient stock management and reducing out-of-stock situations. IoT-powered beacons in stores can deliver personalized promotions and recommendations to shoppers based on their preferences and location. In the Final
medium
1,668
Internet of Things, Internet, Connection, Smart, World. Analysis The Internet of Things is not just about connecting devices; it’s about leveraging data and connectivity to drive innovation, improve efficiency, and enhance quality of life. As IoT continues to evolve, we can expect to see even more advanced applications and use cases that will shape the
medium
1,669
Internet of Things, Internet, Connection, Smart, World. future of technology and society. Understanding the potential of IoT and its impact on various industries is essential for businesses, policymakers, and individuals alike. By embracing IoT technologies responsibly and innovatively, we can unlock new opportunities and create a smarter, more
medium
1,670
Internet of Things, Internet, Connection, Smart, World. connected world for generations to come. Want the latest articles delivered straight to your inbox? Subscribe now and never miss out! Solo Travel: Discovering Myself While Exploring the World A Journey into the Heart of Self-Discovery and Adventure Unfolds as One Ventures Alone into the
medium
1,671
Internet of Things, Internet, Connection, Smart, World. Unknownmedium.com Learning Languages: My Journey to Becoming a Polyglot The Challenges, Joys, and Unexpected Adventures of Embracing New Languages and Cultures on the Road to Masterymedium.com The Magic of Starting Your Day with Poetry Poetrymedium.com
medium
1,672
React Hook, Hooks, React. In this article, we’re going to learn about the Hooks available in react that enables users to create state variables without classes. There are multiple Hooks available in React, we will discuss each hooks here. Introduction React Hooks is the latest addition to React in Version 16.8.0 React Hooks
medium
1,673
React Hook, Hooks, React. are functions that let us to use React state and life cycle features from functional components. By using react hooks, we can easily manipulate the state of our functional component without needing to convert them into class components. Hooks don’t work inside class component Why to use hooks?
medium
1,674
React Hook, Hooks, React. Since we are not using class in hooks,we get rid from follwing two problems. Reason 1: a.Understand how ‘this’ keywords works in javascripts b.Remember to bind event handler in class component c.Classess don’t minify very well and make hot reloading unreliable Reason 2: a.There is no particular
medium
1,675
React Hook, Hooks, React. logic to reuse stateful component logic in class component but hooks allowing us to reuse stateful logic without changing component hierarchy Types of hooks available in react 1.useState() 2.useEffect() 3.useContext() 4.useReducer() 5.useCallback() 6.useMemo() 7.useRef() useState() Hook:The
medium
1,676
React Hook, Hooks, React. useState() is also known as state hooks that allow us using states within functional component.The useState() hooks helps to store the current value entered in the input and provides us with a method to update the state //Example1 import React, { useState } from ‘react’; const MyComponent = () => {
medium
1,677
React Hook, Hooks, React. const [value, setValue] = useState(‘’); return <input value={value} onChange={e => setValue(e.target.value)} />; }; export default MyComponent; NOTE:useState() function uses initial value,current value and updating value const [currentValue,UpdatingValue]=useState(initialValue)//array destructuring
medium
1,678
React Hook, Hooks, React. //Example2.useState() with previousState useState with previous state import React,{useState} from ‘react’ function HooksCounter() { const initialCount=0 const [count,setCount]=useState(initialCount) const incrementByFive=()=> { for(let i=0;i<5;i++) { setCount(prevCount=>prevCount+1) } } return (
medium
1,679
React Hook, Hooks, React. <div> Count:{count} <button onClick={()=>setCount(initialCount)}>Reset</button> <button onClick={()=>setCount(prevValue=>prevValue+1)}>Increase</button> <button onClick={()=>setCount(prevValue=>prevValue-1)}>Descrease</button> <button onClick={incrementByFive}>IncreaseFive</button> </div> ) }
medium
1,680
React Hook, Hooks, React. export default HooksCounter Example3: useState() as Object import React, { useState } from ‘react’ function HooksCounter() { const [name, setName] = useState({ firstName: ‘’, lastName: ‘’ }) return ( <div> <form> <input type=”text” value={name.firstName} onChange={e => setName({…name,firstName :
medium
1,681
React Hook, Hooks, React. e.target.value })} /> <input type=”text” value={name.lastName} onChange={e => setName({…name, lastName: e.target.value })} /> <h2>Your First Name is-: {name.firstName}</h2> <h2>Your Last Name is-: {name.lastName}</h2> </form> </div> ) } export default HooksCounter NOTE:useState doesnot
medium
1,682
React Hook, Hooks, React. automatically merge and update the object..so we use …name above e => setName({…name,firstName : e.target.value: …name means copy every property from name object and overide firtsname field with different value //Example4: useState() as Array import React, { useState } from ‘react’ function
medium
1,683
React Hook, Hooks, React. UseStateArray() { const [items, setItems] = useState([]) const addItem=()=>{ //since states doesn;t automatically merge and update the value so we use … spread operator //this means we make a copy of all the items in array using (…) spread operator and append another object setItems([…items,{
medium
1,684
React Hook, Hooks, React. id:items.length, value:Math.floor(Math.random()*10)+1 }]) } return ( <div> <button onClick={addItem}>Add Item</button> <ul> {items.map(item => ( <li key={item.id}>{item.value}</li> ) )} </ul> </div> ) } export default UseStateArray 2.useEffect() Hook:The Effect hooks let you perform side effects in
medium
1,685
React Hook, Hooks, React. functional components e.g., ApiFetching, Subscriptions or Events.It is a close replacement for componentDidMount,componentDidUpdate and componentWillUnmount lifecycle.The above 3 lifecycle method can be handle using useEffect().useEffect() run after every render of component useEffect(()=>{}) takes
medium
1,686
React Hook, Hooks, React. function as a parameter //Example1:useEffect() for fetching data import React, { useState, useEffect } from ‘react’ import axios from ‘axios’ function DataFetching() { const [posts, setPosts] = useState([]) useEffect(() => { axios.get(‘https://jsonplaceholder.typicode.com/posts') .then(res => {
medium
1,687
React Hook, Hooks, React. console.log(res) setPosts(res.data) }) .catch(error => { console.log(error) }) .finally(() => { console.log(‘always executed’) }) }, [])//passing empty array here cause component did mount only once return ( <div> { posts.map(post => ( <li key={post.id}>ID:{post.id}-:{post.title}</li> )) } </div> )
medium
1,688
React Hook, Hooks, React. } export default DataFetching //Example2.useEffect() fetching individual post by passing id import React, { useState, useEffect } from ‘react’ import axios from ‘axios’ function DataFetching() { const [post, setPost] = useState({}) const [id, setId] = useState(1) useEffect(() => {
medium
1,689
React Hook, Hooks, React. axios.get(`https://jsonplaceholder.typicode.com/posts/${id}`) .then(res => { console.log(res) setPost(res.data) }) .catch(error => { console.log(error) }) .finally(() => { console.log(‘always executed’) }) }, [id])//componentDidMount called when id changes in input filed .i.e useEffect() will
medium
1,690
React Hook, Hooks, React. rerender when the “id” changes return ( <div> <input typ=”text” value={id} onChange={(e) => setId(e.target.value)} /> <h3>ID:{post.id}=>Title:{post.title}</h3> </div> ) } export default DataFetching 3.useContext() Hook:Context hooks is required to pass data from component to another nested child
medium
1,691
React Hook, Hooks, React. component without using props -:context provides a way to pass data through the component tree without having to pass props down manually at every level.Context API is basically your center store where you can store your data that you want to access globally in your react application. -:suppose we
medium
1,692
React Hook, Hooks, React. have 4 component..AppComponent,ComponentC,componentD and componentE -:we want to pass props {username} of AppComponent to ComponentE without passing props then we use context there are 3 steps for context 1.create a context const UserContext=React.createContext(); 2.we need to provide the above
medium
1,693
React Hook, Hooks, React. context with a value..and provider must wrap the children component <UserContext.Provider value=”username here”> <ComponentC /> </UserContext.Provider> //in App.js import React from ‘react’; import ComponentC from ‘./components/ComponentC’; //context api concept export const UserContext =
medium
1,694
React Hook, Hooks, React. React.createContext(); export const ChannelContext = React.createContext(); function App() { return ( <div className=”App”> <UserContext.Provider value={‘bikash’}> <ChannelContext.Provider value={“bhandari”}> <ComponentC /> </ChannelContext.Provider> </UserContext.Provider> </div> ); } in
medium
1,695
React Hook, Hooks, React. ComponentC.js import React from ‘react’ import ComponentD from ‘./ComponentD’ function ComponentC() { return ( <div> <ComponentD/> </div> ) } export default ComponentC in ComponentD.js import React from ‘react’ import ComponentE from ‘./ComponentE’ function ComponentD() { return ( <div>
medium
1,696
React Hook, Hooks, React. <ComponentE/> </div> ) } export default ComponentD in CompinentE.js import React from ‘react’ import {UserContext} from ‘./../App’ function ComponentE() { return ( <div> <UserContext.Consumer> { user=>{ return <div>Username is {user}</div> } } </UserContext.Consumer> </div> ) } export default
medium
1,697
React Hook, Hooks, React. ComponentE export default App; NOTE:the above method of using context is not good so we use context hooks in using context hooks.the creating and providing value step is same as above…ie step 1 and 2 only consuming at child component is different..ie. in componentE.js in ComponentE.js import
medium
1,698
React Hook, Hooks, React. React,{useContext} from ‘react’ import {UserContext,ChannelContext} from ‘./../App’ function ComponentE() { const user=useContext(UserContext)//it return the value of UserContext const channel=useContext(ChannelContext) return ( <div> <h2>The usename is {user} and channel is {channel}</h2> </div> )
medium
1,699
React Hook, Hooks, React. } export default ComponentE 4.useReducer() Hook: useReducer() is a Hook use for state management.It is an alternative to useState(). It is related to reducers in javascript check here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/reduce What’s the
medium
1,700
React Hook, Hooks, React. difference? ->useState() is built using useReducer() When to use useReducer VS useState useState(): ->if you want to manage premitive type like integer,string,boolean then useState() is better option ->if you are updating one or two varaibles then useState() is better ->useState() has simple
medium
1,701
React Hook, Hooks, React. newState=reducer(currentState,action) reducer returns pair of values as [newState,dispatch] Example: import React, { useReducer } from ‘react’ const initialState = 0; const reducer = (state, action) => { switch (action) { case ‘increment’: return state + 1; case ‘decrement’: return state — 1; case
medium
1,703
React Hook, Hooks, React. ‘reset’: return initialState; default: return state; } } function Reducer() { const [count, dispatch] = useReducer(reducer, initialState); //useRedcure return pair of value [count,dispatch] //dispatch method allow us to execute the code corresponding to perticular action return ( <div>
medium
1,704
React Hook, Hooks, React. Count-:{count}<br/> {/* we have 3 action here */} <button onClick={()=>dispatch(‘increment’)}>Increment</button> <button onClick={()=>dispatch(‘decrement’)}>Decrement</button> <button onClick={()=>dispatch(‘reset’)}>Reset</button> </div> ) } export default Reducer 5.useCallback() & useMemo(): Both
medium
1,705
React Hook, Hooks, React. hook that will return memoized version of callback function that only changes if one of the dependencies has changed. Why useCallback? It is useful when passing callbacks to optimized child components that rely on reference equality to prevent unnecessary renders Example: import React, { useState,
medium
1,706
React Hook, Hooks, React. setOtherCounter(otherCounter + 1) } return ( <> Count: {count} <button onClick={increment}>+</button> <button onClick={decrement}>-</button> <button onClick={incrementOtherCounter}>incrementOtherCounter</button> </> ) } in above,the problem here is that any time the counter is updated, all the 3
medium
1,708
React Hook, Hooks, React. functions are re-rendered again. to solve this kind of problems we use useCallback() import React, { useState, useCallback } from ‘react’ const Counter = () => { const [count, setCount] = useState(0) const [otherCounter, setOtherCounter] = useState(0) const increment = useCallback(() => {
medium
1,709
React Hook, Hooks, React. setCount(count + 1) }, [count]) const decrement = useCallback(() => { setCount(count — 1) }, [count]) const incrementOtherCounter = useCallback(() => { setOtherCounter(otherCounter + 1) }, [otherCounter]) return ( <> Count: {count} <button onClick={increment}>+</button> <button
medium
1,710
React Hook, Hooks, React. onClick={decrement}>-</button> <button onClick={incrementOtherCounter}>incrementOtherCounter</button> </> ) } Now if you try to click one of the counters, only the functions related to the state that changes are going to be re-rendered. useMemo():Memoization is basically an optimization technique
medium
1,711
React Hook, Hooks, React. which passes a complex function to be memoized or remembered. In React, memoization using useMemo hook optimizes our components, avoiding complex re-rendering when it isn’t changed. memoizedValue = useMemo(() => computeExpensiveValue(value1, value2), [value1, value2]); const ItemList = useMemo( ()
medium
1,712
React Hook, Hooks, React. => listOfItems.map(item => ({ …item, itemProp1: expensiveFunction(props.first), itemProp2: anotherPriceyFunction(props.second) })), [listOfItems] ) Conclusion: Thus from this articles we learned about different types of react hooks and found that useState() is associated with state,useEffect() is
medium
1,713
React Hook, Hooks, React. associated with side effects,useContext() is associated with context API, useReducer() is associated with reducer function of java script and useMemo() is for memoization. For better optimization of react app ,useCallback() and useMemo() hooks are better to use based on different scenario
medium
1,714
Science, Physics, Standards, Measurement, Quantum Physics. K20 and Friends: Four of the five U.S. national prototype kilogram artifacts, including K20 (front) and K4 (back). Credit: J. Lee/NIST Jon Pratt, Chief, Quantum Measurements Division It was Monday, April 25, 2016, and I was going to meet mass experts Pat Abbott and Eddie Mulhern of NIST’s Mass and
medium
1,715
Science, Physics, Standards, Measurement, Quantum Physics. Force group as part of my frantic preparations for a 5:21 p.m. flight to Paris. Pat and Eddie were the appointed custodians of the four 1 kilogram masses that I was to transport to the Bureau International des Poids et Mesures (BIPM) (that’s French for “International Bureau of Weights and
medium
1,716
Science, Physics, Standards, Measurement, Quantum Physics. Measures”) as part of the world’s first comparison among masses calibrated entirely in terms of fundamental constants of the universe. That’s right. These kilograms were calibrated in terms of fundamental constants of the universe and not in terms of some piece of metal enshrined in a vault on the
medium
1,717
Science, Physics, Standards, Measurement, Quantum Physics. outskirts of Paris. FUNDAMENTAL CONSTANTS OF THE UNIVERSE! Cool beans, huh? The tyranny of the physical kilogram will soon be at an end. © Robert Rathe I’m a nervous traveler, so the prospect of carrying four 1 kilogram hunks of valuable metal, one of which is made of an ominous and vaguely
medium
1,718
Science, Physics, Standards, Measurement, Quantum Physics. radioactive-sounding material called “platinum iridium,” through U.S. airport security had me a little flustered, especially given recent events in Europe. Nevertheless, ferrying these particular masses to Paris for this particular event, the first international pilot study of the redefined
medium
1,719
Science, Physics, Standards, Measurement, Quantum Physics. kilogram (PDF), was something I was keen to do. For those who are unfamiliar with all the excitement surrounding the new kilogram, my colleagues at NIST are part of a grand international effort poised to finally change the way mass is measured and pull measurement science out of the 18th century
medium
1,720
Science, Physics, Standards, Measurement, Quantum Physics. and into the world of quantum-based standards. The new definition starts with an extremely precise agreed value for a quantum-mechanical quantity called Planck’s constant (represented by a lower-case h) and includes incredibly precise measurements of electrical and mechanical properties that
medium
1,721
Science, Physics, Standards, Measurement, Quantum Physics. together produce an equivalent to the mass of the International Prototype Kilogram (IPK). I grant you that the steam-punk contraption we use to measure mass in terms of these quantum invariants — a watt balance — is A LOT more complicated than simply comparing one hunk of metal to another hunk of
medium
1,722
Science, Physics, Standards, Measurement, Quantum Physics. metal in a time-honored tradition that goes back to the pharaohs of Egypt. It is mind boggling how precisely the Egyptians could compare masses, by the way. A lever and fulcrum is hard to beat! But this system of mass measurement is all predicated on having something to compare the masses to. An
medium
1,723
Science, Physics, Standards, Measurement, Quantum Physics. object to leverage. A reference. And the reference needs to be absolutely constant. And universally accessible. Hmmm … how does that play for the IPK? (Hint: Not well.) It’s amazing what some dramatic lighting can do. The NIST-4 looks like it belongs on the Starship Enterprise. Too bad it’s
medium
1,724
Science, Physics, Standards, Measurement, Quantum Physics. actually impossible to work under these conditions. Credit: J. Lee/NIST In terms of the fundamental science, I am finally far more comfortable saying that the Planck constant is, well, constant, than I am saying that a hunk of metal is an invariant of the universe. The IPK has proved to be an
medium
1,725
Science, Physics, Standards, Measurement, Quantum Physics. amazingly precise hunk of metal, and for over a century it has served humanity astonishingly well as a worldwide standard of mass. However, it is time for a change because we know that the IPK changes, or at least the masses that are linked to it do, and it obviously isn’t universally accessible.
medium
1,726
Science, Physics, Standards, Measurement, Quantum Physics. If it were, I wouldn’t be lugging four kilos of extra mass onto a plane to Paris … On the approach to the BIPM. It was a little grey that day outside the city of light. Credit: J. Pratt So there I was outside the underground vault where Pat and Eddie had carefully packaged the valuable hunks of
medium
1,727
Science, Physics, Standards, Measurement, Quantum Physics. metal in a nondescript camera bag that would be at my side for the duration of the 7-hour trip from D.C. to Sevres, France, the Paris suburb where the BIPM sits on its own small patch of international ground in the beautiful Parc de Saint-Cloud. I hoisted the bag over my shoulder, bade Pat and
medium
1,728
Science, Physics, Standards, Measurement, Quantum Physics. Eddie adieu, and headed for the airport. Me and the whole watt-balance gang. From the back and from left to right: Stephan Schlamminger, Frank Seifert, David Newell, yours truly, Darine Haddad, Shisong Li, Leon Chao. Credit: J. Lee/NIST The weight of four kilograms was nothing compared to the
medium
1,729
Science, Physics, Standards, Measurement, Quantum Physics. weight of responsibility, and frankly, anxiety I was carrying. Two of the kilograms were weighed directly on the new NIST-4 watt balance, and the other two were examples of how such masses could be subsequently used to calibrate the rest of the U.S. mass system. Reflecting on the events that had
medium
1,730
Science, Physics, Standards, Measurement, Quantum Physics. brought me there, it was astounding to me that NIST-4 didn’t even exist four short years ago. I thought of the Herculean effort we made to take that instrument from concept to completion in such a short time, and I nervously mulled over the consequences for the redefinition of the kilogram if we
medium
1,731
Science, Physics, Standards, Measurement, Quantum Physics. had missed something in the feverish run up to this moment. But there was nothing I could do about that now, so I tried to focus on the mechanics of getting through the airport and what movies might be showing during the flight. As luck would have it, the trip was easy. The customs officer was
medium
1,732
Science, Physics, Standards, Measurement, Quantum Physics. amused to see an official U.S. kilogram, and he called all of his colleagues over to gawk at the container and the pictures of its contents. They sent me off with tips on how to interact with the TSA screeners, which proved unnecessary because I had been randomly assigned to TSA prescreened status.
medium
1,733
Science, Physics, Standards, Measurement, Quantum Physics. So, despite how eager I was to share the letters stating the importance of NOT searching and opening my precious cargo for inspection, no one at the gate was interested in even unzipping the camera bag. The one time I wanted to be searched I was instead quickly and efficiently shuffled along to the
medium
1,734
Science, Physics, Standards, Measurement, Quantum Physics. plane. Seven hours later, and another hour and a half spent in a taxi navigating morning traffic during a transit strike, I arrived at my destination and stepped out to a dreary, unseasonably cold morning on the outskirts of Paris. I punched the code at the gate to the grounds and trudged up the
medium
1,735
Science, Physics, Standards, Measurement, Quantum Physics. narrow gravel path, climbing the hill to the top where the cluster of buildings housing the BIPM overlook the Seine. I was greeted at the reception area by Michael Stock, director of the Mass Department. We exchanged pleasantries, walked to his office, set my bag on his desk, and he signed a
medium
1,736
Science, Physics, Standards, Measurement, Quantum Physics. receipt describing the masses and that they had been taken into custody by the BIPM. And that was it. No fireworks. No brass band. Michael told me the Canadian mass had arrived only the day before in a diplomatic pouch carried as part of the Canadian ambassador to France’s correspondence between
medium
1,737
Science, Physics, Standards, Measurement, Quantum Physics. Ottawa and Paris. Masses from the Physikalisch-Technische Bundesanstalt (aka PTB, the national metrology institute of Germany), the National Institute of Advanced Industrial Science and Technology (aka, AIST, the national metrology institute of Japan), and the Laboratoire national de métrologie et
medium
1,738
Science, Physics, Standards, Measurement, Quantum Physics. d’essais (aka, LNE, the national metrology institute of, you guessed it, France) had already been delivered and whisked away to the BIPM’s mass laboratory to be prepared for the actual comparison weighing that will determine if the world can finally realize and calibrate masses without using a
medium
1,739
Science, Physics, Standards, Measurement, Quantum Physics. physical mass standard. If all goes well, the redefinition will occur in 2018. We won’t learn the final results until July. Now that I’m safely back in Gaithersburg, Md., I can’t say that I am free of the entire weight surrounding the future of the redefinition, but I know I’m at least four
medium
1,740
Science, Physics, Standards, Measurement, Quantum Physics. kilograms lighter, and that’s a good start. If you don’t want to wait until 2018 to start measuring mass in terms of electrical and mechanical properties, you can, with a little bit of patience, some soldering, and about $400, build your own watt balance out of LEGOs. Check it out! (Warning: Silly
medium
1,741
Science, Physics, Standards, Measurement, Quantum Physics. science content ahead.) Cool beans, huh? This post originally appeared on Taking Measure, the official blog of the National Institute of Standards and Technology (NIST). About the Author Jon R. Pratt is the chief of the Quantum Measurements Division, home to both the Mass and Force and Fundamental
medium
1,742
Science, Physics, Standards, Measurement, Quantum Physics. Electrical Measurements groups that are working to redefine the kilogram. When Jon isn’t managing the affairs of the division, he enjoys playing guitar and writing the occasional song. He provided the soundtrack to the Do-It-Yourself Watt Balance video.
medium
1,743
Scala, Learn Scala, Apache Spark. Jumping into the tech pool can be daunting. Especially if you are new to the programming world, with so many coding languages, it can be hard to choose the right one and start your professional journey. When searching for the best and most popular programming languages, one often sees the name
medium
1,744
Scala, Learn Scala, Apache Spark. “Scala” and wonders what this language does. Programmers often opt for Python and JavaScript for coding. However, Scala is quickly gaining popularity. During our research on the top languages for 2024, we noticed Scala appearing frequently in the discussions. Top tech companies like Netflix,
medium
1,745
Scala, Learn Scala, Apache Spark. Twitter, SoundCloud, and Airbnb use Scala as their programming language. The wide usage of Scala programming shows potential in learning the Scala language. This article discusses learning the Scala programming language and shares the best resources for learning It. Let’s get started. What is Scala
medium
1,746
Scala, Learn Scala, Apache Spark. programming? The name Scala is derived from scalability. Scala is a high-level programming language that combines object-oriented and functional programming paradigms. It was designed to be concise, scalable, and type-safe. Scala is popular in various domains, including web development, data
medium
1,747
Scala, Learn Scala, Apache Spark. science, and distributed systems, due to its expressive syntax and strong type system. It is often used in big data frameworks like Apache Spark. Here are some key features of the Scala language: Scalability: As the name suggests, Scala is designed to be scalable. It can be used for small scripts
medium
1,748
Scala, Learn Scala, Apache Spark. as well as large-scale applications. Object-oriented and functional: Scala is suitable for both object-oriented and functional programming. This means we can use classes, objects, inheritance, functions as first-class citizens, immutability, and higher-order functions. Concurrency support: Scala
medium
1,749
Scala, Learn Scala, Apache Spark. supports concurrent programming through libraries like Akka, based on the Actor Model. This makes it easier to write highly scalable and concurrent applications. Benefits of learning Scala Scala is a widely used programming language that can be a good fit for programmers who want to upgrade their
medium
1,750
Scala, Learn Scala, Apache Spark. skills. If you’re skeptical about learning Scala, here are a few benefits explaining why it can benefit your career. Easy syntax Scala syntax is designed to be concise, reducing boilerplate code. Once you get used to it, this can make code easier to read and write. Developers can write and read
medium
1,751
Scala, Learn Scala, Apache Spark. blocks of code in Scala very easily. In short, Scala syntax can be easy and enjoyable for many developers, especially those with prior programming experience. Interoperability with Java Scala runs on the Java Virtual Machine (JVM) and is fully interoperable with Java. This means you can use Java
medium
1,752
Scala, Learn Scala, Apache Spark. libraries and frameworks directly in Scala, and Scala code can be called from Java. Powerful type interference Scala has a powerful type inference system, which reduces the need for explicit type annotations, making the code more concise and readable. By default, Scala encourages immutability,
medium
1,753
Scala, Learn Scala, Apache Spark. which means that once a value is assigned to a variable, it cannot be changed. This leads to safer and more predictable code. Suitable for beginners While prior coding experience is better than no coding experience in learning Scala, Scala is suitable for beginner coders. Scala is in demand as
medium
1,754
Scala, Learn Scala, Apache Spark. well, and its powerful library includes many utilities that can simplify programming tasks, making it easier for beginners to achieve their goals without extensive coding. Scala uses Scala is a versatile language used in various domains due to its powerful features and ability to combine
medium
1,755