摘要: Four people, A, B, C and D need to get across a river. The only way to cross the river is by an old bridge, which holds at most 2 people at a time. Be 阅读全文
posted @ 2026-03-21 14:44 森夏 阅读(2) 评论(0) 推荐(0)
摘要: One hundred tigers and one sheep are put on a magic island that only has grass. Tigers can eat grass, but they would rather eat sheep. Assume: A. Each 阅读全文
posted @ 2026-03-21 11:54 森夏 阅读(2) 评论(0) 推荐(0)
摘要: Five pirates looted a chest full of 100 gold coins. Being a bunch of democratic pirates,they agree on the following method to divide the loot:The most 阅读全文
posted @ 2026-03-21 11:35 森夏 阅读(1) 评论(0) 推荐(0)
摘要: 原因:Linux防火墙屏蔽端口 解决:将端口添加到防火墙list中 在 Linux 服务器 上检查防火墙: sudo firewall-cmd --list-ports 如果 8000/tcp 不在列表里,执行: sudo firewall-cmd --add-port=8000/tcp --per 阅读全文
posted @ 2025-03-23 18:07 森夏 阅读(884) 评论(0) 推荐(0)
摘要: 实习期间的一点总结,做的是MongoDB数据源的同步,遇到了不少坑,遇到不少问题 内容:将指定数据源(如MySQL等数据库)内容增量/全量同步到Dataworks上 1、DDL,建表 需要在开发环境的生产环境建立存放数据的表,分为全量表(无尾缀)和增量表(_delta) 做好字段和表名的备注工作,设 阅读全文
posted @ 2023-11-10 17:30 森夏 阅读(406) 评论(0) 推荐(0)
摘要: 废话不多说,直接上案例 如下是某json字段的查询结果,可以看出它是一个json数组 select sales_price from order_goods where order_number = 'R1001'; -- 结果: [{"threshold_number":1,"group_id": 阅读全文
posted @ 2023-10-30 10:14 森夏 阅读(289) 评论(0) 推荐(0)
摘要: 问题描述: json格式不规范导致的,仅使用where+json_valid清洗似乎并不足以解决问题。该问题发生于MySQL中 解决方法: select order_number,sku_code,CASE WHEN JSON_VALID(sales_price) THEN sales_price 阅读全文
posted @ 2023-10-26 17:41 森夏 阅读(3367) 评论(0) 推荐(0)
摘要: `LDIPOL=.TRUE. IDIPOL=1/2/3/4 EFIELD= ? DIPOL=0.5 0.5 0.5` 外加电场下需要以上代码,其中LDIPOL负责偶极矫正,是需要开的 对于IDIPOL=1-3,偶极矩将分别平行于第一、第二或第三晶格矢量的方向计算。总能量的修正计算为当前超单元中单极子 阅读全文
posted @ 2023-03-17 16:17 森夏 阅读(2123) 评论(0) 推荐(0)
摘要: 想启动beeline客户端却发现连不上 beeline -u jdbc:hive2://hadoop102:10000 -n atguigu 参考了https://blog.csdn.net/aubekpan/article/details/93758340的博客发现了问题可能在键盘输入上面 平时习 阅读全文
posted @ 2022-09-27 09:34 森夏 阅读(1057) 评论(0) 推荐(0)
摘要: 服务器端 package com.atguigu.example; import java.io.*; import java.net.ServerSocket; import java.net.Socket; import java.util.ArrayList; import java.util 阅读全文
posted @ 2022-03-29 17:10 森夏 阅读(106) 评论(0) 推荐(0)