Skip to content

Instantly share code, notes, and snippets.

View icsaas's full-sized avatar
🎯
saasing

iac icsaas

🎯
saasing
View GitHub Profile
@Hellisotherpeople
Hellisotherpeople / blog.md
Last active July 23, 2024 12:38
You probably don't know how to do Prompt Engineering, let me educate you.

You probably don't know how to do Prompt Engineering

(This post could also be titled "Features missing from most LLM front-ends that should exist")

Apologies for the snarky title, but there has been a huge amount of discussion around so called "Prompt Engineering" these past few months on all kinds of platforms. Much of it is coming from individuals who are peddling around an awful lot of "Prompting" and very little "Engineering".

Most of these discussions are little more than users finding that writing more creative and complicated prompts can help them solve a task that a more simple prompt was unable to help with. I claim this is not Prompt Engineering. This is not to say that crafting good prompts is not a difficult task, but it does not involve doing any kind of sophisticated modifications to general "template" of a prompt.

Others, who I think do deserve to call themselves "Prompt Engineers" (and an awful lot more than that), have been writing about and utilizing the rich new eco-system

@icsaas
icsaas / BitcoinHashRandom.ipynb
Created February 10, 2022 13:42 — forked from Seele0oO/BitcoinHashRandom.ipynb
TrueRandom.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@semlinker
semlinker / index.html
Created April 18, 2021 09:22
JavaScript 中实现大文件并行下载
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>多线程下载示例</title>
<script src="multi-thread-download.js"></script>
</head>
<body>
@jainxy
jainxy / Useful Links on Tech
Last active January 28, 2024 11:29
Good resources over web on variety of tech topics
@kingbin
kingbin / GitLab-CE on Windows 10
Last active May 22, 2020 20:15
Using Docker toolbox to create a persistent Gitlab-CE install in Windows 10
$ docker create --name gitlab-data --volume /d/docker/gitlab:/etc/gitlab gitlab/gitlab-ce:latest
# Make sure Bridging is set on the VM in VirtualBox
$ docker run --publish 8080:80 --publish 2222:22 --publish 4443:443 --name gitlab --restart always --volumes-from gitlab-data gitlab/gitlab-ce:latest
Using docker 1.13.1

基础知识

  • 计算机软硬件基础
  • 计算机网络
  • 操作系统
  • 数据结构和算法
  • 设计模式
  • 以及其他各种你应该懂的东西

前端开发

  • 前端标准/规范
#Newbie programmer
def factorial(x):
if x == 0:
return 1
else:
return x * factorial(x - 1)
print factorial(6)
#First year programmer, studied Pascal
anonymous
anonymous / Makefile
Created December 15, 2013 11:58
Hedging client for Ripple
HEDGE = node riphedge
all:
npm install ripple-lib
hedge:
-while date; do \
$(HEDGE); \
sleep 100; \
done
@astrojuanlu
astrojuanlu / pool_futures.py
Last active June 20, 2019 11:28
Comparison between multiprocessing Pool and ProcessPoolExecutor from concurrent.futures.
def hard_work(n):
""" A naive factorization method. Take integer 'n', return list of
factors.
"""
# Do some CPU bond work here
if n < 2:
return []
factors = []
p = 2
This gist is for my post: http://www.andretw.com/2013/07/using-celery-right-now-and-more-best-practices-1.html