>> (Someone_who_likes_SE) Hi! Question Monitor (try '!!/last30') (This is failed round 7 of testing.
>> (Someone_who_likes_SE) Hi! Question Monitor (try '!!/last30') (This is failed round 9 of testing.
>> (Someone_who_likes_SE) <div class='full'>**New ping**! <br> >> (Someone_who_likes_SE) Hi! Question Monitor (try &#39;!!/last30&#39;) (This is failed round 9 of testing.</div>
>> (Someone_who_likes_SE) <div class='full'>**New ping**! <br> >> (Someone_who_likes_SE) <div class='full'>**New ping**! <br> &gt;&gt; (Someone_who_likes_SE) Hi! Question Monitor (try &amp;#39;!!/last30&amp;#39;) (This is failed round 9 of testing.</div></div>
Per the description of Recursive Types, variadic tuples aren't supported, one the three types listed below: The specific change made by this PR is that type arguments are permitted to make circular references in aliased types of the following kinds: Instantiations of generic class and interface...
Inside ListView.builder : use property physics and give NeverScrollableScrollPhysics() as a value ex: physics: NeverScrollableScrollPhysics(),
I'm trying to get it so that all of the items in ListView.builder can be displayed on the screen and seen by scrolling. However, I think because the ListView.builder is in a stack, it is not allowing the whole screen to scroll. I don't want the ListView.builder to scroll on its own, I want only t...
I was trying to get cast reflection field to Map, but it gives me this error: java.lang.ClassCastException: java.lang.reflect.Field cannot be cast to java.util.Map How do I fix this? Code: open class Base { var inherited: Map<String, String> = mapOf(Pair("testing", "testing")) } class Chil...
I was reading about the cmake keywords PUBLIC, PRIVATE, INTERFACE and came across this paragraph here in the cmake docs. Generally, a dependency should be specified in a use of target_link_libraries() with the PRIVATE keyword if it is used by only the implementation of a library, and not in the ...
Could you tell me how to add tap function to listview builder item? I want to go on a new screen when tapped on item. I create 2 screens, standart and vip and added them to main.dart for routes. Thanks for helping Widget build(BuildContext context) { return Container( height: 350, ...
I really want to make a raster paint program while keeping the pixel model CPU side. I want to expose the underlying data structure to users of the program so they can extend it with their own functionality. (Think how Emacs provides a few primitives yet users extend the program indefinitely with...
I have a dataset with mesh opening measurements and the tools used to get those measurements. I want to complete a one-way anova on the data. Here's my code: df<-structure(list(MeasurementTool = c("Wedge", "Wedge", "Wedge", "Wedge", "Wedge", "Wedge", "Wedge", "...
It seems I can't take screenshots outside the Flutter app using any given library. I have used screenshot and native_screenshot package and also the repaint boundary method. To clarify, I want to monitor user activity by taking screenshots, where my flutter app will be running in the background, ...
I'm developing a game, but need some help with changing what text is displayed on the screen in Pygame. For any of you wondering, I'm using Python 3. I must be overlooking some obvious flaw, but I can't seem to put my finger on it. Anyways, my code looks like this: import pygame, sys, time from p...
setScale() doesn't work either. I was going to flip the camera for when something interesting happens, but I don't how how.
You could flip the camera (and apply other interesting effects) with shaders! FlxCamera has a function called setFilters() that allows you to add a list of bitmap filters to an active camera. Here's a simple filter I wrote that flips all textures horizontally: import openfl.filters.ShaderFilter; ...
I installed Ubuntu in windows system just to check what exactly is WSL. After that i have disabled WSL and uninstalled Ubuntu. But what i observed is I'm not able to get back the storage allocated to Ubuntu(100Gigs). Is there a way to free up that space?
Hey StackOverflow community! After some hours of troubleshooting decided to ask help here. I have forced MFA usage on AWS account and implemented a script to use CLA with MFA that being executed with every new terminal session from ~/.bashrc [enter image description here][1]. Everything is workin...
You miss nothing. Unless some other code path an lock guard_mtx_2 before locking guard_mtx_1 there is no deadlock. The out-of-natural-order unlock is harmless (and occasionally we must do this). Deadlocks occur when two code paths can lock the mutexes (sp? should it be mutices? my spellchecker do...
Question Assume that you have two mutexes, guard_mtx_1 and guard_mtx_2, that guards the access to the global lists, list_1 and list_2 in two threads that both run the following code snippet: ... lock(guard_mtx_1); Add(list_1, var_1); Lock(guard_mtx_2); Add(list_2, var_2); Unlock(guard_mtx_1); Unl...
note that the char '9' is different from the int 9, char a = '9'; int b = a; for code like this, it will auto-cast the char '9' into int by the ASCII code of the letter '9', in the ASCII table, '9' is the 57th letter, so the auto-cast will let our int b assigned to the value 57. similar idea fo...
I want that my array num cosist of each char from my string b like this: num[0] = 9; num[1] = 1; num[2] = 1; num[3] = 9; but somehow the 9 turns into a 57 and the 1 turns into 1. I dont get why. When i print out b.charAt(i) the numbers are correct but as soon as i try to initialze the array the ...
trying to use the following command in a bash script cat /sys/class/net/eth1/operstate 2>/dev/null || echo "down" it outputs "up" or "down" I've tried it a lots of ways but cant get it working in a script .. for example #!/bin/bash something=$(cat /sys/class/net/wlan0/operstate 2>/dev/null || e...
Here's what it looks like now, I think this is the answer as it's not giving me any more problems. flour = 2.75 baking_soda = 1 baking_powder = 0.5 butter = 1 sugar = 1.5 egg = 1 vanilla = 1 makes = 48 cookies = int(input('Enter number of cookies from 1 to 500: ')) count=0 while (cookies <1 or c...
Doing an assignment for class and I need the user to enter a value between 1 and 500 and if the user enters an incorrect value more than three times then the program should close. I'm also having issues making the program loop if the user needs to try again Here's what I have so far. flour = ...
The remove() function removes the object from the state, which is causing the odd behavior. You only want to disable the object. Try changing the line remove(brick) to instead brick.kill() and see if that resolves your collision problem.
Im making a brick breaker like game and when I try to remove the brick, I remove the sprite, but not the collision. In new to HaxeFlixel so I don't have a clue why this is happening. Can somebody please help me? (code below)
I'm reading the code at https://doc.rust-lang.org/1.56.0/src/core/str/mod.rs.html#120-122: #[lang = "str"] #[cfg(not(test))] impl str { ... and I can't find a reference to this attribute lang. Does it have something to do with declaring the structure of the primitive type str? And if so, where i...
I'm making an "ascending number" effect with currency. The page loads and then a extremely fast count start from 0.00 to a decimal number given by an API. I'm using a setTimeout inside a for loop. Everything until here works fine but when the for loops ends, the number after the decimal point is ...
It works. class TheModel extends Sequelize.Model { } TheModel.init({ userId: {type: DataTypes.INTEGER}, label: {type: DataTypes.STRING}, }, { sequelize: sequelize, underscored: true, } ... TheModel.rawAttributes['userId'].field // 'user_id'
const sequelize = new Sequelize('db', 'userName', 'password',{ dialect: 'postgres', define: { underscored: true, }, query: { raw: true } }); I am using underscored field values for the database and camelCase field values on application level. I am getting the data i...
ID3D12RootSignature* CScene::CreateGraphicsRootSignature(ID3D12Device* pd3dDevice) { ID3D12RootSignature* pd3dGraphicsRootSignature = NULL; CD3DX12_ROOT_PARAMETER pd3dRootParameters[8]; pd3dRootParameters[0].InitAsConstants(28, 0, 0, D3D12_SHADER_VISIBILITY_ALL); pd3dRootParamete...
I have a simple script to practice, and when I do whois to domains separately it does what I need, but this time I need to make a for to a list of domains. When I execute it, it only does the whois to the last domain, the others return NULL, if no response has been obtained. What am I doing wrong...
Using virtualenv, I'm developing a Dash/Python app. After adding a new package, I ran pip freeze > requirements.txt and then tried to push the new changes to the linked Heroku server using git. Before this comment, the previous version on the server was running without an error. While Heroku use...
I know that I can't connect the SAS drive to the motherboard directly as the motherboard doesn't have a SAS controller so I'll need to get a PCIe SATA controller card. I've got a PCIe SATA controller card that's got two drives connected. One SATA can be removed by it's replacement with the SAS dr...
I upgraded my Mac to Monterey today, and now I get the following error when I run vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'tynesolutions/ruby-node-redis-mysql-ubuntu' version '2.0.0' is up to date... ==> default: Clearing any previously ...
This is a known issue and seems to be related to VirtualBox. There is a healthy and detailed thread in the official HashiCorp repo for Vagrant about this: “Vagrant up issues in Mac OS Monterey #12557” The issue seems 100% unrelated to VirtualBox 6.1.28 or even the earlier 6.1.26 since people repo...
To connect SAS drives you need a SAS controller. Most (if not all) SAS controllers support SATA drives. A SAS connectors/backplanes is compatible with standard SATA connectors. So in the end, this becomes a question of what connector you have on the SAS card, and how to get that to "SAS connector...
I am doing a vulnhub CTF walkthrough (Lampiao). I have my main VM set up using Kali Linux in VirtualBox. The victim VM is the Lampiao machine. I am supposed to run Netdiscover on Kali to search for the IP's of all machines on my network. I have both machines set to NAT. When I run Netdiscover f...
I am using a Huawei E3131b 3G dongle to connect to internet. I'm having troubles setting up DNS servers that persist across reboots. Manually specified DNS servers are not used at all if I use the bundled application that came with the dongle to connect to internet (which identifies the dongle a...
It used to remember the passphrase, but now it's asking it to me each time. I've read that I need to regenerate the public key with this command, which I did: ssh-keygen -y -f id_rsa > id_rsa.pub but it didn't fix anything. How can I make macOS remember my passphrase again?
I started suffering from the same problem using MacOS Monterrey. I just noticed that when I tried to add my key using: /usr/bin/ssh-add -K /path/to/my-key I saw this: WARNING: The -K and -A flags are deprecated and have been replaced by the --apple-use-keychain and --apple-load-keychai...
I've initiated the discussion on MSDN:http://social.msdn.microsoft.com/Forums/en-US/winappswithhtml5/thread/72ceca09-ab4a-4689-896c-6c86697333d6. I found that the RDP ActiveX control seems to be a black box. It uses well but sometimes there would be some strange errors. Today I encountered anot...
I have urls like /detail/sbc-123 /detail/tresds-121212 /detail/xywh-1 How to write the router for this and get the string sbc-123
You have two options by docs import { Route } from "react-router-dom"; function App() { return ( <Route path="/detail/:exact" render={({ match }) => { // Do whatever you want with the match... return <div />; }} /> ); } // Or you can justimport { u...
Let's say I have many models that all use the same type of column. e.g. class PurchaseOrder(Model): unitprice = Column(Numeric(10,2)) ...other columns class SalesOrder(Model): salesprice = Column(Numeric(10,2)) ...other columns I would like to define some variable like; currency...
Your object is shared around the app. It's the same reference that every class uses. Maybe you should try to use a factory method: class PurchaseOrder(Model): unitprice = get_currency_column() ...other columns get_currency_column(): return Column(Numeric(10,2)) But to be frank, I wo...
The error is: import oandapyV20 accountID = accountID access_token = access_token client = oandapyV20.API(access_token=access_token) # The error: Traceback (most recent call last): File "C:\Users\smeno\AppData\Local\Programs\Python\Python39\lib\runpy.py", line 197, in _run_module_as_main re...
I'm using HIVE for Hadoop. I want to select the price value from the price field in a struct. But the struct is part of an array of struct. uid string timestamp int eventdate string products array<struct <internalId:int, category:int, alternateId:string, price:...
I took care of commiting transaction, but database remains empty after saving object. No errors, hibernate even shows SQL command of inserting. Everything is ok when I add <property name="hibernate.connection.autocommit">true</property> line to my hibernate config xml, but I heard that this is no...
So I've looked through documentation and previous answers on here, but can't seem to figure this out. I have a STRING that represents a date. A normal output looks as such: 2018-09-19 17:47:12 If I do this, I get it to return in this format 2018-09-19 17:47:12.000: SELECT date_parse(click_tim...
How to overcome "Tun.ko" driver issue in few android devices because of which VPN never connects. Is there any way to identify the presence of "Tun.ko" driver and disable VPN or if possible to install driver without rooting? Thanks
The questions should be enough clear. But I can see that someone use: <button @click="function()">press</button> Someone use: <button v-on:click="function()">press</button> But really what is the difference between the two (if exists)
I'm currently working on a project called Door(On-The)Floor or DoorFloor And when I run it i get this: Server Running on http://192.168.56.1:8080 127.0.0.1 Requested GET / HTTP/1.1 Sent 127.0.0.1 File: GET / HTTP/1.1 127.0.0.1 Requested GET /logo-500x500 HTTP/1.1 Traceback (most recent call last...
You're opening your file in binary mode, remove b from your open mode, instead of: data += open("assets/logo-500x500.jpg", "rb").read() do: with open("assets/logo-500x500.jpg", "r") as file: data += file.read() Note: always close your files after use.
I know these have been asked a bunch and I am brand new to MongoDB which means I am struggling. I am using compass and trying to figure out this aggregation pipeline. In short, I need to get the average time difference between the max and min timestamp grouped by id. The equivalent MySQL query ...
So I have a list that is 16 numbers long key = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] and I want to find all possible combinations of 16 numbers between 1 and 26 and run another code with each list x = 0 y = 0 z = 0 key = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] while x <= 26: ...
My dataframe is similar to: transaction, date, cash, (1, 1/1/2020, 72,) (2, 1/3/2020, 100,) (2, 1/5/2020, -75,) (3, 1/5/2020, 82,) I want the output to gro...
I have the problem that a child component is not re-rendered when I change a prop value via the parent component. Parent component: import React, { useEffect, useState } from 'react'; import "./style.scss"; import DeviceButton from "../../buttons/deviceButton/deviceButton"; function Dashboard({...
The issue is that you're mutating the current state object rather than setting a new state object. React relies on checking referential equality when determining if state changes; mutating the object will not be seen as a new object in memory, and therefore will not prompt a rerender. One quick w...
As I'm using xcode 13.1 and Firebase 8.9.0 It's showing two logic error Dereference of null pointer - pb_decode.c on line 541 and Null pointer passed as 1st argument to memory set function - pb_decode.c on line 547 How do I get rid of them?
I am trying to convert a single byte value to a string in golang. When I do a typecast of a byte to string like string(byte) and print the value I get "{" in response. I read other answers that the correct way to convert a byte to string would be strconv.Itoa(int(bytevalue)). Why does the former ...
The expression string(bytevalue) is a conversion, not a typecast. The specification says this about conversions from numeric types to a string: Converting a signed or unsigned integer value to a string type yields a string containing the UTF-8 representation of the integer. The expression strin...
I have 2 tables with many to many relationship One column means Materias and the other Sabores. One materia can have many sabores and one sabor can be in many materias. (Materias means in english Material and Sabor, flavor) The user pass me a list of Sabores (names) and want to know what Materia...
I'm trying to get my first Discord bot to work and log in console when a message is detected, but nothing happens. Heres my code, whats wrong with it? const Discord = require("discord.js"); const client = new Discord.Client({ intents: [ 'DIRECT_MESSAGES', 'GUILD_MESSAGES' ] }); const token = '<...
I have the following class: class MyKMeans: def __init__(self, max_iter = 300): self.max_iter = max_iter # Directly access self.centroids = None self.clusters = None def fit(self, X, k): """ """ # each point is assigned t...
Is there a way to notify consumer about the new events being published to kafka topics which consumer has subscribed to while consumer is not actively listening? I know the question itself seems confusing but i was thinking if it is really necessary to have one process running continuously in ord...
I have a system which creates .csv files with unixtime names as blobs. I'd like to set up a pipeline so that when a new file gets added, the contents will automatically be placed into an SQL table. I've seen some tutorials online on how to do this with a single .csv file (such as input.csv), howe...
I am using This custom Listview application. I wanted to Add 2 Buttons in the header of each item. Apparently that is not possible ? The custom Header only gives One TextButton, the accessory button is unclickable for some reason The below event procedure dose not get triggered when I press the A...
I usually use a function and then call it to generate that column. Another nice thing about this is you can add args to customize the column config. def currencyamount_col(): return Column(Numeric(10,2)) #... class PurchaseOrder(Model): unitprice = currencyamount_col() # ...other c...
Terraform script creates an aws_cloudwatch_log_metric_filter and aws_cloudwatch_metric_alarm. However in the AWS console the aws metric filter does not have an alarm associated with it yet the alarm exists in AWS console. Is there any missing steps to assign the alarm the the cloudwatcch metric...
The installation on the m1 chip for the following packages: Numpy 1.21.1, pandas 1.3.0, torch 1.9.0 and a few other ones works fine for me. They also seem to work properly while testing them. However when I try to install scipy or scikit-learn via pip this error appears: ERROR: Failed building wh...
I guess Scipy and Numpy is not directly supported on arm64 processor (MAC M1 OS BigSur and higher versions) which requires the users to manually install and build the dependencies. I figured a work around by creating a virtual environment with Python version 3.8. Once the final releases are rolle...
We recently deployed folder redirection for a few individuals in the office. We are using a DFS Namespace share on a Server 2012r2 VM. We are redirecting Desktop and My Documents only. Clients are running 8.1 and 7. When using Word/Excel 2013, there is a popup that says "trying to connect to: \...
Active Directory setup: Single forest, 3 domains, with 1 domain controller each. All running server 2008 R2, with the same domain/forest functional level. DNS clients are configured as follows: DC1 -> DC2 (prim), DC1 (sec) DC2 -> DC1 (prim), DC2 (sec) DC3 -> DC1 (prim), DC3 (sec) All zones ...
From what I can tell, one can't change the Amazon RDS (RDS) endpoint of an existing Elastic Beanstalk (EB) instance? If that is the case, than you can't have your code deployed to a stage server, stage DB, tested, then promoted to use the prod DB? So how do you deploy stage without having to te...
I'm trying to set-up a reverse proxy with wildcard SSL using Traefik, with a DNS challenge against a Cloudflare zone. I have this config in k8s: kind: ConfigMap apiVersion: v1 metadata: name: traefik-https namespace: kube-system data: traefik.toml: | # traefik.toml defaultEntryPoi...
I have a rent server running XenServer 6.2 I only have 1 public IP so i did some NAT to redirect ports 22 and 80 to my WebServer VM. I have a problem with the port 80 redirection. When i use this redirection, i can get in the WebServer's Apache but this server lose Web access. I get this kind o...
I have a public MS CRM 2011 install and one of my remote users reported using about 10gig of data from their Outlook client. Is it possible in real time to see connected users in IIS and how much data they are consuming ? (Dedicated server no other users on it) I don't have access to the extern...
I have a vps with 12GB RAM. Currently it has one wordpress website hosted. The website gets about 10k UV a day with about 30k views according to Jetpack. I am getting alot of error establishing a database connection errors. Here is my my.cnf file: ( I know I may have done something wrong, but I...
I have a Network drive Shared in a Workgroup with 3 clients. Two clients with Windows 7 have persistent connections to the Share. No issues with those two. My windows 8.1 client keeps prompting for credentials at every restart / log on. I spent hours looking around for a solution: I have store...
Based on the comments in this bug report, one solution/workaround (which I can confirm works for me) is to add the following to your ~/.profile file: eval `dircolors -b | sed s/or=[^:]*://`
For a certain directory DIR on my system, the ls --color=always takes about 8 seconds, although it contains less than 10 files and subdirectories. Without the color argument it takes no time. Why would ls take so long with the color argument, and how can I find out what exactly is taking so lon...
I am having an extremely bizarre issue that seems only present on Chrome, IE and Firefox are fine. I have 2 website being served by 1 IP address, I have 2 identical files in sites-available named site1.com and site2.com. I run the a2ensite command to create the links to sites-enabled. All redi...
Context: I'm porting an opensource server software (and writing associated documentation) from Debian/Ubuntu to CentOS/RHEL. For the software to run correctly, I need to add a dozen of specific parameters to Mysql configuration (example: increase max_allowed_packet). From a Debian point of view...
I'm running Postfix on a RHEL7 server. I've started to use a new iPhone to send email, and I'm seeing this in mail.log: Oct 30 20:15:56 kyushu2 postfix/smtpd[31145]: warning: hostname ue.tmodns.net does not resolve to address 172.58.200.63 Oct 30 20:15:56 kyushu2 postfix/smtpd[31145]: connect fr...
I have trouble setting up ssh clone for gitea. I use port 2222:22 for the docker, and port forwarding is set up on my router. I could ssh git@localhost -p 2222, but could not ssh git@<public_ip> -p 2222 with error Connection timed out I have checked the port forwarding work by launching a http se...
I'm looking for some directions. Has anyone implemented the use case described in this lab [Palo Alto Networks: VM-Series Advanced Deployment with site-to-site vpn to onprem? Question. Which vpc did you terminate the vpn traffic for both the inbound and outbound traffic to pass through the firewa...
The setup We currently have a Freeradius server used to authenticate our Wifi users against our Active Directory server. The link between Freeradius and the Active Directory is done by Winbind. In order for the user to be able to obtain authorization, it needs to be belong to a group in the Activ...
« first day (4029 days earlier) ← previous day next day → last day (915 days later) »