79198476

Date: 2024-11-18 01:19:08
Score: 1
Natty:
Report link
spark.conf.set("spark.debug.maxToStringFields", "60000")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Ilya Kharlamov

79198466

Date: 2024-11-18 01:11:07
Score: 3
Natty:
Report link

I got the same error while doing repair on MongoDB 4.0.5. The problem was fixed when I removed the --config option from the startup arguments.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ercnt

79198461

Date: 2024-11-18 01:09:07
Score: 1.5
Natty:
Report link

You can use a Container with a BoxDecoration? Here you have a sample: How to add Shadows to SegmentedButton in Flutter

With a GestureDetector and Container you also can create your own widget.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alexandre Bisewski

79198452

Date: 2024-11-18 01:03:06
Score: 1.5
Natty:
Report link

i'm a bit late, but it seems what you are looking for is doable by overriding the paint event of your widget as explained in this thread: pyside set background image via style sheet not working

Hope this helps

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: vvv

79198445

Date: 2024-11-18 00:59:05
Score: 2.5
Natty:
Report link

The problem was I never actually begin the server in void setup() using:

server.begin();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kingwebbie001

79198438

Date: 2024-11-18 00:52:03
Score: 3
Natty:
Report link

I jump of this error to another by the comand:

npm instal [email protected] --force

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andrey Escobar

79198429

Date: 2024-11-18 00:45:02
Score: 2
Natty:
Report link

Google recently changed something. I keep long to-do lists in an event that I duplicate from week to week to track completion over time... and a couple of weeks ago the text, which had been of minimally variable size and copied week-to-week for months, was suddenly significantly too long. Annoying, but I'm not the customer.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: William Lucke

79198421

Date: 2024-11-18 00:35:00
Score: 1
Natty:
Report link

For the black icon appearing on Android, the suggestion of @WhistlerChoi on this GitHub thread worked for me. Basically, declare adaptive_icon_background and adaptive_icon_foreground similar to the attached image below. Please note that the adaptive_icon_foreground is the path to your icon image.

enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: RRoss

79198405

Date: 2024-11-18 00:16:56
Score: 0.5
Natty:
Report link

you should test the type of the sublist

def test_shape(list_):
    if type(list_[0]) is list:
        print('list_ is 2d')
    else:
        print('list_ is 1d')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: folen gateis

79198403

Date: 2024-11-18 00:15:56
Score: 3
Natty:
Report link

You need to obligatory set the ip in the KAFKA_CLUSTERS_0_BOOTSTRAPSERVERS propertie, or instead do it in the ui, by adding a new cluster, when you are there, the rest is simple

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lopez Torres Johan Kelvin

79198400

Date: 2024-11-18 00:13:56
Score: 1
Natty:
Report link

As @markalex already said you must match whole value of the label, but beware, if you want to match a special symbol which must be escaped - you must use two backslashes, not one. For example, to filter out all index names that begin with a dot, you must use the following regexp:

label_values(elk_indices_some_metric{indice_name!~"^\\..*"},indice_name)
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @markalex
  • Low reputation (0.5):
Posted by: Dmitry Perfilyev

79198394

Date: 2024-11-18 00:09:55
Score: 2.5
Natty:
Report link

I found where you can change the settings, and I am posting it here in case that other people are looking for this as well.

Although, I still don't know where this information is stored.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Vasilis Plavos

79198384

Date: 2024-11-17 23:58:52
Score: 11.5 🚩
Natty:
Report link

I have the same issue and was wondering if you ever managed to find a fix? Any information would be greatly appreciated!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (1.5): fix?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anisha555

79198378

Date: 2024-11-17 23:51:51
Score: 0.5
Natty:
Report link

You can define an opacity percent value for inactive code in Tools > Options > User Interface > Editor > Language dialog on Error Insight tab.

So in order to prevent inactive code to be faded set Inactive Code Opacity Percent to 100.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: SilverWarior

79198376

Date: 2024-11-17 23:47:50
Score: 1
Natty:
Report link

I did this:

npm install @angular-devkit/build-angular ng-packagr --save-dev

Notice the space before ng-packagr!

That was the solotion for angular18.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rob Lassche

79198374

Date: 2024-11-17 23:46:50
Score: 4.5
Natty: 4.5
Report link

Property 'standalone' does not exist on type 'Navigator'.

Getting this error, is this solution deprecated?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Micah Blackburn

79198363

Date: 2024-11-17 23:40:48
Score: 0.5
Natty:
Report link

You need to save the legend from the first plot using ax.get_legend, then manually add it back in using ax.add_artist. Here's a minimal example:

import geopandas as gpd
import matplotlib.pyplot as plt

gdf = gpd.read_file(gpd.datasets.get_path('naturalearth_lowres'))
# subset to just a few countries in North America
gdf = gdf.loc[gdf.name.isin(['Canada', 'United States of America', 'Mexico'])]

gdf2 = gpd.GeoDataFrame(gdf.drop(columns='geometry'), geometry=gdf.centroid)

fig, ax = plt.subplots()
gdf.plot(column='name', ax=ax, legend=True)
leg1 = ax.get_legend() # save the legend from the first plot
gdf2.plot(column='continent', ax=ax, legend=True, legend_kwds={'loc': 'upper left'}, cmap='Pastel1')
ax.add_artist(leg1) # add the first legend back in

this produces the following (nonsensical) figure: enter image description here

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sdg

79198346

Date: 2024-11-17 23:26:46
Score: 2.5
Natty:
Report link

This solved my problem: Go to "https://id.yandex.com.tr/security/app-passwords", click the + next to the first email in the create app password section at the bottom, create a new password for app access and use this access password instead of your email password in your app.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Serdar

79198343

Date: 2024-11-17 23:24:45
Score: 2
Natty:
Report link

Transkrip Wawancara

Penulis : Selamat sore, Pak Iwan. Izinkan saya memperkenalkan diri. nama saya Hifnie Zaidan, saya merupakan mahasiswa diploma 3 Kepabaeanan dan Cukai di Politeknik Keuangan Negara STAN. Saat ini saya akan melakukan wawancara terhadap Seksi Kepatuan Internal dan Penyuluhan di kantor Bea Cukai Luwuk untuk mengetahui tentang sistem kinerja Humas Bea Cukai Luwuk dan terkait dengan sosial media yang dikelola oleh Humas Bea Cukai Luwuk. Narasumber : Baik, terima kasih Mas Hifnie, perkenalkan saya Iwan Hartawan, Kepala Seksi KIP di Bea Cukai Luwuk. Baik akan kami jawab terkait pertanyaan-pertanyaannya. Penulis : Mohon izin, Pak Iwan langsung saja saya bacakan pertanyaannya. Untuk pertanyaan pertama saya ingin bertanya terkait apa saja peran seksi KIP dalam kegiatan kepabeanan dan cukai di Kantor Bea Cukai Luwuk, Pak? Khusunya di sub PLI nya, Pak. Narasumber : Baiklah, terkait dengan pertanyaannya, peran PLI dalam kegiatan kepabeanan dan cukai. Jadi peran PLI itu adalah sebagai pemberi informasi atau menyampaikan penyuluhan atau menyampaikan hal-hal atau berita kepada masyarakat melalui program-program yang ada di KIP sendiri, termasuk juga melakukan pendampingan setiap kegiatan yang dilakukan oleh para pegawai Bea Cukai Luwuk dalam melaksanakan tugas. Penulis : Kemudian seiring dengan berkembangnya teknologi, kan sekarang banyak sekali menggunakan media sosial ya, Pak. Semua orang sekarang beralih ke media sosial. Nah bagaimana peran media sosial itu sendiri khususnya Instagram dalam mendukung tugas PLI? Narasumber : Baik, kalau di Luwuk sendiri karena Luwuk ini adalah wilayah Sulawesi yang berada di ujung dengan kontur atau kondisi geografis yang melalui pulau-pulau atau berbatasan dengan laut maupun melewati gunung dan dengan kontur perbukitan termasuk juga dengan pengelompokan penduduk itu tidak menyebar secara rata seperti di Pulau Jawa. Jadi ada beberapa tempat dengan kota lain itu berbatasan dengan hutan. Jadi itu sangat membantu sekali, media sosial ini membantu sekali dalam melaksanakan tugas kita. Selain kita juga langsung berkunjung kepada masyarakat, kita bisa menyampaikan pesan-pesan tersebut melalui media sosial, baik itu Facebook, khususnya yang di daerah sini, maupun Instagram. Jadi itu sangat membantu kita dengan media sosial, kita tidak perlu harus datang ke lokasi, kadang mereka bisa melihat informasi melalui media sosial tersebut. Penulis : Jadi, bagi Bea Cukai Luwuk, Instagram dan juga media sosial lainnya ini kan sangat berpengaruh dan sangat membantu dalam kegiatan PLI untuk berkomunikasi dan berinteraksi dengan masyarakat. Nah, bagaimana cara Bea Cukai Luwuk mengelola Instagram untuk berinteraksi langsung dengan masyarakan dan pengguna jasa? Seperti apa saja keterlibatan mereka, Pak? Narasumber : Gini, kita memiliki cara yang kurang lebih sudah banyak diterapkan di instansi lain yaitu dengan cara membuat konten yang interaktif dan informatif, sehingga masyarakat khususnya pengguna jasa akan cenderung berkomentar terhadap unggahan dari media sosial Bea Cukai Luwuk. Sehingga dengan adanya unggahan baik berupa Post atau Story diharapkan mampu membuat masyarakat Luwuk atau di luar Luwuk itu bisa berinteraksi, bisa lewat komentar bisa juga like dan share. Penulis : Nah dengan membuat konten menarik tersebut, kemudian untuk strategi apa Pak yang digunakan untuk menyusun konten Instagram agar informasi tentang layanan kepabeanan dan cukai di Bea Cukai Luwuk itu mudah dipahami dan juga mudah dijangkau oleh masyarakat luas? Narasumber : Jadi kita biasanya menyusun konten itu biasanya se-update mungkin dengan kondisi atau hal-hal yang sedang viral. Kedua, biasanya kita juga memberikan informasi itu se-simple mungkin agar mereka bisa memahami. Karena kadang-kadang orang kalau melihat video informasi itu tidak mau membuang waktu lama. Jadi kita usahakan konten itu singkat. Kita juga akan mengunggah konten se-update mungkin dengan kondisi atau hal-hal yang sedang viral. Kedua, biasanya kita akan menyesuaikan juga terhadap informasi yang relevan dan dibutuhkan oleh pengguna jasa. Sehingga mereka merasa dilibatkan di dalam konten tersebut. Penulis : Kemudian dari konten-konten yang diunggah di Instagram Bagaimana Bea Cukai Luwuk mengikuti tren media sosial untuk menyampaikan informasi terkait layanan dan regulasi? Apakah ada upaya khusus untuk menyesuaikan konten Instagram dengan isu-isu atau tren terkini yang relevan bagi masyarakat? Narasumber : Jadi biasanya kita itu pakai tren terkini contohnya sewaktu piala dunia, kita akan pakai tema postingan yang berbau piala dunia, atau misalnya musim haji kita akan membahas barang bawaan penumpang haji. Sehingga dengan begitu kita bisa menarik minat masyarakat luas dengan konten-konten yang sesuai dengan tren yang sedang berkembang di masyarakat. Jadi masyarakat bisa terhibur dan bisa mendapat informasi sekaligus. Penulis : Kemudian Bagaimana konten Instagram Bea Cukai Luwuk dikemas untuk menarik perhatian masyarakat dan pengguna jasa? Narasumber : Ya, Terkadang kita ingin menarik perhatian masyarakat tidak hanya menggunakan konten yang berisi peraturan saja. Jadi terkadang kita harus sisipkan humor atau bisa give away yang membuat orang jadi tetarik untuk berinteraksi pada konten kita juga. Terkadang dengan cara itu orang akan follow akun media sosial kita dan orang setidaknya tau adanya instansi bea cukai di daerah tersebut. Sehingga kita bisa menjangkau masyarakat lebih luas lagi.
Penulis : Apakah dengan berbagai strategi tersebut yang diterapkan pada unggahan Instagram Bea Cukai Luwuk mendorong masyarakat atau pengguna jasa untuk berbagi informasi lebih lanjut? Narasumber : Tentu iya, karena dengan kita mengunggah konten yang relevan dengan masyarakat atau pengguna jasa, maka otomatis mereka akan membagikan konten tersebut kepada kerabatnya. Contohnya adalah ketika kita mengunggah peraturan tentang barang bawaan Jemaah haji yang tiba di Indonesia, maka masyarakat akan membagikan informasi tersebut kepada rekan atau kerabatnya yang sedang berhaji. Oleh karena itu, kita mengutamakan untuk melakukan edukasi dengan topik yang relevan bagi masyarakat itu sendiri.

Penulis : Selamat sore, Pak Fiqri. Izinkan saya memperkenalkan diri. nama saya Hifnie Zaidan, saya merupakan mahasiswa diploma 3 Kepabaeanan dan Cukai di Politeknik Keuangan Negara STAN. Saat ini saya akan melakukan wawancara terhadap Seksi Kepatuan Internal dan Penyuluhan di kantor Bea Cukai Luwuk untuk mengetahui tentang sistem kinerja Humas Bea Cukai Luwuk dan terkait dengan sosial media yang dikelola oleh Humas Bea Cukai Luwuk. Narasumber : Selamat sore Mas Hifnie, saya Fiqri Ridwan, selaku admin media sosial Instagram Bea Cukai Luwuk. Pertanyaan apa yang akan diajukan mas?. Penulis : Mohon izin, Pak Fiqri izinkan saya membacakan pertanyaannya. Pertama-tama apa saja sih peran seksi KIP dalam kegiatan kepabeanan dan cukai di Kantor Bea Cukai Luwuk? Khusunya di sub PLI. Narasumber : Jadi PLI menjadi itu garda terdepan bagi Bea Cukai Luwuk dalam memberikan informasi. PLI itu juga menjadi wajah kantor, karena dengan adanya sosial media saat ini, masyarakat akan tertuju ke arah sana oleh karena itu, PLI menjadi representasi sebuah kantor dalam melakukan sosialisasi dan penyuluhan. Kita juga terkadang ada sosialisasi dan penyuluhan kepada masyarakat seperti pada kegiatan Car Free Day untuk memperkuat hubungan kita dengan masyarakat Luwuk. Penulis : Kemudian sekarang kan masyarakat sudah banyak yang beralih menggunakan sosial media Pak, nah bagaimana sih peran media sosial khususnya dalam membantu tugas PLI? Narasumber : Nah, sejalan dengan perkembangan teknologi dan juga informasi, segala sesuatu juga harus cepat terutama dalam penyampaian informasi, jadi jangan sampai suatu informasi itu kadaluwarsa. Kita menyampaikan informasi atau berita haruslah up-to-date sehingga diperlukan media sosial khususnya Instagram untuk membantu penyampaian berita. Dengan bantuan media sosial, kita bisa berinteraksi dengan pengguna jasa di mana pun dan kapan pun meskipun dengan jarak yang jauh. Penulis : Berarti memang kita harus selalu cepat tanggap ya Pak. Nah, untuk berita-berita di Instagram kan biasanya ada yang respon entah positif atau negatif. Nah bagaimana sih cara Bea Cukai Luwuk dalam mengelola Instagram untuk berinteraksi langsung dengan masyarakan dan pengguna jasa? Seperti apa saja keterlibatan mereka? Narasumber : Jadi untuk keterlibatan masyarakat di Instagram ini kebanyakan dengan cara like dan apabila mereka ingin mengemukakan pendapat biasanya bisa dengan berkomentar pada unggahan kita. Kadang dengan pemberitahuan peraturan-peraturan terbaru, bisa mendorong masyarakat untuk berinteraksi baik itu komentar maupun mengirimkan pesan pribadi dan bertanya terkait regulasi kantor. Contohnya adalah ketika ada peraturan baru terkait IMEI, dan barang kiriman, orang akan cenderung bertanya mengenai ketentuan atau fasilitas terbaru tersebut. Penulis : Nah dengan banyaknya keterlibatan masyarakat di konten Instagram kantor, apa strategi yang digunakan untuk menyusun konten Instagram agar informasi tentang layanan kepabeanan dan cukai di Bea Cukai Luwuk itu mudah dipahami dan juga mudah dijangkau oleh masyarakat luas? Narasumber : Dalam mengunggah konten Instagram itu kita akan mengunggah konten yang sebisa mungkin berhubungan dengan kondisi kantor, dan menyesuaikan dengan kondisi masyarakat sekitar. Sehingga konten akan lebih relate dan mudah dipahami oleh masyarakat. Dengan begitu, informasi akan lebih mudah diterima dan membuat masyarakat lebih mengerti mengenai regulasi kepabeanan dan cukai. Contohnya membuat konten Customs Goes to School yang itu juga cocok untuk anak-anak sekolah. Penulis : Baik, untuk zaman sekarang kan banyak sekali yang sedikit-sedikit viral, nah bagaimana Bea Cukai Luwuk mengikuti tren media sosial untuk menyampaikan informasi terkait layanan dan regulasi? Apakah ada upaya khusus untuk menyesuaikan konten Instagram dengan isu-isu atau tren terkini yang relevan bagi masyarakat? Narasumber : Jadi untuk penyampaian regulasi, kita memang sering mengikuti tren-tren yang sedang hype di masyarakat contohnya seperti slogan atau jargon, sound atau lagu yang sedang viral. Dengan begitu selain masyarakat akan relate dengan kontennya, kita juga bisa riding the wave dengan hal seperti itu. Jadi konten kita akan booming dan kitab isa memberi informasi terkait regulasi pemerintahan juga sekaligus. Penulis : Kemudian Bagaimana konten Instagram Bea Cukai Luwuk dikemas untuk menarik perhatian masyarakat dan pengguna jasa? Narasumber : Untuk konten-konten memang kita buat agar menarik perhatian, biasanya dengan cara edukasi yang menarik secara visual contohnya kita mengedukasi dengan infografis, video, animasi, atau bahkan menggunakan komik yang menarik perhatian masyarakat untuk membaca dan melihat konten kita. Dengan cara tersebut, masyarakat bisa teredukasi dan mau membaca konten kita.

Penulis : Apakah dengan berbagai strategi tersebut yang diterapkan pada unggahan Instagram Bea Cukai Luwuk mendorong masyarakat atau pengguna jasa untuk berbagi informasi lebih lanjut? Narasumber : Pastinya masyarakat akan cenderung membagikan informasi melalui pesan pribadi atau story Instagram. Biasanya hal yang dibagikan adalah konten kita yang relevan dengan mereka, seperti waspada terkait penipuan yang mengatasnamakan Bea Cukai. Biasanya mereka yang sudah mengalami atau mendengar orang lain yang memiliki pengalaman serupa akan berusaha membagikan konten tersebut agar orang lain tidak terkena dampak negatifnya juga.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hifnie Zaidan

79198340

Date: 2024-11-17 23:21:44
Score: 1.5
Natty:
Report link

In CodeIgniter 4:

Update app/Config/App.php and set update this line:

public string $permittedURIChars = 'a-z 0-9~%.:_\-';

A full list of Unicode ranges can be found at Wikipedia’s Unicode block.

See more in CI4 manual.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe Edman

79198320

Date: 2024-11-17 22:59:40
Score: 0.5
Natty:
Report link

I resolved the issue with Kaspersky signaling HEUR:Trojan.Win32.Sdum.gen in my application C# WPF .NET 8.0 just selecting an icon in Project Properties->Application->Win32 Resources. I double checked it, taking it off and putting it back on, and the warning was reappeared and then disappeared again.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Iacopo Vettori

79198319

Date: 2024-11-17 22:59:40
Score: 3
Natty:
Report link

Set the buffering mode on the file stream.

setbuf(logFile, NULL);

https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setbuf?view=msvc-170

Updated: https://learn.microsoft.com/en-us/cpp/c-runtime-library/reference/setvbuf?view=msvc-170

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tasty

79198317

Date: 2024-11-17 22:59:40
Score: 0.5
Natty:
Report link

In my situation, my ID parameter (to_param) was named slug rather than id, which caused the authorization not to work as expected. However, the source code stated that you specify an id_param: for these situations.

authorize_resource id_param: :slug

This change resolved my issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hugo Sequeira

79198314

Date: 2024-11-17 22:57:40
Score: 0.5
Natty:
Report link

About a month ago (early Oct 2024) I found this thread and built my own POC based on stiky's code just to confirm it worked. Unfortunately, since then there have been changes to the Selenium Python codebase that break that method.

  1. The command_executor no longer has ._url, but it can be found in a new class as [executor]._client_config._remote_server_addr
  2. However, simply not calling driver.quit() at the end does not leave the browser running to be reconnected to... I'll do some looking around to see if I can understand what changed and if there's a way around it...
  3. But, it begs the question of long-term viability, if the method relies on "private" variables and side-effects.

It would be nice to have this capability as an official feature, but I may be forced to rearchitect my particular project around keeping a long-lived "owner" process holding the webdriver for however long I need it.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Erik Walthinsen

79198313

Date: 2024-11-17 22:57:40
Score: 1
Natty:
Report link

This is not possible with the Spring Dependency Management plugin. See the following issue for details: https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/342

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Cisco

79198308

Date: 2024-11-17 22:51:38
Score: 1
Natty:
Report link

after 2 hours of searching, i think this is the best solution :

  1. create a directory in app and name it libs

  2. paste your .aar file in it

  3. add this line to the build.gradle:

    implementation files('libs/name_of_your_file.aar')

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammed Rachid BENAYAD

79198304

Date: 2024-11-17 22:47:37
Score: 1.5
Natty:
Report link

Here is the answer I believe:

u8 lerp_uint8(u8 x, u8 y, u8 t) { return (((y - x) * t * 0x10101) + 0x800000 >> 24) + x; }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Egemen Yalın

79198301

Date: 2024-11-17 22:44:37
Score: 1
Natty:
Report link

To resolve this issue, I needed need to set residentKey: "required" in authenticatorSelection in order to create a passkey on the device. In the function residentKey was set to 0 and that caused the passkey not to be saved on the Android even though the registration was successful. Finally, I needed to set the value to 1 to make it work.

// Define parameters
let url = '&apple=0&yubico=0&solo=0&hypersecu=0&google=0&microsoft=0&mds=0';
    url += '&requireResidentKey=1&type_usb=1&type_nfc=1&type_ble=1&type_int=1&type_hybrid=1';
    url
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Big Pee

79198283

Date: 2024-11-17 22:31:35
Score: 1
Natty:
Report link

The answer by @matpag is correct. But the same thing you can do with a more concise API

fun withRole(role: Role) = SemanticsMatcher.expectValue(SemanticsProperties.Role, role)

Here, SemanticsMatcher.expectValue is the extension method on SemanticsMatcher. There are more methods like keyIsDefined and keyNotDefined

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @matpag
Posted by: AndroidEngineX

79198280

Date: 2024-11-17 22:28:34
Score: 1.5
Natty:
Report link

First of all, .c_str() method returns temporary object. Change it with .data() method.

In your code:

mqttConfig.cert_pem = certificate.data();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Сергей Морозов

79198279

Date: 2024-11-17 22:28:34
Score: 2.5
Natty:
Report link

No need to fiddle with the path. Just launch Visual Studio from the Developer Command Prompt:

"C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe"

Configure VS Code for Microsoft C++

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Toothuncommon

79198272

Date: 2024-11-17 22:24:33
Score: 1
Natty:
Report link

You can now use minTileHeight & minVerticalPadding:

ListTileTheme(
  data: ListTileThemeData(
    minTileHeight: 0,
    minVerticalPadding: 0,
  ),
  child: ExpansionTile(
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elsayed

79198270

Date: 2024-11-17 22:23:33
Score: 0.5
Natty:
Report link

Generally speaking the problem is in a conflict of different versions of junit5 dependencies in a project. To find this conflict you’d better generate a dependency tree:

mvn dependency:tree

and check which transitive dependencies fetch the same junit5 dependencies (i.e. junit-jupiter-engine, junit-jupiter-api, etc) of different versions.

To fix the problem you would need in your pom.xml to

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dzmitry Paddubnik

79198255

Date: 2024-11-17 22:12:31
Score: 2.5
Natty:
Report link

Much to the benefit of my sanity, the culprit was a faulty Intel chip (you know the ones). I seem to have even accelerated its degradation by doing this project, as most reports about it didn't really circulate until later in the year.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kg583

79198248

Date: 2024-11-17 22:07:29
Score: 1.5
Natty:
Report link

</body> //use this approch <script type="module"> import fs from "fs" //YOUR CODE HERE

//or either use this
`<script type="commonjs">
    const fs = require('fs')`
</script>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Syed Zaid Ahmed

79198235

Date: 2024-11-17 22:02:27
Score: 7.5 🚩
Natty:
Report link

I am also dealing with a RSD file. Were you able to read sounding depth? How about a match with lat/lon from the GPX file?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: AndresSepulveda

79198222

Date: 2024-11-17 21:55:25
Score: 1.5
Natty:
Report link

AsAnis Ladram suggests in his answer - which you should upvote - this seems to be an MSVC bug, which I have now filed as:

MSVC rejects syntax of reference to C array as a function parameter

Will update if/when it's fixed.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: einpoklum

79198217

Date: 2024-11-17 21:52:24
Score: 2
Natty:
Report link

The issue was that I didn't realize that the server was sending multiple messages within a single packet.

My client was correctly decrypting the first message, but not the second.

The server response looks something like this:

(encrypted packet 1 || MAC 1 || encrypted packet 2 || MAC 2 ...)

But I was expecting it to looks like this:

(encrypted packet 1 || MAC 1)

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ruben Boero

79198211

Date: 2024-11-17 21:47:22
Score: 2.5
Natty:
Report link

I have had the same problem recently, and another way to solve it is to use the Command Palette in VS Code. Run "Azurite:Close", and then start again with "Azurite:Start". It seems to recreate the storage resources without anything in them.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Boris Barcelli

79198208

Date: 2024-11-17 21:46:22
Score: 2
Natty:
Report link

I added a white background color to the inputLabel and it works. <InputLabel sx={{backgroundColor: "white"}}>Region</InputLabel>

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: daodao

79198202

Date: 2024-11-17 21:44:21
Score: 3
Natty:
Report link

I solved this problem using this: https://nilboard.itch.io/image-re-encoder

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Akagami Shanks

79198195

Date: 2024-11-17 21:37:20
Score: 1
Natty:
Report link

I find the solution, I can use the Dynaconf to load the config.yaml file, which will load the env variable name. And then read that variable using this name from .env file. I am not sure if there is any other approaches.

In normal case, it's not worthy. But as I mentioned in my question, for my case, the hierarchy of the config.yaml file provide me a flexible approach to instantiate the consumer for multiple topics.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Laodao

79198192

Date: 2024-11-17 21:32:19
Score: 1.5
Natty:
Report link
  1. Replace your query template with f"@text:({query_str})" with the parenthesis included.
  2. Strip the user input from parentheses: query_str = query_str.replace('(', '').replace(')', '')
  3. use DIALECT 2

With DIALECT 2, inside the text expression parentheses, no other sub-query is allowed. The query could only be an intersection or a union of terms.

By stripping any parentheses, you eliminate the possibility that someone will try to use a command like opener) @injection:... (closer.

Besides that, you should parse the user input further. It's hard to believe the user input will match what they want to find without you parsing their input. Do you want to add | between terms to match any document which contains at least one of them and not only all? Should you mark some terms as optional so they won't disqualify a document if they are missing from it?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: A. Guy

79198190

Date: 2024-11-17 21:31:19
Score: 1
Natty:
Report link

By default, <script> tags are interpreted as regular scripts, not as ES6 modules. Specify the script as a module using the type="module" attribute.

<body>
<-- some html>
</body>
<script type="module">
import fs from "fs";
// some javascript
</script>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aung Min Khant

79198188

Date: 2024-11-17 21:30:19
Score: 3.5
Natty:
Report link

Same error here. Lost 15h trying to solve this. Honestly I'm really desperate for an answer.

Reasons:
  • RegEx Blacklisted phrase (1): Same error
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GBS

79198187

Date: 2024-11-17 21:30:19
Score: 0.5
Natty:
Report link

I ended up here, was confident I had included the $ spent a few hours scratching my head, found the problem, compare the difference between

this->$filename = $filename; // incorrect

and

$this->filename = $filename; // correct

the $ is there in both instances, but it helps if you put it in the right place

;-)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jay Dee

79198185

Date: 2024-11-17 21:29:17
Score: 6.5 🚩
Natty:
Report link

I'm frustratingly having the same problem and glad it's not just me! My redirect also no longer works after moving the page it should redirect to outside of the route group. Will update if I have any luck!

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: CyntiBinti

79198170

Date: 2024-11-17 21:16:15
Score: 4.5
Natty:
Report link
 DataColumn2(
    label: Text('Column A'),
    size: ColumnSize.L,
),

Do you have this option in your package? Maybe can help you...

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have this
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alexandre Bisewski

79198157

Date: 2024-11-17 21:05:12
Score: 1
Natty:
Report link

I had the same problem, I pressed ctrl + z on the files where I had made changes and they came back (the only issue is that I didn't remember all the files, but it was still better than having to start from scratch). I was really relieved. I know this won't help you today, but it should help someone with the same problem in the future.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: zhant

79198156

Date: 2024-11-17 21:03:11
Score: 12.5 🚩
Natty: 6.5
Report link

@madawa have you found a way around this. i also have same problem ?

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a way around this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i also have same problem
  • Ends in question mark (2):
  • User mentioned (1): @madawa
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: meraga

79198155

Date: 2024-11-17 21:02:11
Score: 1
Natty:
Report link

I am also using a Mac with Intel chips and had that error but was able to work around it - I only posted my response last week - the one that has no votes yet link here

I didn’t use docker.

The error I surmise is due to the fact that ChromaDB was created in 2022 - by then that all new Macscome with Mac Silicon chips. Apple retired Macs with intel chips in 2020-2021.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: punsoca

79198147

Date: 2024-11-17 20:59:09
Score: 2
Natty:
Report link

Use new method https://github.com/electron/electron/blob/main/docs/api/web-utils.md#webutilsgetpathforfilefile

// Before
const oldPath = document.querySelector('input').files[0].path

// After
const { webUtils } = require('electron')
const newPath = webUtils.getPathForFile(document.querySelector('input').files[0])
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Александр Мочалов

79198145

Date: 2024-11-17 20:58:09
Score: 1
Natty:
Report link

if you are using voyager you can loop on your composable screens and wrap them in UIViewController and use native ios navigation ..... there is more than one tutorial for that ... technically you can do the same with the official navigation compose but you need to store your composable in list before you add them in the navGraph so you can loop them .... I tried to get them from the navGraph itself to loop but I couldn't . but in voyager you can see the below repo by kashif https://github.com/Kashif-E/Native-Ios-Navigation-Compose-Multiplatform

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdelrahman Esam

79198137

Date: 2024-11-17 20:51:07
Score: 1
Natty:
Report link

Anytime the owner is a view https://developer.apple.com/documentation/swiftui/monitoring-model-data-changes-in-your-app

ObservedObject can’t manage lifecycle

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: lorem ipsum

79198124

Date: 2024-11-17 20:44:06
Score: 7
Natty: 9
Report link

Thank you @Riwen, it wont let me comment on your answer but you are a lifesaver!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1): it wont let me comment
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Riwen
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: rsobbi122

79198122

Date: 2024-11-17 20:44:05
Score: 3.5
Natty:
Report link

It's because that's your public IP address, not your real IP address.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: palash srivastava

79198111

Date: 2024-11-17 20:42:05
Score: 1
Natty:
Report link

From what I understand, the reference must be a maximum of 8 characters long. But does it have to be this length? If so, you'll need to take into account that you'll need to add one or more predefined characters to fill in if the item passed as a parameter is smaller than the minimum size.

Secondly, to answer your question, the human brain can recognize a word, especially by its first and last letters, and the content in the middle more or less resembles the complete word. For example, reading 'acheivement' when there's an error is relatively easy. It's also worth noting that the human brain is very good at reading without vowels, which it can reconstruct fairly well. If we take the word 'table' for example, it's quite easy to read with 'TBL'.

So, in terms of algorithm, I think it might be interesting to keep the first and last vowels of the word. Delete vowels (word by word), as long as the string is not smaller than the maximum size. If there are strictly more than 4 words in the input, you'll need to define a different algorithm (keep only the first of each word?). The same question arises if there are more than 8 words in the input (keep only the first letter of the first words?).

I'm sure we'll need more details on what you really want from your coding system. Once all this is defined, an algorithm will emerge naturally from your requirements.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lenhard Erwan

79198110

Date: 2024-11-17 20:42:05
Score: 1.5
Natty:
Report link

for anyone who's curious in the latest Amplify library (Nov, 2024), you should use:

import { fetchUserAttributes } from 'aws-amplify/auth';

await fetchUserAttributes();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JTtheCoderHaha

79198108

Date: 2024-11-17 20:40:04
Score: 2
Natty:
Report link

Is it a Cors Policy issue maybe? You can try using this line to test:

const String proxyUrl = 'https://cors-anywhere.herokuapp.com/';
const String baseUrl = proxyUrl + "BASE_URL.com";
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it a
  • Low reputation (1):
Posted by: Alexandre Bisewski

79198098

Date: 2024-11-17 20:36:03
Score: 2
Natty:
Report link

In the upcoming major release of redisearch, you could keep the performance of the wildcard and not iterators consistently good on the expense of some additional memory consumption: https://github.com/RediSearch/RediSearch/pull/4869

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: A. Guy

79198096

Date: 2024-11-17 20:35:03
Score: 2
Natty:
Report link

I was working with a workspace where my project structure was as given below,

my project structure

and I found that removing the [package] from the general Cargo.toml seemed to be the solution, for me atleast.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Keleigh Berenger

79198091

Date: 2024-11-17 20:29:01
Score: 2
Natty:
Report link

malloc() will call the system call internally (in unix its sbrk()) to get the memory block which is greater in size than requested. Later if the user needs more memory then malloc() will give from the extra chunk that it got.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: saeed_m

79198089

Date: 2024-11-17 20:27:01
Score: 2
Natty:
Report link

It seems you installed JRE instead of JDK

Having Java Runtime Environment (JRE) installed is not sufficient

If so, try downloading JDK from official website

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Maksym Kosenko

79198083

Date: 2024-11-17 20:25:00
Score: 1
Natty:
Report link

using an init.vim file didnt work whatsoever so i just added a function in my bashrc to lauch vim and restore the default cursor like this:

vim(){
    /usr/bin/vim
    echo -ne "\e0 q" #only works in terminal emulator
    #you might want to use tput cnorm on console

}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gregsar

79198065

Date: 2024-11-17 20:17:59
Score: 1.5
Natty:
Report link

Here's yet another answer that incorporates suggestions by @Sweeper and @Benzy Neez, with some additional subtleties.

To summarize:

enter image description here

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Sweeper
  • User mentioned (0): @Benzy
  • Low reputation (0.5):
Posted by: Andrei G.

79198054

Date: 2024-11-17 20:09:57
Score: 1.5
Natty:
Report link

If your need is simply to visualize and in no way to have more control over the PDF, then I can only recommend using the library ng2-pdf-viewer.
Full documentation on its use is available on the project's npm page. There's also a link to a demo to see how it works in real-life conditions.

However, if the need is broader than simply visualization, it may be worth looking at pdf.js, which is the library used by Firefox and Chrome to display PDFs. You can find all the project information on the github project.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lenhard Erwan

79198053

Date: 2024-11-17 20:08:56
Score: 4
Natty:
Report link

You need to install openssl in order to run it as a command. Here's a good video on how to do it. https://www.youtube.com/watch?v=1FhQR3LkXVA

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chad Cook

79198044

Date: 2024-11-17 20:03:55
Score: 3.5
Natty:
Report link

Work for me, thanks @Someprogrammerdude

    getline(fin, s);
    n = stoi(s);
    for (int i = 0; i < n + 1 && std::getline(fin, s); i++) {
        A.push_back(s);
    }
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Someprogrammerdude
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: lilof

79198037

Date: 2024-11-17 19:59:54
Score: 1
Natty:
Report link

As mentioned in the official docs (https://spark.apache.org/docs/latest/api/python/user_guide/python_packaging.html#using-virtualenv), you have to either export environment variable PYSPARK_DRIVER_PYTHON and PYSPARK_PYTHON to the python binary you're using (i.e. the one in the bin folder of virtualenv directory) or set the path as sparkConf spark.pyspark.python and spark.pyspark.driver.python.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: noninertialframe

79198035

Date: 2024-11-17 19:58:54
Score: 1.5
Natty:
Report link

Firstly, Php is a server side language. To handle what you have described in the question, you might want to handle that at client-side i.e before any backend processing in done. For instance, javascript would be a great example in this case. you can add javascript:void(0) to your a tag to prevent redirecting and then check if the checkbox is ticked in a javascript function before handling the redirect in the same function. This function can then be attached to an onClick event tied to the "a" tag.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Olumuyiwa

79198015

Date: 2024-11-17 19:47:52
Score: 1
Natty:
Report link

You can now use minTileHeight & minVerticalPadding:

Theme(
      data: Theme.of(context).copyWith(
        listTileTheme: Theme.of(context).listTileTheme.copyWith(
              minTileHeight: 0,
              minVerticalPadding: 0,
            ),
      ),
      child: ExpansionTile(

Note: This can also be configured using ListTileTheme after the following PR is merged: https://github.com/flutter/flutter/pull/159053

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elsayed

79198014

Date: 2024-11-17 19:46:52
Score: 1
Natty:
Report link

You can now use minTileHeight & minVerticalPadding:

Theme(
      data: Theme.of(context).copyWith(
        listTileTheme: Theme.of(context).listTileTheme.copyWith(
              minTileHeight: 0,
              minVerticalPadding: 0,
            ),
      ),
      child: ExpansionTile(

Note: This can also be configured using ListTileTheme after the following PR is merged: https://github.com/flutter/flutter/pull/159053

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elsayed

79198013

Date: 2024-11-17 19:46:52
Score: 2
Natty:
Report link

It was solved by adding: app.UseRouting(); in the program.cs class.

This error appeared to me when I had two controllers of the same name and actions. They were in the same solution but different projects.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nadine

79198012

Date: 2024-11-17 19:46:52
Score: 1
Natty:
Report link

You can now use minTileHeight & minVerticalPadding:

Theme(
      data: Theme.of(context).copyWith(
        listTileTheme: Theme.of(context).listTileTheme.copyWith(
              minTileHeight: 0,
              minVerticalPadding: 0,
            ),
      ),
      child: ExpansionTile(

Note: This can also be configured using ListTileTheme after the following PR is merged: https://github.com/flutter/flutter/pull/159053

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elsayed

79198011

Date: 2024-11-17 19:45:51
Score: 1
Natty:
Report link

You can now use minTileHeight & minVerticalPadding:

Theme(
      data: Theme.of(context).copyWith(
        listTileTheme: Theme.of(context).listTileTheme.copyWith(
              minTileHeight: 0,
              minVerticalPadding: 0,
            ),
      ),
      child: ExpansionTile(

Note: This can also be configured using ListTileTheme after the following PR is merged: https://github.com/flutter/flutter/pull/159053

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmed Elsayed

79197998

Date: 2024-11-17 19:39:50
Score: 5
Natty:
Report link

Very nice solution. Congratulations...I will try to adapt it to me for this issue: https://stackoverflow.com/staging-ground/79197504#comment139654421_79197504

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexandre Bisewski

79197995

Date: 2024-11-17 19:36:48
Score: 0.5
Natty:
Report link

I haven't worked with Cloudflare in a couple of years, but have you tried setting up origin connection over HTTPS without cert verification?

As far as I remember, there were 4 modes of connecting to Origin:

  1. HTTP
  2. HTTPS with certificate verification
  3. HTTPS without certificate verification
  4. HTTPS with "self-signed" certificate

CF always defaulted to HTTP. So you'd have to explore Origin connection settings to solve this.

Note: pretty sure last option was Enterprise-only, since it required setting up a CA and providing a certificate for establishing trust, and you can still have Let's Encrypt on Origin, but it's a bit more fiddly - you would have to set up DNS validation.

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gendalph

79197981

Date: 2024-11-17 19:33:47
Score: 5
Natty:
Report link

but what if you want to plot is and the decision boundary? i have looked at this website: https://scikit-learn.org/stable/auto_examples/svm/plot_svm_kernels.html

but is only plot in 2D, so how do I go from predicted values and 5 dimensions to only 2 dimensions to be able to plot?

Reasons:
  • Blacklisted phrase (1): how do I
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user28346866

79197975

Date: 2024-11-17 19:31:46
Score: 1.5
Natty:
Report link

For those with same error, as Laura Díaz mentioned in her comment, the problem was she had another call to ConfigureServices allready in the project.

Calling twice or more, it tries to register in .net dependency container the same n times which ends up in that error.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sergio M.

79197968

Date: 2024-11-17 19:26:45
Score: 2
Natty:
Report link

To resolve this issue, you should explicitly indicate that the literal is of type float. This can be done by appending an f (or F) to the value. Here’s the corrected code:

float pen = 10.5f;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sama Waleed

79197964

Date: 2024-11-17 19:24:45
Score: 0.5
Natty:
Report link

A solution that might generalise nicely (and I find easier to read) is to use a binary mask to pick out the non-zeros elements (as a sparse logical matrix), e.g. mask=(A~=0)

I've illustrated how to use it in this handy function that would do what you want. With your example, you could call this as A=spfun2(f,A,B);

function Y=spfun2(fun,A,B)

mask=(A~=0); % a sparse logical, so still quite efficient?

if nnz(B(mask))~=nnz(mask)
    warning('Non-zeros of B are not fully aligned with non-zeros of A')
end

Y=spalloc(size(A,1),size(A,2),nnz(A)); 
%or simply Y=A; has the same effect of making Y the right size

Y(mask)=fun(A(mask),B(mask));

Thanks, I was banging up against a related issue and this was the only place I found useful discussion of it.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Trevor Agus

79197963

Date: 2024-11-17 19:24:45
Score: 4.5
Natty: 6
Report link

Same problem here. If you see in the Android Doc to use Gradle 8.4: https://developer.android.com/build/releases/past-releases/agp-8-3-0-release-notes JDK 17 Unity docs refers to 8.4 https://docs.unity3d.com/Manual/android-gradle-overview.html

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Roberto Sapucaia

79197952

Date: 2024-11-17 19:19:43
Score: 2
Natty:
Report link

استعادة البرامج الاساسيه الاقتراضية مجاني للاندرويد File manager (Google Files) -> Internal storage -> Download: Intent { act=android.intent.action.VIEW dat=content://com.google.android.apps.nbu.files.provider/1/file:///storage/emulated/0/Download/Untitled.pdf typ=application/pdf flg=0x13000001 cmp=team.sls.testapp/.ActivityMain }

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: محمد مسعود

79197948

Date: 2024-11-17 19:15:43
Score: 8.5
Natty: 7
Report link

Good afternoon,

Can someone please shed light on what the actual steps are to resolving this issue regarding "Empty issuer DN.." and "cert manager documentation".

What steps can someone follow to get this issue? Please help.

Many thanks, Paul

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (3): Please help
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Paul

79197920

Date: 2024-11-17 19:00:38
Score: 1
Natty:
Report link

There is documentation about Asynchronous Page in the Next.js:

https://nextjs.org/docs/app/building-your-application/upgrading/version-15#asynchronous-page

Try that approach, which is in the Next.js documentation:

export default async function Challenge(
 props: {
  params: Promise<{ slug: string }>;
 }
) {
 const params = await props.params;
 const productID = params.slug[1];
 // const productID = params.slug;
 // other code here
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yusufie

79197916

Date: 2024-11-17 18:59:38
Score: 2.5
Natty:
Report link

Make sure you have specified size of VARCHAR, mine got fixed after I explicitly mentioned VARCHAR(64).

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Luther

79197908

Date: 2024-11-17 18:54:37
Score: 2
Natty:
Report link

try using this curl command in the terminal to get access token. "curl -X POST "https://localhost:8443/nifi-api/access/token" -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" --data "username=&password=" --insecure"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hema

79197877

Date: 2024-11-17 18:36:34
Score: 1
Natty:
Report link

You can use OpenCrawler to identify 404 pages and their parent pages, enabling you to fix them efficiently. https://www.opencrawler.in/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Naeemudheen p

79197876

Date: 2024-11-17 18:36:34
Score: 0.5
Natty:
Report link

Note that in your proof, when you do induction IHl as [|lp lp' [IHHl IHHl']], that IHHl and IHHl' are not induction hypotheses. The reason is that you wrote your inductive predicate in an uncanonical way, so Coq's default method for inferring the induction scheme fails.

Instead, try defining your inductive predicate like so:

Inductive lparen : T -> Prop :=
| leps : lparen eps
| lseq : forall (lp: T) (lp': T), lparen lp -> lparen lp' -> lparen (LPs +++ lp +++ RPs +++ lp').

The difference being that we give two preconditions lparen lp and lparen lp', instead of one which is a conjunction. In Coq, this is much more natural (since -> is a primitive).

Then, the induction scheme actually contains induction hypotheses, which makes the proof go through:

Lemma lparen_concat : forall l l':T, lparen l -> lparen l' -> lparen (l +++ l').
Proof.
  intros l l' Hl Hl'.
  induction Hl as [|lp lp' Hlp IHlp  Hlp' IHlp']].
  - simpl.
    assumption.
  - rewrite par_assoc.
    apply lseq.
    split.
    + assumption.
    + apply IHlp'.
Qed.

Note that Hlp corresponds to your IHHl, which you named IH even though it is not an induction hypothesis. What I named IHlp' is what was missing in your proof (and actually is an inductive hypothesis), but is here now, since Coq can now generate useful induction schemes for your predicate.

Similarly, the things introd in the first line are not induction hypotheses and thus not named IH by convention.

Finally, note that I would not say that induction is "assuming the Lemma you are proving." It "assumes" a special case of the Lemma, where one argument is strictly smaller than it is in the goal you are currently proving. This is then usually called the inductive hypothesis. So a better way of asking your question is "how do I get Coq to generate the correct inductive hypothesis here?".

Reasons:
  • Blacklisted phrase (1): how do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: JoJoModding

79197874

Date: 2024-11-17 18:34:33
Score: 1
Natty:
Report link

Yes, you can stop apt from prompting about certain missing dependencies by using options like ignore missing to bypass missing packages or no install recommends to avoid installing optional ones. Additionally, you can globally disable recommended or suggested packages by modifying the /etc/apt/apt.conf.d configuration file.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DHEERAJ YALLURU

79197868

Date: 2024-11-17 18:32:32
Score: 1
Natty:
Report link

That's a great answer from a programer's perspective. Unfortunately, mathematically, it is not as perfect as it could be. The 100% correct answer is "(-1+1j)", per Euler's identity (ref. https://en.wikipedia.org/wiki/Euler%27s_formula). This is very basic and important math in electrical engineering, btw. I think the workaround would be something along the lines of: adjust all angles between 0 and 90 in degrees, then adjust math/cmath sin/cos results accordingly.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Andrew

79197866

Date: 2024-11-17 18:30:32
Score: 2
Natty:
Report link

I ran into this issue as well. For this assignment, it's expecting the password hash from the specifications page, not the one in the source code. Hope this helps someone...

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28346307

79197859

Date: 2024-11-17 18:24:31
Score: 1
Natty:
Report link

I was going crazy on a similar issue as everything seemed to be well configured on my side (actually same config of a similar project that was running just fine). It turned out the password I was using on the .env file was using special characters (in my case '@' and '#')! I wrapped the password in quotes '' and it worked like a charm :D

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yas

79197833

Date: 2024-11-17 18:11:28
Score: 1
Natty:
Report link

If you used a debugger (always do it) or simply look thoroughly, you would see a trivial infinite loop bug and a simple fix:

while (this.undos.length > 0)
    this.operations.push(this.undos.pop());
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sergey A Kryukov

79197829

Date: 2024-11-17 18:09:27
Score: 2.5
Natty:
Report link

Check the dependency version: Ensure you’re using a compatible version of navigation-compose with your Compose Multiplatform project. The latest version available is 2.8.0-alpha10.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamamd Uzair

79197828

Date: 2024-11-17 18:09:27
Score: 4.5
Natty:
Report link

I sloved this by adding this code in project build.gradle

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shouaib Mohammed

79197826

Date: 2024-11-17 18:09:26
Score: 4.5
Natty: 6.5
Report link

I am having the same results/problem. While the code above does create the UserForm, and I can add controls to it, once I'm done with that and Show it one time I can't find how to edit the UserForm after that first time. When I right click on the UserForm I only get the choice to View Code and there is no choice to view the UserForm in any of the controls I can find. How can I edit the UserForm itself with the ToolBox, etc.?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Stuart Karden

79197813

Date: 2024-11-17 17:59:24
Score: 8
Natty: 7
Report link

I have the same problem, actually it happend when i bought a mac and i entered on my github account, and all of a sudden the port disapeared. I guess that's the problem but I never found the solution for that. Do you?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Josa Insite

79197807

Date: 2024-11-17 17:57:23
Score: 1.5
Natty:
Report link

One thing you should have in mind is that the value of count inside the closure does not automatically update on each render, but from the first execution the closure will always see the value of count. Therefore setCount(1) will always be repeatedly called because count + 1 will result to 1, which means counter will no longer increment

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jeremih Adebayo Akingbade

79197800

Date: 2024-11-17 17:53:22
Score: 6 🚩
Natty: 5.5
Report link

how did you containerize the basic Yii2 application with docker?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): how did you
  • Low reputation (1):
Posted by: Endrit Isteri