I'm making "music" "software" that iterates through two lists; one for the note frequencies and one for the note lengths (in milliseconds). For example, if I was trying to play "Hot Cross Buns", it would look like this: C, D, E, F, G, A, B = 262, 294, 330, 349, 392, 440, 494 r = 'r' def rest(n): time.sleep(n/1000) hotcrosN = [B, A, G, r, B, A, G, r, G, G, G, G, A, A, A, A, B, A, G, r] hotcrosL = [555, 555, 555, 555, 555, 555, 555, 555, 277, 277, 277, 277, 277, 277, 277, 277, 555, 555, 555, 555] Then I have code that iterates through the list and plays the sounds: def gamebuns(): for i in range
CrowdStrike has agreed to acquire network security provider Zscaler in a $43.9 billion all-stock deal. "The deal marks CrowdStrike's biggest acquisition to date and is among the largest in the sector as businesses consolidate and ramp up defenses to fend off AI-powered attacks," reports CNBC. The acquisition is expected to close in the second half of CrowdStrike's fiscal 2028. From the report: "With Zscaler, we're building cybersecurity's operating system: a single control plane to deploy AI, control AI, and enable any agentic application to run safely," CrowdStrike CEO George Kurtz said in a
I have plots that look like this and it doesnt show. When should I use product implication (prod) instead of minimum (min), and how does it affect defuzition ' ' T= np.linspace(0,40,401) temperatura = { "zimno": fuzz.trapmf(T, [0, 0, 12, 19]), "komfortowo": fuzz.trimf(T, [17, 21.5, 26]), "goraco": fuzz.trapmf(T, [24, 30, 40, 40]), } def rysuj_termy(x, termy, punkt = 0 ): for nazwa, mf in termy.items(): plt.plot(x, mf) if punkt is not None: plt.axvline(punkt) for nazwa, mf in termy.items(): mu = fuzz.interp_membership(x, mf, punkt) print(mu) plt.show() rysuj_termy(T, temperatura, punkt =23 ) A
I recently travelled to Spain and used the e-gates when leaving. The machine directed me to a border officer, who checked my passport and let me through without stamping it. I’ve since read reports of people being refused entry on subsequent holidays because they didn’t have an exit stamp from their previous trip. Should I be concerned, and is there anything I need to do before travelling again?
I recently travelled to Spain through e gates, when leaving the machine asked me to go to border which I did guy checked passport and sent me through but didn't stamp my passport. Now reading that people have been sent back when tried going on holiday again. What do I need to do ect. Many thanks
I have plots with gradient colourbar, that the numbers don't really mean anything, just the relative amount does, so I replaced the tick text with descriptions. However, ggplot2 puts legend text next to vertical colourbar, but is there a way to add text to top and bottom natively in ggplot, other than turning off text in the legend and adding with annotate() (and having to turn clipping off)? What I get vs. what I want I'm sure I'm missing something simple. Code that gives me typical colourbar behaviour: df <- tibble(A = letters[1:5], B = 1:5) ggplot(df, aes(x = A, y = B, fill = B)) + geom_col
I have plots with gradient colourbar, that the numbers don't really mean anything, just the relative amount does, so I replaced the tick text with descriptions. However, ggplot2 puts legend text next to vertical colourbar, but is there a way to add text to top and bottom natively in ggplot, other than turning off text in the legend and adding with annotate() (and having to turn clipping off)? What I get vs. what I want I'm sure I'm missing something simple. Code that gives me typical colourbar behaviour: df <- tibble(A = letters[1:5], B = 1:5) ggplot(df, aes(x = A, y = B, fill = B)) + geom_col
I have plots with gradient colourbar, that the numbers dont really mean anything, just the relative amount does, so I replaced the tick text with descriptions. however, ggplot2 puts legend text next to vertical colourbar, but is there a way to add text to top and bottom natively in ggplot, other than turning off text in the legend and adding with annotate() (and having to turn clipping off)? what i get >>>> vs what I want >>>> I'm sure I'm missing something simple. Code that gives me typical colourbar behaviour: df <- tibble(A = letters[1:5], B = 1:5) ggplot(df, aes(x = A, y = B, fill = B)) +
President Trump reportedly directed a behind-the-scenes effort to reinstate Jensen Huang as Nvidia's CEO, enlisting Vice President JD Vance to secure assurances from federal officials that Huang was not facing criminal charges or considered a national security risk. According to The New York Times, the intervention came despite intelligence concerns surrounding Huang's alleged relationship with a suspected Chinese spy linked to an investigation into illegal Nvidia chip shipments to China. From the report: [...] Only a tiny handful of officials at the highest level of the government were aware
I have an iOS app designed to be used by multiple users concurrently, and when a user does an action, other users will receive notifications. Currently if a user has notifications turned off (in the app, not on the system level) the server won't send that user the notification. I've determined that a silent notification needs to be sent instead to keep all users' apps in up-to-date states. Here are my cases: 1. User has notifications enabled: notification needs to be processed and displayed 2. User has notifications disabled: a. App is in foreground: notification needs to be processed and not
submitted by CombatWombat to books 1 points | 1 comments https://www.theguardian.com/world/2026/nov/22/the-football-superstar-turned-booktuber-who-made-an-obscure-tolstoy-novella-a-belated-bestseller Once named the best player in Brazil, Gustavo Scarpa’s literature obsession has inspired thousands to become bookworms
submitted by bold_omi to asklemmy 1 points | 0 comments I moderate [email protected], a safe space for queer Christians. There are a lot of serial downvoters who don’t post or comment, but just downvote every post. I’d like to ban them, but my frontend only lets me ban if I have a comment or post to select. Are there any Lemmy frontends or apps that allow me to ban users by username, without a comment or post to select?
submitted by jeannoelhurpeau to asklemmy 0 points | 0 comments [email protected][email protected] What do you want to see in and on these communities ?
submitted by gubernatus66 to books 1 points | 0 comments https://goodmenproject.com/featured-content/the-20-most-important-books-in-u-s-history-kpkn/ The books/texts that have impacted American history and culture the most were not always timeless classics; instead, they were often timely classics. They were the perfect texts for pivotal moments and helped create lasting positive change. Having served their purpose, many are currently overlooked by contemporary readers but have become woven into the fabric of our society.
If I hover over the ex in: catch (Exception ex) I can see information about the exception. But how can I see its type? E.g. Is it an IOException, or a TaskCanceledException, etc. I don't mean do it in code. I mean how can I get Visual Studio to show me that?
An anonymous reader quotes a report from Wired: At 16 years old, Henrijs Dandzbergs is too young to vote. Or drink. Or smoke. Or drive unsupervised. But he's not too young to win half a million dollars for his AI-guided-missile startup. In September, Dandzbergs, who was born in Latvia, was admitted to Y Combinator's fall 2026 cohort. The startup accelerator counts companies like Airbnb, Stripe, DoorDash, and Reddit among its alumni; Dandzbergs is likely the youngest solo founder in its vaunted history. His startup, Polemos Industries, is attempting to develop a new class of precision-guided mi