THẢO LUẬN

@portugal77 Vậy dành thời gian ôn luyện kĩ càng hơn nữa nhé, chúc bạn may mắn, và sớm nhận được tin vui từ người tuyển dụng nhé😜

0
Thứ Hai, 1:10 SA

Mọi thuật toán chỉ cho ra kết quả tương đối ổn( kết quả chấp nhận được ). Chứ toán tin ứng dụng nó không cho ra kết quả tuyệt đối chính xác như toán hàn lâm được

0

cho e hỏi về func getPointsComputer, trong đoạn score = map score computer + map score human, tại sao trong map_score_human.get(max(...) - 1) lại có -1 vậy, e hơi rối đoạn này ạ 😵

0

Bài viết thiếu chuyên nghiệp, khó theo dõi và làm theo, anh em đừng tốn thời gian làm theo nha. Cay cú vãi chưởng

0

Bạn thấy không thuyết phục chỗ nào? có thể gợi ý để mình chỉnh sửa bài viết. Mình luôn đón nhận những chỉ trích mang tính đóng góp.

0

giữ từ gốc tiếng Anh sẽ tốt hơn. bài viết gốc cũng không thực sự thuyết phục. các luận điểm đại khái.

0

Thì e được biết những cái design pattern là không bắt buộc phải áp dụng trong một project, với những cấu trúc tập hợp thông thường, chúng ta đã có những kỹ thuật duyệt riêng cho loại cấu trúc đó mà không cần áp dụng cái Iterator này cho phức tạp. Vậy thì ngoài lợi ích là che dấu cấu trúc tập hợp thì có trường hợp nào mà ở đó chúng ta bắt buộc phải áp dụng cái iterator này, nếu không thì cái kiến trúc có thể xảy ra sai sót hay gì đó không ạ

0
Chủ Nhật, 2:12 SA

@maitrungduc1410 em đang dùng Ubuntu 22.04 á anh

0
Chủ Nhật, 2:10 SA

E đang dùng win mac hay linux đó?

0
Chủ Nhật, 2:08 SA

Anh ơi, em gặp lỗi khác so với bài hướng dẫn khi check logs ở kibana và hiện tại em không thể exec vào trong elastic để set password được, anh có thể check giúp em được không ạ? Nội dung logs: kibana-1 | [2024-05-12T01:57:55.221+00:00][INFO ][plugins.taskManager] TaskManager is identified by the Kibana UUID: bff7a538-4647-41cb-ba5b-cedd5b5ee307 kibana-1 | [2024-05-12T01:57:56.187+00:00][INFO ][custom-branding-service] CustomBrandingService registering plugin: customBranding kibana-1 | [2024-05-12T01:57:58.054+00:00][WARN ][plugins.screenshotting.config] Chromium sandbox provides an additional layer of protection, but is not supported for Linux Ubuntu 20.04 OS. Automatically setting 'xpack.screenshotting.browser.chromium.disableSandbox: true'. kibana-1 | [2024-05-12T01:57:58.720+00:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:57:58.721+00:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended. kibana-1 | [2024-05-12T01:57:58.747+00:00][WARN ][plugins.security.config] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:57:58.747+00:00][WARN ][plugins.security.config] Session cookies will be transmitted over insecure connections. This is not recommended. kibana-1 | [2024-05-12T01:57:59.071+00:00][WARN ][plugins.encryptedSavedObjects] Saved objects encryption key is not set. This will severely limit Kibana functionality. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:57:59.482+00:00][WARN ][plugins.actions] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:57:59.523+00:00][INFO ][plugins.notifications] Email Service Error: Email connector not specified. kibana-1 | [2024-05-12T01:58:00.053+00:00][WARN ][plugins.alerting] APIs are disabled because the Encrypted Saved Objects plugin is missing encryption key. Please set xpack.encryptedSavedObjects.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:58:00.053+00:00][INFO ][plugins.alerting] using indexes and aliases for persisting alerts kibana-1 | [2024-05-12T01:58:02.415+00:00][INFO ][plugins.alerting] Registering resources for context "stack". kibana-1 | [2024-05-12T01:58:03.302+00:00][WARN ][plugins.reporting.config] Generating a random key for xpack.reporting.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.reporting.encryptionKey in the kibana.yml or use the bin/kibana-encryption-keys command. kibana-1 | [2024-05-12T01:58:03.303+00:00][INFO ][plugins.reporting.config] Overriding server host address "0.0.0.0" in Reporting runtime config, using "xpack.reporting.kibanaServer.hostname: localhost". kibana-1 | [2024-05-12T01:58:04.861+00:00][INFO ][plugins.cloudSecurityPosture] Registered task successfully [Task: cloud_security_posture-stats_task] kibana-1 | [2024-05-12T01:58:05.575+00:00][INFO ][plugins.alerting] Registering resources for context "ml.anomaly-detection". kibana-1 | [2024-05-12T01:58:06.466+00:00][INFO ][plugins.alerting] Registering resources for context "observability.slo". kibana-1 | [2024-05-12T01:58:06.469+00:00][INFO ][plugins.alerting] Registering resources for context "observability.threshold". kibana-1 | [2024-05-12T01:58:06.721+00:00][INFO ][plugins.alerting] Registering resources for context "observability.uptime". kibana-1 | [2024-05-12T01:58:07.087+00:00][INFO ][plugins.infra] Skipping initialization of Profiling endpoints because 'profilingDataAccess' plugin is not available kibana-1 | [2024-05-12T01:58:07.088+00:00][INFO ][plugins.alerting] Registering resources for context "observability.logs". kibana-1 | [2024-05-12T01:58:07.090+00:00][INFO ][plugins.alerting] Registering resources for context "observability.metrics". kibana-1 | [2024-05-12T01:58:11.254+00:00][INFO ][plugins.alerting] Registering resources for context "security". kibana-1 | [2024-05-12T01:58:11.276+00:00][INFO ][plugins.securitySolution.endpoint:user-artifact-packager:1.0.0] Registering endpoint:user-artifact-packager task with timeout of [20m], interval of [60s] and policy update batch size of [25] kibana-1 | [2024-05-12T01:58:11.338+00:00][INFO ][plugins.assetManager] Server is NOT enabled kibana-1 | [2024-05-12T01:58:11.346+00:00][INFO ][plugins.alerting] Registering resources for context "observability.apm". kibana-1 | [2024-05-12T01:58:12.686+00:00][INFO ][plugins.screenshotting.chromium] Browser executable: /usr/share/kibana/node_modules/@kbn/screenshotting-plugin/chromium/headless_shell-linux_x64/headless_shell kibana-1 | [2024-05-12T01:58:43.568+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. getaddrinfo EAI_AGAIN elastic kibana-1 | [2024-05-12T02:02:39.635+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. connect ECONNREFUSED 172.28.0.2:9200 kibana-1 | [2024-05-12T02:03:23.662+00:00][ERROR][elasticsearch-service] Unable to retrieve version information from Elasticsearch nodes. getaddrinfo EAI_AGAIN elastic

0
Chủ Nhật, 12:08 SA

not exists tận dụng được 2 thứ: short-circuiting và semi-join

0
Thứ Bảy, 11:42 CH

sao lại kết hợp 2 transaction isolation với nhau được ?

0

Em nghĩ đi nghĩ lại vẫn không thấm bloc vs mvvm khác nhau chỗ nào

0
Thứ Bảy, 10:55 SA

Nếu bạn chắc chắn về password của user elastic thì bạn có thể “exec” vào container elasticsearch và kiểm tra


curl -X GET -u "elastic:${ELASTIC_PASSWORD}" http://localhost:9200/_security/_authenticate
0
Thứ Bảy, 10:51 SA

@tiennh93 cái này là do logstash nó ko auth đc với elastic bằng “elastic” user

Bạn check lại xem đã truyền thông tin username+ pass vào logstash hay chưa (thì ở file logstash.conf nó mới đọc đc

Với cả phía elastic bạn đã set password cho user “elastic” bằng env ở docker compose chưa?

0

image.png Em bị lỗi này khi systemctl start zookeeper.service a giúp em với ạ

0

Tới giờ có tìm được thêm api nào nữa ko thớt ơi 😦(

0
Thứ Bảy, 8:22 SA

@maitrungduc1410 Cảm ơn bạn nhiều mình thấy Filebeat đã chạy nhưng lại gặp lỗi với Logstash: logstash-1 | [2024-05-11T08:06:39,523][WARN ][logstash.outputs.elasticsearch][main] Elasticsearch main endpoint returns 401 {:message=>"Got response code '401' contacting Elasticsearch at URL 'http://elastic:9200/'", :body=>"{"error":{"root_cause":[{"type":"security_exception","reason":"unable to authenticate user [elastic] for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}}],"type":"security_exception","reason":"unable to authenticate user [elastic] for REST request [/]","header":{"WWW-Authenticate":["Basic realm=\"security\" charset=\"UTF-8\"","ApiKey"]}},"status":401}"} Cái này làm cho Logstash shutdown luôn. Mình chưa search được solution, mong bạn giúp đỡ.

0

hay mà dài quá , mà thiết kế hệ thống tới chừng đó chắc tầm lớn kinh khủng khiếp rồi , scale thêm nữa chắc ngang facebook quá =)))

0
Viblo
Hãy đăng ký một tài khoản Viblo để nhận được nhiều bài viết thú vị hơn.
Đăng kí