From January 2015, she started to practice leetcode questions; she trains herself to stay focus, develops "muscle" memory when she practices those questions one by one.
2015年初, Julia开始参与做Leetcode, 开通自己第一个博客. 刷Leet code的题目, 她看了很多的代码, 每个人那学一点, 也开通Github, 发表自己的代码, 尝试写自己的一些体会.
She learns from her favorite sports – tennis, 10,000 serves practice builds up good memory for a great serve. Just keep going.
Hard work beats talent when talent fails to work hard.
Company’s new feature hopes to challenge Google’s search engine
Microsoft is reportedly in the works to launch a version of its search engine Bing using the artificial intelligence behind ChatGPT, launched by OpenAI.
The Information reported the news on Tuesday, citing two people with direct knowledge of the plans.
Microsoft could launch the new feature before the end of March, in the hopes of challenging Google’s search engine, the Information reported.
Microsoft said in a blog post last year that it planned to integrate image-generation software from its image creation software, Dall-E 2, into Bing.
OpenAI and Microsoft declined to comment.
Microsoft had in 2019 backed San Francisco-based artificial intelligence company OpenAI, offering $1bn in funding. The two had formed a multi-year partnership to develop artificial intelligence supercomputing technologies on Microsoft’s Azure cloud computing service.
OpenAI made its latest creation ChatGPT chatbot available for free public testing on 30 November. The chatbot is a software application designed to mimic human-like conversation based on user prompts and can respond to a large range of questions while imitating human speaking styles.
The feature could make Bing more competitive to Google’s search engine at a time when Alphabet, its parent company, has seen advertising revenue growth slow significantly. Advertising is Alphabet’s primary source of revenue, the vast majority of which comes from search ads. Microsoft also saw its search and advertising growth rate slow down in the fourth quarter of the 2022 fiscal year.
OpenAI’s various products such ChatGPT, the natural language system GPT-3 and Dall-E 2 may still need work, but have already been pegged as the industry’s potential next disruptors. The former has reportedly led Google management to declare a “code red”, according to the New York Times, seeing the chat bot – which answers questions or prompts with clear explanations instead of just links – as a major threat to the way consumers currently use search engines.
Google, however, has been hard at work on its own chat bot technology called Language Model for Dialogue Applications – the sophistication of which led one Google engineer to claim it was sentient. He was placed on administrative leave after deciding to go public with his claims.
Go to https://pecl.php.net/package/redis/5.3.7/windows, choose PHP 8.1, TS version, x64
Unzip the file, and then save it on my local xampp php extension folder
Add php.ini with configuration:
extension=redis
Run http://localhost:8080/dashboard/phpinfo.php
Check redis information
Copy the content from the article.
Learn how to easily install and use the Redis extension locally in XAMPP to communicate with Redis Servers.
I'm sure you may have already heard about Redis, the in-memory data structure store, used as a database and cache. Sooner or later, if you ever work with a project built with PHP that handles a significant amount of traffic and may require horizontal scaling, you will have to work with Redis. Of course in a local environment, it would be great to work as well with Redis, so you don't have to create huge conditionals to check if it's available in the current environment and run some logic if it isn't. It would be simpler to have Redis available locally as well, just to make the whole project work as usual in your workstation.
In this article, I will explain how to easily install the Redis extension for PHP in your XAMPP installation in Windows.
Pre-installation notes
You need to know the following information about the PHP distribution that you are currently using in XAMPP:
Name
Default value
Architecture (PHP)
x64
Thread Safety
Enabled
TS: Stands for Thread Safety Enabled
NTS: Stands for Thread Safety Disabled
You can get those values with the function phpinfo() of PHP within an empty script:
Once you know these values, you should be able to follow the rest of the tutorial.
1. Download Redis DLL
The first thing you need is the dynamic link library of Redis, which fortunately for us is already compiled and available in the PECL repository of PHP on this website. You may select the version that fits your needs, in my case, I will use the latest stable version as I'm using PHP 8, click on the DLL link with the windows icon:
Then a new window will load, in this page scroll to DLL List and click on the right version for your PHP version with correct architecture (of XAMPP, not your operative system) and the Thread Safe in case that it's enabled in your distribution). In my case, I'm using the latest version of XAMPP with PHP 8.0 of 64 bits with Thread Safety Enabled, so in my case, I will download the following one:
This will start the download of a ZIP file. Of our interest, is the php_redis.dll file that is included in it, so keep it at hand as you will need the file in the next step.
2. Store DLL in ext directory and enable the extension in php.ini
Now, from the downloaded zip, move the php_redis.dll file to the ext directory of PHP in your XAMPP directory (C:\xampp\php\ext):
This will allow us to use the extension in PHP, however, we need to enable it as well. Open the php.ini (C:\xampp\php\php.ini) file and enable the extension adding the following new line under the extensions area:
You won't find the mentioned line in the configuration file, so that's why you need to write it by yourself. Save the changes of the ini file and restart Apache, so the changes will apply once it starts again.
3. Testing if the extension is enabled
And that's it! After restarting apache and enabling the extension in the php.ini, you should be able to use Redis with PHP. You can easily verify if the extension is enabled either by checking in your phpinfo():
Or alternatively, run some code that uses Redis in case that you have a server running Redis through docker locally or a real Redis server, for example, the following code should succeed and print the username "sdkcarlos":
try{// Create a Redis Instance$redis=new\Redis();// Try to connect to a redis server// In this case within the host machine and the default port of redis$redis->connect('127.0.0.1',6379);// Define some Key$redis->set('user','sdkcarlos');// Obtain value$user=$redis->get('user');// Should Output: sdkcarlosprint($user);}catch(Exception $ex){echo$ex->getMessage();}
Salesforce is laying off up to 8K employees. In 2019 they had 35K employees. Even after the layoff they will have about 71K employees. Amazon is laying off up to 18K employees. In 2019 Amazon has 798K employees. Even after the layoff they will have about 1.57 million employees.
1998年,纽约棉花交易所和咖啡、糖、可可交易所(Coffee Sugar Cocoa Exchange)合并成立纽约期货交易所(The New York Board of Trade,NYBOT)。2006年9月,纽约期货交易所并入美国洲际交易所(Intercontinental Exchange,ICE),成为其下属的一个部门。美元指数期货在美国洲际交易所交易。该交易所负责发布美元指数及美指期货价格的实时数据。
WASHINGTON – Federal Reserve officials are committed to fighting inflation and expect higher interest rates to remain in place until more progress is made, according to minutes released Wednesday from the central bank’s December meeting.
At a meeting where policymakers raised their key interest rate another half a percentage point, they expressed the importance of keeping restrictive policy in place while inflation holds unacceptably high.
“Participants generally observed that a restrictive policy stance would need to be maintained until the incoming data provided confidence that inflation was on a sustained downward path to 2 percent, which was likely to take some time,” the meeting summary stated. “In view of the persistent and unacceptably high level of inflation, several participants commented that historical experience cautioned against prematurely loosening monetary policy.”
The increase ended a streak of four consecutive three-quarter point rate hikes, while taking the target range for the benchmark fed funds rate to 4.25%-4.5%, its highest level in 15 years.
Officials also said they would focus on data as they move forward and see “the need to retain flexibility and optionality” regarding policy.
Officials further cautioned that the public shouldn’t read too much into the rate-setting Federal Open Market Committee’s move to step down the pace of increases.
“A number of participants emphasized that it would be important to clearly communicate that a slowing in the pace of rate increases was not an indication of any weakening of the Committee’s resolve to achieve its price-stability goal or a judgment that inflation was already on a persistent downward path,” the minutes said.
Following the meeting, Fed Chairman Jerome Powell indicated that while there has been some progress made in the battle against inflation, he saw only halting signs and expects rates to hold at higher levels even after the increases cease.
The minutes reflected those sentiments, noting that no FOMC members expect rate cuts in 2023, despite market pricing.
Markets currently are pricing in the likelihood of rate increases totaling 0.5-0.75 percentage point before pausing to evaluate the impact the hikes are having on the economy. Traders expect the central bank to approve a quarter-point increase at the next meeting, which concludes Feb. 1, according to CME Group data.
Current pricing also indicates the possibility of a small reduction in rates by the end of the year, with the funds rate landing around a range of 4.5%-4.75%. Fed officials, however, have expressed doubt repeatedly about any loosening of policy in 2023.
The minutes noted that officials are wrestling with two-pronged policy risks: One, that the Fed doesn’t keep rates high long enough and allows inflation to fester, similar to the experience in the 1970s; and two, that the Fed keeps restrictive policy in place too long and slows the economy too much, “potentially placing the largest burdens on the most vulnerable groups of the population.”
However, members said they see the risks more weighted to easing too soon and allowing inflation to run rampant.
“Participants generally indicated that upside risks to the inflation outlook remained a key factor shaping the outlook for policy,” the minutes said. “Participants generally observed that maintaining a restrictive policy stance for a sustained period until inflation is clearly on a path toward 2 percent is appropriate from a risk-management perspective.”
Along with the rate hikes, the Fed has been reducing the size of its balance sheet by allowing up to $95 billion in proceeds from maturing securities to roll off each month rather than be reinvested. In a program started in early June, the Fed has seen its balance sheet contract by $364 billion to $8.6 trillion.
While some of the recent inflation metrics have shown progress, the labor market, a critical target of the rate increases, has been resilient. Nonfarm payroll growth has exceeded expectations for most of the past year, and data earlier Wednesday showed that the number of job openings is still nearly twice the pool of available workers.
The Fed’s preferred inflation gauge, the personal consumption expenditures price index less food and energy, was at 4.7% annually in November, down from its 5.4% peak in February 2022 but still well above the Fed’s 2% target.
Economists, meanwhile, largely expect the U.S. to enter a recession in the coming months, the result of the Fed’s tightening and an economy dealing with inflation still running near 40-year highs. However, fourth-quarter GDP for 2022 is tracking at a solid 3.9% rate, easily the best of a year that started out with consecutive negative readings, according to the Atlanta Fed.
Minneapolis Fed President Neel Kashkari said Wednesday, in a post for the district’s website, that he sees the funds rate rising to 5.4% and possibly higher if inflation doesn’t trend down.
Professor, Director, McMaster Digital Transformation Research Centre,
Information Systems
Dr. Milena Head is a Professor of Information Systems at DeGroote, Acting Director, McMaster Digital Transformation Research Centre the Wayne C. Fox Chair in Business Innovation and Academic Director of the EMBA program at the DeGroote School of Business. She specializes in electronic business (eBusiness) and Human Computer Interaction (HCI), having published over 100 papers in academic journals, books and conferences. Her research interests include trust, privacy and adoption of electronic commerce and new technologies; interface design; and cross-cultural, gender and age issues related to technology use. She also examines the potential negative impacts of technology, including identity theft, techno-stress and cyber-bullying. Milena has received numerous teaching and research awards and is frequently called upon by the media and by community groups to speak about her research.
Beyond her academic roles, Milena has acted as a personal consultant on topics of eCommerce strategy, usability and fraud management, and has been an invited speaker at numerous corporate events and meetings. She also developed a senior MBA course at the DeGroote School of Business in partnership with AT Kearney, enabling students to work with real clients on real consulting projects.
Experience
I consider teaching to be a critical component of my appointment at McMaster. While research requires time, diligence, patience and creativity, I believe that effective teaching also requires these traits, and more. I believe that successful learning is a partnership between teacher and student. It should be a cooperative process that involves open communication. I strive to create an atmosphere of exploration, inquiry and excitement in my classrooms.
Courses Taught
Graduate:
MBA D701 A.T. Kearney Student Lab: Fall 2012
MBA D700 Case Analyses and Presentations: Fall 2011, Fall 2012
MBA K603 Information Systems Management: Fall 2011, Fall 2009, Fall 2008, Fall 2007, Fall 2006, Fall 2005, Winter 2005, Fall 2004, Winter 2004, Fall 2003, Fall 2002
MBA K732 Human Computer Interaction: Fall 2003, Fall 2001
MBA K728 eBusiness Case Studies: Fall 2001
MBA S727 Telecommunication Networks and Their Business Applications: Fall 1999
MBA S601 Information Systems in Management: Winter 2002, Fall 2001, Winter 2001, Fall 2000, Winter 2000, Fall 1999, Winter 1999, Fall 1998, Fall 1997
Q776 Ph.D. Seminar Course I: Fall 2005, Winter 2003, Fall 2001, Summer 2000
Commerce 4QE3 Telecommunication and Electronic Commerce: Fall 199
Commerce 2QB3 Information Systems in Management: Winter 1999, Winter 1998, Winter 1996
Executive Training:
Hatch Beddows Consulting (Winter 2001): Four sessions entitled “The New Economy”
InfoTech Leader Program (Winter 2003, Fall 2002, Summer 2002, Winter 2002, Fall 2001): Two day workshops entitled “Introduction to Electronic Commerce”