jump to:allmastodonblueskylemmylobstersdevstackwikirsshn
wwebbit
view: | | |

Knowledge / everything · hot matching “ice”

10 shown · updated 56s ago · read only
  1. How to achieve adc sample for 1 shunt resistor foc (stackoverflow.com)stack

    29 points by mxmxlwlw in stackoverflow.com · 33m ago · stack

    I need to achieve foc algorithm using 1 shunt resistor. So I need to sample adc twice during one pwm period. How to achieve that? I'm using stm32.
    filed under stm32
  2. Trump 2.0 has deleted or altered nearly 400 US datasets, endangering public health, education and more (theguardian.com)lemmy

    126 points by u/GolfFoxtrotLima in c/technology · 1h ago · 2 lemmy1 lemmy

    cross-posted from: https://lemmy.world/post/50808662 > ***Health data appears to be most affected by administration’s attempt to wipe findings that don’t align with its priorities, tracker shows*** > > A database of federal law enforcement officer misconduct records. A survey…
    filed under technologyscience
  3. How to optimize nested conditional logic for dynamic tax calculations in Vanilla JavaScript? (stackoverflow.com)stack

    27 points by Waqas Solangi in stackoverflow.com · 38m ago · stack

    I am working on a dynamic financial utility using JavaScript. The goal is to process asset values, deduct current liabilities, and calculate liability amounts based on standard dynamic thresholds. While building this logic, I noticed that applying sequential boundaries (such as…
    filed under javascript
  4. Multiple similar scanners with GNU Flex (stackoverflow.com)stack

    24 points by Simon Richter in stackoverflow.com · 1h ago · stack

    I have two similar but different enough inputs formats and would like to build two different scanners for these, using GNU Flex. My two options are make one big definition, with two separate start conditions. This requires me to keep track of what kind of file I'm scanning, beca…
    filed under adviceflex-lexer
  5. Is my method for managing individual event driven tasks in python asyncio overkill? (stackoverflow.com)stack

    17 points by iamthebull in stackoverflow.com · 2d ago · stack

    In my app I have resources that will create tasks that: are created by asynchronous events are independent from each other (i.e. cancellation of one task should not affect the others) have a finite life span shorter than the life span of the resource should have errors handled i…
  6. Does ML Kit On-device Translation require written permission if the API is never executed on Android TV or Automotive? (stackoverflow.com)stack

    16 points by user33034655 in stackoverflow.com · 3d ago · stack

    We are developing an Android application that supports smartphones, Android TV, and Automotive/embedded Android devices. Our application uses ML Kit Image Description to generate an English description of an image. We then use ML Kit On-device Translation to translate the descri…
    filed under advicegoogle-mlkit
  7. In C# what is the best way to detect that an optional parameter wasn't specified? (stackoverflow.com)stack

    15 points by Symfony-Wonderer in stackoverflow.com · 3d ago · stack

    I'm programming in C#, but I don't know -- see below, using Visual Studio 2022 (see below for the version), and I want to know how to best detect that an optional class constructor's parameter has been specified when called by the the new call. I know about using a default value…
  8. Playwright Login Logout Session Maintenance (Browser Context) (stackoverflow.com)stack

    14 points by Ivan in stackoverflow.com · 5d ago · stack

    Our company has a bank application where it requires maker/checker process. For instance, maker creates record, checker approves it. Thus, resulted following application flow. Maker log in and add records Maker log out Checker log in Checker approve and records insert into db I…
  9. How to skip linting when particular microservices folder have changes in README? If another have code changes then it will run (stackoverflow.com)stack

    13 points by Nenis Rudani in stackoverflow.com · 19d ago · stack

    This is my workflow where I have multiple microservices: name: Lint2 Microservices on: # second list pull_request: # on a pull request to each of these branches types: [opened, synchronize, edited, ready_for_review] branches: - load-test paths-ignore: - '**.md' - '**/temp.env' -…
  10. GLSL noise function on devices with no high precision fragment shader (stackoverflow.com)stack

    6 points by Bastl in stackoverflow.com · 11y ago · stack

    I'm looking for a noise function which is working on a none highp fragment shader. What I have tried: //http://stackoverflow.com/questions/4200224/random-noise-functions-for-glsl float snoise(vec2 co) { return fract(sin(dot(co.xy ,vec2(12.9898,78.233))) * 43758.5453); } //http:/…