2,606 Matching Annotations
  1. Last 7 days
    1. "Wieczne chemikalia" z pestycydów wykryto w jedzeniu. Największe stężenie w chlebie i płatkach
      • Researchers analyzed 66 samples of bread, cereals, pasta, and flour from 16 countries, including Poland.
      • "Forever chemicals" — trifluoroacetic acid (TFA), a pesticide degradation product — were found in 54 samples (82%).
      • Average concentration: 80 mg/kg.
      • Highest levels: 360 mg/kg in breakfast cereal (Ireland) and 340 mg/kg in whole-grain bread (Belgium).
      • The Polish sample (toast bread) contained 60 mg/kg of TFA.
      • Wheat-based products had higher TFA concentrations than oat-based ones.
      • Over 30 pesticide active substances used in European agriculture break down into TFA.
      • TFA has previously been detected in surface water, groundwater, tap water, bottled water (in two-thirds of samples), and even wine — a phenomenon observed since the 1990s.
      • No safety standards currently exist for TFA.
      • In Germany, TFA is classified as potentially harmful to fertility and fetal development, though confirmed toxicity occurs only in animals at much higher concentrations than found in the environment.
    1. Te produkty i napoje "aktywują" raka i napędzają jego rozwój
      • Highly Processed Foods & Inflammation: Up to one-third of all cancers are linked to poor nutrition, particularly consuming highly processed foods [00:00:00]. These products (full of artificial additives, hardened fats, processed meats, and sweet snacks) act as "fuel" that drives chronic inflammation, creating an environment conducive to cancer development and growth [00:00:24].

      • Sugary Drinks (Napoje Słodzone):

        • Regular consumption of sugary drinks (not natural juices) is linked to a higher risk of several cancers [00:00:57].
        • Studies show an increased risk of breast cancer (14%) in women and prostate cancer (18%) in men [00:01:16].
        • Daily consumption of just one serving of soda (like cola) was linked to an up to 55% higher risk of pancreatic cancer [00:01:35].
        • They are also associated with an average 15% greater risk of colon cancer [00:02:15]. Lab studies suggest the sugar in these drinks can increase the mobility and metastatic ability of cancer cells [00:02:42].
      • Drinks with Artificial Sweeteners (Słodziki):

        • While many studies suggest no link to cancer, some research indicates a higher risk of leukemia (15% increase per serving), particularly from drinks containing aspartame [00:04:12].
        • The concern is that aspartame can break down into methanol and then formaldehyde (a recognized carcinogen) [00:04:32], which can damage the genetic material in bone marrow stem cells [00:04:49].
      • Fried Foods (Żywność Smażona):

        • Regular consumption of fried foods (especially deep-fried meats and plant products) is linked to a 52% higher risk of stomach cancer [00:05:55] and may increase the risk of prostate cancer by 35% [00:06:04]. This is due to the formation of toxic compounds during frying [00:06:13].
      • High-Salt Diet (Dieta Bogata w Sól):

        • A long-term diet high in salt, especially from low-quality processed foods, is strongly associated with an increased risk of stomach cancer (up to 68% higher) [00:07:17].
        • Excess salt directly damages the stomach lining, makes it susceptible to toxins [00:07:42], and promotes the growth of the Helicobacter pylori bacteria, which causes chronic inflammation and ulcers that can lead to cancer [00:08:15].
      • BPA and BPS (Canned Foods):

        • Bisfenol A (BPA), used in metal can linings [00:09:40], can migrate into food and is a potential pro-carcinogenic agent because it disrupts hormonal balance [00:09:56]. High exposure may promote hormone-dependent cancers like breast and prostate cancer [00:10:06].
        • Bisfenol S (BPS) is a similar chemical still permitted in food-contact materials and is suggested to be more toxic and equally linked to breast cancer [00:11:24]. The speaker recommends avoiding most canned foods unless marked "BPA Free" [00:11:47].
      • Phthalates (Ftalany):

        • These chemicals, which increase plastic flexibility [00:12:19], can migrate from plastic packaging into highly processed foods, especially fast food (e.g., in plastic trays) [00:12:37].
        • Phthalates are suggested to promote cancers of the thyroid, breast, and prostate [00:13:19].
      • Alcohol:

        • Alcohol consumption is a confirmed risk factor for cancers of the oral cavity, throat, esophagus, and larynx [00:13:44].
        • Regular consumption also increases the risk of colon cancer by an average of 56% [00:13:53]. Even small, frequent amounts are considered harmful [00:14:02].
    1. How I block all online ads
      • The author describes a comprehensive setup to block virtually all online advertising across devices and services.
      • They focus on network-level filtering instead of per-device ad blockers, so that phones, TVs, and other clients benefit automatically.
      • The core of the solution is running a self-hosted DNS-based blocker (like Pi-hole or AdGuard Home) to sinkhole common ad and tracker domains.
      • Additional blocklists are layered on top to handle more aggressive tracking and region-specific ad domains, trading a bit of breakage for increased privacy.
      • For services that hardcode ad endpoints or use techniques that bypass DNS blocking, the author uses more advanced tools such as proxying or firewall rules.
      • Some apps and sites break when ads are blocked; in those cases, the author selectively whitelists domains or uses per-device exceptions rather than relaxing global rules.
      • On mobile, encrypted DNS and VPN-like tunneling are configured so that all traffic still flows through the home-level blocking setup even on the go.
      • The author argues that this configuration significantly improves page load times, reduces bandwidth usage, and makes devices feel faster and less cluttered.
      • They acknowledge an ethical gray area with ad blocking but conclude that user safety, privacy, and mental comfort outweigh the downsides of depriving low-quality ad networks of revenue.
      • The piece emphasizes that the goal is not absolute perfection but a sustainable setup that requires minimal maintenance once deployed.

      Hacker News Discussion

      • Commenters discuss additional tools like SponsorBlock for skipping in-video sponsorships on platforms such as YouTube, highlighting that traditional ad blockers do not remove creator-embedded promos.
      • Several users point out that DNS-level blocking does not stop ads injected directly by streaming services, noting that such platforms often use certificate pinning or app-level tricks that make proxying and MITM approaches difficult or impossible.
      • A highly upvoted comment recommends using a user-agent switcher to bypass sites that block non-Chrome browsers, with examples where services claim to be incompatible with Firefox but run better once the browser “pretends” to be Chrome.
      • Participants criticize websites that enforce brittle user-agent checks instead of feature detection, arguing that this needlessly breaks otherwise compatible browsers and punishes privacy-conscious users.
      • Some users express skepticism about privacy-focused browsers that are built on or dependent on codebases controlled by ad-driven companies, calling out an inherent tension between privacy promises and ad-based business models.
    1. I Tried Coding on Every OS // Here’s What I LearnedTap to unmute2xI Tried Coding on Every OS // Here’s What I LearnedForrestKnight 142,855 views 3 weeks agoSearchInfoShoppingCopy linkIf playback doesn't begin shortly, try restarting your device.Pull up for precise seeking18:07•You're signed outVideos that you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.CancelConfirmUp nextLiveUpcomingCancelPlay nowForrestKnightSubscribeSubscribedExploring software by building it. Rust Changed How I Code Forever15:06The Best Linux Distro for You10:05HideShareInclude playlistAn error occurred while retrieving sharing information. Please try again later.     0:000:00 / 24:14 (21:30)Live•Watch full video ON OFF Skip to Highlight?•Tangents•15:26I'm 41, if You're In Your 30s, Watch This…Mark Manson931k views • 2 months agoLivePlaylist ()Mix (50+)25:18I Attempted to Climb Europe’s Most DEADLY Mountain… SoloMagnus Midtbø2.6m views • 2 months agoLivePlaylist ()Mix (50+)4:445 Biggest Mistakes Women Make Starting Online Business (And How to Fix Them)Anna | Health & Wealth Coach1 view • 6 hours agoLivePlaylist ()Mix (50+)18:15I taught an octopus piano (It took 6 months)Mattias Krantz6.2m views • 1 month agoLivePlaylist ()Mix (50+)34:08What Every Body Fat % Actually Looks Like (50% to 5%)Jeff Nippard8.2m views • 4 weeks agoLivePlaylist ()Mix (50+)13:54Samsung Galaxy Z TriFold - Better than you think!Mrwhosetheboss6.3m views • 5 days agoLivePlaylist ()Mix (50+)28:36Dlaczego Polacy POKOCHALI piosenki z AI?Kanał o technologii7.4k views • 3 days agoLivePlaylist ()Mix (50+)10:03My New Found Addiction!Ardens1m views • 7 months agoLivePlaylist ()Mix (50+)16:54Choosing Signals (TIER LIST)YBCTooCold23k views • 1 day agoLivePlaylist ()Mix (50+)13:47I Can't Believe How Good Linux Is Now.. (Omarchy Linux)Livakivi118k views • 1 month agoLivePlaylist ()Mix (50+)29:23Takich treści POWINNI ZAKAZAĆ OD WCZORAJ! Tragedia.Michał Wrzosek50k views • 6 days agoLivePlaylist ()Mix (50+)21:15Java Isn't Verbose // we just suckForrestKnight46k views • 1 month agoLivePlaylist ()Mix (50+) I Tried Coding on Every OS // Here’s What I Learned
      • Introduction: ForrestKnight shares personal experiences coding on various OSes over a decade, including Windows, macOS, Ubuntu, Arch Linux, WSL2, NixOS, and others like Omakub/Omari; emphasizes these are subjective thoughts, not benchmarks.
      • Early Days: Started with Windows 8 for Java (NetBeans/Eclipse), used mid-2012 MacBook Pro for iOS dev noticing Unix advantages (forward slashes, SSH ease); shifted to Ubuntu VM on Windows for first job (Java Spring, Angular, VS Code).
      • Arch Linux (2020): Installed custom rice on PC (dual-boot with Windows 10), faced audio/Wi-Fi issues but praised Arch Wiki; used tools like Awesome WM, ZSH, Kitty; eventually abandoned for time sink, reformatted to Windows.
      • WSL2 (2022 onward): Adopted on Windows 10 for Linux env without VM overhead; integrates seamlessly with VS Code, IntelliJ; quirks include networking, Expo tunneling, Chrome ext copying, higher memory use; primary setup for web/Java/ML dev.
      • Recent Experiments: Tried NixOS on mini PC (disliked declarative config, poor IDE/GPU support, skill barrier); switched to Ubuntu + Omakub (DHH's setup, plug-and-play like Omari for Arch); plans VM test of Omari.
      • Windows 11 & Future: End of Windows 10 support forces upgrade; dislikes AI/ads; seeks Adobe alternatives (DaVinci Resolve, Figma) for potential Linux switch; dual-boots historically for Adobe.
      • Conclusions: Windows headaches mitigated by WSL2; macOS liked for Unix/hardware but closed ecosystem; Linux varies—Ubuntu/Omakub plug-and-play vs. Arch/NixOS customization/time sinks; choose based on workflow needs.
  2. Dec 2025
    1. Coffee linked to slower biological ageing among those with severe mental illness – up to a limit
      • King’s College London researchers report that, in people with schizophrenia, bipolar disorder or psychotic depression, coffee consumption within NHS guidelines is associated with slower biological ageing, as measured by telomere length.
      • Telomeres, protective caps on chromosomes, naturally shorten with age and tend to be shorter in people with severe mental illness, who already face a substantially reduced life expectancy compared with the general population.
      • In a Norwegian cohort of 436 adults aged 18–65 with severe mental illness, self‑reported coffee intake of up to four cups per day correlated with longer telomeres than in non‑coffee drinkers, roughly equivalent to about five years’ younger biological age.
      • The strongest association appeared at three to four cups per day; reported intake above four cups was linked to shorter telomeres than in the three‑to‑four‑cup group, suggesting any potential benefit may plateau or reverse at higher doses.
      • The association remained after adjusting for age, sex, ethnicity, medication and tobacco use, but the study lacked detail on brew type or caffeine content and cannot prove that coffee itself causes the differences in telomere length.
      • Authors emphasize that coffee’s health effects are dose‑dependent and complex, that lifestyle factors like coffee intake are modifiable compared with genetics or life stress, and that further longitudinal and mechanistic studies are needed before drawing causal conclusions.
      • Data came from the long‑running Norwegian TOP study, used here to link psychiatric diagnoses, telomere measurements from blood samples and self‑reported coffee consumption, with funding from Norwegian and UK research bodies.

      Hacker News Discussion

      • Several commenters argue that the study’s observational, self‑reported design leaves substantial room for confounding from sleep patterns, medications, smoking, socioeconomic status and other lifestyle factors, so the apparent “optimal” coffee range may reflect non‑linear confounding rather than a real biological threshold.
      • Critics say the article’s language overstates what can be inferred, noting that no intervention was done, mechanisms were not tested, and telomere‑based “biological age” algorithms are imperfect proxies that can disagree and often reflect current health more than true ageing.
      • Some participants see this work as part of a broader pattern in nutrition epidemiology where modest associations are framed as causal, sometimes veering into “citation farming” and p‑hacking, and call for clearer distinction between correlation and causation.
      • Others discuss conflicting coffee literature, differences between instant and other brews, personal experiences with cutting or increasing caffeine, and the general view that while coffee may have health benefits, claims of large lifespan or ageing effects should be treated with skepticism absent strong mechanistic evidence.
    1. Nie przewidzisz następnego krachu na giełdzie

      The video discusses the difficulty of predicting stock market crashes and the poor track record of financial experts in this area.

      • Critique of Market Predictions

        • A study analyzing 6,582 forecasts from 68 experts between 2005 and 2012 found that the average expert had an accuracy rate of only 46.9% (below 50%) [00:00:57].
        • The study showed that better results could be achieved by simply flipping a coin [00:01:21].
        • After accounting for transaction costs required to follow the advice, the study concluded that none of the experts would have earned money for an investor [00:01:31].
        • The narrator suggests that financial media (like CNBC) does not publish experts' success rates because their achievements are typically only average [00:01:57].
      • Notable "Prophets of Doom"

        • Michael Burry: Predicted the 2008 crisis but is criticized for constantly predicting new crises annually, including recent concerns about a potential bubble in passive investing/index funds (referred to as "Kassandra" for his unheeded warnings) [00:02:47]. He notably missed the COVID-19 crash [00:03:39].
        • Jamie Dimon (CEO of JP Morgan): Often joked about for predicting 22 of the last three crashes, constantly forecasting crises and recessions [00:04:03].
        • Jim Cramer: Known for producing hundreds of buy/sell recommendations annually on CNBC's Mad Money, which are seen more as attention-grabbing content than sound investment advice [00:04:19].
      • Why Do People Make Predictions?

        • Fear Sells: Negative scenarios and "black swan" events generate high interest and attention [00:00:08], [00:04:45].
        • Self-Interest: Experts may act in their own interest, potentially aiming for short-term market fluctuations to profit [00:04:53].
        • Luck and Randomness: A simulation showed that purely by random chance (a 50/50 probability), 313 out of 10,000 fictional investors would have earned a profit every year for five years, showing how "gurus" can emerge through sheer luck [00:06:52].
      • Investment Philosophy and Takeaways

        • The focus should be on long-term investing using instruments like broad-market ETFs [00:09:45].
        • Crashes are opportunities: Investors should want crashes because they allow them to buy assets at lower prices, which is beneficial for a long-term strategy [00:10:12].
        • Preparation over Prediction: The key conclusion is that investors should not try to predict crises but should focus on being prepared with a sound strategy to function comfortably when corrections occur [00:10:53].
        • Quote from Peter Lynch: "Investors have lost significantly more money preparing for corrections or trying to predict them than they lost on the corrections themselves" [00:09:35].
    1. Co nas czeka w 2026 roku, XTB podaje zwycięskie TICKERY i sektory
      • Source and Context

        • The video summarizes the Market Outlook 2026 report released by XTB, a financial institution [00:00:00].
        • The report covers macroeconomics, currency markets, commodities, stock indices, stocks, and cryptocurrencies [00:01:50].
        • The primary advice for 2026 is the need for investors to balance caution with seizing emerging opportunities, given stabilizing inflation, slowing growth, and political risks [00:01:01], [00:10:31].
      • Macroeconomic and Currency Observations

        • Europe: European manufacturers (like Hermes and Uniliver) are handling US tariffs better than expected [00:02:21]. However, a major concern is Europe's low investment in R&D (2.3% of GDP vs. 3.4% in the US) and the difficulty of commercializing university patents, pointing to a lack of innovation [00:02:37].
        • Political Risk: The rising strength of populist parties is flagged as a risk that could undermine investor confidence [00:03:11].
        • Euro/Dollar: The Euro's strengthening was attributed to the Dollar's weakness ("micro-crisis of confidence in the dollar," according to ECB President Christine Lagarde), but the Euro's global position will not improve without fundamental economic improvements in the Eurozone [00:03:38].
        • Gold: China continues to increase its gold reserves, now accounting for nearly 8% [00:04:05].
      • Sectors and the Tech Bubble Comparison

        • Tech Valuations: Current high valuations are considered justified by phenomenal financial results and massive capital expenditure on Artificial Intelligence (AI) by Big Tech [00:04:19].
        • Performance Post-Bubble: An analysis of performance one year after the dot-com bubble showed that the S&P 500 Equal Weight index performed the best, while the NASDAQ and MSCI Emerging Markets performed the worst [00:04:52].
        • Resilient Sectors (Defensive): Sectors that held up best after the bubble burst included Healthcare (the top performer), Consumer Staples, Insurance, and Transport [00:05:17].
        • Vulnerable Sectors (Speculative): The worst-performing sectors included Technology Hardware (over 50% loss) and Software (nearly 40% loss) [00:05:35]. The trend showed a significant migration of capital from technology stocks to defensive sectors [00:06:05].
      • XTB's Top Tickers for 2026

        • Palo Alto Networks (Cybersecurity): Expected to double revenue within five years due to its subscription model, cross-selling success, and the acquisition of CyberArk [00:06:21].
        • ASML (Semiconductors): Highlighted as a monopolist that controls 75% of the global market for advanced lithography machines used in chip production [00:07:06].
        • LVMH (Luxury Goods): Expected to benefit from stabilization in China, US interest rate cuts, and geographical diversification, leading to increased sales in Europe [00:07:43].
        • MP Materials (Rare Earth Metals): A US-based company capitalizing on the geopolitical tensions between the US and China in the rare earth sector. It has contracts with Apple and the US Department of Defense [00:08:21].
        • Symbotic (Automation): A supply chain automation company that uses advanced AI and robotics, with major clients like Walmart and a backlog exceeding $22 billion [00:09:41].
        • Banco Macro (Argentina): Expected to benefit from the policies of President Javier Milei, which aim to attract foreign capital [00:10:02].
        • Other mentioned stocks include Ferrari (controlled growth), Upcellera (biotech platform), and Kohort (UK defense systems) [00:09:11], [00:09:20], [00:10:11].
        • Cryptocurrencies: The report suggests a potential battle between Ethereum and Bitcoin in 2026 [00:10:22].

      The video mentions CD Project as one of the Top Picks for 2026 identified by the Polish brokerage house mBank [00:11:27].

      Here is a summary of all the Polish broker top stock picks mentioned in the video:

      Polish Broker Top Picks for 2026

      • mBank Top Picks [00:11:19]:
        • CD Project (gaming company)
        • Cyberfolks
        • Kruk
        • Mobrook
        • Cryfizen Bank Polski
        • PKO BP (PKOP)
        • Alior Bank
        • Polimexostal
      • Noble Securities Top Picks [00:11:57]:
        • These picks focus on a potential revival in the trade and construction sectors.
        • MFO
        • Ferro
        • Unibep
        • Murator
        • Electro Team
        • Mangata Holding
        • Odlewnie
    1. Why people keep flocking to Linux in 2025 (and it's not just to escape Windows)
      • Linux desktop market share has grown from 1.5% in 2020 to over 4% globally in 2024 and exceeds 5% in the US by 2025; including ChromeOS pushes it above 11%.
      • Key drivers include Windows 10 end-of-support, Windows 11's unpopular changes (e.g., AI integration, interface shifts), and Zorin OS seeing 78% downloads from Windows users.
      • Additional factors: better gaming via Steam/Proton, improved distro usability, hardware compatibility, privacy concerns, and EU digital sovereignty pushing governments to Linux alternatives like EU OS.
      • Broader Linux dominance: Android (Linux-based) holds 72.55% global mobile share; US gov sites see 23% Linux traffic including Android/ChromeOS.

      Hacker News Discussion

      • Top comment praises KDE Plasma on Fedora over GNOME for Windows-like features, configurability (window rules, settings panel), and dev workflow superiority to WSL; prefers AMD GPUs.
      • Distro recs: Pop!_OS for simplicity/accessibility, Kubuntu LTS for longevity (e.g., 5+ years on old hardware), atomic Fedora Kinoite for rollbacks.
      • Pain points: Video editing lags (DaVinci Resolve codec issues, Kdenlive text woes), hardware glitches (Nvidia, fingerprints), weaker file pickers/accessibility vs Windows/macOS.
      • Debates: CLI tools suffice for some; toxicity accusations fly; Linux dev admits accessibility gaps; Windows' telemetry/AI drives switches; market share undercounted by adblockers.
    1. Writing a good CLAUDE.md
      • CLAUDE.md is a special onboarding file to familiarize Claude (an AI code assistant) with your codebase.
      • It should clearly outline the WHY (purpose of the project), WHAT (tech stack, project structure, key components), and HOW (development process, running tests, build commands) for Claude.
      • The file helps Claude understand your monorepo or multi-application project and know where to look for things without flooding it with unnecessary details.
      • Keep CLAUDE.md concise and focused; ideally, it should be under 300 lines, with many recommending less than 60 lines for clarity and relevance.
      • Use progressive disclosure: point Claude to where to find further information rather than including all details upfront, avoiding overwhelming the model’s context window.
      • Complement CLAUDE.md with tools like linters, code formatters, hooks, and slash commands to separate concerns like implementation and formatting.
      • CLAUDE.md is a powerful leverage point for getting better coding assistance but must be carefully crafted—not auto-generated.
      • The file should include core commands, environment setup, guidelines, and unexpected behaviors relevant to the repository.
      • Encouraging Claude to selectively read or confirm files before use can help maintain focus during sessions.

      Hacker News Discussion

      • Users emphasized the benefit of explicit instruction patterns like "This is what I'm doing, this is what I expect," which improves monitoring and recovery from errors.
      • Some commenters felt these markdown files had marginal gains and that model quality mattered more than the presence of CLAUDE.md.
      • A few highlighted the importance of writing documentation primarily for humans rather than solely for LLMs.
      • Discussion included anticipation of more stateful LLMs with better memory, which would impact how such onboarding files evolve.
      • Recommendations included hierarchical or recursive context structures in CLAUDE.md for large projects, allowing a root file plus targeted sub-files.
      • Comments supported having Claude address the user specifically to verify it is following instructions properly.
      • Some users noted improvements in model adherence compared to past versions, making CLAUDE.md files more effective now.
      • Practical tips were shared for managing large monorepos and integrating CLAUDE.md with version control status.
    1. The Math of Why You Can't Focus at Work
      • Modern knowledge work is dominated by interruptions (meetings, Slack, emails), making long, focused blocks of work rare.
      • The author models a workday using three key parameters: λ (interruptions per hour), Δ (recovery time after each interruption), and θ (minimum uninterrupted block needed for meaningful work).
      • Interruptions are treated as a (simplified) Poisson process, but in reality they often come in clusters, which further worsens the ability to regain focus.
      • Recovery time Δ represents how long it takes to rebuild mental context; even short “quick questions” can cost 10–20 minutes of effective productivity.
      • Theta θ captures that five 10‑minute blocks are not equivalent to one 50‑minute block, because fragmented time below θ produces little real progress.
      • The concept of “capacity” is defined as how many θ‑sized chunks fit into all focus blocks, using a floor function, so small changes in block lengths or θ can dramatically change effective output.
      • Simulations of 100 days show that with harsh parameters (e.g., λ ≈ 3, Δ ≈ 20, θ = 60), long focus blocks are extremely rare and many days have almost no deep work.
      • Empirical studies report very high interruption/activity-switch rates (e.g., activity switches every ≈3 minutes, or interruptions every ≈2 minutes for heavy collaborators), implying real-world λ is often far worse than the “toy” examples.
      • Under high λ (e.g., 15 interruptions/hour) and moderate Δ, simulated days become walls of interruptions with almost no 15‑minute blocks, illustrating how deep work becomes statistically impossible.
      • When λ and Δ are reduced (e.g., λ = 1, Δ = 10), most days contain multiple 60‑minute blocks, showing that structural conditions—not personal discipline—largely drive good vs. bad days.
      • A heatmap over λ and Δ visualizes expected capacity; “good,” “typical,” and “terrible” zones differ dramatically in how many deep-work blocks they allow.
      • Increasing θ (e.g., from 30 to 60 minutes) sharply reduces capacity in typical/terrible regimes, explaining why big, hard tasks feel impossible while smaller tasks remain doable.
      • Monte Carlo simulations (many repeated day simulations) estimate expected capacity for each (λ, Δ, θ) combination, relying on the law of large numbers.
      • Reducing λ is the most powerful lever: going from 1 to 2 interruptions/hour can slash the probability of getting three 60‑minute blocks from about 70% to about 14% in the example.
      • Many interruptions are self-inflicted (e.g., frequent inbox/Slack checking), so batching communication and making access to your attention more “expensive” can substantially improve conditions.
      • Matching θ to your environment means breaking high‑θ projects into smaller independent tasks, and reserving low‑λ windows (e.g., early mornings) for the longest, hardest work.
      • Reducing Δ involves leaving breadcrumbs (notes to self), avoiding wide context switches, and using small rituals to re-enter focus so that resumption is faster.
      • The core message is that deep work is rare not because of individual weakness but because λ and Δ in modern workplaces make it mathematically unlikely.
      • Small structural changes—slightly fewer interruptions, somewhat shorter recovery, smaller-task design—can shift the whole distribution of days from “fragmented by default” to “deep work routinely possible.”
      • The author recommends experimenting with a protected 90‑minute daily block as a personal lab to observe how λ, Δ, and θ play out and to reclaim focus
  3. Nov 2025
    1. Don't Download Apps
      • Companies aggressively push app downloads, especially in places like Taiwan, offering discounts but often installing without full consent, leading to spam and unwanted data collection.
      • Avoid handing over your phone to staff and never download apps, as they provide minimal benefits compared to the risks involved.
      • Primary risks include surveillance capitalism: apps enable extensive data tracking for targeted ads and "surveillance pricing," where prices vary based on inferred financial status (e.g., charging more after payday).
      • This undermines fair pricing, giving corporations power over individual costs beyond market forces.
      • Apps enforce binding arbitration clauses in Terms of Service, waiving rights to court, jury trials, or oversight; examples include Disney attempting to force arbitration in a wrongful death case linked to a Disney+ trial.
      • Predictions highlight future abuses, like arbitration forced via unrelated services (e.g., Uber Eats leading to self-driving car disputes).
      • Recommendation: Use websites or PWAs instead to preserve privacy and rights.

      Hacker News Discussion

      • Users debate apps vs. websites/PWAs: many praise PWAs (e.g., Mastodon, Photoprism) for performance when implemented well, criticizing poor web apps and noting apps often wrap webviews with extra tracking.
      • Privacy concerns dominate: native apps access more device data (contacts, SMS, biometrics, etc.) even with permissions, unlike sandboxed PWAs; tools like NetGuard suggested for blocking app internet access.
      • Loyalty discounts viewed as modern coupons by some, saving money despite data sharing, but others warn of surveillance pricing via purchase patterns and arbitration risks.
      • Experiences shared: retailers reject Apple Pay to force accounts; global pushiness for apps noted; arbitrage limits price discrimination viability.
      • Calls for better OS controls, open-source apps without tracking, and skepticism of app store security.
    1. Ponad milion pobrań w pięć tygodni. Zorin OS 18 przyciąga setki tysięcy użytkowników Windows 10
      • Zorin OS 18 has surpassed 1 million downloads in just over five weeks since its release.
      • Over 78% of these downloads came from Windows users, reflecting many switching from Windows 10 after its support ended.
      • Zorin OS 18 features a redesigned interface merging Windows 11 and MacOS styles, improved Windows software compatibility, and new features like Progressive Web App installer and integrated OneDrive support.
      • The OS offers long-term support until 2029, with quality-of-life improvements such as better search in file manager, integrated RDP support, and improved Bluetooth audio via PipeWire.
      • The release timing coincides with the end of Windows 10 support and user dissatisfaction with Windows 11, driving increased interest in alternatives like Zorin OS.
    1. Life-changing eye implant helps blind patients read again
      • New "Prima" eye implant is a breakthrough for the blind – allows regaining the ability to read.
      • Involves implanting a microprocessor under the retina, with patients wearing glasses with a camera that transmits the image to the implant.
      • Of 32 people implanted, 27 could read using central vision; after a year, they improved by 5 lines on the vision test chart.
      • 70-year-old patient Sheila Irvine, who lost her sight over 30 years ago and has had the implant for 3 years, now solves crosswords.
      • Rights to PRIMA acquired in 2024 by U.S. company Science Corporation. (video in source)
    1. Nabici w halucynacje AI. W poszukiwaniu prawdy
      • Article warns about AI hallucinations spreading disinformation in journalism, law, and business, spotlighting Polish journalist Karolina Opolska's book with likely AI-generated fake sources and errors.
      • Opolska incident reached 4 million potential contacts (1.6M traditional media, 2.4M social) from Nov 5-19, 2025, impacting 1 in 8 Poles aged 15+; social reaction mostly negative, debating trust in journalists and AI.
      • Polish Exdrog firm lost road tender due to AI-fabricated tax interpretations (1.3M reach, Oct 26-Nov 10, 2025).
      • Global cases include lawyers citing invented precedents and media promoting nonexistent books; BBC/EBU study shows 45% error rate in tools like ChatGPT, Copilot, Gemini, Perplexity.
      • Legal liability unclear (AI maker, provider, or user?); human verification essential.
      • AI content red flags: perfect formatting, clickbait, dubious stats like 93% without method, no timelines/methodology, rapid production, overused LLM words (e.g., "kluczowe", "istotne", "kompleksowy", "rewolucyjny").
      • IMM analyses from Polish media/social coverage for both cases.
    1. AWS is 10x slower than a dedicated server for the same price
      • Video Title: AWS is 10x slower than a dedicated server for the same price
      • Core Argument: Cloud providers, particularly AWS, charge significantly more for base-level compute instances than traditional Virtual Private Server (VPS) providers while delivering substantially less performance. The video argues that horizontal scaling is often unnecessary for 95% of businesses.
      • Comparison Setup: The video compared an entry-level AWS instance (EC2 and ECS Fargate) with a similarly specced VPS (1 vCPU, 2 GB RAM) from a popular German provider (Hetzner, referred to as HTNA in the video) using the Sysbench tool.
      • AWS EC2 Results: The base EC2 instance cost almost 3 times more than the VPS but delivered poor performance:
        • CPU: Approximately 20% of the VPS performance.
        • Memory: Only 7.74% of the VPS performance.
      • AWS ECS Fargate Results: Using the "serverless" Fargate option, setup was complex and involved many AWS services (ECS, ECR, IAM).
        • Cost: The instance was 6 times more expensive than the VPS.
        • Performance: Performance improved over EC2 but was still slower and less consistent: 23% (CPU), 80% (Memory), and 84% (File I/O) of the VPS's performance, with fluctuations up to 18%.
      • Cost Efficiency: A dedicated VPS server with 4vCPU and 16 GB of RAM was found to be cheaper than the 1 vCPU ECS Fargate task used in the test.
      • Conclusion: For a similar price point, a dedicated server is about 10 times faster than an equivalent AWS cloud instance. The video concludes that AWS's dominance is due to its large marketing spend, not superior technical or cost efficiency. A real-world example cited is Lichess, which supports 5.2 million chess games per day on a single dedicated server [00:12:06].

      Hacker News Discussion

      The discussion was split between criticizing the video's methodology and debating the fundamental value proposition of hyperscale cloud providers versus traditional hosting.

      • Criticism of Methodology: Several top comments argued the video was a "low effort 'ha ha AWS sucks' video" with an "AWFUL analysis." Critics suggested the author did not properly configure or understand ECS/Fargate and that comparing the lowest-end shared instances isn't a "proper comparison," which should involve mid-range hardware and careful configuration.
      • The Value of AWS Services: Many users defended AWS by stating that customers rarely choose it just for the base EC2 instance price. The true value lies in the managed ecosystem of services like RDS, S3, EKS, ELB, and Cognito, which abstract away operational complexity and allow large customers to negotiate off-list pricing.
      • Complexity and Cost Rebuttals: Counter-arguments highlighted that managing AWS complexity often requires hiring expensive "cloud wizards" (Solutions Architects or specialized DevOps staff), shifting the high cost of a SysAdmin team to high cloud management costs. Anecdotes about sudden huge AWS bills and complex debugging were common.
      • The "Nobody Gets Fired" Factor: The most common justification for choosing AWS, even at a higher cost, is risk aversion and the avoidance of personal liability. If a core AWS region (like US-East-1) goes down, it's a shared industry failure, but if a self-hosted server fails, the admin is solely responsible for fixing it at 3 a.m.
      • Alternative Recommendations: The discussion frequently validated the use of non-hyperscale providers like Hetzner and OVH for significant cost savings and comparable reliability for many non-"cloud native" workloads.
    1. Python is not a great language for data science. Part 1: The experience
      • The blog argues Python is not ideal for data science tasks due to performance issues and inefficiencies in libraries like Pandas.
      • Python often requires supplementary libraries such as NumPy for numerical calculations, which adds complexity.
      • The author feels Python is heavily pushed despite there being possibly better alternatives like R for statistics and data analysis.
      • Python’s flexibility and dynamic typing can lead to slower code and difficulties in managing large-scale data science projects.
      • The article criticizes Python’s packaging ecosystem, type checking, and runtime performance.
      • There is a perception that Python’s popularity is partly due to team and community familiarity rather than technical superiority.
      • Overall, the blog emphasizes that Python is good for beginners but may not scale well for advanced data science needs.

      Hacker News Discussion

      • Many commenters agree Python has limitations in data science, particularly citing Pandas as inefficient and cumbersome for rapid data manipulation.
      • Some defend Python by highlighting NumPy’s effectiveness and community support, saying Python’s ecosystem overall is a strength despite some weaknesses.
      • Performance issues and the Global Interpreter Lock (GIL) are frequent complaints, leading to suggestions of other languages like R for some tasks.
      • Several users note Python’s packaging and dependency management remain problematic despite tools like Poetry.
      • The diversity of opinions includes those who appreciate Python’s readability and vast ecosystem versus those who find it limiting and inefficient for production-scale data science.
      • Some highlight the inertia behind Python’s use in teams, making switching to languages considered technically better difficult.
      • The discussion includes various technical nuances such as duck typing problems, difficulty with type checking, and the challenge of scaling beyond prototype-level work.
    1. Announcing Azure Copilot agents and AI infrastructure innovations
      • Microsoft Azure showcased modernization of cloud infrastructure at Microsoft Ignite 2025, focusing on reliability, security, and AI-era performance.
      • The strategy includes strengthening Azure’s global foundation, modernizing workloads with advanced systems (Azure Cobalt, Azure Boost, AKS Automatic, HorizonDB), and transforming team workflows through AI agents like Azure Copilot and GitHub Copilot.
      • Azure Copilot introduces an agentic cloud operations model with specialized agents for migration, deployment, optimization, observability, resiliency, and troubleshooting to automate tasks and enhance innovation.
      • Azure’s AI infrastructure supports global scale with over 70 regions and datacenters, featuring Fairwater AI datacenters with liquid cooling, a dedicated AI WAN, and NVIDIA GB300 GPUs to deliver unmatched capacity and speed.
      • Innovations like Azure Boost offload virtualization tasks onto specialized hardware, improving disk throughput and network performance; AKS Automatic simplifies Kubernetes management for fast, reliable app deployment.
      • Azure HorizonDB for PostgreSQL offers scalable, AI-integrated databases and new partnerships (e.g., SAP Business Data Cloud Connect) facilitate data sharing across platforms.
      • Azure emphasizes operational excellence with zone-redundant networking, automated fault detection, and resilience co-engineered with customers via Azure Resiliency.
      • Security improvements include Azure Bastion Secure by Default for hardened VM access, Network Security Perimeter for centralized firewall control, and AI-powered defenses like Web Application Firewall with Captcha.
      • Modernization supports a mix of legacy and cloud-native systems with AI tools enabling faster migration and modernization for .NET, Java, SQL Server, Oracle, and PostgreSQL workloads.
      • Azure enables faster, more efficient modernization and management across infrastructure, improving governance, compliance, and cost-effectiveness.
      • The cloud future is agentic, intelligent, and human-centered, with continued innovation in Azure infrastructure, AI agents, and open-source contributions driving business growth.
    1. Brain has five ‘eras’, scientists say – with adult mode not starting until early 30s
      • A new study from Cambridge scientists identifies five distinct ages or structural eras of the human brain throughout the average lifespan.
      • Four major brain development turning points occur around the ages of 9, 32, 66, and 83 years.
      • These eras represent different phases of neural network organization, integration, and segregation, correlating with key cognitive, behavioral, and mental health outcomes.
      • The first stage, from birth to about 9 years, involves decreasing global integration and increasing local segregation in the brain's networks.
      • The second stage, spanning ages 9 to 32, labeled "adolescence," shows increasing network integration and efficiency and is when "adult mode" of brain wiring begins.
      • From 32 to 66 years ("adulthood"), there is a transition to decreased integration but increased segregation.
      • The study sheds light on why adolescence may last until the early 30s and how brain efficiency and topology change across life.
      • Understanding these phases may inform about critical periods for cognitive development and age-related cognitive decline.

      Hacker News Discussion

      • The discussion briefly mentions socioeconomic impacts, noting that median income almost doubles between ages 23 and 35, which aligns with the brain development "adult mode" onset around early 30s.
      • Other comments are limited and fragmented, mostly consisting of quick reactions and some contextual mentions without deep analysis of the study.
      • There is a general acknowledgment of the relevance of the study's findings for understanding cognitive and life milestone transitions, but no extended debate or critique.
    1. Pokolenie Z pociesza się zestawami happy meal i używa ChatGPT jako psychologa. Zatrważający raport
      • 80% of Generation Z (Gen Z) admit they could not financially sustain themselves for a month after losing their main income source; 27% have no emergency savings.
      • Financial insecurity is widespread: 56% live paycheck to paycheck, and 30% feel financially unsafe globally; in Poland, 43% fear lacking financial independence, and one-third doubt owning a home.
      • Job security fears are high: only 43% of junior employees (mainly Gen Z) trust their employers' stability in the next six months—the lowest in years.
      • Gen Z is cutting spending drastically; instead of small luxuries, they share "no-buy lists," use coupons, opt for children's meal deals, or salvage discarded items to save money.
      • ChatGPT is used by many young adults as a free alternative to therapy, serving as a conversational partner or interactive diary amid mental health and financial stress.
      • About 47% of Polish Gen Z women consider starting their own business, and over half of European Gen Z plan side hustles within three years, motivated by financial independence and work flexibility.
      • This younger generation is adapting by reducing expenses, seeking free mental health tools, and pursuing entrepreneurship as a response to economic uncertainty and recession fears.
    1. Jakie suplementy diety warto brać jesienią i zimą? Dr Tadeusz Oleszczuk [Sekrety Długowieczności]
      • Vitamin D3 (Witamina D3):
        • Crucial Supplement: Highly recommended for the autumn/winter season (September to April in Poland) because skin synthesis of D3 is inactive and most people have low levels (safe level is 50-80 ng/mL) [00:00:12], [00:00:33], [00:01:32].
        • Benefits: Supports immunity, reduces infection risk, and is vital for hormone production [00:01:17], [00:01:39].
        • Actionable Advice: Always check your current level before supplementation, and retest after 3-6 months to ensure the optimal level (50-60 ng/mL) is reached [00:01:24], [00:01:59].
      • Omega-3 Fatty Acids (Kwasy omega-3):
        • Component: Provides EPA and DHA, which are essential for brain structure (60% fat), nervous system function, and myelin sheaths [00:03:30], [00:03:38].
        • Functions: Exhibits anti-inflammatory effects and supports the heart, brain, and overall immunity [00:03:38].
        • Storage Tip: Liquid form should be consumed within one month of opening and kept in the refrigerator to prevent oxidation; capsules are more stable [00:03:48], [00:04:01].
      • Magnesium (Magnez):
        • Role: Helps manage stress, improves memory, and supports muscle function [00:07:05].
        • Essential Cofactor: Magnesium is required as a "motor" for the majority of enzymes in the body; deficiency impairs the function of the entire organism [00:07:35], [00:07:42].
        • Consumption: Choose easily absorbable and safe forms like magnesium glycinate [00:07:23]. Be mindful that diuretics like coffee and tea can deplete magnesium levels [00:07:46].
      • Other Key Supplements:
        • Vitamin C and Zinc: Support the immune system and shorten the duration of infections [00:05:03]. It's important to test your zinc level first to avoid harmful excess [00:04:18], [00:04:21].
        • Probiotics and Prebiotics: A healthy gut microbiota is the foundation of immunity [00:06:14]. Probiotics need prebiotics (e.g., resistant starch like cold potatoes) to thrive and create beneficial conditions [00:06:24], [00:05:39].
        • B Vitamins: A B-complex should be considered if the diet is poor, especially since B12 deficiency can be linked to nervous system issues and stomach problems [00:08:14], [00:08:29].
      • General Supplementation Rules:
        • Supplements should be individually chosen based on a person's lifestyle and real, confirmed deficiencies [00:09:16], [00:09:21].
        • When buying, always check the dosage on the label to ensure the amounts are effective and not just minimal [00:08:44], [00:08:56].
        • The foundation of strong immunity remains sleep, diet, and exercise [00:09:26].
    1. Evidence suggests early developing human brains are preconfigured with instructions for understanding the world
      • New research suggests the human brain is preconfigured with structured electrical activity patterns even before sensory experiences begin.
      • UC Santa Cruz scientists used brain organoids—3D models of human brain tissue grown from stem cells—to study early brain electrical activity.
      • The brain's earliest neuron firings occur in complex patterns similar to the brain’s default mode, indicating an intrinsic, genetically encoded blueprint.
      • These early patterns emerge without any external sensory input, showing the brain has an inherent operating system for navigating and interacting with the world.
      • Organoids offer a unique way to study brain development and developmental disorders ethically, bypassing the inaccessibility of the fetal brain in the womb.
      • Understanding these patterns could aid in diagnosing and treating neurodevelopmental disorders and assessing the impact of toxins like pesticides and microplastics.
      • This research opens possibilities for developing new therapies including compounds, drug treatments, and gene editing that can be tested at the preclinical level in human tissue.

      Hacker News Comments

      • Many commenters found the innate, prewired nature of some animal behaviors fascinating, citing examples such as foals standing immediately after birth and Labradors instinctively swimming.
      • Discussion touched on the distinction between precocial and non-precocial animals, and how some behaviors are genetically encoded versus learned quickly after birth.
      • Several comments highlighted the mystery of how relatively limited DNA information can encode complex brain functions and behaviors.
      • Some pointed out that brains may encode useful priors or inductive biases that enable efficient learning from the environment.
      • There was curiosity about how innate programming and environmental learning interact, with some suggesting innate neural groups form first and then acquire functions through interaction.
      • Others weighed in on philosophy versus empirical science in understanding brain development, emphasizing the complexity and that much remains unknown.
      • Additional remarks described how genetic, epigenetic, and external factors collectively shape brain development and behavior.

      These combined perspectives underscore excitement about the new findings and the broader implications for neuroscience, genetics, and understanding innate versus learned behaviors in humans and animals.

    1. Childhood Friends, Not Moms, Shape Attachment Styles Most
      • A 30-year study found that childhood friendships have a bigger impact on adult attachment styles than relationships with parents.
      • Attachment theory originally emphasized parental influence, but this study shows mothers influence general attachment style only slightly (2-3% variance).
      • Early friendships significantly influence adult romantic and friendship attachment anxiety and avoidance (4-11% variance).
      • Quality childhood friendships teach give-and-take dynamics that shape how adults form and maintain relationships.
      • The study followed 705 participants from childhood through age 26-31, analyzing parent-child and peer relationships.
      • Positive early friendships correlate with more secure adult romantic and platonic relationships.
      • The research highlights the importance of peer relationships in social and emotional development over family interactions.
      • Choosing positive and supportive friends during childhood contributes to healthier adult attachments.
    1. Vision in the Digital Age
      • Myopia (nearsightedness) is increasingly common, with serious risks for high myopia such as legal blindness, retinal detachment, and cataracts.
      • It results primarily from the eyeball growing too long, causing light to focus in front of the retina, leading to poor distance vision.
      • Environmental influences, especially increased indoor time and near work with screens, have driven the rapid rise of myopia in recent decades.
      • Digital screens stress the eyes by forcing continuous near focus and lack of depth cues, causing accommodative spasms and vision strain.
      • Preventative actions include spending at least 2 hours outdoors daily, regularly focusing on distant objects, and practicing the 20-20-20 rule during screen time.
      • Corrective solutions such as glasses, contacts, and LASIK improve vision but do not address underlying eye structure changes or risks associated with high myopia.
      • Claims of myopia reversal exist but lack widespread scientific validation.
      • The prevalence of myopia and reliance on corrective lenses is projected to grow drastically, making vision protection urgent in the digital age.
      • Ongoing research and awareness about vision health and behavioral changes are crucial to mitigate the myopia epidemic.
    1. Nano Banana Pro: raw intelligence with tool use
      • Google released Nano Banana Pro (gemini-3-pro-image-preview), a new AI image generation model.
      • Nano Banana Pro excels in general intelligence, tool use, and creating complex scenes with less hallucination.
      • It can use Google Search and Maps to gather data and reason visually through "thought images."
      • Pushing infographic and map generation to new frontiers, enabling visually rich and factually accurate images.
      • Can create detailed photorealistic images based on complex, multi-element prompts.
      • Not reliable for electrical circuit designs yet, as it may produce erroneous circuit diagrams.
      • Human intelligence still surpasses it in domain-specific tasks like accurate circuit design.
      • Nano Banana Pro is seen as a game changer in practical, production-ready AI image generation.
      • Tool use enables more factually accurate and data-driven generated images than previous models.
      • Benchmarking AI image generation quality still needs development for production use assessment.
      • The community is impressed with Nano Banana Pro's nuanced prompt following and image creation capabilities.
    1. Suplementy, które MUSISZ brać, i które ZASZKODZĄ. Ranking 15 🏆Tap to unmute2xSuplementy, które MUSISZ brać, i które ZASZKODZĄ. Ranking 15 🏆Dr Bartek Kulczyński 350,605 views 1 month agoSearchCopy linkInfoShoppingIf playback doesn't begin shortly, try restarting your device.Pull up for precise seekingGroup No. 4Mute5:26Group No. 4•Up nextLiveUpcomingCancelPlay nowYou're signed outVideos that you watch may be added to the TV's watch history and influence TV recommendations. To avoid this, cancel and sign in to YouTube on your computer.CancelConfirmDr Bartek KulczyńskiSubscribeSubscribedTu dietetyk dr Bartek Kulczyński. Na tym kanale opowiadam, jak powinna wyglądać zdrowa dieta, aby zażegnać choroby, zmniejszyć ich ryzyko. Poprzez zdrowy styl życia, włączenie do diety niektórych produktów i wykluczenie takich, które nam nie służą, możemy poprawić swoje zdrowie. Na kanale omawia takie tematy jak cukrzyca typu 2, odchudzanie (jak schudnąć zdrowo), jakie zdrowe produkty warto jeść, jakich produktów unikać i jak radzić sobie z chorobami. Pojawia się też gotowanie i zdrowe przepisy. W dorobku mam 67 publikacji naukowych o zasięgu krajowym i międzynarodowym, w takich wydawnictwach jak Elsevier, Springer czy Taylor & Francis. W latach 2015-2019 byłem redaktorem czasopisma naukowego „Postępy Dietetyki w Geriatrii i Gerontologii”. Napisałem około 300 artykułów popularno-naukowych o dietetyce. Od 2018 jestem zatrudniony przez Uniwersytet Przyrodniczy, gdzie prowadzę zajęcia ze studentami dietetyki i technologii żywności. Stopień doktora mam z technologii żywności i żywienia. Najsilniejszy odtruwacz organizmu. Tak zwiększysz jego poziom w ciele16:03HideShareInclude playlistAn error occurred while retrieving sharing information. Please try again later. 20:2020:20 / 21:43Live (21:20)•Watch full video ON OFF •Group No. 1Group No. 1•1:33:271 Bio-Hacker vs 20 Skeptics (ft. Bryan Johnson) | SurroundedJubilee and Bryan Johnson762k views • 4 days agoLivePlaylist ()Mix (50+)25:18The Matterhorn // Europe's Most DEADLY Mountain... SoloMagnus Midtbø2.5m views • 1 month agoLivePlaylist ()Mix (50+)15:26Gut Microbiome WARRIORS - Fighting Cancer NaturallyDr. Dino Prato Podcast252 views • 10 hours agoLivePlaylist ()Mix (50+)16:45HEAVY is the KILL [EP]KILL17k views • 5 months agoLivePlaylist ()Mix (50+)11:03Najważniejsze suplementy, które powinieneś brać do śniadania 🥗Jakub Mauricz82k views • 3 weeks agoLivePlaylist ()Mix (50+)1:16:26"ILE POWINIEN TRWAĆ SEKS I CO SIĘ DZIEJE GDY JEST ZA KRÓTKI" GINEKOLOG O PROBLEMACH W ŁÓŻKUBez Tajemnic926k views • 6 months agoLivePlaylist ()Mix (50+)19:42I Hired a Rental Japanese BOYFRIEND in Tokyo 💘seerasan831k views • 3 months agoLivePlaylist ()Mix (50+)18:15I taught an octopus piano (It took 6 months)Mattias Krantz5m views • 2 weeks agoLivePlaylist ()Mix (50+)11:58You're More Stressed Than Ever - Let's Change ThatKurzgesagt – In a Nutshell3.1m views • 9 days agoLivePlaylist ()Mix (50+)55:50Niedobór TESTOSTERONU u mężczyzn po 40-tce – prawda o spadku energii i libido – Tomasz WaligóraDzień Dobry Długowieczność78 views • 18 hours agoLivePlaylist ()Mix (50+)25:04Why Mastering Your Communication Will Make You Rich!Vinh Giang90k views • 6 days agoLivePlaylist ()Mix (50+)15:378 suplementów, których nigdy nie kupię ⚠️ Nr 2 wręcz szkodliwyDr Bartek Kulczyński716k views • 2 years agoLivePlaylist ()Mix (50+)Speed: 1.4 Suplementy, które MUSISZ brać, i które ZASZKODZĄ. Ranking 15 🏆
      • Wprowadzenie: Film przedstawia ranking 15 popularnych suplementów diety, podzielonych na cztery grupy w zależności od ich udowodnionej skuteczności i uniwersalności zastosowania [00:00:40].

      • GRUPA 1: Warto przyjmować codziennie

        • Omega-3 (EPA i DHA) – z uwagi na szerokie korzyści zdrowotne i rzadkie spożywanie ich źródeł w diecie [00:19:41].
        • Witamina D – uznawana za hormon, jest kluczowa z uwagi na jej wielokierunkowe działanie i powszechne niedobory (większość osób w Polsce ma jej zbyt niski poziom) [00:20:20].
      • GRUPA 2: Szeroki, korzystny wpływ na zdrowie

        • Cynk
        • Magnez (wskazany ze względu na to, że Polacy spożywają go o 20-30% za mało) [00:13:44].
        • Witamina C
        • Błonnik pokarmowy (większość Polaków spożywa go za mało, choć jest powszechny w żywności) [00:16:56].
        • Probiotyki (ważne dla regulacji pracy jelit, odporności, a także w łagodzeniu objawów depresyjnych i usprawnianiu mózgu) [00:18:32].
      • GRUPA 3: Potwierdzona skuteczność, ale wąskie zastosowanie

        • Preparaty wysokobiałkowe (np. odżywki białkowe) – przydatne dla osób aktywnych fizycznie, budujących masę mięśniową, w rekonwalescencji oraz dla osób starszych zagrożonych sarkopenią [00:07:45].
        • Kreatyna – wspomaga wzrost masy i siły mięśni, wzmacnia kości, poprawia sprawność umysłową i pamięć [00:08:40].
        • Melatonina – ułatwia zasypianie, a także łagodzi objawy refluksowe i może obniżać ciśnienie tętnicze [00:10:32].
        • Kolagen – poprawia kondycję stawów, skóry, wzmacnia kości i naczynia krwionośne [00:11:42].
      • GRUPA 4: Znikoma skuteczność działania, niepolecane

        • L-Karnityna – jej efekt odchudzający jest marginalny (ok. 1,1 kg redukcji masy ciała w ciągu 8–30 tygodni) [00:01:56].
        • Buzdyganek naziemny (Tribulus Terrestris) – nie ma solidnych dowodów na to, że podnosi poziom testosteronu u większości osób [00:02:50].
        • Woda alkaliczna – promowana głównie marketingowo, organizm sam reguluje równowagę kwasowo-zasadową [00:03:30].
        • Wapń – suplementacja u dorosłych i starszych ma niewielki wpływ na gęstość kości, a może nieść nieznaczne ryzyko dla układu krążenia [00:05:06].
    1. Miliony nowych komórek MÓZGU i mniejsze ryzyko DEMENCJI o 50%
      • Tajemnicza substancja BDNF: Kluczowym elementem chroniącym mózg jest BDNF (neurotroficzny czynnik pochodzenia mózgowego), białko działające jak „naturalny nawóz” dla komórek nerwowych [00:00:55]–[00:01:13].
      • Wytwarzanie nowych komórek: BDNF stymuluje powstawanie nowych komórek nerwowych i połączeń, zwiększając sprawność umysłową, pojemność pamięci i odporność na zmiany neurodegeneracyjne [00:00:24].
      • Mniejsze ryzyko demencji: Wyższy poziom BDNF we krwi wiąże się z aż o 51% mniejszym ryzykiem rozwoju demencji i o 54% mniejszym ryzykiem choroby Alzheimera [00:01:30].
      • Osoby szczególnie potrzebujące BDNF: Na podniesieniu poziomu BDNF mogą skorzystać osoby starsze, osoby po udarze mózgu (gdzie poziom spada o ok. 55%) [00:02:14], osoby z depresją [00:02:54], cukrzycą (w kontekście neuropatii) [00:03:30], żyjące w ciągłym stresie [00:05:12] oraz z nadwagą/otyłością [00:05:48].
      • Czynniki obniżające BDNF: Negatywny wpływ na poziom BDNF ma przewlekły stres (poprzez kortyzol) [00:05:21] oraz alkohol (niezależnie od dawki) [00:06:33].
      • Co podnosi BDNF (Dieta i Suplementacja):
        • Ser pleśniowy (np. Brie, Camembert, 30 g dziennie) [00:07:35].
        • Produkty bogate w kwas alfa-linolenowy (olej lniany, nasiona lnu, orzechy włoskie, nasiona chia) [00:08:00].
        • Kwasy tłuszczowe Omega-3 (tłuste ryby: łosoś, śledź, sardynki, makrela) [00:08:34].
        • Kurkumina (powyżej 500 mg dziennie) [00:08:50].
        • Cynk (30 mg glukonianu cynku dziennie lub z pożywienia: mięso, ryby, podroby, pestki dyni) [00:09:42]–[00:10:06].
        • Probiotyki (mieszanka szczepów Lactobacillus i Bifidobacterium) [00:10:25].
        • Dieta ketogeniczna (w badaniu po 3 tygodniach poziom BDNF był wyższy o 47%) [00:11:12].
        • Borówki, kakao i gorzka czekolada (badania na zwierzętach) [00:11:46].
      • Co podnosi BDNF (Aktywność):
        • Ruch i ćwiczenia fizyczne (spacery, bieganie, siłownia, 3-4 razy w tygodniu, łącznie min. 2,5 godz. tygodniowo) [00:11:54]–[00:12:21].
    1. Is Sauna ACTUALLY Good For You? (90-Day Experiment)

      Summary: - Finnish research links 4+ dry sauna sessions per week to a 40% reduction in all-cause mortality—this outpaces even regular exercise or a Mediterranean diet. - Bryan Johnson’s 90-day experiment: 20-minute dry sauna sessions at 200°F (93°C), up to 7 times weekly, following protocols based on Finnish studies. - Initial issues included severe muscle cramps and poor sleep, traced to dehydration and electrolyte loss from sweating; resolved by increasing electrolyte consumption before and after each session. - Cardiovascular benefits included a rapid reduction of central systolic blood pressure and improved arterial flexibility, due to heat-induced vasodilation. - Body detoxification: After multiple sessions, significant reductions in body toxin levels were observed, especially when showering after each sauna. - Fertility markers: Using an ice pack on the testes during sauna preserved and even improved fertility by 31% over 21 days; discontinuing ice resulted in a 50% drop in fertility markers, highlighting the importance of testicular cooling for men during regular sauna use. - Most studied health benefits are linked to dry saunas at high heat, rather than infrared or steam saunas. - Other improvements included lowered resting heart rate, healthier arteries (biologically ~10 years younger), and increased VEF (a growth signal for blood vessels and organ health). - Protocol recommendations: 3–5 dry sauna sessions per week, 15–20 minutes at 175–200°F (80–93°C); drink electrolytes, wear natural fibers, ice for male fertility, and shower promptly afterward. - Best stacked with exercise for additive benefits; if sauna isn’t available, vigorous exercise also induces similar cardiovascular adaptations. - Safety tips: Gradually work up to higher temperatures, stay hydrated, and avoid sauna if pregnant or with certain health conditions. - Fertility markers were restorable—“icing the boys” reversed the heat-related decline when restarted. - Conclusion: When combined with proper hydration, electrolyte replacement, and safety strategies (especially for male fertility), sauna is highly beneficial for cardiovascular health, detoxification, and overall recovery.


      Results: - arteliar flexibility: +25-50% - vascular de-aging effect: ≈ 10 years younger - vascular age equivalent: ≈ 20-year-old level


      Sauna Checklist: - Frequency: 3-5 sessions per week - Duration: 15-20 min per session - Temperature: 80-93°C - Type: dry sauna - After exercise: stronger effects - Stay hydrated with sufficient electrolytes - Coll the boys 🥚🥚 with non-toxic, BPA-free ice packs - To avoid toxins, wear cotton, bamboo, naked. Avoid synthetic fabrics - Don't put water on the rocks to avoid toxins getting into the air - After sauna do shower to wash off the toxins - If you don't have access to sauna, exercise as it also increases the body heat

    1. How To Increase Your HRV In 6 Month (59→155)
      • Eating timing matters: Stop eating at least 3 hours (ideally 10) before bed to boost HRV; late eating harms recovery.
      • Diet quality: Higher HRV is associated with diets high in fish, vegetables, and fruit, and avoiding processed foods, seed oils, and high sodium.
      • Consistency over specific diet types is key; less processed food and fewer calories help HRV (unless you're a performance athlete).
      • Aerobic, endurance, and high-intensity interval training all increase HRV, with aerobic exercise having the most effect.
      • Endurance training improves baroreceptor control and vagal tone; 1-2 sessions weekly recommended.
      • High-intensity intervals (above 90% max HR) boost parasympathetic activity and HR recovery; occasional sessions are best.
      • Weightlifting contributes less to HRV, but mixing it with more aerobic and interval work is optimal.
      • Sleep greatly impacts HRV: Consistent bedtime, getting morning sunlight, daytime exercise, and avoiding late meals all help.
      • Wind down 30 minutes before sleep; use breathing techniques like "box breathing" to relax and fall asleep quicker.
      • Optimize sleep environment: Cool room (67°F), blackout curtains, calming music, mouth tape for nasal breathing.
      • Sauna use increases plasma volume and can help HRV, as does cold exposure (cold showers/plunges) by providing hormetic stress.
      • Devices (e.g., Petto for vagus nerve stimulation) may help but some like Sensate may be placebo.
      • Reducing stress is crucial—doing meaningful work, fulfilling relationships, and low chronic stress (example: Warren Buffett).
      • Combining diet, exercise, great sleep, minimal stress, and some environmental exposures (sauna/cold) is the best strategy for sustainably higher HRV.
    1. KSeF dla Przedsiębiorców: Uprawnienia i certyfikaty w Krajowym Systemie e-Faktur

      General summary

      • Obowiązek KSeF: Krajowy System e-Faktur (KSeF) wchodzi w życie 1 lutego 2024 roku. Należy już teraz nadawać uprawnienia dostępu.
      • Moduł Certyfikatów i Uprawnień (MCU): Jest to tymczasowe rozwiązanie do zarządzania uprawnieniami. Docelowo funkcjonalność trafi do aplikacji podatnika KSeF 2.0.
      • Metody Uwierzytelniania (Logowania) w KSeF:
        • Profil Zaufany (najczęściej stosowany).
        • Podpis kwalifikowany.
        • Pieczęć elektroniczna.
        • Certyfikat KSeF (najwygodniejszy w pracy z systemami księgowymi).
      • Identyfikator w KSeF: Najważniejszym adresem, gwarantującym dostarczenie faktury, jest numer NIP.
      • Uprawnienia Podstawowe: Można nadawać uprawnienia do wystawiania faktur, przeglądania faktur (kosztowych i przychodowych), przeglądania uprawnień (do nadawania/odbierania dalszych uprawnień) oraz przeglądania historii sesji.
      • Nadawanie Uprawnień dla Podmiotów Innych niż JDG (Spółki, Spółki Cywilne): Wymagane jest złożenie papierowego lub elektronicznego druku ZAF-FA (Zgłoszenie/aktualizacja/odwołanie administratora) w celu wyznaczenia pierwszej osoby (administratora) w systemie. Alternatywą jest Pieczęć Elektroniczna.
      • Uprawnienia dla Biura Rachunkowego: Przedsiębiorca może nadać uprawnienia konkretnemu podmiotowi (biuru rachunkowemu) z prawem do dalszego przekazywania uprawnień, co pozwala biuru na przydzielenie dostępu do klientów swoim pracownikom.
      • Certyfikaty KSeF: Są to dwuletnie "dowody tożsamości", które pozwalają na wygodne uwierzytelnianie się w KSeF (np. przez systemy księgowe bez każdorazowego logowania Profilem Zaufanym).
      • Ilość Certyfikatów: Można wygenerować dwa certyfikaty: jeden do uwierzytelniania w systemie, drugi do wystawiania faktur w trybie offline.
      • Generowanie Certyfikatu Podmiotu: Aby uzyskać certyfikat na spółkę (a nie na osobę fizyczną-administratora), konieczne jest posiadanie Pieczęci Elektronicznej do pierwszego uwierzytelnienia.
      • Certyfikat dla Księgowego: Księgowy korzysta z własnego certyfikatu (jako osoba fizyczna), który w połączeniu z nadanymi mu przez klienta uprawnieniami pozwala na dostęp do faktur klienta.
      • Faktury Zagraniczne: Faktury przychodowe dla kontrahentów zagranicznych (z NIP UE lub spoza UE) muszą być wystawiane w KSeF. Faktury kosztowe otrzymane od kontrahentów zagranicznych nie będą trafiać do KSeF.

      JDG summary

      📝 KSeF dla JDG (Profil IT): Kluczowe Informacje

      • Łatwość Dostępu dla JDG: Jako osoba fizyczna prowadząca JDG, masz automatyczny, pełny dostęp do KSeF (przy użyciu Profilu Zaufanego lub podpisu kwalifikowanego) bez konieczności składania formularza ZAF-FA czy innych formalności wstępnych.
      • Zarządzanie Uprawnieniami: Możesz samodzielnie i szybko nadawać uprawnienia innym osobom (np. księgowemu) bezpośrednio w systemie.
      • Automatyzacja (Certyfikaty KSeF): Kluczowe dla branży IT jest wykorzystanie Certyfikatów KSeF. Pełnią one funkcję tokenów służących do uwierzytelniania maszynowego (np. dla Twojego programu księgowego lub systemów, które zintegrujesz z KSeF). Certyfikaty są ważne 2 lata.
      • Dwa Certyfikaty: Możesz wygenerować dwa różne Certyfikaty KSeF: jeden do głównego uwierzytelniania, drugi dedykowany do generowania faktur w trybie offline (z kodem QR).
      • Fakturowanie Offline: Wystawienie faktury poza KSeF (offline) wymaga użycia certyfikatu KSeF i musi nastąpić wysyłka do KSeF najpóźniej następnego dnia roboczego.
      • Usługi Zagraniczne (Przychody): Faktury za usługi IT świadczone na rzecz kontrahentów zagranicznych (zarówno unijnych, jak i spoza UE) muszą być wystawiane w KSeF.
      • Koszty Zagraniczne: Faktury kosztowe, które otrzymujesz od zagranicznych dostawców (np. subskrypcje, sprzęt), nie są przesyłane do KSeF.

      Możesz już zacząć testować: https://pomoc.infakt.pl/hc/pl/articles/14972316754834-Integracja-z-KSeF-za-pomoc%C4%85-tokenu

    1. How when AWS was down, we were not

      Brief summary

      Authress avoided downtime during the AWS us-east-1 outage by implementing a multi-region, redundant infrastructure with automated DNS failover using custom health checks, edge-optimized routing, and robust anomaly detection, backed by rigorous testing and incremental deployments to minimize risk and impact. Their system design assumes failure is inevitable and focuses on quick detection, seamless failover, and minimizing single points of failure through automation and continuous validation.

      Long summary

      • Authress experienced a major AWS us-east-1 outage affecting DynamoDB and other critical AWS services.
      • They run infrastructure in us-east-1 due to customer location demands, despite known risks.
      • AWS services like CloudFront, Certificate Manager, Lambda@Edge, and IAM control planes are centralized in us-east-1, impacting availability during incidents.
      • Aiming for a 5-nines SLA (99.999% uptime) requires more than relying on AWS SLAs alone, which are insufficient.
      • Simple single-region architectures fail to meet high reliability due to frequent AWS incidents.
      • Authress recognizes "everything fails all the time" and designs systems assuming failure.
      • Retry strategies are mathematically analyzed; third-party components must have at least 99.7% reliability to be usable.
      • Multi-region redundant infrastructure with DNS failover via AWS Route 53 health checks enables automatic failover.
      • Custom health checks validate actual service health beyond default DNS checks.
      • Edge-optimized architecture using CloudFront and Lambda@Edge improves latency and provides better failover options.
      • DynamoDB Global Tables replicate data across regions to support failover.
      • Rigorous testing and validation, including application-level tests, mitigate risks of bugs in production.
      • Incremental deployment (customer buckets) limits impact by rolling out changes gradually.
      • Asynchronous validation tests check consistency across databases after deployments.
      • Anomaly detection is used to identify meaningful incidents impacting business logic, beyond mere HTTP error codes.
      • Customer support feedback is integrated into incident detection to catch undetected or gray failures.
      • Security measures include rate limiting, AWS WAF with IP reputation lists, and blocking suspicious high-volume requests.
      • Resource exhaustion prevention is critical, with rate limiting implemented at multiple infrastructure layers.
      • Infrastructure as Code (IaC) deployment differences across regions and edge leads to challenges in consistency.
      • Despite all these measures, achieving a true 5-nines SLA is extremely challenging but remains a core commitment.

      Summary of HN discussion

      https://news.ycombinator.com/item?id=45955565

      • The discussion highlights concerns about automation and Infrastructure as Code (IaC) being potential failure points, emphasizing the challenge of safely updating these systems.
      • Rollbacks are rarely automatic; often, knowing in advance to avoid certain rollouts is preferable as automated rollbacks can worsen failures.
      • Simple, less complex infrastructure changes are preferred to reduce human error, which is the leading cause of incidents.
      • There is skepticism about the reliability of Route 53 failover in practice, with concerns about its failure modes and the complexity of multi-cloud DNS failover.
      • Some contributors suggest modular IaC approaches (Pulumi, Terragrunt) for safer, repeatable deployments but warn about added complexity.
      • Retry logic in failures is criticized; retries may not improve reliability linearly due to correlated failures and overall system overload during outages.
      • Latency and client timeout constraints limit the practical number of retries possible.
      • DNS is acknowledged as a single point of failure with caching and failover timing challenges.
      • Multi-cloud failover at DNS level is complex, costly, and not widely implemented due to infrastructure and coordination requirements.
      • Gray failures (where the system reports healthy but customers experience issues) and the difficulty in knowing real incident impact without customer feedback are noted.
      • Customer support is critical in incident detection since automated systems cannot catch every failure.
      • Detailed monitoring via CloudFront and telemetry helps identify actual service issues during outages.
      • Overall, the theme is the difficulty in achieving perfect reliability, the importance of simplicity, and the need for layered detection and response strategies to manage failures.
    1. My six stages of learning to be a socially normal person
      • Author initially struggled with social skills, feeling awkward, excitable, and bullied due to abrasive behavior and sensitivity.
      • Six stages of social learning show a progression from self-focused to deeply embodied connection strategies.

      • Stage 1: Tried to be a dazzling, interesting, intellectual person to gain approval.

        • Emulated admired cultural figures, memorized poetry, and read complex literature.
        • Told dramatic personal stories and developed scholarly opinions.
        • This approach earned polarized approval, often distancing others because of its presentational quality.
      • Stage 2: Learned to play the social game by adapting to others' social styles, especially in restaurant work.

        • Observed and mimicked the social behaviors that successful servers used.
        • Adopted flexible social roles matching the table's mood (efficient, flirtatious, etc.).
        • Made people feel comfortable by playing their "game," though still somewhat role-driven.
      • Stage 3: Loosened grip on social scripts; used quirky, authentic behaviors to relax social interactions.

        • Added benign strangeness and surreal quirkiness to interactions to signal social playfulness.
        • Created moments of unexpected connection by breaking scripts sideways.
        • Learned that how things are said can be more important than what is said.
      • Stage 4: Developed bodily awareness and real-time non-verbal communication like dancing with others.

        • Became attuned to subtle body language and unspoken emotional states.
        • Reacted fluidly and spontaneously to ongoing social and emotional cues.
        • This stage deepened presence beyond verbal skill to sensory social attunement.
      • Stage 5: Practiced projecting love and acceptance, creating emotional openness and deep connection.

        • Embraced a meditative state of spacious openness inspired by energy healing.
        • Provided a nervous system capacity for emotional distress, enabling catharsis.
        • Found that deep listening and presence facilitated rapid emotional intimacy.
      • Stage 6: Learned to moderate emotional connection, balancing openness with boundaries.

        • Recognized that constant emotional openness can be draining and misinterpreted.
        • Managed energetic boundaries and adjusted connection intensity according to context.
        • Balanced desire for connection with comfort in solitude and acceptance of varied social interaction levels.
      • Author reflects on effects of spiritual openness in various social roles and the challenge of maintaining boundaries.

      • Final insight: Genuine social connection evolves from crafted performance to embodied presence, balancing authenticity, empathy, and emotional limits.
    1. Współautorka benchmarku OneRuler: nie pokazaliśmy wcale, że język polski jest najlepszy do promptowania
      • Media circulated a claim that Polish language is best for prompting, but this was not a conclusion from the OneRuler study.
      • OneRuler is a multilingual benchmark testing how well language models process very long texts in 26 languages.
      • Models performed on average best with Polish, but differences compared to English were small and not explained.
      • Polish media prematurely concluded Polish is best for prompting, which the study's authors did not claim or investigate.
      • The benchmark tested models on finding specific sentences in long texts, akin to CTRL+F, a function AI models inherently lack.
      • Another task involved listing the most frequent words in a book; models often failed when asked to acknowledge if an answer was not present.
      • Performance dropped likely because the task required full context understanding, not just text searching.
      • Different books were used per language (e.g. Polish used "Noce i dnie," English used "Little Women"), impacting the fairness of comparisons.
      • The choice of books was based on expired copyrights, which influenced the results.
      • There is no conclusive evidence from this benchmark that Polish is superior for prompting due to multiple influencing factors.
      • No model achieved 100% accuracy, serving as a caution about language models' limitations; outputs should be verified.
      • Researchers advise caution especially when using language models for sensitive or private documents.
      • The OneRuler study was reviewed and presented at the CoLM 2025 conference.
    1. I can't recommend Grafana anymore
      • Users appreciate Grafana's rich features but criticize its complexity and brittleness.
      • Tools like Prometheus and Grafana are seen as over-engineered, especially with components like Mimir requiring dedicated infrastructure.
      • Concerns exist about the future of self-hosted Grafana due to frequent breaking changes.
      • Some suggest simpler, stable alternatives for monitoring such as Prometheus alone, Zabbix, VictoriaMetrics, or newer tools like SigNoz, OpenObserve, and Perses.
      • The community desires a stable, reliable "boring" monitoring stack rather than constant feature churn.

      Overall, there is notable dissatisfaction with Grafana’s direction and operational demands, particularly among smaller teams or startups seeking sustainable solutions.

    1. I can’t recommend Grafana anymore
      • Henrik Gerdes warns that Grafana, despite being powerful, has become maintenance-heavy and complex, especially due to recent additions like Mimir and Kubernetes dependence.
      • Stability issues, frequent breaking changes, and high operational overhead make it challenging for startups and teams needing reliable monitoring.
      • Founders should consider total ownership costs, including updates, migrations, and support, before adopting Grafana.
      • Grafana’s flexibility and scalability come with complexity that can erode trust in production environments.
    1. Zmiany w prawie pracy 2025/2026 – jak przygotować firmę na nową rzeczywistość?
      • Jawność wynagrodzeń (od 24 grudnia 2025 r.)

        • Obowiązek ujawniania wynagrodzenia lub widełek płacowych przed rozmową kwalifikacyjną.
        • Zakaz pytania o wcześniejsze zarobki kandydata.
        • Oferty pracy muszą mieć neutralne płciowo nazwy stanowisk.
        • Wynagrodzenie obejmuje wszystkie składniki – premie, dodatki, benefity.
        • Od czerwca 2026 r. firmy zatrudniające ≥100 osób będą musiały raportować lukę płacową.
        • Wymagana aktualizacja polityki wynagrodzeń i szkoleń rekruterów.
      • Nowe zasady liczenia stażu pracy (od 2026 r.)

        • Do stażu pracy będą wliczane umowy B2B, zlecenia i agencyjne objęte składkami ZUS.
        • Możliwość wydłużenia urlopu, odpraw i okresów wypowiedzenia.
        • Pracownik ma 24 miesiące na udokumentowanie wcześniejszej współpracy.
        • Firmy powinny przeanalizować historię zatrudnienia i zaktualizować regulaminy.
        • Zmiana zwiększy koszty organizacyjne i kadrowe.
      • Nowe uprawnienia Państwowej Inspekcji Pracy (od 1 stycznia 2026 r.)

        • PIP będzie mógł samodzielnie stwierdzić istnienie stosunku pracy.
        • Decyzja administracyjna zastąpi wyrok sądu i będzie natychmiast wykonalna.
        • Możliwość zdalnych kontroli, żądania transmisji wideo, przesłuchań online.
        • Firmy muszą przeanalizować umowy cywilnoprawne pod kątem ryzyka uznania za etat.
      • Mobbing i dyskryminacja – nowe przepisy

        • Zniesienie wymogu „długotrwałości” mobbingu – wystarczy uporczywe nękanie.
        • Minimalne zadośćuczynienie: 12-krotność miesięcznego wynagrodzenia.
        • Obowiązek wprowadzenia formalnej procedury antymobbingowej.
        • Nowe formy dyskryminacji: przez asocjację i przez domniemanie.
        • Wymagane szkolenia dla kadry i jasne procedury zgłaszania naruszeń.
      • Cyfrowa komunikacja z pracownikami

        • Zastąpienie „formy pisemnej” przez „postać papierową lub elektroniczną”.
        • Możliwość komunikacji e-mail, przez komunikatory lub SMS.
        • Pracodawca musi udowodnić doręczenie wiadomości.
        • Konieczność aktualizacji regulaminu pracy i zgodności z RODO.
      • Płaca minimalna 2026

        • Od 1 stycznia 2026 r. wzrost do 4806 zł brutto/miesiąc i 31,40 zł brutto/godz.
        • Wzrost kosztów zatrudnienia, składek ZUS i świadczeń.
        • Firmy powinny uwzględnić zmiany w budżetach kadrowych.
      • Polityka AI w organizacji

        • Wymóg wprowadzenia zasad korzystania z AI zgodnie z unijnym AI Act.
        • Brak polityki może zostać uznany za naruszenie obowiązków pracodawcy.
        • Konieczność określenia, gdzie AI można, a gdzie nie można stosować.
      • Podsumowanie działań dla firm

        • Zaktualizować regulaminy i umowy.
        • Przeszkolić menedżerów i dział HR.
        • Przygotować system do raportowania płac i cyfrowego obiegu dokumentów.
        • Przeanalizować umowy B2B i zlecenia pod kątem ryzyka PIP.
        • Wczesne przygotowanie zapewni spokój i przewagę konkurencyjną.
    1. The best technical leaders are incredibly political. They just don’t call it that. They call it “stakeholder management” or “building alignment” or “organizational awareness.” But it’s politics, and they’re good at it.
    1. When you write things down: You clarify your own thinking You reduce cognitive load—you’re not the single point of failure You can actually take holidays without anxiety New team members onboard faster You look more professional, not less

      On why documentation is important

    1. How we slashed our EKS costs by 43% with one simple scheduler tweak 🚀
      • AWS EKS costs can escalate due to massive, parallel workloads in life sciences/drug development (e.g., genomic sequencing, molecular modeling).
      • Default Kubernetes scheduler uses leastAllocated strategy, spreading pods across many nodes for fairness/high availability.
      • leastAllocated strategy causes many partially utilized nodes, preventing autoscalers from scaling down idle nodes, increasing costs.
      • mostAllocated scheduling strategy "packs" pods onto fewer nodes, maximizing utilization and enabling autoscalers like Karpenter to remove idle nodes.
      • Switching to mostAllocated can reduce runtime costs significantly (e.g., ~10% in UAT, 43% in PROD environments).
      • Custom scheduler deployment on AWS EKS requires creating a service account, ClusterRoleBindings, RoleBinding, a ConfigMap with the mostAllocated scoring strategy, and a deployment with a matching Kubernetes version container image.
      • Resource weights can prioritize packing of expensive resources (e.g., high weight on GPUs for ML workloads).
      • Testing in non-production environments is recommended before full rollout.
      • Implementing mostAllocated scheduling can dramatically optimize costs by enabling cluster autoscalers to shut down unused nodes.
    1. Allegro Pay - 30 zł za wygenerowanie wirtualnej lub fizycznej karty

      From this discussion, it’s clear that using Allegro Pay isn’t inherently bad, but it can be disadvantageous in certain situations — especially if you plan to apply for a mortgage or larger bank loan soon. Here are the key takeaways:


      🟢 When using Allegro Pay is fine

      • If you repay everything on time (e.g., within 30 days) and don’t have many active purchases at once.
      • If you use it occasionally, for example to avoid freezing your cash or to grab a promotion (like a 30 PLN coupon).
      • If you’re not planning any major loans soon, small transactions usually don’t make much difference.

      🔴 When you should AVOID Allegro Pay

      • If you plan to take out a mortgage or consumer loan within the next few months – banks see these purchases in your credit report (BIK) as short-term loans (BNPL), sometimes even classified as payday loans.
      • Each purchase can appear as a separate entry in your BIK, so frequent usage might look like a large number of small loans, which can lower your credit score and borrowing capacity.
      • Some banks (e.g., BNP Paribas, Pekao, Millennium – according to users’ reports) have automated systems that reduce creditworthiness if multiple BNPL loans are active.

      ⚖️ Summary

      • For a one-time promotion (e.g., 30 PLN coupon) – it’s okay to use, but repay immediately after the purchase.
      • Avoid regular use if you’re planning a mortgage or major loan within the next 12–24 months.
      • Allegro Pay is visible in BIK, so even small transactions leave a footprint in your credit history.

      👉 Conclusion: If you want to maintain a spotless credit profile — avoid Allegro Pay. If you’re not planning any big loans — occasional use is perfectly fine, as long as you repay on time

    1. Why aren't smart people happier?

      Summary of the HN discussion:

      • Happiness sources like relationships, satisfying work, and accomplishment do not strongly depend on intelligence, and intelligence does not guarantee better outcomes in these areas.
      • Smart people tend to see more variables and possible changes in life, leading to higher expectations and sometimes less contentment.
      • Happiness is influenced more by emotional intelligence, perspective, acceptance, and social connection than by raw IQ.
      • Many participants emphasized that happiness is complex, often fleeting, and influenced by factors beyond intelligence such as disposition, environment, and life experience.
      • Some noted that smart people can overthink or struggle with executing actions, resulting in paralysis or dissatisfaction despite knowledge.
      • Wisdom, virtue, and the ability to align actions with true desires are viewed as more crucial for happiness than intelligence alone.
      • There is skepticism about equating intelligence with rationality; highly intelligent people may still struggle with irrational beliefs or poor social skills.
      • Social belonging and meaningful human interactions are highlighted as critical for well-being, sometimes more than intellectual capability.
      • Discussions touched on the limitations of happiness measures and the idea that intelligence may increase awareness of life's challenges, contributing to lower subjective happiness in some cases.
      • The notion of happiness as a fixed or baseline state shaped by evolution was also mentioned, suggesting intelligence alone does not alter this baseline.
    1. Why aren't smart people happier?

      Summary below (also check HN discussion):

      • Intelligence, defined as general mental ability, surprisingly shows little to no strong positive correlation with personal happiness. Sometimes the correlation is even slightly negative.
      • IQ tests mainly measure skill at solving well-defined problems with clear rules and solutions, not the ambiguous, complex, poorly defined problems of life that shape long-term happiness.
      • Life’s poorly defined problems (e.g., "how to live a good life") require wisdom, creativity, and self-knowledge, which are not captured by IQ tests.
      • Extremely intelligent people can still struggle with basic life challenges and moral decisions despite high IQ scores.
      • Studies show lower IQ groups sometimes report less happiness, but factors like health, income, and social support strongly mediate that relationship.
      • Happiness is influenced by emotional intelligence and social circumstances as much or more than raw IQ.
      • AI excels at well-defined problem solving but is incapable of addressing poorly defined, human-centric questions related to happiness and meaning.
      • The gap between intelligence and happiness highlights the need to value wisdom and human judgment beyond testable intelligence.
      • The ability to choose meaningful goals and persist with them (called "directionness") may be a key factor in life satisfaction, separate from IQ.
    1. 15) Create as much circulation at your party as you can. People circulate more when standing than when sitting, so try to encourage standing for those who can e.g. by having high-top tables, or taking away chairs from around tables, or leaving shelves and counter-tops open for people to rest their plates and drinks.
    2. 11) Most events are better when roughly gender-balanced. Prioritize inviting people of the gender you’d likely have fewer of, then top up invites with the other. Once an event crosses a threshold (maybe 70%?) of male-or-female dominance, most people of the other gender are likely to decline (or just not-come to your next party) as a result.
    3. 10) Regardless, try not to feel bad about not-inviting someone if your heart says they would make the party less-fun for others. Make peace with gatekeeping because if you don't exclude a small % of people you will ultimately lose everyone else. Someone can be a good person and a bad fit for your party, so don't think of it as a judgement on their soul. All of this is easier in theory than in practice.
    4. 1) Prioritize your ease of being over any other consideration: parties are like babies, if you’re stressed while holding them they’ll get stressed too. Every other decision is downstream of your serenity: e.g. it's better to have mediocre pizza from a happy host than fabulous hors d'oeuvres from a frazzled one.
    1. AI is Making Us Work More
      • AI, intended to free workers, is causing longer work hours and increased pressure, spreading 996 culture to Western AI startups.
      • AI tools never tire, creating psychological pressure to constantly work and increasing feelings of guilt during rest.
      • Historical advances like lamps and bulbs extended work hours; AI similarly shifts "can work" into "should work."
      • Philosopher Byung-Chul Han's "Burnout Society" concept shows internalized self-discipline drives overwork, amplified by AI's "excess of positivity."
      • The hyper-productivity loop leads to burnout, reduced creativity, and diminishing returns despite increased effort.
      • Rest is framed as resistance and vital for innovation, which thrives on reflection, not constant activity.
      • The key challenge is adopting a healthy culture around AI use that avoids exploitation and preserves human well-being.
    1. Consider what code isn’t being written in the PR instead of just reviewing the diff Leave a small number of well-thought-out comments, instead of dashing off line comments as you go and ending up with a hundred of them Review with a “will this work” filter, not with a “is this exactly how I would have done it” filter If you don’t want the change to be merged, leave a blocking review Unless there are very serious problems, approve the change

      5 general rules for good reviews

    2. What do you do when there are twenty places in the diff that you’d like to see updated - for instance, twenty instances of camelCase variables instead of snake_case? Instead of leaving twenty comments, I’d suggest leaving a single comment explaining the stylistic change you’d like to make, and asking the engineer you’re reviewing to make the correct line-level changes themselves.

      Rather leave one comment about subtle things, than multiple ones

    3. one of the most straightforwardly useful comments is “you don’t have to add this method here, since it already exists in this other place”. The diff itself won’t help you produce a comment like this. You have to already be familiar with other parts of the codebase that the diff author doesn’t know about. Likewise, comments like “this code should probably live in this other file” are very helpful for maintaining the long-term quality of a codebase.

      Tips on making effective code reviews (don't just focus on the diff)

  4. Oct 2025
    1. The Day My Smart Vacuum Turned Against Me
      • The iLife A11 smart vacuum was found to constantly send detailed data, including 3D home maps, to manufacturer servers without explicit user consent.
      • When the user blocked telemetry transmissions, the vacuum was remotely disabled by a command from the manufacturer, resulting in repeated failures.
      • Reverse engineering revealed the device runs a Linux OS with an open root access port and includes software allowing the manufacturer to remotely control or disable it.
      • Service centers temporarily restored functionality by reconnecting the device to manufacturer servers, but it failed again once telemetry was blocked.
      • This hardware and practice are common in many smart vacuums from brands like Xiaomi, Wyze, and Viomi, raising broad privacy and control concerns.
      • The case highlights significant security risks and loss of user autonomy inherent to many "smart" IoT devices relying on cloud connectivity.
    1. Bieganie częściowo naprawia to, co psują fast foody
      • Running can counteract some negative effects of an unhealthy, Western-style diet, according to researchers from University College Cork.
      • The study found that exercise restores key metabolites linked to mental well-being and balances crucial hormones disrupted by a diet high in sugar, fat, and processed foods.
      • Rats fed high-calorie “cafeteria diet” foods showed major disturbances in gut metabolism, with 100 out of 175 metabolites significantly altered; running partially restored balance, especially for anserine, indole-3-carboxylate, and deoxyinosine.
      • Physically active rats on the same poor diet had normalized levels of insulin and leptin compared to sedentary ones, showing exercise helps regulate hormonal balance.
      • The body activated compensatory hormonal mechanisms, such as changes in GLP-1 and PYY levels, to stabilize metabolism under poor dietary conditions.
      • The study also linked exercise to improved neurogenesis (formation of new neurons) in the hippocampus, but only when paired with a healthy diet—junk food appeared to suppress this regenerative effect.
      • Despite running’s benefits, researchers emphasized that good nutrition remains essential for full brain health and mental performance.
      • The findings offer insight into how exercise may protect mental well-being even amid widespread consumption of processed foods.
    1. Amazon Plans to Replace More Than Half a Million Jobs With Robots
      • Internal documents reviewed by The New York Times show Amazon plans to automate up to 75% of its operations in the coming years.
      • The company expects automation to replace or eliminate over 500,000 U.S. jobs by 2033, primarily in warehouses and fulfillment centers.
      • By 2027, automation could allow Amazon to avoid hiring around 160,000 new workers, saving about 30 cents per package shipped.
      • This strategy is projected to save $12.6 billion in labor costs between 2025 and 2027.
      • Amazon’s workforce tripled since 2018 to approximately 1.2 million U.S. employees, but automation is expected to stabilize or reduce future headcount despite rising sales.
      • Executives presented to the board that automation could let the company double sales volume by 2033 without needing additional hires.
      • Amazon’s Shreveport, Louisiana warehouse serves as the model for the future: it operates with 25% fewer workers and about 1,000 robots.
      • A new facility in Virginia Beach and retrofitted older ones like Stone Mountain, Georgia, are following this design, which may shift employment toward more temporary and technical roles.
      • The company is instructing staff to use softer language—such as “advanced technology” or “cobots” (collaborative robots)—instead of terms like “AI” or “robots,” to ease concerns about job loss.
      • Amazon has begun planning community outreach initiatives (parades, local events) to offset the reputational risks of large-scale automation.
      • The company has denied that the documents represent official policy, claiming they reflect the views of one internal group, and emphasized ongoing seasonal hiring (250,000 roles for holidays).
      • Analysts suggest this plan could serve as a blueprint for other major employers, including Walmart and UPS, potentially reshaping U.S. blue‑collar job markets.
      • The automation push continues a trajectory started with Amazon’s $775 million acquisition of Kiva Systems in 2012, which introduced mobile warehouse robots that revolutionized internal logistics.
      • Recent innovations include robots like Blue Jay, Vulcan, and Proteus, aimed at performing tasks such as sorting, picking, and packaging with minimal human oversight.
      • Long-term, Amazon may require fewer warehouse workers but more robot technicians and engineers, signaling a broader shift in labor type rather than total employment.
    1. Plug-iny nie tak czyste, jak obiecywano. Dane z UE podważają ekologiczny wizerunek

      Plug-in hybrid vehicles (PHEVs) are not as environmentally friendly as previously claimed, according to recent EU data.

      • Real-world emissions from PHEVs average 135 g CO₂/km, only 19% less than conventional petrol and diesel cars which average 166 g CO₂/km.
      • Official WLTP tests significantly underestimate emissions; PHEVs often run on the combustion engine, even in electric mode, increasing real fuel consumption.
      • In electric-only mode, PHEVs still burn around 3 liters of petrol per 100 km, resulting in emissions of 68 g CO₂/km—over eight times higher than manufacturers’ claims.
      • Hidden fuel consumption costs drivers approximately 500 euros per year more than official manufacturer data suggests.
      • PHEVs are among the most expensive on the market; average price in 2025 in Germany, France and the UK is 55,700 euros, about 15,000 euros higher than average battery-only electric cars.
      • Increasing electric range through larger batteries does not reduce emissions; heavier vehicles consume more fuel and energy overall.
      • PHEVs with electric ranges above 75 km emit more CO₂ on average than those with ranges of 45–75 km.
      • The biggest discrepancies are noted for Mercedes-Benz plug-in hybrids; in 2023, their real emissions exceeded official figures by an average of 494%, with the GLE-Class over by 611%.
      • Automotive industry is lobbying to have PHEVs recognized as low-emission beyond 2035, despite new EU regulations that require the transition to zero-emission vehicles.
      • Weakening EU regulations could undermine the development and adoption of truly zero-emission technologies.
      • According to Transport & Environment, plug-in hybrids are “one of the biggest myths in motoring,” often emitting almost as much as combustion-engine cars and much more than test results indicate.
      • EEA and T&E data casts doubt on PHEVs as effective solutions for transportation decarbonization; their environmental benefits are increasingly questioned.
    1. Dlatego jedyna sensowna rada to… regularnie wykonuj kopię bezpieczeństwa konta Google za pomocą Google Takeout. Bo na phishing albo instalację malware zawsze możesz się złapać, tak jak zrobił to Mateusz, człowiek od lat działający zawodowo w branży IT.
      • The article describes the case of a user (Mateusz) whose Google account was hijacked after he ran malware (a stealer) sent from a compromised friend's Discord account.
      • The malware stole the user's active session cookie, not their password. This allowed the attacker to bypass all login protections, including 2-Step Verification (like a YubiKey), because they were able to take over an already-authenticated session without needing to log in.
      • Using this hijacked session, the attacker convinced Mateusz to join a "Family Group" (Google Family Link) and simultaneously changed his account's birth date to an age under 13.
      • This action immediately flagged the account as a "child's account," with the attacker as the "parent/guardian," which locked Mateusz out and triggered a 14-day permanent deletion process.
      • Mateusz is now in a "digital Catch-22": standard account recovery forms do not work for "child accounts," and Google's support (including YouTube and Google Play) has been unhelpful, closing his tickets despite him having proof of ownership.
      • The article criticizes Google for an "astounding oversight" in its business logic that allows an adult account's age to be so easily changed to a child's, creating a major vulnerability.
      • As a result, Mateusz lost 13 years of data (Gmail, Drive, Contacts) and access to all his purchases on Google Play.
      • The article concludes that since 2FA can't stop session hijacking, the only effective way to protect against the data loss from this specific attack is to regularly back up your Google account data using Google Takeout.
    1. Zjadł 720 jajek w miesiąc! Efekt? Nikt się tego nie spodziewał

      Based on YT video I Ate 720 Eggs in 1 Month. Here's What Happened to my Cholesterol:

      • Nick Norwitz, a Harvard medical student with a doctorate in human cerebral metabolism, ate 720 eggs in one month, averaging 24 eggs per day, to test the effects on his cholesterol levels.
      • Contrary to popular belief that eggs increase bad cholesterol (LDL), his LDL cholesterol dropped during the experiment. It decreased by 2% in the first two weeks and then by an additional 18% in the next two weeks.
      • The high cholesterol intake (about 133,000 mg from eggs) did not raise his blood cholesterol. This was explained by a hormone called cholesin, released when cholesterol binds to receptors in the gut, which signals the liver to reduce cholesterol production, maintaining balance in the body.
      • During the last two weeks, he also increased carbohydrate intake slightly, which further helped reduce LDL levels, possibly in combination with other dietary elements like fruits.
      • The experiment challenges the long-held medical advice limiting egg consumption due to cholesterol concerns, suggesting that dietary cholesterol may not significantly impact blood cholesterol levels in healthy individuals.
      • Norwitz documented his experiment publicly on YouTube, sparking discussions on nutrition and metabolism and encouraging re-evaluation of egg consumption guidelines.
      • Eggs are a veritable treasure trove of nutrients: harmful vitamins A, D, E, and K, harmful B vitamins, calcium, phosphorus, iron, sodium, and potassium. However, even such a valuable product should not replace other essential nutrients.
    1. Epigenetyk: badanie superstulatki pokazuje, że starzenie można spowalniać
      • The world's oldest verified person, Maria Branyas Morera, lived to 117 years and 168 days, surpassing the average lifespan by over 30 years.
      • A comprehensive study analyzed her genetics, epigenetics, metabolism, immunity, and gut microbiome using blood, saliva, urine, and stool samples.
      • Despite her advanced age, she exhibited excellent health: low inflammation, healthy lipid profile, protection against age-related illnesses, and no cancer or neurodegenerative diseases.
      • Her biological age (measured by epigenetic markers) was much younger than her chronological age, suggesting her cells aged more slowly.
      • No single “longevity gene” was found; instead, her longevity was linked to a rare combination of genetic variants, a robust immune system, a healthy Mediterranean diet, daily physical activity, and an exceptionally diverse gut microbiome rich in Bifidobacterium.
      • Her lifestyle choices—never smoking or drinking alcohol, walking daily, and eating three yogurts a day—supported her gut health and helped keep inflammation low.
      • Researchers emphasized that both genetic factors and environmental/lifestyle influences interplay, and that aspects like diet, stress reduction, and supporting a healthy microbiome may help slow biological aging.
      • The study’s results suggest the importance of healthy aging (maintaining function and independence in old age), and reinforce the idea that everyone can potentially influence their rate of aging through lifestyle, even if they don’t carry rare longevity genes.
  5. Sep 2025
    1. How to Talk to ANYONE (Once You Know Their Color!)

      Video summary:

      • Core idea: People default to one of four communication “colors” and connect best when adapting to the other person’s style.
      • The four colors: Red (power/results), Green (peace/stability), Blue (logic/structure), Yellow (fun/connection).
      • Framework origin: Model popularized by Thomas Erikson’s “Surrounded by Idiots,” mapping to DISC-like styles via colors.

      • Identify own color with 3 questions: 1) introverted (blue/green) vs extroverted (red/yellow); 2) logical (blue/red) vs emotional (green/yellow); 3) deliberate (green/blue) vs fast speaker (yellow/red); combine answers to narrow to one color.

      • Everyone is a mix, but most have a dominant default; conflicts arise when speaking only in one’s own color.
      • Matching styles creates instant rapport; mismatch leads to misjudgments (e.g., reds seen as abrasive by others, blues as nitpicky).

      • How others may perceive each color:

        • Red: pushy to greens, too serious to yellows, reckless with details to blues.
        • Yellow: unfocused to reds, chaotic to greens, superficial to blues.
        • Green: indecisive to reds, boring to yellows, non-committal to blues.
        • Blue: too slow for reds, overly critical for yellows, nitpicky for greens.
      • How to talk to each color:

        • To Red: be direct, decisive, confident; use frameworks; focus on outcomes, not fluff.
        • To Yellow: be enthusiastic and story-driven; keep it light and fun; don’t drown them in manuals.
        • To Green: be calm, patient, supportive; move at a comfortable pace; avoid rushing change.
        • To Blue: be precise, structured, factual; bring data and step-by-step plans; avoid exaggeration.
      • Practical tip: Keep the 3 self-check questions visible during calls to rapidly gauge color and adjust delivery.

      • Mindset shift: Don’t “change who you are”; expand range to “speak all four languages” to connect with 95% of people.
      • Personal example: Vinh (Yellow) adapted to spouse (Red) by cutting fluff, adding clarity and speed to avoid overwhelm.
      • Goal: Become dynamic “like water,” meeting people where they are without losing identity; communication skill lifts every area of life.
  6. Aug 2025
    1. Companies have invested billions into AI, 95 percent getting zero return

      MIT report: 95% of companies see no profit from investments in generative AI, which amounted to approximately $35 billion.

      Most AI pilots have no measurable impact on company profits. Attempts to implement tools like ChatGPT into the workplace primarily increase the productivity of individual employees, not the earnings of the entire company.

    1. Featured enhancements of Kubernetes v1.34
      • DRA goes mainstream: stable core with ResourceClaim/DeviceClass and structured parameters — finally flexible, sane GPU/accelerator management without node‑selector tricks or quota hacks.
      • Ops bonuses: production‑ready kubelet/API Server tracing (end‑to‑end debugging), new Deployment pod replacement policies (faster vs. resource‑conservative), PreferSameNode/SameZone traffic distribution, KYAML output in kubectl, and per‑HPA configurable tolerance.
      • Zero breaking changes: no deprecations or removals — smooth upgrade for production teams.
      • Release planned for late August
  7. Jul 2025
    1. Costs: going out in Zurich costs so much that people aren’t incentivised to go out a lot; in Poland going out is cheaper so people do it more often and ultimately end up socialising more. In Zurich the most common ways to socialise are sports and mountain activities.Culture: Swiss people are traditionally closed-off, mountain-type people. They are somewhat open to foreigners and you can find many nice Swiss people, but a lot of them think Switzerland is the best country in the world and prefer to hangout among them than to “mix up with the foreigners”. Polish people aren’t as expansive as the Spanish or Latin ones, but still definitely more sociable than the Swiss.
    2. For our dev and spouse, building a social circle proved challenging in Zurich - especially for the spouse (stuck at home with a newborn).This is common and I’ve heard it from 90%+ of the expats I personally know who are living in Zurich.Integrating with the Swiss society is very hard, and not very compelling, as locals prefer to stay in their bubble.
    1. Navigating Failures in Pods With Devices

      Summary: Navigating Failures in Pods With Devices

      This article examines the unique challenges Kubernetes faces in managing specialized hardware (e.g., GPUs, accelerators) within AI/ML workloads, and explores current pain points, DIY solutions, and the future roadmap for more robust device failure handling.

      Why AI/ML Workloads Are Different

      • Heavy Dependence on Specialized Hardware: AI/ML jobs require devices like GPUs, with hardware failures causing significant disruptions.
      • Complex Scheduling: Tasks may consume entire machines or need coordinated scheduling across nodes due to device interconnects.
      • High Running Costs: Specialized nodes are expensive; idle time is wasteful.
      • Non-Traditional Failure Models: Standard Kubernetes assumptions (like treating nodes as fungible, or pods as easily replaceable) don’t apply well; failures can trigger large-scale restarts or job aborts.

      Major Failure Modes in Kubernetes With Devices

      1. Kubernetes Infrastructure Failures

        • Multiple actors (device plugin, kubelet, scheduler) must work together; failures can occur at any stage.
        • Issues include pods failing admission, poor scheduling, or pods unable to run despite healthy hardware.
        • Best Practices: Early restarts, close monitoring, canary deployments, use of verified device plugins and drivers.
      2. Device Failures

        • Kubernetes has limited built-in ability to handle device failures—unhealthy devices simply reduce the allocatable count.
        • Lacks correlation between device failure and pod/container failure.
        • DIY Solutions:
          • Node Health Controllers: Restart nodes if device capacity drops, but these can be slow and blunt.
          • Pod Failure Policies: Pods exit with special codes for device errors, but support is limited and mostly for batch jobs.
          • Custom Pod Watchers: Scripts or controllers watch pod/device status, forcibly delete pods attached to failed devices, prompting rescheduling.
      3. Container Code Failures

        • Kubernetes can only restart containers or reschedule pods, with limited expressiveness about what counts as failure.
        • For large AI/ML jobs: Orchestration wrappers restart failed main executables, aiming to avoid expensive full job restart cycles.
      4. Device Degradation

        • Not all device issues result in outright failure; degraded performance now occurs more frequently (e.g., one slow GPU dragging down training).
        • Detection and remediation are largely DIY; Kubernetes does not yet natively express "degraded" status.

      Current Workarounds & Limitations

      • Most device-failure strategies are manual or require high privileges.
      • Workarounds are often fragile, costly, or disruptive.
      • Kubernetes lacks standardized abstractions for device health and device importance at pod or cluster level.

      Roadmap: What’s Next for Kubernetes

      SIG Node and Kubernetes community are focusing on:

      • Improving core reliability: Ensuring kubelet, device manager, and plugins handle failures gracefully.
      • Making Failure Signals Visible: Initiatives like KEP 4680 aim to expose device health at pod status level.
      • Integration With Pod Failure Policies: Plans to recognize device failures as first-class events for triggering recovery.
      • Pod Descheduling: Enabling pods to be rescheduled off failed/unhealthy devices, even with restartPolicy: Always.
      • Better Handling for Large-Scale AI/ML Workloads: More granular recovery, fast in-place restarts, state snapshotting.
      • Device Degradation Signals: Early discussions on tracking performance degradation, but no mature standard yet.

      Key Takeaway

      Kubernetes remains the platform of choice for AI/ML, but device- and hardware-aware failure handling is still evolving. Most robust solutions are still "DIY," but community and upstream investment is underway to standardize and automate recovery and resilience for workloads depending on specialized hardware.

    1. Automating oral argument

      A Harvard Law graduate who argued before the Supreme Court fed his case briefs into Claude 4 Opus and had it answer the same questions the Justices posed to him. The AI delivered what he called an "outstanding oral argument" with coherent answers and clever responses he hadn't considered, leading him to conclude that AI lawyers could soon outperform even top human advocates at oral argument.

  8. Jun 2025
    1. Is sauna worth the hype?
      • Sauna use induces mild heat stress, activating natural repair processes in the body such as heat shock proteins, improved blood flow, antioxidant activity, metabolism optimization, reduced inflammation, and enhanced immunity, all contributing to whole-body health benefits.

      • Regular sauna sessions (4–7 times/week, at least 19 minutes) are strongly associated with improved heart health, significantly lowering the risk of heart disease (by up to 48%) and high blood pressure (by up to 47%).

      • Mental health benefits include better sleep (over 80% report improvement), reduced muscle pain, improved mood, and a lower risk of dementia (up to 48% reduction) and psychotic disorders (up to 77% reduction) with frequent use.

      • Sauna use reduces systemic inflammation, with frequent sessions leading to up to 31.5% lower inflammation markers and easing symptoms of chronic inflammatory and autoimmune conditions like rheumatoid arthritis.

      • Metabolic improvements include decreased bad cholesterol (LDL), transiently lower triglycerides, and small increases in good cholesterol (HDL); some studies show increased muscle mass and bone density after intensive sauna protocols.

      • Saunas may aid detoxification by promoting sweat-induced elimination of heavy metals and environmental toxins, with longer sessions (15–20+ minutes) enhancing this effect.

      • Frequent sauna use is linked to increased longevity, with studies showing up to 40% lower all-cause mortality and up to 70% lower risk of dying from heart disease for those using saunas 4–7 times per week.

      • Bryan Johnson’s personal protocol involves daily 20-minute dry sauna sessions at 93°C (200°F), with hydration and protective measures, and he tracks various biomarkers to measure health impacts.

      • Recommended sauna practice: 3–5 sessions per week, 15–20 minutes each at 80–90°C (175–194°F), ideally post-workout; always hydrate and avoid sauna use if dehydrated, unwell, or with certain medical conditions.

      • Results from Bryan Johnson’s ongoing self-experimentation are forthcoming, but current evidence supports sauna as a promising intervention for detox, longevity, and overall health.

    1. 1000x Increase in AI Demand
      • NVIDIA’s latest earnings highlight a dramatic surge in AI demand, driven by a shift from simple one-shot inference to more complex, compute-intensive reasoning tasks.
      • Reasoning models require hundreds to thousands of times more computational resources and tokens per task, significantly increasing GPU usage, especially for AI coding agents and advanced applications.
      • Major hyperscalers like Microsoft, Google, and OpenAI are experiencing exponential growth in token generation, with Microsoft alone processing over 100 trillion tokens in Q1—a fivefold year-over-year increase.
      • Hyperscalers are deploying nearly 1,000 NVL72 racks (72,000 Blackwell GPUs) per week, and NVIDIA-powered “AI factories” have doubled year-over-year to nearly 100, with the average GPU count per factory also doubling.
      • To meet this unprecedented demand, more than $300 billion in capital expenditure is being invested this year in data centers (rebranded by NVIDIA as “AI factories”), signaling a new industrial revolution in AI infrastructure.
  9. May 2025
    1. Dlatego dodałem sobie nowy sposób na kontrolę czasu w ciągu dnia i nazwałem to pisaniem dziennika w trakcie pracy. W skrócie polega to na tym, że co pół godziny zaznaczam co w ciągu ostatnich 30 minut zrobiłem i ewentualnie dodaję krótki komentarz. Dzięki temu mogę łatwo zauważyć “dziury w produktywności” kiedy spędziłem pół godziny na niczym konstruktywnym. To daje mi możliwość przywołania się do porządku i poprawy!

      That's even too much for me.

  10. Apr 2025
    1. Brak ruchu skraca życie o kilka lat! Tadeusz Oleszczuk [Sekrety Długowieczności]
      • 🦶 10,000 steps a day is the minimum<br /> Regular physical activity, even in the form of a 15–30 minute walk daily, can extend life by 3–5 years. The exact number of steps doesn't matter—what counts is consistent movement.

      • 🔁 Day of effort, day of rest<br /> Daily intense exercise, such as running 10 km, can lead to physiological stress. A recommended rhythm is one day of activity followed by one day of recovery, which supports the creation of new mitochondria.

      • 🌬️ What happens during the break<br /> On the rest day, the body prepares for the next activity: it creates mitochondria, replenishes energy, and regenerates cellular structures.

      • 🧠 Physical activity affects the brain and hormones<br /> Movement reduces cortisol, which increases levels of testosterone and estrogen. This influences libido and overall mood.

      • 💧 Hydration is essential<br /> Activity increases water loss—you should drink at least 1.5–2.5 liters of water daily. Avoid dehydration caused by coffee, alcohol, and tea.

      • 🌲 Best activity is outdoors<br /> Walking in the forest is more beneficial than exercising in the city—better microbiota, fewer toxins, and cleaner air.

      📊 Insights Based on Numbers

      • 🚶‍♀️ 15-minute walk daily = +3 years of life
      • 🏃‍♂️ 30 minutes daily = +5 years of life
      • 💧 Body loses about 2.5 liters of water daily through sweat, breath, and urine
      • 🏃‍♂️ 4 km walk to and from work = full daily dose of activity
    1. Alarmujące dane. Poznaliśmy średnie BMI Polaków
      • Average BMI in Poland: The average BMI of Poles is 26.33, which falls into the overweight category (BMI ≥ 25). Approximately 60% of Poles are classified as overweight.
      • Comparison with Hungary: Poland and Hungary have the highest proportion of overweight individuals in Europe.
      • Physical Activity in Poland:
        • Poland ranks second to last in Europe regarding physical activity levels.
        • Over one-third of Poles hardly engage in sports.
        • The average number of weekly physical activities has dropped from 3 to 2.7, the second-lowest in Europe (Hungary ranks lowest at 2.4).
      • BMI Trends in Europe: In the past decade, BMI has increased across most European countries.
      • Countries with the Fewest Overweight Issues: Switzerland, Austria, France, and Italy have the lowest prevalence of overweight individuals.
  11. Mar 2025
    1. The analysis uncovered an average of 11 different types of data out of the 35 possible. As mentioned earlier, Google Gemini stands out as the most data-hungry service, collecting 22 of these data types, including highly sensitive data like precise location, user content, the device's contacts list, browsing history, and more.Among the analyzed applications, only Google Gemini, Copilot, and Perplexity were found to collect precise location data. The controversial DeepSeek chatbot stands right in the middle, collecting 11 unique types of data, such as user input like chat history.
    1. Wybrane dane z raportu:Grupa wiekowa 7-12 lat:Z serwisów społecznościowych i komunikatorów dozwolonych od 13. roku życia aktywnie korzysta znacznie ponad połowa tej grupy wiekowej – aż 1,4 mln dzieci (58%). co trzecie dziecko (760 tys.) (32%) ma regularny dostęp do platformy TikTok, 24% (580 tys.) do Facebooka, zaś 12% (290 tys.) – do Instagrama.Dzieci powszechnie używają komunikatorów: 38% Messengera (900 tys.), a 31% Whatsappa (720 tys.).Najintensywniej korzystają z TikToka – aktywni użytkownicy tej platformy spędzają w aplikacji średnio 2 godziny i 11 minut dziennie i w większości przypadków uruchamiają ją kilkanaście lub kilkadziesiąt razy w ciągu jednego dnia. Można szacować, że ponad dwie godziny dziennie na tej platformie spędza ponad 300 tys. dzieci.Grupa wiekowa 7-14 lat:85% z nich korzysta z internetu (2,7 mln).Spośród nich 96 proc. (2,6 mln) łączy się z siecią poprzez urządzenia mobilne.Najczęściej korzystają z platform społecznościowych i streamingowych. W serwisach społecznościowych spędzają ponad 2 godziny dziennie, zaś na platformach streamingowych blisko 2 godziny. Najczęściej wybieranymi kategoriami tematycznymi są: kultura i rozrywka, edukacja oraz erotyka.  Z  rozrywki – głównie gier oraz muzyki – korzysta 95 proc internautów z tej grupy, podobny odsetek odwiedziło treści edukacyjne, zaś erotyczne – 51 proc. Do korzystania z serwisów erotycznych najczęściej wykorzystują urządzenia mobilne.
    1. Komornik nie zabierze pieniędzy z konta w Revolut. Ekspert wyjaśnia dlaczego
      • Revolut accounts are difficult for Polish bailiffs to seize because the bank operates under a Lithuanian license and does not have a branch or headquarters in Poland. It is not part of the OGNIVO system, which facilitates communication between banks and enforcement authorities.

      • Revolut operates legally in Poland through cross-border services under the "single passport" rule. Deposits are protected up to €100,000 by the Bank of Lithuania, ensuring client security.

      • Polish IBANs are available through Revolut via cooperation with Aion Bank, enabling users to receive salaries, make transfers, and use payment systems like BLIK.

    1. Na gwarancji wymieniają na nowy a później to już nikt nie naprawia. Niedowiarki mogą same sprawdzić pisząc email z zapytaniem … Odpowiedź Was zaskoczy.Bosch jest dużo bardziej naprawialny i dużo więcej kilometrów robi bez awarii.

      Sounds like it's better to look for Bosch engines than Shimano in e-bikes

    1. Reduce container startup time on Amazon EKS with Bottlerocket data volume
      • Introduction

        • Containers are widely used for scalable applications but face challenges with startup times for large images (e.g., AI/ML workloads).
        • Pulling large images from Amazon Elastic Container Registry (ECR) can take several minutes, impacting performance.
        • Bottlerocket, an AWS open-source Linux OS optimized for containers, offers a solution to reduce container startup time.
      • Solution Overview

        • Bottlerocket's data volume feature allows prefetching container images locally, eliminating the need for downloading during startup.
        • Prefetching is achieved by creating an Amazon Elastic Block Store (EBS) snapshot of Bottlerocket's data volume and mapping it to new Amazon EKS nodes.
        • Steps to implement:
        • Spin up an Amazon EC2 instance with Bottlerocket AMI.
        • Pull application images from the repository.
        • Create an EBS snapshot of the data volume.
        • Map the snapshot to Amazon EKS node groups.
      • Benefits of Bottlerocket

        • It separates OS and container data volumes, ensuring consistency and security during updates.
        • Prefetched images significantly reduce startup times for large containers.
      • Implementation Walkthrough

        • Step 1: Build EBS Snapshot
          • Automate snapshot creation using a script.
          • Prefetch images like Jupyter-PyTorch and Kubernetes pause containers.
          • Export the snapshot ID for use in node group configuration.
        • Step 2: Setup Amazon EKS Cluster
          • Create two node groups:
          • no-prefetch-mng: Without prefetched images.
          • prefetch-mng: With prefetched images mapped via EBS snapshot.
        • Step 3: Deploy Pods
          • Test deployment on both node groups.
          • Prefetched nodes start pods in just 3 seconds, compared to 49 seconds without prefetching.
      • Results

        • Prefetching reduced container startup time from 49 seconds to 3 seconds, improving efficiency and user experience.
      • Further Enhancements

        • Use Karpenter for automated scaling with Bottlerocket nodes.
        • Automate snapshot creation in CI pipelines using GitHub Actions.
      • Cleaning Up

        • Delete AWS resources (EKS cluster, Cloud9 environment, EBS snapshots) to avoid charges after testing.
      • Conclusion

        • Bottlerocket's data volume prefetching dramatically enhances container startup performance for large workloads on Amazon EKS.
    1. Orlen podał wyniki finansowe za 2024 rok. Duży spadek, za to hojna dywidenda
      • Net Profit:

        • In 2024, Orlen's net profit amounted to 7.95 billion PLN, compared to 20.97 billion PLN in 2023.
      • Sales Revenue:

        • Dropped to 296.95 billion PLN in 2024 from 372.77 billion PLN in 2023.
      • Dividend:

        • The board recommends a dividend payout of 6 PLN per share for 2024, an increase from 4.15 PLN per share in 2023.
        • The total amount allocated for dividends is 6.966 billion PLN.
      • Business Segments:

        • Refining: Revenue decreased by 16.89 billion PLN (5% year-over-year), mainly due to lower gasoline (-9%), diesel (-10%), jet fuel (-10%), and light heating oil (-9%) prices.
        • Energy: Revenue fell by 10.04 billion PLN, impacted by a 12% drop in sales volume to 28.5 TWh and a 19% lower electricity price on the Polish Power Exchange.
        • Petrochemicals: Revenue increased by 760 million PLN due to a 9% growth in sales volume to 4.788 million tons and higher prices for key products such as ethylene (+1%), benzene (+11%), polyethylene (+5%), and polypropylene (+3%).
        • Retail: Revenue rose by 4.65 billion PLN as fuel sales volume increased by 11% to 11.308 million tons.
        • Upstream (Oil & Gas Production): Revenue grew by 882 million PLN due to a 23% increase in sales volume, driven by higher hydrocarbon production and the consolidation of the KUFPEC Norway AS acquisition.
      • Overall Takeaway:

        • Despite a significant decline in net profit and revenue, Orlen plans to distribute a record dividend, reflecting its strategy of sharing profits with shareholders.
  12. Feb 2025
    1. Cursor noted Claude is once again best-in-class for real-world coding tasks, with significant improvements in areas ranging from handling complex codebases to advanced tool use. Cognition found it far better than any other model at planning code changes and handling full-stack updates. Vercel highlighted Claude’s exceptional precision for complex agent workflows, while Replit has successfully deployed Claude to build sophisticated web apps and dashboards from scratch, where other models stall. In Canva’s evaluations, Claude consistently produced production-ready code with superior design taste and drastically reduced errors.

      Claude 3.7 Sonnet again excels at coding, as verified by multiple teams

    1. The hater’s guide to Kubernetes
      • Why use Kubernetes

        • Best for running multiple processes/servers/jobs with redundancy and load balancing
        • Enables infrastructure-as-code configuration for service relationships
        • Outsourced infrastructure management via cloud providers (e.g., Google Kubernetes Engine)
      • What they use

        • Core resources: Deployments (with rolling updates), Services (ClusterIP/LoadBalancer), CronJobs
        • Configuration: ConfigMaps and Secrets via Pulumi (TypeScript) instead of raw YAML
        • Cautious adoptions: StatefulSets for limited persistence, RBAC only when necessary
      • What they avoid

        • Hand-written YAML and Helm charts ("fragility for no gain")
        • Operators, custom resources, service meshes, and most third-party controllers
        • Local k8s stack replication (prefer Docker Compose for local dev)
      • Key insights

        • "A human should never wait for a pod" - unsuitable for interactive workloads requiring fast startup
        • Use managed databases/storage for critical data instead of k8s volumes
        • Alternatives like Railway/Render may be better for simpler SaaS apps
        • Recently adopted Ingress controllers for Cloud Armor integration despite initial reservations
    1. Najtańsze chińskie auta w Polsce. Dominuje jedna marka

      Chinese cars with record sales growth in Poland, in January 1000% increase in registrations year-on-year (2 thousand), and their market share jumped to 5%; the most popular brand is MG (1 thousand units), ahead of e.g. Fiat, Citroën, Suzuki and Opel.

      In the whole of 2024, 11 thousand Chinese cars were registered, and in 2023 only 160.

      Prices of the cheapest Chinese cars:

      • MG3 PLN 73.5 thousand, 1.5 l engine
      • BAIC Beijing 3: PLN 79 thousand, 1.5 l engine
      • MG ZS Classic PLN 80 thousand, 1.5 l engine

      The cheapest hybrid: MG ZS Hybrid+: PLN 99 thousand, 1.5 l engine.

    1. Kwasy tłuszczowe omega-3 wydają się spowalniać procesy starzenia
      • Daily intake of 1g of omega-3 fatty acids can slow down aging, especially when combined with vitamin D and exercise - as demonstrated by a 3-year study on 777 Swiss seniors[1][2].

      • Epigenetic clocks were used to measure the pace of aging, showing up to 4 months of biological age reduction[1][3].

      • Additional benefits included:

        • 61% reduction in invasive cancer risk[4]
        • 10% reduction in falls[4]
        • 13% decrease in infection rates[4]
      • Sources of omega-3: fish, seafood, rapeseed and flaxseed oil, walnuts, supplements[7][9]

      Citations: [1] https://www.sci.news/medicine/omega-3-supplementation-biological-aging-13635.html [2] https://www.news-medical.net/news/20250204/Omega-3-fatty-acids-and-vitamin-D-slow-biological-aging-in-older-adults.aspx [3] https://www.nature.com/articles/s43587-024-00793-y [4] https://www.medonet.pl/leki-od-a-do-z/witaminy-i-mineraly,wystarczy-gram-dziennie--spowolnisz-starzenie-nawet-o-cztery-miesiace,artykul,86261609.html [5] https://www.eurekalert.org/news-releases/1072552 [6] https://www.national-geographic.pl/nauka/kwasy-omega-3-to-pigulka-mlodosci-zwlaszcza-w-polaczeniu-z-witamina-d/ [7] https://dzienniknaukowy.pl/kwasy-tluszczowe-omega-3-wydaja-sie-spowalniac-procesy-starzenia [8] https://translate.google.com/?prev=_t&hl=pl&ie=UTF-8&eotf=1&sl=en&tl=zh-CN [9] https://www.businessinsider.com/taking-omega-3-supplements-may-slow-down-aging-study-2025-2 [10] https://pubmed.ncbi.nlm.nih.gov/36629088/ [11] https://www.sciencedaily.com/releases/2025/02/250204132423.htm

  13. Jan 2025
    1. How we migrated onto K8s in less than 12 months
      • Figma's Initial Infrastructure Challenges:

        • Figma's monolithic architecture struggled with resource allocation inefficiencies and limited scalability.
        • High traffic spikes from collaborative design workflows required more robust solutions for resource autoscaling and failover.
      • Why Kubernetes Was Chosen:

        • Kubernetes' container orchestration capabilities promised better resource management and service isolation.
        • Features like Horizontal Pod Autoscaling (HPA), robust networking via Kubernetes Services, and support for StatefulSets made it an ideal fit for Figma’s needs.
        • The platform also wanted better alignment with cloud-native practices and modern CI/CD workflows.
      • Incremental Migration Approach:

        • Step 1: Non-Critical Services: Figma migrated stateless services first, allowing experimentation without risking core functionality.
        • Step 2: Custom Tooling: Internal tooling was built to manage Kubernetes manifests and automate Helm chart creation for standardization.
        • Step 3: Stateful Services: For databases and other stateful components, Figma relied on Kubernetes' StatefulSets and persistent volumes (PVs) to ensure data integrity during the migration.
        • Step 4: Observability Enhancements: Kubernetes-native tools like Prometheus and Grafana were integrated to provide detailed metrics and system insights.
      • Key Technical Adjustments During Migration:

        • Service Discovery: Transitioned to Kubernetes-native DNS for internal service communication, replacing legacy methods.
        • Load Balancing: Leveraged Kubernetes Ingress and external load balancers (e.g., NGINX or cloud-native solutions) for traffic routing.
        • Networking Complexity: Resolved challenges around multi-cluster networking using Kubernetes CNI plugins like Calico.
        • Resource Management: Used Resource Quotas and Limits to prevent pod overcommitment and optimize cluster utilization.
      • Challenges Faced:

        • Stateful Services: Ensuring zero-downtime migration for databases required careful orchestration of PersistentVolumeClaims (PVCs) and StatefulSets.
        • Networking: Handling cross-region traffic and external dependencies required tweaking Kubernetes Ingress configurations.
        • Resource Constraints: Balancing costs and performance involved tuning cluster-autoscaler configurations and evaluating node pool setups.
      • Benefits Realized Post-Migration:

        • Scalability: Kubernetes' HPA allowed Figma to scale pods dynamically based on traffic patterns, ensuring consistent performance.
        • Deployment Efficiency: CI/CD pipelines integrated seamlessly with Kubernetes, enabling faster and more reliable rollouts using tools like Argo CD.
        • Reliability: Self-healing capabilities, such as pod restarts and node failover, reduced downtime during failures.
        • Observability: Improved system monitoring with Kubernetes' native metrics server and integrations with Prometheus and Grafana.
      • Future Enhancements Planned:

        • Service Mesh Integration: Adoption of Istio or Linkerd to enhance observability, security (e.g., mutual TLS), and traffic management.
        • Cost Optimization: Further tuning autoscaling policies and resource limits to minimize waste.
        • Edge Improvements: Deploying Kubernetes clusters closer to end-users for reduced latency, potentially using Kubernetes' Cluster Federation.
    1. How Tesla is using Kubernetes and Kafka to handle trillions of events per day
      • Overview of Tesla's Data Infrastructure Challenges:

        • Modern Tesla vehicles generate an enormous volume of telemetry data related to sensor readings, driver behavior, energy consumption, and more.
        • The primary challenge is ingesting, processing, and analyzing this data at scale while maintaining real-time capabilities.
      • Kubernetes for Orchestration:

        • Tesla uses Kubernetes to manage containerized microservices across a distributed cloud environment.
        • Kubernetes ensures dynamic scaling to handle fluctuating workloads, providing high availability for critical services.
        • Each microservice is encapsulated in its own container, improving isolation and deployability.
      • Kafka for Real-Time Event Streaming:

        • Apache Kafka is the backbone of Tesla’s data pipeline, managing trillions of events daily from globally distributed vehicles.
        • Kafka topics are structured to partition and replicate data efficiently, ensuring fault tolerance and high throughput.
        • Producers (vehicles) send data to Kafka brokers, while consumers (analytics systems, data lakes) process these streams in real-time.
      • Data Processing Pipelines:

        • Data from Kafka is ingested into processing systems for real-time analytics, anomaly detection, and predictive maintenance.
        • Stream processing frameworks (e.g., Apache Flink or Kafka Streams) analyze data for immediate feedback.
        • Batch systems handle aggregation and storage in Tesla’s data lake for long-term insights.
      • Key Technical Advantages:

        • Scalability: Kubernetes dynamically allocates resources based on the volume of incoming data and computational requirements.
        • Resilience: Kafka’s replication factor ensures that no single broker failure impacts the system.
        • Low Latency: Data streams from Kafka enable Tesla to act on insights in milliseconds, critical for safety and performance monitoring.
      • Simplified Management:

        • The platform supports multi-cluster Kubernetes configurations for geographic data segregation.
        • A central control plane monitors system health, manages deployments, and ensures compliance with data regulations.
      • Future Goals and Improvements:

        • Enhancing AI-driven analytics to derive deeper insights from vehicle data.
        • Further optimizing Kafka’s cluster topology to improve fault tolerance and reduce operational costs.
        • Expanding edge processing capabilities in vehicles to pre-filter data, reducing bandwidth requirements to the cloud.
    1. Reddit No Longer Haunted by Drifting Kubernetes Configurations
      • Kubernetes Configuration Drift Issue:

        • Reddit experienced a significant outage on March 13, 2022, during a Kubernetes upgrade from version 1.23 to 1.24.
        • The outage was caused by configuration drift, where unintended changes accumulated over time, leading to inconsistencies across clusters.
      • New Platform Abstraction with Declarative APIs:

        • Reddit adopted a declarative approach, leveraging Kubernetes controllers to manage configurations and enforce consistency.
        • The implementation of these controllers enabled Reddit to abstract platform complexities and ensure a uniform deployment environment.
      • Centralized Control Plane for Multi-Cluster Management:

        • The team built a centralized control plane to manage multiple Kubernetes clusters effectively.
        • Cluster provisioning time was drastically reduced from over 30 hours to approximately 2 hours.
        • Centralization facilitated standardized configurations and reduced operational overhead.
      • Development of Achilles SDK:

        • Achilles, an SDK developed in-house by Reddit, simplified the creation of Kubernetes controllers.
        • It allowed infrastructure engineers to automate and manage resources programmatically without deep Kubernetes expertise.
        • The SDK supported a more proactive approach to problem-solving, preventing drift by design.
      • Benefits and Lessons Learned:

        • The new system ensured robust monitoring, minimized manual intervention, and improved scalability.
        • Configuration drift was effectively mitigated, providing a more stable and predictable infrastructure.
        • The experience highlighted the importance of using Kubernetes-native solutions and declarative configurations for managing large-scale deployments.
      • Future Goals:

        • Further refinement of the platform to address edge cases and improve developer experience.
        • Continued investment in tools and processes to maintain infrastructure consistency at scale.
    1. Really good PMs and engineers will actually start to converge. With LLMs, coding won't be enough to differentiate as an engineer, you'll need to think about the product, business KPIs, strategy etc. You need to think about solutions to problems, not software tools. And PMs are going to be expected to get more technical.

      MLOps prediction for 2025

    2. We’ll also see a big surge in the use of buzzword-heavy AI concepts like Retrieval-Augmented Generation (RAG) systems, generative AI, and cloud-based AI products, all of which will become easier to use and, hopefully, cheaper, thereby driving further broad adoption.

      RAG will shine even more in 2025

    1. The concept of RAG is relatively straightforward. It involves two main components: a document retriever and a large language model (LLM). The document retriever is responsible for finding relevant information from a large corpus of documents based on the input question using semantic search. This information is then passed to the LLM, which generates a response. The unique aspect of RAG is the way it combines these two components. Instead of retrieving documents and then generating a response in two separate steps, RAG uses a joint process where the document retrieval and response generation steps are connected. This allows the model to consider multiple documents simultaneously when generating a response, leading to more accurate and contextually relevant outputs.

      Simple definition of RAG

  14. Dec 2024
    1. A guide to finding diamonds in the rough
      • Finding Wins Above Replacement: Look for candidates who made a significant impact in their past roles, distinguishing their actions from team efforts. This highlights their talent, agency, and individuality.

      • Key Traits to Identify:

        • Creativity: Ability to identify bigger problems and opportunities rather than merely following orders.
        • Resourcefulness & Follow-through: Persistence to complete tasks even when facing obstacles.
        • Vision: A thoughtful, original future vision with coherent life choices.
      • Effective Questions to Ask:

        • "Tell me about your best [accomplishment/task]."
        • "If your life was a book, give me the chapter titles from birth till now."
      • Chip on the Shoulder: Candidates with a drive to prove themselves can be valuable. Look for those with optimism and resilience rather than deep insecurities or negativity.

      • Challenges as Motivation: Present company challenges and assess if candidates are excited by the opportunity to make an impact rather than deterred by imperfection.

      • High EQ & Persuasion: Evaluate their ability to adapt communication and influence effectively, especially in group interactions.

      • Theory for Excellence: Past excellence in any field (sports, arts, academics) suggests transferable drive and discipline for unrelated roles.

      • Understanding Competence: Candidates should know their strengths, weaknesses, and preferred tools or methods.

      • Spike Potential: Tailor questions to their profile and assess specific strengths that hint at future excellence.

      • Coachability & Openness: Look for candidates open to feedback, willing to improve, and capable of committing even when they disagree.

      • Unpretentiousness: Seek candidates who are self-aware, lighthearted, and pleasant to work with.

      • Assessment Methods:

        • Use scenario-based interviews, group exercises, or role-playing to evaluate real-time reactions.
        • Gather backchannel references for additional insights.
    1. Zaskakujące odkrycie naukowców: Jak szybki chód działa na zdrowie metaboliczne?

      Participants were asked: "Is your walking speed faster than people of your gender and age?" Based on their answers, they were categorized as "fast walkers" or "slow walkers."

      The study included:

      • 8,578 obese individuals,
      • 9,626 individuals with a large waist circumference,
      • 6,742 individuals meeting both criteria.

      Summary:

      • Overweight individuals who perceive their walking speed as fast have a 30% lower risk of diabetes, along with reduced risks of hypertension and dyslipidemia.
      • Subjective assessment of walking speed can serve as a simple and cost-effective tool to identify metabolic health risks.
      • Fast walking indicates the good condition of muscles, joints, and the cardiovascular and respiratory systems.
      • Previous research has linked slow walking speed to an increased risk of cardiovascular diseases and higher mortality rates in older adults.
    1. Czy picie kawy wpływa na długość naszego życia?
      • Regular coffee consumption can extend life by an average of 1.8 years, according to researchers from the University of Coimbra.
      • Findings are based on a meta-analysis of over 50 studies.
      • Benefits of coffee consumption include:
        • Reduced risk of heart disease, type 2 diabetes, and obesity.
        • Improved circulation.
        • Relief from muscle pain.
        • Anti-inflammatory effects due to chlorogenic acids, which act as antioxidants combating free radicals responsible for cellular aging.
      • Recommendations:
        • Limit intake to no more than 4 cups per day.
        • Avoid adding sugar and cream.
    1. MENTZEN O PODATKACH #6: Opodatkowanie kryptowalut

      Summary

      🌍 Avoiding Tax Legally in Other Countries

      Changing tax residency for half a year may help avoid taxes (but it;s complex and rather recommended for very high earnings). You can move for example to: - United Arab Emirates: No crypto tax. - Germany: No tax on crypto sold after holding for 12 months. - Portugal: Similar tax-free policies for holding over a year.

      🔄 What Is Taxed?

      Transactions converting cryptocurrency into fiat currency (e.g., PLN, USD) or purchasing goods like property or pizza with cryptocurrency are taxable. Pure crypto-to-crypto transactions are not taxable.

      📈 How to Calculate Tax

      Calculate the difference between the amount spent to acquire cryptocurrency and the amount earned from its sale. Example: If Bitcoin was bought at $30,000 and sold at $40,000, the taxable income is $10,000.

      💰 Tax Rate Overview

      • Income up to 1 million PLN is taxed at 19%.
      • Income exceeding 1 million PLN incurs an additional 4% solidarity tax, totaling 23% for high earners.

      📃 Keeping Records

      Tax obligations arise at the moment of converting crypto to fiat or goods, not at the time of withdrawal from an exchange. Keep detailed records to avoid issues during audits or when exchanges request proof of funds.

      ⚠️ Challenges and Advice

      Tax laws in Poland are comprehensive and offer few loopholes. Engaging tax professionals is strongly advised to ensure compliance and minimize errors.


      🔄 Deferring Tax Payments in Poland Using Stablecoins

      One strategy involves converting crypto profits into stablecoins at year-end and selling them in the following year to postpone taxation. Below is a detailed breakdown of how the strategy works and its limitations.

      The Concept

      Stablecoins are cryptocurrencies pegged to fiat currencies (e.g., USD or EUR) and have stable values. Using stablecoins in Poland offers a way to legally defer tax payments:

      1. End-of-Year Transaction:

        • Convert your cryptocurrency gains (e.g., Bitcoin) into stablecoins like Tether (USDT) or USD Coin (USDC) at the end of the tax year.
        • These transactions, as crypto-to-crypto conversions, are not taxable in Poland.
      2. Start-of-Year Sale:

        • In the new tax year, sell the stablecoins for fiat currency (e.g., PLN).
        • The taxable event occurs in the following year, deferring the tax obligation.

      Benefits of This Strategy

      1. Tax Payment Deferral:

        • Delays the payment of taxes on your crypto gains by shifting the taxable event to the next year.
      2. Inflation Advantage:

        • Inflation reduces the real value of money over time, decreasing the actual financial burden of the deferred tax.
      3. Liquidity Management:

        • Funds remain accessible as stablecoins, which can be reinvested or used in decentralized finance (DeFi) during the deferral period.

      How Long Can This Be Done in Poland?

      • The strategy can be legally repeated annually for up to 15 years.
      • After 15 years, the deferred gains may be treated differently or trigger tax liabilities due to long-term reporting requirements. It's important to monitor evolving tax regulations in Poland to ensure compliance.

      Key Considerations

      1. Documentation:

        • Maintain detailed records of all transactions, including dates, values, and stablecoin transfers, for tax compliance and audits.
      2. Stablecoin Selection:

        • Choose stablecoins with strong pegs to fiat currencies to avoid price fluctuations that may affect gains or losses.
      3. Regulatory Changes:

        • Polish tax laws are subject to change. Always confirm that the strategy remains valid before executing it.

      Example

      • Year 1 (2023):

        • Bitcoin bought for PLN 50,000.
        • Sold for PLN 150,000 at the end of 2023.
        • Proceeds converted to USDT (not taxable in Poland).
      • Year 2 (2024):

        • USDT sold for PLN 150,000 in January.
        • Taxable gain of PLN 100,000 is reported in the 2024 tax year.

      Limitations

      1. Short-Term Transactions:

        • If stablecoins are sold within the same year as the crypto-to-stablecoin conversion, the tax deferral benefit is lost.
      2. Exchange Fees:

        • Frequent crypto-stablecoin conversions may incur exchange fees, slightly reducing net gains.
      3. Regulatory Risks:

        • Future changes to tax laws or stablecoin regulations could impact the strategy's viability.

      This strategy allows you to legally defer cryptocurrency taxes for a significant period, maximizing your financial flexibility and leveraging stablecoin stability. Always consult a tax professional for tailored advice and compliance.

    1. Czechy zdecydowały się na rewolucyjne zmiany w przepisach dotyczących kryptowalut, które mogą przyciągnąć inwestorów z całej Europy. Premier Petr Fiala ogłosił, że sprzedaż kryptowalut, takich jak Bitcoin, będzie całkowicie zwolniona z podatku, pod warunkiem, że transakcja nastąpi co najmniej trzy lata po zakupie.
  15. Nov 2024
    1. We’re leaving Kubernetes

      Why Gitpod is Leaving Kubernetes

      Gitpod has decided to transition away from Kubernetes for managing cloud development environments, opting instead for a custom-built solution better suited to their needs. While Kubernetes is powerful for orchestrating stateless application workloads, Gitpod identified several challenges that made it less ideal for their dynamic, stateful workloads.

      Key Challenges of Kubernetes

      • Resource Overhead: Kubernetes introduces significant complexity and resource consumption, which is inefficient for scaling ephemeral development environments.

      • Latency in Scaling: The time required to scale pods and handle stateful workloads can slow down developer workflows that demand near-instant provisioning.

      • Stateful Workloads: Kubernetes is designed for stateless applications, and adapting it for stateful environments adds operational complexity.

      • Cost Inefficiency: Running dynamic workloads on Kubernetes incurs higher operational costs due to the constant need for scaling and resource orchestration.

      • Security Concerns: Managing multi-tenant security on Kubernetes is challenging, requiring considerable effort to ensure workload isolation and permission control.

      • Operational Complexity: Maintaining Kubernetes clusters at scale involves a significant operational burden, including updates, monitoring, and configuration management.

      Gitpod is now focusing on Gitpod Flex, a new solution tailored to better meet the demands of developers, offering improved scalability, efficiency, and simplicity.

    1. Data scientists, MLOps engineers, or AI developers, can mount large language model weights or machine learning model weights in a pod alongside a model-server, so that they can efficiently serve them without including them in the model-server container image. They can package these in an OCI object to take advantage of OCI distribution and ensure efficient model deployment. This allows them to separate the model specifications/content from the executables that process them.

      The introduction of the Image Volume Source feature in Kubernetes 1.31 allows MLOps practitioners to mount OCI-compatible artifacts, such as large language model weights or machine learning models, directly into pods without embedding them in container images. This streamlines model deployment, enhances efficiency, and leverages OCI distribution mechanisms for effective model management.

    1. Deploying Machine Learning Models with Flask and AWS Lambda: A Complete Guide

      In essence, this article is about:

      1) Training a sample model and uploading it to an S3 bucket:

      ```python from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression import joblib

      Load the Iris dataset

      iris = load_iris() X, y = iris.data, iris.target

      Split the data into training and testing sets

      X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

      Train the logistic regression model

      model = LogisticRegression(max_iter=200) model.fit(X_train, y_train)

      Save the trained model to a file

      joblib.dump(model, 'model.pkl') ```

      1. Creating a sample Zappa config, because AWS Lambda doesn’t natively support Flask, we need to use Zappa, a tool that helps deploy WSGI applications (like Flask) to AWS Lambda:

      ```json { "dev": { "app_function": "app.app", "exclude": [ "boto3", "dateutil", "botocore", "s3transfer", "concurrent" ], "profile_name": null, "project_name": "flask-test-app", "runtime": "python3.10", "s3_bucket": "zappa-31096o41b" },

      "production": {
          "app_function": "app.app",
          "exclude": [
              "boto3",
              "dateutil",
              "botocore",
              "s3transfer",
              "concurrent"
          ],
          "profile_name": null,
          "project_name": "flask-test-app",
          "runtime": "python3.10",
          "s3_bucket": "zappa-31096o41b"
      }
      

      } ```

      1. Writing a sample Flask app:

      ```python import boto3 import joblib import os

      Initialize the Flask app

      app = Flask(name)

      S3 client to download the model

      s3 = boto3.client('s3')

      Download the model from S3 when the app starts

      s3.download_file('your-s3-bucket-name', 'model.pkl', '/tmp/model.pkl') model = joblib.load('/tmp/model.pkl')

      @app.route('/predict', methods=['POST']) def predict(): # Get the data from the POST request data = request.get_json(force=True)

      # Convert the data into a numpy array
      input_data = np.array(data['input']).reshape(1, -1)
      
      # Make a prediction using the model
      prediction = model.predict(input_data)
      
      # Return the prediction as a JSON response
      return jsonify({'prediction': int(prediction[0])})
      

      if name == 'main': app.run(debug=True) ```

      1. Deploying this app to production (to AWS):

      bash zappa deploy production

      and later eventually updating it:

      bash zappa update production

      1. We should get a URL like this:

      https://xyz123.execute-api.us-east-1.amazonaws.com/production

      which we can query:

      curl -X POST -H "Content-Type: application/json" -d '{"input": [5.1, 3.5, 1.4, 0.2]}' https://xyz123.execute-api.us-east-1.amazonaws.com/production/predict

    1. I’m writing this on October 15th, 2024. Last week I would’ve said you probably shouldn’t be using uv’s Python in production, because you wouldn’t be getting security updates to OpenSSL. This week, I would tentatively say that it’s fine. This makes me a little uncomfortable, because there may well be other issues I haven’t thought of, and uv is still very new.

      You may use uv in production, but there may be still some undiscovered quirks.

    2. The ability to install Python with uv adds interesting possibilities for production packaging. For example, you can use an Ubuntu 24.04 base Docker image, download uv, and rely on uv to trivially install any Python version. Which is to say, you won’t be limited to the versions Ubuntu packages for you.
    1. Optimizing Kubernetes Costs with Multi-Tenancy and Virtual Clusters

      The blog post by Cliff Malmborg from Loft Labs discusses optimizing Kubernetes costs using multi-tenancy and virtual clusters. With Kubernetes expenses rising rapidly at scale, traditional cost-saving methods like autoscaling, resource quotas, and monitoring tools help but are not enough for complex environments where underutilized clusters are common. Multi-tenancy enables resource sharing, reducing the number of clusters and, in turn, management and operational costs.

      A virtual cluster is a fully functional Kubernetes cluster running within a larger host cluster, providing better isolation and flexibility than namespaces. Unlike namespaces, each virtual cluster has its own Kubernetes control plane, so resources like statefulsets and webhooks are isolated within it, while only core resources (like pods and services) are shared with the host cluster. This setup addresses the "noisy neighbor" problem, where workloads in a shared environment interfere with each other due to resource contention.

      Virtual clusters offer the isolation benefits of individual physical clusters but are cheaper and easier to manage than deploying separate physical clusters for each tenant or application. They also support "sleep mode," automatically scaling down unused resources to save costs, and allow shared use of central tools (like ingress controllers) installed in the host cluster. By transitioning to virtual clusters, companies can balance security, isolation, and cost-effectiveness, reducing the need for multiple physical clusters and making Kubernetes infrastructure scalable for modern, resource-demanding applications.

    1. Cena złota przekroczyła 2700 USD za uncję Od początku tego roku złoto wyceniane w USD podrożało o blisko 32%, a w PLN o niecałe 33%. Metal zmierza do osiągnięcia najlepszego roku notowań od 45 lat.

      Gold has risen in price by 33% since the beginning of the year and is now worth PLN 10,780 per ounce. This is almost the best year for this precious metal in 45 years.

    1. Jak wynika z założeń planowanych zmian już niedługo korzystanie z 5% podatku dochodowego przez programistów może zostać ograniczone. Programista, który będzie chciał korzystać z IP BOX będzie musiał zatrudniać przynajmniej trzech pracowników na umowę o pracę przez 300 dni w skali roku. Możliwe będzie zatrudnienie 3 osób na umowę zlecenia, ale pod warunkiem, że miesięczne wynagrodzenie będzie wynosiło 3-krotność minimalnego wynagrodzenia (ok. 24 500 zł miesięcznie). Zmiany mogą zacząć obowiązywać już w 2025 roku, oznacza to, że wielu programistów prowadzących jednoosobowe działalności gospodarcze nie będzie mogło już korzystać z obniżonej 5% stawki podatku dochodowego.

      It may be over of IP BOX (5%) in 2025.

    1. Jeśli informatyk świadczy usługi związane z oprogramowaniem, nie ma prawa do 8,5 proc. zryczałtowanego podatku. Musi płacić 12 proc.

      This article (which can be viewed using a paywall remover) shows that even if someone does not deal directly with code, the court may think otherwise:

      Fiskus i NSA nie pozwalają na niższą stawkę ryczałtu W sprawie, która doszła do NSA, spór ze skarbówką zaczął się od wniosku o interpretację informatyka prowadzącego jednoosobową działalność. Napisał, że zajmuje się projektowaniem i rozwojem technologii informatycznych dla sieci i systemów komputerowych lub ich poszczególnych składowych/komponentów. Świadczy też usługi pomocy technicznej. Szczegółowo opisał wszystkie czynności. Podkreślił też, że do zakresu jego obowiązków nie należy tworzenie oprogramowania. Dlatego uważa, że ma prawo do niższej stawki ryczałtu. Fiskus miał jednak inne zdanie. Uznał, że informatyk powinien płacić 12 proc. ryczałt, ponieważ „okoliczność, że do zakresu obowiązków podatnika nie należy tworzenie oprogramowania komputerowego, nie jest wystarczającą przesłanką do uznania braku związku świadczonych usług z oprogramowaniem”.

      Informatyk zaskarżył interpretację, przegrał jednak zarówno w pierwszej, jak i drugiej instancji. Wojewódzki Sąd Administracyjny w Gliwicach zauważył, że z wniosku o interpretację wynika, iż świadczone usługi są związane z rozwojem systemu SAP. Ten system jest oprogramowaniem wspomagającym prowadzenie przedsiębiorstwa. Opisane usługi są więc niewątpliwie związane z oprogramowaniem – uznał gliwicki WSA. Za szerokim rozumieniem pojęcia „usługi związane z oprogramowaniem” opowiedział się też NSA. Podkreślił, że nie chodzi tylko o programowanie, ale również inne czynności. Także te, które wykonuje przedsiębiorca.

      Sąd wymienił wszystkie obowiązki informatyka i po prostu stwierdził, że są to usługi związane z oprogramowaniem. Po NSA spodziewałbym się głębszej analizy i dokładnego określenia, które z wymienionych czynności spełniają to kryterium. Miejmy nadzieję, że kolejne orzeczenia będą wnikliwsze. I po głębszych rozważaniach może okaże się, że to jednak podatnicy mają rację – podsumowuje Piotr Sekulski

  16. Oct 2024
    1. Niewielkie wzrosty odnotował też marketing i sprzedaż - o 1 proc. czy sektor IT - o 5 proc.

      In September, employers in Poland published 12% more job offers y/y (288 thousand).

      The increase has been going on for 4 months, and now it has reached the highest level since March 2022. The largest increase in the number of job offers is in medical professions (24%) and manual workers (13%). Decrease among financiers (-15%), HR specialists (-10%) and lawyers (-7%). In IT, the number of offers increased by 5%, and in marketing and sales by 1%.

  17. Sep 2024
    1. Design, Setting, and Participants  In a population-based registry study, data on all Finnish citizens born between January 1, 1985, and December 31, 1997, whose demographic, health, and school information were linked from nationwide registers were included. Cohort members were followed up from August 1 in the year they completed ninth grade (approximately aged 16 years) until a diagnosis of mental disorder, emigration, death, or December 31, 2019, whichever occurred first. Data analysis was performed from May 15, 2023, to February 8, 2024.

      Mental disorders are indirectly contagious – i.e. negative emotional and behavioral patterns that cause illness are transferred even to friends of people with disorders, a study in Finland involving 700,000 people has shown.

      The data showed that having friends diagnosed with mental disorders in the 9th grade of secondary school increased the risk of developing mental disorders later in life, such as mood swings, anxiety and eating disorders, by up to 18%.

    1. Regularne spożywanie umiarkowanych ilości kawy i herbaty może chronić przed rozwojem wielu chorób kardiometabolicznych, w tym cukrzycy typu 2, choroby wieńcowej i udaru, tak przynajmniej wynika z nowych badań przeprowadzonych przez szwedzkich oraz chińskich naukowców.

      Drinking 3 cups of coffee or 200-300 mg of caffeine a day can halve the risk of diseases such as type 2 diabetes, coronary artery disease and stroke, researchers from Suzhou University in China, in collaboration with Swedish scientists, have shown.

      Moderate caffeine consumption may protect cardiovascular health, regardless of age, gender, smoking or diet. The study is based on data from over 300,000 people from the UK Biobank, collected over 11 years.

  18. Aug 2024
    1. Slashing Data Transfer Costs in AWS by 99%

      The essence of cutting AWS data transfer costs by 99% is to use Amazon S3 as an intermediary for data transfers between EC2 instances in different Availability Zones (AZs). Instead of direct transfers, which incur significant costs, you upload the data to S3 (free upload), and then download it within the same region (free download). By keeping the data in S3 only temporarily, you minimize storage costs, drastically reducing overall transfer expenses.

    1. The seasoned engineer learns that sometimes the best code is the code you never wrote. They become adept at delegating tasks, capitalizing on the strengths of their colleagues, and asking the dreaded question, "But why?" — a question that often leads to the heart of what needs to be solved, avoiding unnecessary work and focusing on what truly adds value.
  19. Jun 2024
    1. Polacy ciągle się bogacą. Wzrasta liczba dobrze i bardzo dobrze zarabiających

      Infopiguła:

      Liczba Polaków zarabiających ponad 10 tys. zł / mc wzrosła w 2022 r. o 51% rdr., do 1,5 mln osób. Na koniec 2022 r. było w Polsce 90 tys. milionerów dolarowych, 10% mniej niż rok wcześniej.

      Pensje zarabiających ponad 10 tys. wzrosły o 10% do ok. 375 mld zł. Głównym czynnikiem była wysoka inflacja, ale też napływ Ukraińców z dobrymi zarobkami w korporacjach.

      Liczba osób z zarobkami 20-50 tys. zł / mies. wzrosła o 38% do 440 tys., tych z zarobkami między 50 a 83 tys. zł wzrosła o 1% do 84 tys., a osób z zarobkami ponad 83 tys. zł (czyli 1 mln rocznie) spadła o 5% do 35 tys. O prawie 2% wzrosła liczba osób z majątkiem ponad 50 mln $.

    1. EKS is popular because it’s so simple to configure and maintain. You don’t need to understand the details of how Kubernetes works or how Nodes are joined to your cluster and secured. The EKS service automates cluster management procedures, leaving you free to focus on your workloads. This simplicity can come at a cost, though: you could find EKS becomes in-flexible as you grow, and it might be challenging to migrate from if you switch to a different cloud provider.

      Why use EKS

    2. The EKS managed Kubernetes engine isn’t included in the free tier. You’ll always be billed $0.10 per hour for each cluster you create, in addition to the EC2 or Fargate costs associated with your Nodes. The basic EKS charge only covers the cost of running your managed control plane. Even if you don’t use EKS, you’ll still need to pay to run Kubernetes on AWS. The free tier gives you access to EC2 for 750 hours per month on a 12-month trial, but this is restricted to the t2.micro and t3.micro instance types. These only offer 1 GiB of RAM so they’re too small to run most Kubernetes distributions.

      Cost of EKS

    1. Note that the Python documentation refers to these as special methods and notes the synonym "magic method" but very rarely uses the term "dunder method". However, "dunder method" is a fairly common Python colloquialism, as noted in my unofficial Python glossary.

      special methods = magic methods = dunder methods

    1. Sample .devcontainer/devcontainer.json:

      json { "name": "Global", "build": { "context": "..", "dockerfile": "Dockerfile" }, "containerEnv": { "PYTHONPATH": "." }, "customizations": { "vscode": { "settings": { "extensions.verifySignature": false }, "extensions": [ "GitHub.copilot", "ms-python.vscode-pylance", "ms-python.python", "eamodio.gitlens" ] } }, "initializeCommand": "/bin/bash -c '[[ -d ${HOME}/.aws ]] || { echo \"Error: ${HOME}/.aws directory not found.\"; exit 1; }; [[ -f ${HOME}/.netrc ]] || { echo \"Error: ${HOME}/.netrc file not found.\"; exit 1; }; [[ -d ${HOME}/.ssh ]] || { echo \"Error: ${HOME}/.ssh directory not found.\"; exit 1; }; echo \"\n> All required mounts found on the host machine.\"'", "onCreateCommand": { "hadolint": "apt-get update && apt-get install wget -y && wget -O /bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-x86_64 && chmod u+x /usr/bin/hadolint", "precommit": "pip install pre-commit" }, "updateContentCommand": "/bin/bash -c 'if grep -A 2 \"machine gitlab.com\" ~/.netrc | grep -q \"password\" && GITLAB_TOKEN=$(grep -A 2 \"machine gitlab.com\" ~/.netrc | grep -oP \"(?<=password ).*\" | tr -d \"\\n\") && [ -n \"$GITLAB_TOKEN\" ]; then echo \"\n> Token found in ~/.netrc\"; else read -sp \"\n> Enter your GitLab token: \" GITLAB_TOKEN && echo; fi; echo \"export GITLAB_TOKEN=$GITLAB_TOKEN\" >> ~/.bashrc && . ~/.bashrc && poetry config http-basic.abc __token__ $GITLAB_TOKEN'", "postCreateCommand": ". ~/.bashrc && curl -s --location 'https://gitlab.com/api/v4/projects/12345/repository/files/.pre-commit-config.yaml/raw?ref=main' --header \"PRIVATE-TOKEN: $GITLAB_TOKEN\" -o .pre-commit-config.yaml", "postAttachCommand": "/bin/bash -c '. ~/.bashrc && read -p \"\n> Do you want to update the content of devcontainer.json? (y/n): \" response; if [[ \"$response\" == \"y\" ]]; then curl -s --location \"https://gitlab.com/api/v4/projects/12345/repository/files/devcontainer.json/raw?ref=main\" --header \"PRIVATE-TOKEN: $GITLAB_TOKEN\" -o .devcontainer/devcontainer.json; else echo \"\n> Skipping update of devcontainer.json\"; fi'", "mounts": [ "source=${localEnv:HOME}/.aws/,target=/root/.aws/,type=bind,readonly", "source=${localEnv:HOME}/.netrc,target=/root/.netrc,type=bind,readonly", "source=${localEnv:HOME}/.ssh/,target=/root/.ssh/,type=bind,readonly" ] }

    2. Some more of my recent learning with devcontainer.json (its Dev Container metadata):

      • Interactive commands (those waiting for user input like read) do not display the input request in (at least onCreateCommand and postCreateCommand sections), so it is better to keep them in updateContentCommand or postAttachCommand.
      • If there are 2 read commands in a single section, like updateContentCommand, only the 1st one is displayed to the user, and the 2nd one is ignored.
      • When I put a read command within a dictionary (with at lest 2 key/values) of postAttachCommand, the interactive command wasn't being displayed.
      • We need to use /bin/bash -c to be able to use read -s (the -s flag) which allows for securely passing the password so that it does not stay in the VS Code console. Also, I had trouble with interactive commands and if statements without it.
      • Using "GITLAB_TOKEN": "${localEnv:GITLAB_TOKEN}" does not easily work as it is looking for GITLAB_TOKEN env variable set locally on our host computers, and I believe no one does it.
      • The dictionary seems to be executing its scripts in parallel; therefore, it is not easily possible to break down long lines which have to execute in a chronological sequence.
      • JSON does not allow for human-readable line breaks; therefore, indeed, it seems impossible to improve the long one-liners.
      • The files/folders mentioned within mounts need to exist locally (otherwise, Docker container build fails). They are mounted before any other section. Technically, we can protect ourselves with the following command to find an extra message in VS Code container logs:

      json "initializeCommand": "/bin/bash -c '[[ -d ${HOME}/.aws ]] || { echo \"Error: ${HOME}/.aws directory not found.\"; exit 1; }; [[ -f ${HOME}/.netrc ]] || { echo \"Error: ${HOME}/.netrc file not found.\"; exit 1; }; [[ -d ${HOME}/.ssh ]] || { echo \"Error: ${HOME}/.ssh directory not found.\"; exit 1; }'",

      Other option is to get rid of the error completely, but this creates files on the host machine; therefore, it is not an ideal solution:

      json "initializeCommand": "mkdir -p ~/.ssh ~/.aws && touch ~/.netrc",

    1. In one study led by researchers at The University of Oxford, participants with insomnia were divided into two groups and given fake or "sham" feedback on their sleep.One group was told they had a "positive" night's sleep, the other a "negative" night's sleep, and were then asked to rate their mood and sleepiness.Those who were given a fake "negative" score, rated themselves as much sleepier, and their mood significantly worse than those who were given a fake "positive" score, and vice versa.

      Why sleep tracking may not make any sense

  20. May 2024
    1. At Google, an AI team member said the burnout is the result of competitive pressure, shorter timelines and a lack of resources, particularly budget and headcount. Although many top tech companies have said they are redirecting resources to AI, the required headcount, especially on a rushed timeline, doesn’t always materialize. That is certainly the case at Google, the AI staffer said.
    2. A common feeling they described is burnout from immense pressure, long hours and mandates that are constantly changing. Many said their employers are looking past surveillance concerns, AI’s effect on the climate and other potential harms, all in the name of speed. Some said they or their colleagues were looking for other jobs or switching out of AI departments, due to an untenable pace.
  21. Apr 2024
    1. Lesson 1: Anyone who knows the name of any of your S3 buckets can ramp up your AWS bill as they like.

      The author was charged over $1300 after two days of using an S3 bucket, because some OS tool stored a default bucket name in the config, which was the same as his bucket name.

      Luckily, after everything AWS made an exception and he did not have to pay the bill.

    1. Google said Axion provides “up to 30% better performance than the fastest general-purpose Arm-based instances available in the cloud today” and “up to 50% better performance and up to 60% better energy-efficiency” than other general purpose Arm chips.
    1. Socially, we’re told, “Go work out. Go look good.” That’s a multi-player competitive game. Other people can see if I’m doing a good job or not. We’re told, “Go make money. Go buy a big house.” Again, external multiplayer competitive game. Training yourself to be happy is completely internal. There is no external progress, no external validation. You’re competing against yourself—it is a single-player game.
    1. Replacing the lock icon with a neutral indicator prevents the misunderstanding that the lock icon is associated with the trustworthiness of a page, and emphasizes that security should be the default state in Chrome. Our research has also shown that many users never understood that clicking the lock icon showed important information and controls. We think the new icon helps make permission controls and additional security information more accessible, while avoiding the misunderstandings that plague the lock icon.

      Explanation why Chrome lock icon was replaced with tune icon

    1. The problem occurs when you want to move the pod to another node, in cases such as cluster rebalancing, spot interruptions, and other events. This is because the EBS volumes are zonal bound and can only be attached to EC2 instances within the zone they were originally provisioned in.This is a key limitation that CAS is not able to take into an account when provisioning a new node.

      Key limitation of CAS

    2. Since Karpenter can schedule nodes quicker, it will most often win this race and provide a new node for the pending workload. CAS will still attempt to create a new node, however will be slower and will most likely have to remove the node after some time, due to emptiness. This brings unnecessary costs to your cloud bill
    1. I recently chatted with a data science leader who described their company reaching this state. They couldn’t show any business impact from the past two years of their product releases, so the finance team identified a surefire way for R&D to make a business impact: laying off much of the R&D team.

      :D

    1. Besides communication, there are other soft skills:teamworklearning mindsetorganization/time managementemotional intelligence/empathyapproachabilitypersistence/patienceconfidence

      Core soft skills in IT

    2. You can think of it as the following cycle:software engineer writes codeusers get new featuresmore users use your productscompany profits from productsSo code is just a tool to get profit.

      The core software development process

    1. However, as we want to do perform the bisection automatically using as criterion ./calc.py 14 0, we run git bisect run ./calc.py 14 0

      git bisect run ./calc.py 14 0 ← example of running git bisect automatically. * If the commit is good, then the command should return 0; * If the commit is bad, then the command should return anything between 1 and 127, inclusive, except 125; * If it is not possible to tell if this commit is good or bad, then it need to be ignored, and the command should return 125.

    2. Git Bisect! It allows us to find the commit that broke something. Given a “good” commit (a commit that is not broken, created before the introduction of the bug), and a “bad” commit (a commit that certainly is broken), Git will perform a binary search until the broken commit is found.

      Git Bisect can be run manually or automatically

    3. What are the tools that comes on your mind when someone say “debug”? Let me guess: a memory leak detector (e.g. Valgrind); a profiler (e.g. GNU gprof); a function that stops your program and gives you a REPL (e.g. Python’s breakpoint and Ruby’s byebug); something that we call a “debugger” (like GDB, or something similar embedded on the IDEs); or even our old friend, the print function. So, in this text I’ll try to convince you to add Git to your debug toolbelt.

      6 differen debugging tools

    1. The same LM can be a much more or less capable agent depending on the enhancements added. The researchers created and tested four different agents built on top of GPT-4 and Anthropic’s Claude:

      While today’s LMs agents don't pose a serious risk, we should be on the lookout for improved autonomous capabilities as LMs get more capable and reliable.

    1. On code-authoring tasks, students in the Codex group had a significantly higher correctness score (80%) than the Baseline (44%), and overall finished the tasks significantly faster. However, on the code-modifying tasks, both groups performed similarly in terms of correctness, with the Codex group performing slightly better (66%) than the Baseline (58%).

      In a study, students who learned to code with AI made more progress during training sessions, had significantly higher correctness scores, and retained more of what they learned compared to students who didn't learn with AI.

  22. Mar 2024
  23. Feb 2024
    1. docker init will scan your project and ask you to confirm and choose the template that best suits your application. Once you select the template, docker init asks you for some project-specific information, automatically generating the necessary Docker resources for your project.

      docker init

    1. This final trick is not known to many as it’s rather newer compared to the other features I presented. It leverages Buildkit cache mounts, which basically instruct Buildkit to mount and manage a folder for caching reasons. The interesting thing is that such cache will persist across builds!By plugging this feature with Poetry cache (now you understand why I did want to keep caching?) we basically get a dependency cache that is re-used every time we build our project. The result we obtain is a fast dependency build phase when building the same image multiple times on the same environment.

      Combining Buildkit cache and Poetry cache

    1. At a minimum, each ADR should define the context of the decision, the decision itself, and the consequences of the decision for the project and its deliverables

      ADR sections from the example: * Title * Status * Date * Context * Decision * Consequences * Compliance * Notes

  24. Jan 2024
    1. W cenie 165 euro + podatek (prawie tysiąc złotych) otrzymujemy – teraz nie boję się tego napisać – zabawkę. Fakt, najeżoną techniką, ale zabawkę. W dodatku do jakiegokolwiek działania wymaga ona sporej wiedzy i umiejętności programowania. Niestety w głównej mierze „działająca z pudełka” funkcja tego urządzenia sprowadza się do uniwersalnego pilota telewizyjnego.
    1. Rick was a very talented developer. Rick could solve complex business logic problems and create sophisticated architectures to support his lofty designs. Rick could not solve the problem of how to work effectively on a team.

      :)

    2. I dove into the source code. Rick was right: no-one could possibly understand what Rick had created. Except for Rick. It was a reflection of the workings of his own mind. Some of it was very clever, a lot of it was copy-pasta, it was all very idiosyncratic, and it was not at all documented.

      I used to work in such a project :)

  25. Dec 2023
    1. “MLX” is more than just a technical solution; it is an innovative and user-friendly framework inspired by popular frameworks like PyTorch, Jax, and ArrayFire. It facilitates the training and deployment of AI models on Apple devices without sacrificing performance or compatibility.

      MLX (high overview)

  26. Nov 2023
    1. RUN poetry install --without dev && rm -rf $POETRY_CACHE_DIR

      The ideal way of poetry install within a Dockerfile to omit a bunch of cache that would eventually take a lot of space (which we could discover with tools like dive)

    1. Rosetta is now Generally Available for all users on macOS 13 or later. It provides faster emulation of Intel-based images on Apple Silicon. To use Rosetta, see Settings. Rosetta is enabled by default on macOS 14.1 and later.

      Tested it on my side, and poetry install of one Python project took 44 seconds instead of 2 minutes 53 seconds, so it's nearly a 4x speed increase!

  27. Oct 2023
    1. With WASI SDK we can build a Wasm module out of PHP's codebase, written in C. After that, it takes a very simple Dockerfile based on scratch for us to make an OCI image that can be run with Docker+Wasm.

      Building a WASM container that can be run with Docker+Wasm

    2. Docker Desktop now includes support for WebAssembly. It is implemented with a containerd shim that can run Wasm applications using a Wasm runtime called WasmEdge. This means that instead of the typical Windows or Linux containers which would run a separate process from a binary in the container image, you can now run a Wasm application in the WasmEdge runtime, mimicking a container. As a result, the container image does not need to contain OS or runtime context for the running application - a single Wasm binary suffices.

      Docker Desktop can run Wasm applications (binaries) instead of OS (Linux/Windows)

    3. We now have WebAssembly. Its technical features and portability make it possible to distribute the application, without requiring shipping OS-level dependencies and can run with strict security constraints.

      Wasm, as a next step in the evolution of server-side software infrastructure

    4. There are Wasm runtimes that can run outside of the browser, including traditional operating systems such as Linux, Windows and macOS. Because they cannot rely on a JavaScript engine being available they communicate with the outside world using different interfaces, such as WASI, the WebAssembly System Interface. These runtimes allow Wasm applications to interact with their host system in a similar (but not quite the same) way as POSIX. Projects like WASI SDK and wasi-libc help people compile existing POSIX-compliant applications to WebAssembly.

      Explanation on how Wasm runs on servers

    5. Browser engines integrate a Wasm virtual machine, usually called a Wasm runtime, which can run the Wasm binary instructions. There are compiler toolchains (like Emscripten) that can compile source code to the Wasm target. This allows for legacy applications to be ported to a browser and directly communicate with the JS code that runs in client-side Web applications.

      Explanation on how Wasm runs in browsers

    1. the new Docker+Wasm integration allows you to run a Wasm application alongside your Linux containers at much faster speed.

      ```bash time docker run hello-world ... 0.07s user 0.05s system 1% cpu 8.912 total time docker run --runtime=io.containerd.wasmedge.v1 --platform=wasi/wasm32 ajeetraina/hello-wasm-docker

      0.05s user 0.03s system 19% cpu 0.393 total ```

  28. Sep 2023