• 开源镜像
  • 开源沙龙
  • 媛宝
  • 猿帅
  • 注册
  • 登录
  • 息壤开源生活方式平台
  • 加入我们

开源日报

  • 开源日报第986期:《druid》

    21 12 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《druid》
    今日推荐英文原文:《AirPods 3: Everything I hope Apple changes in the next-gen earbuds》

    今日推荐开源项目:《druid》传送门:项目链接
    推荐理由:Druid由阿里巴巴计算平台事业部出品,为监控而生的数据库连接池,它包括以下部分: DruidDriver代理Driver,能够提供基于Filter-Chain模式的插件体系。 DruidDataSource高效可管理的数据库连接池。
    今日推荐英文原文:《AirPods 3: Everything I hope Apple changes in the next-gen earbuds》作者:Scott Stein
    原文链接:https://www.cnet.com/news/airpods-3-everything-i-hope-apple-changes-in-the-next-gen-earbuds/
    推荐理由:airpods是苹果公司出品的无线蓝牙耳机, 自问世以来一直拥有很高人气, 受到人们的广泛关注. 这篇文章是一个耳机评测员对于下一代airpods改进的一些期望.

    AirPods 3: Everything I hope Apple changes in the next-gen earbuds

    Apple may have the new AirPods 3 ready for 2021. After a year spent trapped in my house and trying to get work done, AirPods have become a practically essential tool. Lots of other excellent Bluetooth earbuds exist, but AirPods are still impressively instant and have really good microphones. Plus, being able to swap from one ear to another has helped me extend battery life by one-earing my way through long meetings.

    The second-gen AirPods are a year and a half old, while AirPods Pro are a year old, and have continued to evolve. Apple added spatial audio earlier this year, and the massively expensive AirPods Max arrived with a different proposition (I prefer small earbuds, not big headphones), so what will AirPods 3 bring? And what do I even want? For me, it’s mostly about better connection.

    AirPods Pro Lite buds could shift all AirPods to the Pro look

    The latest reports say that the third-gen AirPods will look like the Pros, minus the active noise cancellation and spatial audio features. Which means they’ll have shorter stems and have replaceable eartips in different sizes.

    I appreciate the AirPod Pro design and its less visible look, but I have mixed feelings about the eartips. The deeper in-ear feel seals off for better noise-blocking, but I appreciate the easier and more pass-through-friendly design of the originals for casual call-monitoring. Maybe Apple will split the difference somehow.

    AirPods Pro Lite could also end up being more expensive than the second-gen AirPods, which isn’t ideal at all. Maybe they’d deliver better sound or better battery life to make the possible price bump worth it.

    I want AirPods to device-swap even more effortlessly

    Apple’s latest iOS 14 and Big Sur OS updates have helped AirPods autoconnect to Apple devices faster, but I still find that I have to double-check that AirPods are paired during a Zoom or FaceTime. Sometimes I also encounter bugs that disconnect the AirPods, too.

    I don’t just want to switch to whatever device I’m using, though: I want to actively switch as I multitask, or even blend sources. I look at my phone, laptop, even a TV at the same time. I’d love to tap-select to swap, or maybe even use my head orientation as a way for the AirPods to somehow sense what device I’m using. Apple’s latest devices have U1 chips that can spatially recognize where other Apple devices are. New AirPods could maybe tap into this more, too. Keep in mind, even the expensive AirPods Max don’t have a U1 chip, so less expensive AirPods aren’t likely to, either… but it’s an interesting thought.

    Or I’d even love a way to mix sources (a feed from my laptop, video from my iPhone). Apple already mixes ambient outside noise with one audio source via Transparency — could it go further? Or could Apple adopt more intelligent audio analysis of ambient noise and adjust what you’re listening to to boost treble or bass or spoken voices?

    What about AirPods fitness features?

    Apple just launched its own Fitness Plus workout subscription service, which requires an Apple Watch. AirPods are an important piece of the Apple Watch-music-workout triangle, but so far the Airpods’ built-in tap controls are pretty limiting, and lack positional awareness.

    Adding more shortcuts or tap gestures for workouts and activity monitoring could be smart, and would it be possible for AirPods to recognize when you’re starting to run or exercise? The AirPods Pro have gyros and accelerometers that could unlock more movement and positional awareness. Next-gen AirPods Pro might push into this territory more, but hopefully the third-gen AirPods will, too.

    It’s unlikely that Apple will add actual health-tracking sensors, like step counting or heart rate, to the AirPods. But the Apple Watch and AirPods should form even more of a symbiotic pair. Heart rate and fitness readings, maybe even deeper watch control with AirPods commands. But it should be noted that ears are a pretty good place to measure heart rate.

    We’ll know more about Airpods 3 next year, probably

    I wouldn’t hold off on getting AirPods now, but keep in mind that new models should be coming sometime before the end of next year. Battery life, audio performance and fitness are logical places to focus on. But I hope they find a way to be better, more reliable connect-to-everything wearables, too.
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第985期:《正则 common-regex》

    20 12 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《正则 common-regex》
    今日推荐英文原文:《A Worldwide Homicide》

    今日推荐开源项目:《正则 common-regex》传送门:项目链接
    推荐理由:作者总结的一个 markdown 文档,包含许多开发常用的正则表达式,以及它们的原理图。
    今日推荐英文原文:《A Worldwide Homicide》作者:Tim Varner
    原文链接:https://timvarner1989.medium.com/a-worldwide-homicide-8bb2de36c007
    推荐理由:这篇文章是对科技的控诉。作者怀念车马慢的日子,但是它们应该不会再慢下来了。

    A Worldwide Homicide

    (Photo by Bernd Dittrich on Unsplash)

    The Death of Society

    As the holidays approach I have come to one inevitable realization. The advancements in technology throughout the world have severely diminished what it means to be human. Technological advancements, although useful, have taken away from the “meaning of life” and replaced it with the archived cloud. The generation that is growing in today’s society will never know what it means to be wholesome nor understand the importance of finding yourself. I strongly believe that technology has destroyed most of what I cherished in my youth. As my mind began to dissect the categories, I wanted to present my case.

    Remembering Music

    Once upon a time, there was a talent-filled industry consisting of musical icons. From classical pianists such as Beethoven and Mozart, the generational defining Presley and Hendrix, to the grandest of showmen in Kiss and Motley Crue. The musical abilities these and millions of other artists possessed have and forever will be unrivaled for the rest of time. With my two younger children I have experienced the newest idea of “music.”

    I have an incredibly hard time wrapping my interest around any song they play me. With the repetition of juvenile words or the electronically-driven accompaniments, the sounds this generation is addicted to, have no bearing on the musical world. Although I live beyond my times, growing up in the “boy-band era”, I realized the beginning landslide at a young age. I found myself following the newer scene of pop-punk bands and heavy rock but could never stray from the historical musicians of the past.

    Today we can sit behind a computer and make a volatile, decibel-driven track and make millions. No talent is needed. My children sit and listen to these ridiculous beats not understanding what little goes into them. The musicians of the past played with their hearts, of course, everyone wants to make a dollar, but more musicians were in it for the love rather than the paycheck. These days these pop and “rap” stars have zero talent and rely solely on technology to produce their millions, as well as, the impressionable ears of our youth.

    Films in Black and White

    The main idea for this article came from the incredibly tedious task of picking holiday films to watch with my children. Through their recommendations, I have discovered a world of impossible impressionism. The complete holiday classics such as “Miracle on 34th Street”, “Babe’s in Toyland” and “A Christmas Story” have been pushed to the cobwebbed vault in lieu of films without context, meanings, or talent. The world these days has grown to expect the billion-dollar explosions and uncharted territorial locations, whereas the real classics are low budget and simplistic. With the expectations set forth from movies such as “Star Wars” and “Avatar,” the generation growing will never understand the simplistic movies of realistic stories. Encompassing life-lessons and cherished family values, the movies of the past helped construct generations through respect and gratitude. I firmly believe one of the last great holiday films was the Jim Carrey adaptation of the Grinch. Since its release, there have been very few movies to encompass the true meaning of the holiday spirit while teaching lessons of life.

    My wife and I discussed the fact that these days everyone is attempting to recreate the classics, undoubtedly due to the lack of creativity and passion for the industry. The classics made their mark and will forever stand due to their originality and realistic tendencies. As the film industry grows, preying on youthful innocence. With billion-dollar budgets and impossible circumstances, although relative to a child’s imagination, they will never stand the test of time.

    Remote Controlled

    Family game night, for those who remember, was an entertainment beyond imagination. With the ability to converse with family while getting your butt whooped by dad (still think he cheated), this addition to past generations was of great significance. With the technological addition to this once bonding time, the loss of communication has divided families. My children still like to play board games with my wife and me but their interest and patience run out faster than a puddle in the desert. We have tried playing the new-age games with my children, online-streaming and electronically-driven platforms, but the lack of quality time spent in each other’s presence is diminished. We may be in the same room and often side-by-side but with the “must-have headphones” and interruptions from the twelve-year-old profane kid from across the map, these games leave no possibility of communication between families.

    The video game generation began when I was young, and they were a great distraction for the youth, but as movies, they were simplistic and easy to put down. Now children immerse themselves in a whole new realm which they don’t understand nor care to. Anyone across the world can hide behind the system and be whoever they want to be, say what they please, and suffer little to no consequences. My children know that if the profanity starts flying or someone is mistreating them, they quickly opt out of the game, but are fast to find another. We have blocked, banned, and completely destroyed certain games they play, but every day there is a new option and another “must-have.”

    When my children aren’t playing the games we allow, they are watching someone else play them on television. YouTube has created an unparalleled world of millionaires who simply possess a camera and free time. As frustrating as it is, the world is technology-driven, and we have to adapt in some ways, but my children see these “stars” living a world of fantasy. Doing and saying whatever they want due to their backing of financially sound parents leads the youth into believing respect and care is a thing of the past.

    My Hypocritical Oath

    I agree with technology in the sense that the world is growing towards an inevitable robotic society. Smartphones, laptops, and self-driving vehicles have proven to be useful and intriguing. With that said, I strongly attest that technology is causing the world to become as lazy as my dog during the rain. The advancements made have caused more anxiety and depression than ever before, as well as, I believe, the outbursts of violence and self-harm. If the power goes down or the internet skips a beat my children’s worlds are turned upside down. We have raised them to cherish the outdoors as well, but my youthful sun-up to sun-down lifestyle has vastly changed. Kids hate to sweat and get dirty, therefore disagree with fun. Scars and broken bones allow me to remember my childhood, for good or bad, I never have to look back and remember “that one time I beat a European player online or was in the same game as a YouTube sensation.” My memories are real and not technology-driven.

    The simplistic virtues of a structured society have been misplaced. I hope there is a possibility to redeem what we have lost sight of, but with the technology growing, we may never know another person. The newest generation believes they’re grown because they can Google a math problem in seconds. There is no more need to think for yourself nor a requirement to simply, think. At the push of a button we have the world in our hands, we have no more use for books and literature or lessons around the fire. This generation’s grandparents are of a caveman magnitude. They cannot fathom a life without the accessibility of technology. Through online bullying and pedophilia intentions, the innocence is lost by a simple surge protector that does everything but protect. Wars and riots have been started by a simple Facebook post, lives have been sacrificed due to a trending private picture. The slacker mentality is rising faster than anyone can perceive, and the loss of life participation easing to exist.

    Technology has its benefits in many unrecognized ways but I will always plead with the world that simple design is the key to a successful life. We need to all get back to our innocence and learn to be human again.


    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第984期:《shardingsphere》

    19 12 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《shardingsphere》
    今日推荐英文原文:《Google hit by antitrust lawsuit from nearly 40 states over alleged search monopoly》

    今日推荐开源项目:《shardingsphere》传送门:项目链接
    推荐理由:Apache ShardingSphere是一套开源的分布式数据库中间件解决方案组成的生态圈,它由JDBC、Proxy和Sidecar(规划中)这3款相互独立,却又能够混合部署配合使用的产品组成。它们均提供标准化的数据分片、分布式事务和数据库治理功能,可适用于如 Java 同构、异构语言、云原生等各种多样化的应用场景。
    今日推荐英文原文:《 Google hit by antitrust lawsuit from nearly 40 states over alleged search monopoly》作者:Richard Nieva
    原文链接:https://www.cnet.com/news/google-hit-by-antitrust-lawsuit-from-nearly-40-states-over-alleged-search-monopoly/
    推荐理由:搜索巨头谷歌目前正面临三大反垄断诉讼。 诉讼称,谷歌通过搜索结果的呈现方式伤害了竞争对手,偏重自己的服务而非竞争对手的服务。 诉讼还称,谷歌宣称其主导地位,不仅在网页浏览器和智能手机中成为默认搜索引擎,而且通过该公司的语音助手功能,在智能音箱和联网汽车等新技术中成为默认搜索引擎。

    Google hit by antitrust lawsuit from nearly 40 states over alleged search monopoly

    A bipartisan coalition of 38 states and territories on Thursday filed an antitrust lawsuit against Google, alleging the tech giant holds a monopoly in general search, the heart of its consumer tech business. The complaint is the third antitrust suit filed against the Silicon Valley giant in a matter of weeks, escalating Google’s battle with state and federal prosecutors over the company’s dominance.

    The lawsuit alleges the tech giant harmed competitors with its presentation of search results, favoring its own services over those of rivals. The complaint also claims Google asserted its dominance to become the default search engine in not only web browsers and smartphones, but also newer technologies like smart speakers and connected cars, through the company’s voice assistant feature.

    “Google, one of the largest companies in the world, has methodically undertaken actions to entrench and reinforce its general search services and search-related advertising monopolies by stifling competition,” the complaint reads. “As the gateway to the internet, Google has systematically degraded the ability of other companies to access consumers.”

    The investigation was led by Colorado and Nebraska, and the coalition of states includes Arizona, Iowa, New York, North Carolina, Tennessee, and Utah. The group is seeking to consolidate the case with a landmark suit filed by the US Department of Justice in October, potentially adding more weight to an already historic case against the tech giant.

    In a blog post responding to Thursday’s lawsuit, Google said competition is “just a click away” and claimed redesigning its search results would harm consumers.

    “We know that scrutiny of big companies is important and we’re prepared to answer questions and work through the issues,” the company said. “But this lawsuit seeks to redesign Search in ways that would deprive Americans of helpful information and hurt businesses’ ability to connect directly with customers.”

    When the DOJ filed its case two months ago, Google argued that people use its services because they find them to be helpful, not because they’re forced. On Thursday, Nebraska AG Doug Peterson said it’s not that simple. “It’s not ‘People use Google.’ It’s ‘Google uses people,’” he said during a press conference. “Google uses people to take a tremendous amount of personal data,” which it uses to fuel its dominance, he said.

    Google’s iconic search engine is the most-visited website on the internet. The company processes around 90% of all online searches in the US. That stranglehold is the foundation of Google’s massive advertising business, which generates almost all of the company’s $160 billion in annual sales. Google has been accused of hurting competitors by giving priority in its search results to its own products, like shopping ads or local business listings, over the listings of rivals. Critics also complain the tech giant takes content from publishers and other websites and uses it in prepared answers directly in search results, rather than simply providing a list of links that send users to other sites.

    The lawsuit is the third major antitrust complaint Google has faced in weeks. It comes a day after a separate case was filed by another coalition of states led by Texas AG Ken Paxton. That complaint targets Google’s massive online advertising operation, which financially powers the company’s empire. The suit accuses the tech giant of harming competitors by engaging in “false, deceptive, or misleading acts” while operating its buy and sell auction system for digital ads.

    In its complaint filed in October, the Justice Department claimed the tech giant has maintained monopolies in search and search advertising. The DOJ alleged Google broke antitrust law by cutting deals with phone makers, such as Apple and Samsung, to be the default search engine on their devices, a move that boxed out competitors. The agency also accused Google of taking advantage of the dominance of its Android operating system to pressure device makers into preloading its search app and other services on phones powered by the software.

    The increased spotlight on Google comes as tech giants face a reckoning over their scale and influence. Legislators and regulators are concerned about how their power might ultimately harm consumers, especially by choking off competition from smaller players in Silicon Valley. The Federal Trade Commission and 40 state attorneys general last week filed antitrust lawsuits against Facebook, calling for a break up of the company.

    In October, the US House Judiciary’s antitrust subcommittee released a scathing 449-page report on Google, Facebook, Amazon and Apple, hammering the tech giants on their allegedly anticompetitive practices. The report was the culmination of a more than yearlong investigation led by Rhode Island Democrat David Cicilline. The probe reached a crescendo in July when the CEOs from the four companies appeared at a joint hearing via video chat.

    On Thursday, Cicilline applauded the states’ lawsuit. “Today’s filing affirms much of the evidence the Antitrust Subcommittee uncovered during our investigation into Google’s anticompetitive conduct,” he said in a statement. “Like Facebook, Google abused their monopoly power in the marketplace. Like Facebook, they need to be broken up and held accountable.”

    Google’s competitors also praised the complaint. Yelp, which has long criticized how Google presents search results, said the suit may be more significant than past cases, because Google’s search engine is the core of the company.

    “Bringing an antitrust case against the most powerful company in the world requires determination and courage, so we applaud the cooperative, bipartisan work of the state attorneys general and all the staff involved in this lawsuit,” Luther Lowe, Yelp’s senior vice president of public policy, said in a statement. “We hope today’s action is the beginning of a return to a more vibrant and open internet.”

    Google has come under antitrust scrutiny in the past. In 2013, the Federal Trade Commission wrapped up a two-year investigation into Google after allegations of biased search results. The agency, however, concluded that Google hadn’t violated antitrust laws.

    First published on Dec. 17, 2020 at 10:09 a.m. PT.
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
  • 开源日报第983期:《强制传送 python-goto》

    18 12 月, 2020
    开源日报 每天推荐一个 GitHub 优质开源项目和一篇精选英文科技或编程文章原文,坚持阅读《开源日报》,保持每日学习的好习惯。
    今日推荐开源项目:《强制传送 python-goto》
    今日推荐英文原文:《Stop Apologizing for Asking Questions》

    今日推荐开源项目:《强制传送 python-goto》传送门:项目链接
    推荐理由:相信在初学编程时接触过 C 语言的朋友一定对 goto 这个魔法般的命令有些印象——这个命令可以强行令代码从你指定的位置执行,如果用的多了就会让代码结构变得一团糟,除了跳出多重循环之外几乎没有地方可以合情合理的使用它。这个项目使用 Python 实现了 goto 指令,从而可以……如果你能保证不随意使用 goto 来折磨下一个读你代码的人的话,它的确会派上用场的。
    今日推荐英文原文:《Stop Apologizing for Asking Questions》作者:Jeremy Aw
    原文链接:https://medium.com/better-programming/stop-apologizing-for-asking-questions-88944858d0c1
    推荐理由:没有人是全知全能的,所以不需要仅仅为了向他人提问这件事而感到抱歉(不过别忘了学习正确的提问技巧)

    Stop Apologizing for Asking Questions

    I hid behind “sorry” to mask my doubts and fears

    No criminal would admit to their wrongdoing, but I was at an impasse. I did not possess the know-how to get the job done, and the information I sought was a question away. All I had to do was ask.

    “Sorry” — this was how I started most of my questions.

    I apologized excessively when asking questions, even for things I was not expected to know. It felt like a crime to not know everything, and asking questions was the equivalent of a signed confession.

    As a software engineering intern, I felt that I had huge shoes to fill. To make things worse, I set absurd expectations for myself. Whenever I ran into something unknown, I was under the impression that I was supposed to know this sort of basic stuff (even when it was anything but basic).

    It wasn’t the first time, and it wouldn’t be my last, but I asked anyway. It felt shameful. I hid behind “sorry” to mask my doubts and fears.

    But the thing is, the software engineer who has mastered all existing technologies does not exist. It’s a myth born from our unrealistic dreams to become the omnipotent, all-knowing software engineer.

    Enlightenment

    I don’t remember when this started; it was probably an unconscious defense mechanism, and it became a habit over time. This only came to light from a fellow engineer’s feedback.
    “I guess one feedback I have is to stop apologizing for asking questions. I don’t think anyone is expected to know every little detail about the stuff we are working on, especially not an intern.”
    That was when I realized this seemingly innocuous behavior of over-apologizing comes with hidden consequences. “Sorry” does not only give you a false sense of relief over your insecurities, it also invites trouble.

    Detrimental Side Effects of Over-Apologizing

    In retrospect, I over-apologized as a defensive measure to avoid any unexpected response or repercussion from voicing my doubts.

    No one is expected to know everything, especially not a new hire. There are bound to be knowledge gaps. Asking questions serves to bridge that gap and get you up to speed. It is OK to not know everything. Also, there are no stupid questions, period. Fire away.

    A software engineer must be able to communicate clearly to be effective. Your messages should be clear and concise. Appending “sorry” before each question is at best an unnecessary filler. At worst, it diminishes your credibility, shifts the blame onto you, and desensitizes people to your apologies. That compromises your ability to be an effective communicator.

    Self-confidence

    Adding “sorry” in front each time you ask a question erodes your self-confidence, and the lack of self-confidence hurts your credibility.

    You may have doubts about the work you’re doing or even question your ability as a software engineer (looking at you, Impostor Syndrome), but redundant apologies only make it worse. They place the spotlight on your insecurities and doubts and invite people to question your abilities.

    Blame game

    Bugs are part and parcel of programming, but critical bugs and vulnerabilities that go undetected are a serious cause for concern. During the process of your work, you may come across critical issues that were not detected or addressed appropriately during implementation.

    Bringing these issues up is the right thing to do. However, when you apologize for asking such questions, you provide an opportunity for others to turn you into a target board. The software engineers who carelessly overlooked the issues in the first place will not be too happy about it.

    In an ideal world, the team will come together to fix the problems immediately and conduct a postmortem to prevent such incidents from repeating. But the reality isn’t ideal, and in some cases, your unnecessary apology becomes an attack vector for toxic, defensive software engineers to pin the blame on you.

    Your apologies lose value

    Over-apologizing can desensitize the people around you and reduce the impact of your apologies when they are truly called for. There is less value in your apologies if you use them superfluously. They become background noise.

    When you made an actual mistake that warrants an apology, your “sorry” may come off as insincere.

    No Apologies, Questions Only

    Unwarranted apologies dilute your message and obfuscate your intention, hindering effective communication. On the contrary, admitting that you do not know the solution to the problem at hand shows self-awareness and humility.

    Furthermore, taking the initiative to do your due diligence, seek additional information, and comprehend and evaluate available options showcases your capabilities. It establishes your credibility as a reliable, competent software engineer.

    Apologies have their uses but not here. Skip the “sorry” and go straight to the question.
    下载开源日报APP:https://opensourcedaily.org/2579/
    加入我们:https://opensourcedaily.org/about/join/
    关注我们:https://opensourcedaily.org/about/love/
←上一页
1 … 12 13 14 15 16 … 262
下一页→

Proudly powered by WordPress