Readit News logoReadit News
armanboyaci commented on The Ski Rental Problem   lesves.github.io/articles... · Posted by u/skywalqer
armanboyaci · a month ago
What happens if you have a prior knowledge for $k$ as a probability distribution?
armanboyaci commented on Statistical Formulas for Programmers (2013)   evanmiller.org/statistica... · Posted by u/Tomte
armanboyaci · 6 months ago
>Being able to apply statistics is like having a secret superpower.

I totally with this sentence. BUT If you ask for my opinion, merely knowing a list of statistical formulas is not very helpful. Most of the time, people don’t remember the underlying assumptions, so there is a fair chance they will use them in inappropriate situations.

I recommend watching these two YouTube videos. The presenters advocate using simulation/bootstrapping/shuffling methods instead of memorizing formulas.

Jake Vanderplas - Statistics for Hackers https://www.youtube.com/watch?v=Iq9DzN6mvYA

John Rauser - Statistics Without the Agonizing Pain https://www.youtube.com/watch?v=5Dnw46eC-0o

armanboyaci commented on Developer Philosophy   qntm.org/devphilo... · Posted by u/todsacerdoti
csours · 7 months ago
To me, software development is many things, but the inner loop is mainly characterized by two alternating modes: Trying things and Learning things.

The biggest hidden assumption I see is that we expect other people to be trying and learning things in the same way we do.

Experienced devs will write code to improve their own understanding, they will create tests to improve their own understanding, they will do research, they will do a lot of learning and all of that rarely gets talked about at standup or in a pull request. This work never shows up in a planning or budget meeting.

I see junior devs getting stuck hard on delivering production ready code - which is the WORK PRODUCT that we want; but that is not what the actual work of software development looks like. A lot of junior devs are hesitant to do throw-away work that does not get committed to source control - they feel like someone out there knows the answer and they just have to find them. And for a long time, that works - they can find someone to provide the answer they need, they can find a senior dev who glances at the code and fixes it effortlessly.

This whole thing is exacerbated by managers with no or minimal dev experience, who also confuse work product and tracked work items with the actual work of producing software.

(And if you're wondering who 'junior devs' is, it's me. I'm junior devs.)

armanboyaci · 7 months ago
I believe your description of software development is highly aligned with the ideas of peter naur, programming as theory building.

https://pages.cs.wisc.edu/~remzi/Naur.pdf

armanboyaci commented on Jupyter Notebooks as E2E Tests   rakhim.exotext.com/jupyte... · Posted by u/freetonik
pplonski86 · 8 months ago
Mixing code, markdown and execution results in one output file gives Jupyter notebooks superpower. You can really have anything in the ipynb file, stored in JSON. I wish there was two types of ipynb files, one for file with just code and markdown (for example ipynbc), and one for keeping code+markdown+results.

BTW, sometime ago I wrote an article about surprising things that you can build with Jupyter notebook https://mljar.com/blog/how-to-use-jupyter-notebook/ You will find in the list: blog, book, website, web app, dashboards, REST API, even full packages :)

armanboyaci · 8 months ago
> I wish there was two types of ipynb files, one for file with just code and markdown (for example ipynbc), and one for keeping code+markdown+results.

I believe you can achieve that if you use jupytext library, right?

armanboyaci commented on Building My Resume in HTML Using Eleventy   michaelengen.com/posts/my... · Posted by u/michaelengen
Aurornis · 10 months ago
Mine is also in LaTeX. Every 3-5 years I get a nice reminder of the nightmare that is cobbling together a fully functional LaTeX dev environment to work on it again.
armanboyaci · 10 months ago
I am keeping my CV on overleaf and it is very convenient. Did you try that option?
armanboyaci commented on Ask HN: Any good essays/books/advice about software sales?    · Posted by u/nikasakana
armanboyaci · a year ago
https://www.amazon.com/Solution-Selling-Fieldbook-Practical-...

If you are planning to build enterprise software solutions then I highly recommend this book. It contains very helpfull checklists and templates.

armanboyaci commented on Scaling up linear programming with PDLP   research.google/blog/scal... · Posted by u/bookofjoe
raidicy · a year ago
Slightly off topic but does anybody have any resources for learning linear programming for business applications?
armanboyaci · a year ago
I recommend this blog: https://yetanothermathprogrammingconsultant.blogspot.com/?m=...

Not all posts are business related but you can learn many practical tricks hard to find in books.

armanboyaci commented on Solving the minimum cut problem for undirected graphs   research.google/blog/solv... · Posted by u/Anon84
ColinWright · a year ago
Unless I'm missing something (which is entirely possible, I have a cold and might not be thinking straight) ...

Max-Flow runs on directed graphs. These are undirected graphs.

armanboyaci · a year ago
You can compute the max-flow of an undirected graph. The edges have capacities and in the undirected case you assume that capacity can be used in both 'directions'.
armanboyaci commented on Pg_vectorize: Vector search and RAG on Postgres   github.com/tembo-io/pg_ve... · Posted by u/samaysharma
throwaway77384 · a year ago
What is RAG in this context? I only know it as red, amber, green...
armanboyaci · a year ago
I found this explanation: https://www.promptingguide.ai/techniques/rag

> General-purpose language models can be fine-tuned to achieve several common tasks such as sentiment analysis and named entity recognition. These tasks generally don't require additional background knowledge.

> For more complex and knowledge-intensive tasks, it's possible to build a language model-based system that accesses external knowledge sources to complete tasks. This enables more factual consistency, improves reliability of the generated responses, and helps to mitigate the problem of "hallucination".

> Meta AI researchers introduced a method called Retrieval Augmented Generation (RAG) to address such knowledge-intensive tasks. RAG combines an information retrieval component with a text generator model. RAG can be fine-tuned and its internal knowledge can be modified in an efficient manner and without needing retraining of the entire model.

armanboyaci commented on In Defense of Simple Architectures (2022)   danluu.com/simple-archite... · Posted by u/Brajeshwar
hiAndrewQuinn · 2 years ago
"Simple" is an interesting term. I've always found it to be very relative to what someone's actual experiences and knowledge bases are.

For example, virtual machines are something I and probably most other people consider "simple". They're pretty much just little computers. For the most part, I can just work with VMs the same way I would work with computers. No sweat.

My DevOps pedigree, however, also means I consider Docker containers and even some light k8s stuff as pretty "simple" - when these two things feel to other people like massive overcomplications.

On the other hand, I'm pretty new to GraphQL, and it feels to me vastly more confusing than good old fashioned REST API endpoints, where I can crack open the code and actually see exactly how that particular endpoint works. I am mostly alone in my org when it comes to this feeling, because I haven't digested the abstractions that make GraphQL work as well.

I don't really have a good answer then for what simple is beyond "I know it (kinda) when I see it".

armanboyaci · 2 years ago
Very good and important observation. In his talk "Simple made easy" [1] Rich Hickey defines simple as opposite of complex and easy as opposite of hard.

The easiness is relative (as you described) and depends on the things you are familiar with. For example, Docker containers and k8s stuff is easy (for you), and GraphQL is hard (for you).

The simplicity should be assessed (somehow) more objectively.

[1] https://www.youtube.com/watch?v=SxdOUGdseq4

u/armanboyaci

KarmaCake day127October 3, 2018View Original