https://malltina.com/product/mlt-7391359/Goal-Zero-Yeti-500X-Portable-Power-Station%2C-505Wh-Portable-Lithium-Battery-Emergency-Power-Station%2C-Outdoor-Solar-Generator%2C-120V-AC-Pure-Sine-Wave-Inverter%2C-12V-Car-Port%2C-6mm%2C-USB-C-PD%2C-USB-A-Port
اگه پولش رو دارید، میتونین با ۲۵ ملیون این ابزار رو تهیه کنید و زمان بی برقی، بدون برق نمونین.
اگه پولش رو دارید، میتونین با ۲۵ ملیون این ابزار رو تهیه کنید و زمان بی برقی، بدون برق نمونین.
Malltina
قیمت و خرید ایستگاه برق قابل حمل Goal Zero Yeti 500X ، نیروگاه اضطراری باتری لیتیوم قابل حمل 505Wh ، ژنراتور خورشیدی در فضای باز…
خرید اینترنتی ایستگاه برق قابل حمل Goal Zero Yeti 500X ، نیروگاه اضطراری باتری لیتیوم قابل حمل 505Wh ، ژنراتور خورشیدی در فضای باز ، اینورتر موج سینوسی خالص 120 ولت AC ، پورت اتومبیل 12 ولت ، 6 میلی متر ، USB C PD ، پورت USB A برند Goal Zero از محصولات Generators…
حالا اگه js بود برای even و odd هم کتابخونه داشت، تو go برای min, max نداریم تابع =))
https://stackoverflow.com/questions/34259800/is-there-a-built-in-min-function-for-a-slice-of-int-arguments-or-a-variable-numb
https://stackoverflow.com/questions/34259800/is-there-a-built-in-min-function-for-a-slice-of-int-arguments-or-a-variable-numb
Stack Overflow
Is there a built in min function for a slice of int arguments or a variable number of int arguments in golang?
Is there a built in function that returns the minimum of a slice of int arguments:
func MinIntSlice(v []int) (m int) {
if len(v) > 0 {
m = v[0]
}
for i := 1; i < len(v); i...
func MinIntSlice(v []int) (m int) {
if len(v) > 0 {
m = v[0]
}
for i := 1; i < len(v); i...
استاندارد gnu زمان کامپایل کردن C/cpp چه تفاوتی ایجاد میکنه؟
https://stackoverflow.com/questions/10613126/what-are-the-differences-between-std-c11-and-std-gnu11
https://stackoverflow.com/questions/10613126/what-are-the-differences-between-std-c11-and-std-gnu11
Stack Overflow
What are the differences between -std=c++11 and -std=gnu++11?
What are the differences between -std=c++11 and -std=gnu++11 as compilation parameter for gcc and clang? Same question with c99 and gnu99? I know about C++ and C standards, it's the differences in ...
گزینه fastmath در gcc چه میکند
https://stackoverflow.com/a/22135559/10999348
https://stackoverflow.com/a/22135559/10999348
Stack Overflow
What does gcc's ffast-math actually do?
I understand gcc's --ffast-math flag can greatly increase speed for float ops, and goes outside of IEEE standards, but I can't seem to find information on what is really happening when it's on. Can
جاج های انلاین چطوری مموری مصرف شده توسط برنامه رو بررسی میکنند؟
https://www.quora.com/Computer-Programming/What-is-the-simplest-and-most-accurate-way-to-measure-the-memory-used-by-a-program-in-a-programming-contest-environment/answer/Vivek-Prakash-2
https://www.quora.com/Computer-Programming/What-is-the-simplest-and-most-accurate-way-to-measure-the-memory-used-by-a-program-in-a-programming-contest-environment/answer/Vivek-Prakash-2
Quora
What is the simplest and most accurate way to measure the memory used by a program in a programming contest environment?
Answer: I assume you want to know how online judges determine 'Memory Limit Exceeded' for a user-supplied program.
First you may want to read the general architecture of online judges at
How do online judges identify time limit exceeded? I have to design…
First you may want to read the general architecture of online judges at
How do online judges identify time limit exceeded? I have to design…
کتابخانه psutil پایتون
psutil (python system and process utilities) is a cross-platform library for retrieving information on running processes and system utilization
https://psutil.readthedocs.io/en/latest/
psutil (python system and process utilities) is a cross-platform library for retrieving information on running processes and system utilization
https://psutil.readthedocs.io/en/latest/
یک جاج کننده کد ساده با پایتون و subprocess
https://gist.github.com/apaar97/de3ef501d5762ac8cb2f8a7343b6a29d
https://gist.github.com/apaar97/de3ef501d5762ac8cb2f8a7343b6a29d
Gist
A lightweight code checker tool in python for compiling and running Java, C & Cpp files. Handles compilation errors, runtime errors…
A lightweight code checker tool in python for compiling and running Java, C & Cpp files. Handles compilation errors, runtime errors, AC, WA and TLE - codechecker.py
چرا با ویندوز مشکل دارم:
https://stackoverflow.com/a/12231952/10999348
https://stackoverflow.com/a/12231952/10999348
Stack Overflow
Resource limits on Windows?
What are the Windows equivalents to the resource limit mechanisms exposed on Unix systems by Python's resource module, and POSIX setrlimit?
Specifically, I'm limiting processor time for a child pr...
Specifically, I'm limiting processor time for a child pr...
👎1
دستور git archive:
خروجی گرفتن از یک پروژه روی گیت
https://www.atlassian.com/git/tutorials/export-git-archive
خروجی گرفتن از یک پروژه روی گیت
https://www.atlassian.com/git/tutorials/export-git-archive
یک فایل سورس، حداکثر باید چند خط باشد؟
https://softwareengineering.stackexchange.com/questions/176999/at-what-point-range-is-a-code-file-too-big/177102
https://softwareengineering.stackexchange.com/questions/176999/at-what-point-range-is-a-code-file-too-big/177102
Software Engineering Stack Exchange
At what point/range is a code file too big?
I'm finding lots of 2-3k line files, and it doesn't really feel like they should be that big.
What is a good criteria to objectively call a source code file "too big"?, is there such thing as a m...
What is a good criteria to objectively call a source code file "too big"?, is there such thing as a m...
به جای print، اطلاعات دیباگ را با log چاپ کنید.
https://automatetheboringstuff.com/2e/chapter11/
https://automatetheboringstuff.com/2e/chapter11/
کامپایل شرطی در go
https://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool
مثال از یه برنامه platform dependent که از این قابلیت استفاده کرده:
https://github.com/skratchdot/open-golang
https://dave.cheney.net/2013/10/12/how-to-use-conditional-compilation-with-the-go-build-tool
مثال از یه برنامه platform dependent که از این قابلیت استفاده کرده:
https://github.com/skratchdot/open-golang
GitHub
GitHub - skratchdot/open-golang: Open a file, directory, or URI using the OS's default application for that object type. Optionally…
Open a file, directory, or URI using the OS's default application for that object type. Optionally, you can specify an application to use. - skratchdot/open-golang
ابزار gb برای build کردن پروژه goی شما
https://dave.cheney.net/2015/06/09/gb-a-project-based-build-tool-for-the-go-programming-language
https://dave.cheney.net/2015/06/09/gb-a-project-based-build-tool-for-the-go-programming-language
در مورد scale کردن پروژه های اوپن سورس: نکنید.
جایگزین کردن twitter instagram facebook به این سادگی نیست.
به جاش نرم افزار خاص برای کاربرد خیلی خاص مردم خاص درست کنید.
https://www.sicpers.info/2021/07/my-proposal-for-scaling-open-source-dont/
جایگزین کردن twitter instagram facebook به این سادگی نیست.
به جاش نرم افزار خاص برای کاربرد خیلی خاص مردم خاص درست کنید.
https://www.sicpers.info/2021/07/my-proposal-for-scaling-open-source-dont/
سختگیری رو ادامه ندید(؟)
قسمتی از متنش:
Let’s start with hazing. A lot of the software industry suffers from “I had to go through this, you should too”. Look at software engineering interviews, for example. I’m not sure whether anybody actually believes “I had to deal with carefully ensuring NUL-termination to avoid buffer overrun errors so you should too”, but I do occasionally still hear people telling less-experienced developers that they should learn C to learn more about how their computer works. Your computer is not a fast PDP-11, all you will learn is how the C virtual machine works.
https://www.sicpers.info/2020/10/discipline-doesnt-scale/
قسمتی از متنش:
Let’s start with hazing. A lot of the software industry suffers from “I had to go through this, you should too”. Look at software engineering interviews, for example. I’m not sure whether anybody actually believes “I had to deal with carefully ensuring NUL-termination to avoid buffer overrun errors so you should too”, but I do occasionally still hear people telling less-experienced developers that they should learn C to learn more about how their computer works. Your computer is not a fast PDP-11, all you will learn is how the C virtual machine works.
https://www.sicpers.info/2020/10/discipline-doesnt-scale/