דילוג לתוכן
  • דף הבית
  • קטגוריות
  • פוסטים אחרונים
  • משתמשים
  • חיפוש
  • חוקי הפורום
כיווץ
תחומים

תחומים - פורום חרדי מקצועי

💡 רוצה לזכור קריאת שמע בזמן? לחץ כאן!
חגיח

חגי

@חגי
אודות
פוסטים
600
נושאים
12
שיתופים
0
קבוצות
0
עוקבים
4
עוקב אחרי
0

פוסטים

פוסטים אחרונים הגבוה ביותר שנוי במחלוקת

  • הרצה אוטומטית של שרת מקומי
    חגיח חגי

    זה מאוד פשוט, אבל רק כתבת את השפה של השרת ולא באיזה שרת מדובר.
    IIS?
    kestrel? (קערעסטיר בלשון הקודש)
    אני מרשה לעצמי להניח שזה יכול לרוץ ב-IIS,
    אז כל שנשאר לך הוא לקמפל את הפרויקט, להפעיל את IIS בפיצ'רים של ווינדוס, ולשים את הקבצים המקומפלים בתיקיית IIS (בד"כ c:\inetpub\wwwroot)

    ככה נראית ההפעלה של IIS בהגדרות הפיצ'רים של ווינדוס
    ae5368a7-4e47-418c-afd9-d41d01024eed-image.png

    אם אתה לא רוצה להפוך את המחשב שלך לשרת ובמקום זה אתה רוצה רק להריץ את השרת כאילו זאת היתה תוכנה, אתה יכול להשתמש בIIS EXPRESS (שזה מה שVS בד"כ משתמש)
    ע"ע https://learn.microsoft.com/en-us/iis/extensions/introduction-to-iis-express/iis-express-overview

    לפעמים צריך לעשות publish ולא מספיק רק לקמפל.

    תוכנה

  • מחפש אימולטור אנדרואיד שתומך בבלוטוס
    חגיח חגי

    @ivrtikshoret
    מניסיון WSA לא תומך

    תוכנה

  • אני לא מצליח להגיע ל console בצורה נורמלית
    חגיח חגי

    @WWW
    קשיא פאר מעשה 🙂
    אני בכרום, והמסך נתקע אם אני לא לוחץ על הכפתור ההוא.
    באדג' זה גם עובד לי 🤔
    7dd1f56f-f610-4b67-9188-2b229ffef43f-image.png

    תכנות

  • אני לא מצליח להגיע ל console בצורה נורמלית
    חגיח חגי

    @WWW כתב באני לא מצליח להגיע ל console בצורה נורמלית:

    @חגי עבד לך בGMAIL???

    ועדיין עובד.

    תכנות

  • אני לא מצליח להגיע ל console בצורה נורמלית
    חגיח חגי

    זה אתר שמכיל קוד anti debugging, הפיתרון בשביל שלא תעצר הריצה היא ללחוץ פה:
    e2e348b2-e5a2-40ce-8a4b-70f4bbc76a7a-image.png

    תכנות

  • איך חושפים אלמנטים מוסתרים באופן גורף?
    חגיח חגי

    @אהרן
    אם אתה רוצה לגבור על חוק CSS שמוגדר עם !important, אתה צריך ליצור גם חוק inline ולהשתמש ב!important

    el.style.visibility = "visible !important";
    

    תעשה כך גם לopacity ולכל הdisplay:noneים למיניהם (צריך לחפש אותם אולי עם computedStyle קודם, ולגלות איזה display כן צריך להתאים להם, שזה קצת מסובך)

    תכנות

  • JS קבלת נתונים על תכונות של טקסט מסומן
    חגיח חגי

    כדי למנוע מצב של בעיית XY, אולי תכתוב מה בדיוק הצורך שלך, ולא מה אתה מנסה לעשות?
    אולי יש פתרונות אחרים שיוכלו להציע לך.

    תכנות

  • JS- שינוי button ל input
    חגיח חגי

    @הפצת-אנקי כתב בJS- שינוי button ל input:

    innerHTML

    אולי תחליף את innerHTML ל-outerHTML, זה עוזר?

    תכנות

  • JS קבלת נתונים על תכונות של טקסט מסומן
    חגיח חגי

    @הפצת-אנקי
    אני יכול להציע פיתרון חלופי?

    getComputedStyle(document.getSelection().baseNode.parentElement)['font-size']
    

    אם זה לא פיתרון למקרה שלך, אשמח לנסות לעזור.
    פשוט נראה לי שהפיתרון שלך זה לא הכיוון הנכון.

    תכנות

  • האם יש תוכנה לתרגום על המסך?
    חגיח חגי

    @י-פל
    איך יכולה להיות תוכנה שהיא לא בחלון נפרד?
    ב-QTranslate זה מייצר לך את החלון ליד הטקסט שסימנת
    dbc9c10d-b0ed-4622-ac18-818a1794c793-image.png
    5f14bdc8-aa49-48a3-aeda-ee29290600ac-image.png

    תוכנה

  • האם יש תוכנה לתרגום על המסך?
    חגיח חגי

    לא הבנתי את הנקודה של הצילום מסך, אבל אני משתמש בתוכנת QTranslate והיא מאוד נוחה.

    תוכנה

  • עזרה בהבנת קוד פייתון (NCLS)
    חגיח חגי

    זה עוזר לך? ביקשתי מCHATGPT להסביר את הקוד ולתרגם אותו לJS

    what does this code do?

    ncls = NCLS(starts, ends, ids.astype("int64"))
    starts = np.arange(n)
    ends = np.arange(1, n+1)
    ids = starts
    ids, overlaps = ncls.all_overlaps_both(starts, ends, ids.astype("int64"))
    

    This code appears to be using an object of the NCLS class, which stands for "non-contiguous label-set" and is used to efficiently query overlapping intervals in a sequence.

    The NCLS object is constructed using three arrays: starts, ends, and ids. These arrays represent the start and end positions of intervals in the sequence, and a unique identifier for each interval.

    The all_overlaps_both method of the NCLS object is then called with the same starts, ends, and ids arrays as arguments. This method returns two arrays: ids and overlaps. The ids array is a subset of the input ids array, containing only the identifiers of the intervals that overlap with at least one other interval. The overlaps array is a boolean array of the same length as the input ids array, where True indicates that the corresponding interval overlaps with at least one other interval and False indicates that it does not.

    It's worth noting that the input ids array is cast to the int64 data type before being passed to the NCLS object constructor and the all_overlaps_both method. This is likely because the NCLS class and its methods expect integer values as input.

    can you convert that to javascript
    Sure! Here is a possible implementation of the NCLS class and the all_overlaps_both method in JavaScript:

    class NCLS {
      constructor(starts, ends, ids) {
        // Check that the input arrays have the same length
        if (starts.length !== ends.length || starts.length !== ids.length) {
          throw new Error("Input arrays must have the same length");
        }
        this.starts = starts;
        this.ends = ends;
        this.ids = ids;
      }
    
      allOverlapsBoth(starts, ends, ids) {
        // Check that the input arrays have the same length
        if (starts.length !== ends.length || starts.length !== ids.length) {
          throw new Error("Input arrays must have the same length");
        }
        const overlaps = new Array(starts.length).fill(false);
        const overlappingIds = [];
        for (let i = 0; i < starts.length; i++) {
          for (let j = 0; j < starts.length; j++) {
            if (i === j) continue; // Don't compare an interval with itself
            if (starts[i] < ends[j] && starts[j] < ends[i]) {
              // The intervals i and j overlap
              overlaps[i] = true;
              overlaps[j] = true;
              if (!overlappingIds.includes(ids[i])) overlappingIds.push(ids[i]);
              if (!overlappingIds.includes(ids[j])) overlappingIds.push(ids[j]);
            }
          }
        }
        return { ids: overlappingIds, overlaps };
      }
    }
    
    // Example usage:
    const ncls = new NCLS([0, 5, 10], [5, 10, 15], [1, 2, 3]);
    const { ids, overlaps } = ncls.allOverlapsBoth([0, 5, 10], [5, 10, 15], [1, 2, 3]);
    console.log(ids); // [1, 2, 3]
    console.log(overlaps); // [true, true, true]
    

    This implementation creates an NCLS object with three properties: starts, ends, and ids. The allOverlapsBoth method compares each pair of intervals and sets the corresponding element in the overlaps array to true if the intervals overlap. It also adds the identifiers of the overlapping intervals to the overlappingIds array. Finally, the method returns an object with two properties: ids, containing the overlapping identifiers, and overlaps, containing a boolean array indicating which intervals overlap.

    תכנות

  • עזרה בהבנת קוד פייתון (NCLS)
    חגיח חגי

    @davidnead
    אפשר את הקוד המלא?

    תכנות

  • בירור על פיתוח תוכנה עבור מוסד ת"ת
    חגיח חגי

    @A0533057932
    כמדומני ששילבתי כמה API של גוגל ביחד, וזה יצר לי את המסלול הכי מומלץ.

    תכנות

  • בירור על פיתוח תוכנה עבור מוסד ת"ת
    חגיח חגי

    לגוגל יש API בדיוק בשביל הדברים האלה. אז זה כבר מפשט את הפיתוח משמעותית.

    תכנות

  • מחשב נייד
    חגיח חגי

    כמדומני שלנתונים האלו, כל מחשב אמור להיות טוב.
    לגבי מה שאמרו מעליי, לא נראה לי שאתם צריכים את החווית צפיה הכי טובה, או יכולות עיבוד גבוהות. אז בעיקרון כל מחשב אמור להיות מספיק טוב.

    אורך החיים של המחשב לא תלוי בחוזק המעבד שלו, או גודל הRAM שלו, במקרה של ספק אפשר לכתוב פה את הדגם שאתם שוקלים לקנות ולשאול אם זה מחשב טוב.

    אני באופן אישי משתמש לדברים כאלה בchromebook שקניתי "מחודש" מאוד בזול וזה עובד מצוין. זה בדיוק הדברים עבורם ייעדו את הchromebookים.

    חומרה

  • שיתוף | תוכנת סודוקו
    חגיח חגי

    @קומפיונט
    4a8d5144-d9c7-4bec-af16-bf10f74d0f93-image.png
    🤔

    אני לא מצליח לשכנע את ווינדוס דפנדר שזה תמים, גם אחרי שסימנתי לו allow on device
    עריכה: בסוף הצלחתי

    תוכנה

  • WPF + Entity framework -information
    חגיח חגי

    חשבתי שבלייזור נועד לעבוד בסביבת ווב, אבל מסתבר שגם מיקרוסופט בעד להשתמש בו עם web view באפליקציה שולחנית

    https://learn.microsoft.com/en-us/aspnet/core/blazor/hybrid/tutorials/windows-forms?view=aspnetcore-7.0

    יש למיקרוסופט עוד משהו לאפליקציות שולחניות (חדש יחסית) שנקרא MAUI, אבל הוא רק שולחני, הוא לא ירוץ בסביבת ווב. אבל הוא נועד לתת אפליקציה נאטיבית עם נראות מודרנית.

    תכנות

  • פריצת נוקיה
    חגיח חגי

    יש בנוקיה 215 שירים והודעות בלי לשנות כלום במכשיר

    ע"ע (יש שם מקום לראות פיצ'רים של הפלאפון)
    https://www.gsmarena.com/nokia_215_4g-reviews-10533.php

    יותר ספציפית:
    7cf25c24-5577-492e-a447-4d769cf16874-image.png

    תוכנה
  • 1
  • 2
  • 14
  • 15
  • 16
  • 17
  • 18
  • 29
  • 30
  • 16 / 30
  • התחברות

  • אין לך חשבון עדיין? הרשמה

  • התחברו או הירשמו כדי לחפש.
  • פוסט ראשון
    פוסט אחרון
0
  • דף הבית
  • קטגוריות
  • פוסטים אחרונים
  • משתמשים
  • חיפוש
  • חוקי הפורום