home.social

Search

28 results for “thumb”

  1. thumbmux puts a phone-friendly interface in front of your own tmux: tabs, a real text box, swipe scrolling, uploads. The terminal sits on a private unix socket with no open port.#tmux #python #security #opensource #software #coding #development #engineering #inclusive #community
    thumbmux: a mobile web UI for tmux and AI agents that is password-protected from the first second
  2. which thumbnail should i use

  3. Baker Mayfield says thumb at place 'strong enough to be able to play' for Buccaneers vs. Panthers nfl.com/news/baker-mayfield-th #NFL
    @[email protected]

  4. Is there any rule of thumb with regard to undertaking education / training courses ?

    Just asking as I don't want to make what I study look less valuable due to undertaking a lot of courses in a short space of time.

    At the same time a steady stream, should demonstrate a commitment to learning and development.

    #Education
    #Development
    #Balance
    #Courses
    #ProfessionalDevelopment

  5. how to use flipper zero to DISAPPEAR ONLINE soy face thumbnail chatgpt script

  6. Kazakhstan’s Orthodox Churches Remain Under Russia’s Thumb. An Anti–War Priest Paid the Price.

    Earlier this month, a court in Almaty, Kazakhstan sentenced Yakov Vorontsov, a former priest who publicly opposed Russia’s…
    #Conflict #Conflicts #War #kazakhstan #orthodoxchurch #Russia #russiaukraine #RussiaUkraineWar #RussianinvasionofUkraine #Russo-UkrainianWar #Ukraine
    europesays.com/3324468/

  7. Trump-sanctioned ICC wins EU Parliament’s human rights prize - Based #Europe thumbing its nose at #Trump madness is awesome, and much deserved imo. #TrumpRegime #ICC #Justice #Legal #courts politico.eu/article/icc-wins-e

  8. Leaving the Kraken game wearing my team Finland Four Nations Faceoff jersey, a guy tapped me on the shoulder, pointed to my jersey and gave me a thumbs up.

    Then he started speaking Finnish to me.

    I have forgotten basically all of the tiny bit of Finnish I used to know, so it didn't work very well 😂

  9. Mission Control and Spaces in macOS have been buggy for a while… but it’s gotten dramatically worse on macOS 27 Golden Gate. Frequently now the thumbnails for Spaces show the desktop wallpaper or a black background, missing the windows in that Space: Most of these Spaces had windows in them! ☹️

  10. A new dbupdate(8) utility is being backported and released as a syspatch(8) update for #OpenBSD 7.9/8.0. This will make it easier for users to periodically update /etc/ssl/cert.pem and /usr/share/zoneinfo. :flan_thumbs:​

    It's also available as an errata patch: openbsd.org/errata80.html#p005

    #eMudhra

  11. > JPEG image buffer length is an unsigned 32 bit integer

    yeah I'm sure that could come useful if you ever wanted to send 4GB thumbnails over the network

  12. A delegate named LGBTQ History Month "transing the kids month." #Loudoun's schools chief: erasing people protects no child, dumbass.

    Nobody got transed by a footnote.

    thistleandmoss.com/p/2027-is-s

    #LGBTQ #Trans #Books #TransRights #QueerMedia #IndieMedia

  13. Thinking about turning off Snap Assist in Windows 11? Here's what you actually lose: only the thumbnail picker that suggests which open window should fill the space beside a snapped one. Edge snapping and Snap layouts keep working, unless you disable those too. Full breakdown: geekrewind.com/what-breaks-whe #Windows11 #Windows #Tech #Tutorial

  14. Contemplating taking the day off work (that has nothing to do with crypto, security, or even the internet) to "deal with the tls certificates". (The cat's giving me a thumbs-up.)

  15. YouTube halts uploads on suspected hacked channels, typically for 24 hours: Live streams, thumbnails and playlist edits freeze too, and recent videos may go private. Confirmed hijacks keep the limits until owners re-secure the account. ppc.land/youtube-halts-uploads #YouTube #HackedChannels #CyberSecurity #AccountSafety #LiveStreams

  16. Hate how often I find a youtube video that looks up my alley, and then I notice every recent video the person does has AI thumbnails.

  17. RE: publicidentity.net/@jezdez/117

    Quick update on the wind-down work on Jazzband since last week:

    pip-tools has moved to PyPA, wagtailmenus to Wagtail Nest, and sorl-thumbnail back to Mario-César Señoranis.

    Of the 82 projects I'm tracking, 11 are marked as complete, 4 as archived, and 11 are preparing to move. More moves are under discussion, including proposals for Django Commons (27 projects are currently in the preparation or decision phase).

    Thanks to everyone helping!

    #python #django

  18. In Sikanderpur Market, at Mr. Mondal's chai stall. They broke his chai stall. Unfair!

    GoPro Hero Black 11
    Notes from the Dusty Lanes: a walk in Sikanderpur

    youtu.be/mjA6uj5avzA

    Do watch, subscribe, comment, share and give me a thumbs up!
    #streets #video

  19. Busy day for the #Broncos.

    OLB Jonathon Cooper, CB Pat Surtain II (ankle) both present and the team opened the return-to-play window for RB Jonah Coleman (ankle).

    Not present: S Talanoa Hufanga (ankle), OLB Jonah Elliss (lower leg), RB Tyler Badie (thumb).

    Also did not see IR guys Frank Crum or Caleb Lohner.

  20. Back at practice for #Broncos were Jonah Coleman (designated for return from IR after ankle injury), Pat Surtain (missed last 2 games with ankle) and Jonathon Cooper (off commissioner exempt list). Not present were Talanoa Hufanga (ankle), Jonah Elliss (leg), Tyler Badie (thumb).

  21. Brian Stone, acting head of the National Science Foundation (NSF), is retiring at the end of the year, along with chief of staff Rebecca Keiser. 😐

    science.org/content/article/tw

  22. Any time you can hack via memes is funny to me.

    nvd.nist.gov/vuln/detail/cve-2

    Pillow is a Python imaging library. Prior to 13.0.0, Pillow's JPEG decoder can write a full-width scanline into a buffer sized for a requested draft scale. ImagingJpegDecode does not verify libjpeg's actual output width and component count after scaling is requested, and an 8-bit lossless SOF3 JPEG decoded by a build linked to libjpeg-turbo 3.x can ignore the requested downscaling geometry. An attacker can supply such a JPEG to an application that uses draft() or thumbnail() to request downscaling. This can corrupt heap memory, crash the process, or potentially allow code execution. Older libjpeg-turbo 2.x and IJG builds reject the SOF3 input. This issue is fixed in version 13.0.0.

  23. 🐤 A Scrum by Example story: Martin, Doug and Ian approach ScrumMaster Steve two days before the end of the Sprint and say, "We won't be attending the Retrospective this week. We're working fast, we've finished this Sprint's work and have already started work on the next Sprint. We just don't have time for the retro, but we're getting stuff done, so that's okay."

    Martin explains, "Well, we handed off all our stories to QA, so we had nothing to do. Instead of twiddling our thumbs, we grabbed more work."

    Scenarios like this are a proverbial canary in the mineshaft. When Scrum team members lack time or interest in the Retrospective, that tells us there is a problem somewhere else in the system. A general working assumption when we see good people doing something strange is that we should examine the system to understand what it is telling us.

    Don't solve the surface problem by canceling or replacing the retrospective or, much worse, forcing them to attend. Instead, dig into the why to find the deeper problem.

    #Scrum

    agilepainrelief.com/blog/scrum

  24. Oct 20: What's the shortest work you've ever finished?

    Over the years I've drawn a lot of cartoons with zero words. The same is true of memes and animations.

    When editing my college paper I’d pick a controversial word like “ABORTION” and run it in all caps at 48 points one or two columns wide with a four point border in the space reserved for a letter to the editor.

    Effective one word incentives to get the crazies to write in to fill space.

    In newspaper journalism the standard is a 25 word lede. Your entire story might be cut down to that. The gist of the story needs to be in that first 25 words and everything else has to be written to be easily cut down to available space. Writing to be coherently cut is an art that gets more of your journalistic writing into print intact rather than decimated or re-written by an editor on deadline. Editors edit. Never make them write.

    Children’s books can be tiny. “A Hippopotamus Ate Our House” is about 40 words. I wrote and illustrated it one afternoon for a little girl whose border collie Maggie chewed her rag doll to bits.

    When writing for magazines it helps to write for easy jumps based on their typography and format. Jumps are how they make their readers see ads. Spoon-feed the editor with obvious bridges and diving boards to preserve coherence.

    In court: Facts, evidence, law. The judge knows the law. The facts and supporting evidence are critical to making your case. There is a reason they are called “briefs.”

    Fifty words seems to be a reasonable floor for very short fiction stories.

    Poetry can be much shorter:

    Thumb sized green birds hop
    Peck at summer clover
    Crow flees to pine tree

    Elephant noses
    Collect white cottonwood seeds
    Fluffy springtime snack

    I learned a lot from an exercise in a creative writing seminar that asked for 500, 250, 100, and 50 word versions of the same story. A pretty useful skill to develop for distilling larger works down to coherent synopses that don’t sound insane.

  25. We've all been there: a perfectly good application, humming along, suddenly grinds to a halt. The culprit? Often, it's the database. While throwing more hardware at the problem might offer a temporary reprieve, it's rarely a sustainable solution. True database optimization isn't about magic bullets; it's about understanding the fundamentals and applying them strategically.

    I've seen teams bite themselves in production by ignoring the basics, only to scramble when traffic spikes. Let's dig into some techniques that move beyond just 'adding an index' and really make a difference.

    The Unseen Cost of Bad Queries


    Before we even touch indexes, let's talk about queries. A poorly written query can negate the benefits of even the most perfectly tuned database. It's like having a Ferrari with a clogged fuel line.

    N+1 Problem: The Silent Killer


    This one is insidious. You fetch a list of parent records, then in a loop, fetch related child records one by one. If you have 100 parents, that's 101 database calls. Ouch.

    The Fix: Eager loading. Most ORMs (like Sequelize, SQLAlchemy, or Entity Framework) have mechanisms for this. For raw SQL, it's about JOINs or fetching related data in a single, well-crafted query.

    -- Bad: N+1
    SELECT * FROM orders WHERE customer_id = 1;
    -- Then, for each order, run:
    SELECT * FROM order_items WHERE order_id = [order_id];

    -- Good: Eager loading with JOIN
    SELECT o.*, oi.*
    FROM orders o
    JOIN order_items oi ON o.id = oi.order_id
    WHERE o.customer_id = 1;

    This reduces network round trips and allows the database to optimize the data retrieval in one go.

    Wildcard Searches at the Start: %keyword


    Using LIKE '%keyword' is a performance killer because it prevents the database from using an index on that column. The database has to scan every row to find matches.

    The Fix: If you absolutely need leading wildcards, consider full-text search solutions (like PostgreSQL's tsvector/tsquery, Elasticsearch, or Lucene-based engines). For most cases, keyword% is fine and can use an index.

    Indexing: More Than Just CREATE INDEX


    Indexes are your database's table of contents. They speed up data retrieval, but they also come with overhead: storage space and slower write operations (inserts, updates, deletes) because the index also needs to be updated.

    Composite Indexes: The Order Matters


    Often, you query on multiple columns. A composite index on (col_A, col_B) is not the same as (col_B, col_A). The order matters because the index is sorted first by col_A, then by col_B.

    If your common query is WHERE col_A = ? AND col_B = ?, an index on (col_A, col_B) is perfect. If you often query WHERE col_A = ? alone, it's still good. But if you frequently query only WHERE col_B = ?, this index won't help much.

    Rule of Thumb: Put the most selective column (the one that narrows down results the most) first in your composite index.

    Covering Indexes: Avoiding Table Lookups


    A covering index includes all the columns needed to satisfy a query, meaning the database doesn't have to go back to the main table to fetch additional data. This is incredibly fast.

    -- Query:
    SELECT name, email FROM users WHERE city = 'New York';

    -- Covering Index:
    CREATE INDEX idx_city_name_email ON users (city, name, email);

    With this index, the database can answer the query entirely from the index, skipping the more expensive table scan.

    Schema Design: Laying the Foundation


    Optimization starts long before you write a single query. A well-designed schema can prevent performance bottlenecks.

    Normalization vs. Denormalization: A Balancing Act


    • Normalization: Reduces data redundancy, improves data integrity. Good for transactional systems (OLTP) where data consistency is paramount.
    • Denormalization: Introduces redundancy to improve read performance. Useful for analytical queries (OLAP) or when joins become too expensive.

    There's no one-size-fits-all. Sometimes, a carefully chosen degree of denormalization (e.g., caching a calculated total_orders count on a customer table) can dramatically speed up reads at the cost of slightly more complex writes.

    Choosing the Right Data Types


    Small details matter. Using VARCHAR(255) when VARCHAR(50) would suffice, or BIGINT when INT is enough, wastes space. This impacts disk I/O, memory usage, and index size.

    For example, if you're storing true/false, a BOOLEAN or TINYINT(1) is far more efficient than VARCHAR(5). Store dates as DATE or DATETIME, not VARCHAR.

    Monitoring & Profiling: Trust, But Verify


    You can guess all day, but actual performance data is king. Most databases offer tools to see what's really happening:

    • EXPLAIN / EXPLAIN ANALYZE: (PostgreSQL, MySQL) Shows the query execution plan. This is your most powerful tool for understanding why a query is slow. It tells you if indexes are being used, if full table scans are happening, and where the bottlenecks are.
    • Slow Query Logs: Configure your database to log queries that exceed a certain execution time. This helps you identify the worst offenders.
    • Database Monitoring Tools: Tools like Datadog, New Relic, or even built-in solutions (e.g., AWS RDS Performance Insights) provide dashboards and alerts for resource utilization, active connections, and query performance.


    Caching: The Ultimate Speed Boost


    When the database is still the bottleneck after all your efforts, caching is often the next step. Don't hit the database for data that rarely changes or for frequently accessed read-only data.

    • Application-level caching: Store query results or frequently accessed objects in memory (e.g., using Redis or Memcached) in your application layer.
    • Database-level caching: Many databases have internal query caches, but be mindful of their effectiveness, especially with highly dynamic data.

    Remember, caching adds complexity (cache invalidation is a hard problem!), so apply it judiciously to true hotspots.

    Final Thoughts: Iterate and Measure


    Database optimization isn't a one-time task; it's an ongoing process. Your data changes, your queries evolve, and your traffic patterns shift. The key is to:

    1. Identify: Find the slow queries or bottlenecks using monitoring tools.
    2. Analyze: Use EXPLAIN to understand why they're slow.
    3. Optimize: Apply indexing, query rewriting, or schema adjustments.
    4. Measure: Verify that your changes actually improved performance.

    Don't optimize prematurely. Focus on the 20% of queries causing 80% of your problems. Start with the basics, use your tools, and you'll be well on your way to a snappier, more scalable application.#database #sql #performance #optimization #software #coding #development #engineering #inclusive #community
    Database Optimization: Beyond the Basics

Share on Mastodon

Enter the server where you have an account.