• 2024-06-06报错 urllib3 (1.26.7) or chardet (5.2.0)/charset_normalizer (2.0.8) doesn‘t match a supported version!
    报错RequestsDependencyWarning:urllib3(1.26.7)orchardet(5.2.0)/charset_normalizer(2.0.8)doesn'tmatchasupportedversion!warnings.warn("urllib3({})orchardet({})/charset_normalizer({})doesn'tmatchasupported"这个警告信息Req
  • 2024-05-31Spring Native注册反射元信息
    eg:@ImportRuntimeHints(MyRuntimeHintsRegistrar.class)publicclassMyRuntimeHintsRegistrarimplementsRuntimeHintsRegistrar{/***ForGraalVMNativeCompile**@paramhints*@paramclassLoader*/@Overridepublic
  • 2023-11-18python使用wandb login报错
    python使用wandblogin报错问题描述wandb是一个可视化在pipinstallwandb后使用importwandb或者运行命令wandblogin产生如下报错:cannotimportname'COMMON_SAFE_ASCII_CHARACTERS'解决方法报错可能是由于charset_normalizer模块的版本问题引起的。卸载重装:pipuninst
  • 2023-06-29数据对象校验原理
    表单数据校验jquery-validationThejQueryValidationPluginprovidesdrop-invalidationforyourexistingforms,whilemakingallkindsofcustomizationstofityourapplicationreallyeasy.来自jquery-validation项目。大概就是提供嵌入式的方式去校验表单,灵活
  • 2023-06-09Elasticsearch 修改字段类型
    由于ES不能像关系型数据库直接修改类型,所以要借助中间索引来完成1、创建中间索引(字段维护正确的)put:https://localhost/track_bak{"settings":{"index":{"number_of_shards":"3","number_of_replicas":"1&quo
  • 2023-04-26解决Python中报错RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.1.0)/charset_normalizer (2.0.12
      在运行requests包时,出现了以下报错信息:RequestsDependencyWarning:urllib3(1.26.9)orchardet(5.1.0)/charset_normalizer(2.0.12)doesn'tmatchasupportedversion!warnings.warn("urllib3({})orchardet({})/charset_normalizer({})doesn'tmatchasu
  • 2023-04-25elasticsearch 实现查询忽略大小写
    背景:在搜索的时候经常会有一种场景就是忽略大小写,不管你输入的是全大写还是全小写还是大小写混合,希望都能够搜索出结果。解决思路:Elasticsearch中的lowercasenormalizer将文本转换为小写,并将其作为规范形式存储在索引中。这可以确保在搜索和比较文本时忽略大写字母的差异,从而提