Hacker Newsnew | past | comments | ask | show | jobs | submit | raidicy's commentslogin

Based off the gp's comment, I'm going to try building my own with pocket flow and ollama.


I would enjoy a big list, of no more than 100 pages, of books that are around hundred pages.


But don’t dare try to sneak any 100-page-or-less books in there about yet more 100-page-or-so books


I don't claim to have any experience with symbolism.

With that particular Pokemon, that is pictured at the end of the text, there are a few battle strategies. One that is very well suited is one in which it uses status effects to paralyze and poison the opponent while healing itself.[0]

[0] https://bulbapedia.bulbagarden.net/wiki/Breloom_(Pok%C3%A9mo...


Are there any insights that you can give based off the info you've learned about quantum computation that you might not have been able to reach if you hadn't learned about it?

From my __very__ shallow understanding, because all of the efficiency increases are in very specific areas, it might not be useful for the average computer science interested individual?


Nearly all of quantum computation is theoretical algorithms and the hard engineering problems haven't been solved. Most of the math though has a large amount of overlap of AI / ML and all of deep learning to the point that Quantum computers could be used as "ML accelerators" by using algorithms (this is called Quantum Machine learning) [1]. Quantum computing could be learned with a limited understanding of Quantum theory unless you are trying to engineer the hardware.

https://en.wikipedia.org/wiki/Quantum_machine_learning


Possibly of interest, but I wrote a (hopefully approachable) report on quantum perceptrons a few years back [1]. Perhaps it's found elsewhere, but I was surprised by how, at least in this quantum algo's case, the basis of training was game theoretic not gradient descent!

[1] - https://kvathupo.github.io/cs/quantum/457_Final_Report.pdf


I'm currently reading "Calling Bullshit - The art of skepticism in a data driven world" by Carl T Bergstrom and Jevin D West.

Harry Frankfurt is mentioned in the preface of this book. And "On Bullshit" will probably be my next book I read on the subject.

Thanks for the share.


Its remarkably non-obvious from the online catalog book cover picture, but the Frankfurt book is among the smallest and shortest I have ever read. Note the book dimensions and page count. You will find it a quick read.

It'd be interesting to reread in light of LLM developments and hallucinations, but being written by a philosopher the book is is more of a nice timeless lens to apply to whatever sort of BS that concerns you.

I'd also like to reread it in light of what I've learned about narcissism since I last read it.


Its not really a book - its just an essay published in 20-page book format.

Here it is for free https://archive.org/details/on-bullshit-by-harry-frankfurt


Thanks for the information. I was aware it was originally an essay that was compiled into a book. And now that I know it's pretty light I'm even more motivated to read it.

In relation to your LLM comment, I was on the Wikipedia page for Frankfurt's Book and there is a specific mention of Bullshit of the LLM variety:

>Frankfurt's concept of bullshit has been taken up as a description of the behavior of large language model (LLM)-based chatbots, as being more accurate than "hallucination" or "confabulation". The uncritical use of LLM output is sometimes called botshit.[0] (at the bottom of the section)

This might be slightly tertiary but my interest in this subject has also led me to 'The art of being right' by Arthur Schopenhauer.[1] Which doesn't explicitly state that it's bullshit but it is rhetorical sophistry dedicated to winning arguments and debates. And many of the tactics in the book smell just as bad as any Bullshit. There's some modern reprints floating around and it's also a pretty light book.

[0]https://en.wikipedia.org/wiki/On_Bullshit#Reception_and_crit...

[1]https://en.wikipedia.org/wiki/The_Art_of_Being_Right


I have returned back to this website to try and get the files and they have now been put under restrictive access for some reason.


I use this prompt with chat GPT and A plug in that will do text to speech. I find just having some suggestions allow me to help formulate my own response. I use Windows 11 built in speech to text and verbally speak the options so it helps reinforce patterns for the language.

prompt: I need you to simulate a Japanese conversation in a normal setting where you play the ai and I'll be the player. The player is given three options to respond in Japanese. The player may enter the number of the response or enter their own response and the ai will respond to that. If you understand give me a brief greating in Japanese AND the players first turn

> ChatGPT said: > ChatGPT > わかりました!こんにちは、元気ですか?今日はどうでしたか?

> Player's first turn options:

> 1 はい、元気です!今日は忙しかったけど楽しかったです。 > 2 あまり元気じゃないです、ちょっと疲れました。 > 3 今日はとてもいい天気ですね! > ...

You can tweak the prompt to include any of the specifications that you listed in your post. There just might be some trial and error. I think there are some paid platforms on the Android,but this is what works for me.


When you click on a link and there's nothing in the category it looks like the app breaks. Maybe letting a user know something is empty or a placeholder card would be nice. I realize that once you have enough links they won't be required though.

cheers


Slightly off topic but does anybody have any resources for learning linear programming for business applications?


I'd recommend getting the 9th or 10th edition of Introduction to Operations Research by Hillier and Lieberman. 9th: https://www.amazon.com/dp/0077298349 You can search for the 10th edition. Both are available used for less than 50 USD in good condition. The book covers a lot more than linear programming. A solution manual for both editions can be found on the internet.

A good "free-pdf" optimization book, to support the above is, Algorithms for Optimization by Kochenderfer & Wheeler ( https://algorithmsbook.com/optimization/ ). It has a chapter on constrained linear optimization with Julia code and is a good secondary resource. Kochenderfer, Wheeler, and colleagues also have two other free optimization books that are a little more advanced. It is exceptionally cool that they make the high quality PDF freely available; more authors in the technical space are making their books freely available as pdf and I applaud them for it.



I'd say to be wary of sharing links to full textbooks unless you are really sure it's posted by the copyright owner. The authors could be best friends with the webmaster and allowed them to post it on their website, but the problem is with the publisher who may not have given consent.


I assume you believe Sci-Hub should be shut down.

https://litfl.com/sci-hub-pirate-paper-portal/


What do people on here use this stuff for? Are you building out large IT infrastructures? Sorry, this is all very new stuff to me.


In my work, I use Gurobi and other proprietary/free solvers to optimize some objectives big banks care about. It's not uncommon to use solvers in finance to optimize some metrics of a portfolio. A lot of people I have met in conferences optimize their supply chains (think things like: find the best pattern to draw the various pieces of my table in these planks of wood such that it minimizes wastes, find the best route to deliver my 100 packages...)


Right, the LEAN/TPS application is readily apparent for assembling physical goods.

But do people use it say for large scale software which needs to be tested, certified, translated, deployed, etc? I can imagine such orchestration but I've never seen it professionally. Maybe I just haven't worked at the proper companies


initial margin?


SIMM but also SA-CCR, VaR etc


LPs (and MIPs) are used for scheduling, planning, and logistics. These are some of the earliest applications of LPs, dating to the 1930's and 1940's, and these applications are still relevant. The wikipedia page has a good overview of the history and utility of linear programming. https://en.wikipedia.org/wiki/Linear_programming


Yes, I took a math course on it way back in college but I haven't ever considered using it professionally. Heck in college I did it by hand.

I've never had to say, help design a $100 million server farm. I've had a desire recently to strive to be that level of professional.

My question was more about in the hn world where is this stuff used


That's a clarifying response: I've applied (non)convex programming (LP, QP, MIP, etc) to all the above and a few more, all of which i'd classify as classical applications. Less traditional applications -- I'd like to explore these more --- include data envelopment analysis, which provides a framework for assessing the efficiency of processes based on 1 or more input metrics, and several ideas in papers published at NeurIPS and other conferences that integrate LPs into neural networks in various ways, including AUC maximization. I've also worked on first order methods to solve LPs, and while I'd like to continue in that direction, the area is very crowded with very good existing tools, new and emerging tools that are also often good, and very strong teams building on all of the above. One of the biggest challenges that I see in the OR space is that it requires human expertise to leverage the technology.


In a professional context, I use it to help a client (chemicals company) optimize their deliveries to customers. They have > 100 production sites and thousands of customers, so LP is used to allocate customers to production sites based on the product-cost and availability at supply site and trucking costs. We have evaluated multiple solvers (Gurobi/ Llamasoft/ GAMS/ LocalSolver etc) for optimizing deliveries, as well as evaluating the cost impact of changes to the delivery network.


if you have a license for a good fast solver already for some reason, it can be very effective to reduce some NP-hard problems to integer programming.

also, one interesting application related to data science is to embed a machine learning model (usually regression, maybe decision tree or neural network) inside the integer program, and then maximize over its inputs. this can let you characterize worst-case behavior, or answer questions like "how must a user change their features to flip the prediction?".

solvers are so expensive that MIPs will probably never become part of mainstream data science, but they can be very powerful beyond classic OR problems.


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.


GAMS is such a wild language/environment.

I don’t know of anything better, but I’m currently reliving nightmares from my Masters


JuMP is comparably good I think. People reasonably don’t want to add a new language to their stack. But if you’re just formulating MPs it’s as nice as anything, free, and you have a well designed modern programming language if you need it.


I add my +1 to this. I often come across this blog posts while working as a OR professional.


I really wish I could find solid websites/blogs/resources for operations research, mathematical planning, linear programming, etc aimed at regular software engineers. I feel like a lot of the really crazy parts of codebases often derive from inexperience with these kinds of tools.


I write blog posts about constraint programming from time to time. I always include a step-by-step description of the model, which makes it fairly easy to understand. Hopefully this can be of help for you: https://pedtsr.ca


Have you seen http://www.hakank.org/ ? Mostly about constraint programming, but definitely in the realm of operations research.


I've stumbled across it a few times way back when I was looking at MRP stuff for an ERP I worked on. I remember it being a rare gem of a website. I'd throw away 99% of web pages if the ones remaining were all like this one. Thanks for the reminder!


Largest applications may well be in power systems (economic dispatch, unit commitment), material requirements planning, transportation networks, but linear programming can also be used to fit functions, think constrained regression with L1 loss.


The "Model Building in Mathematical Programming" book by Williams is unique in that it talks about how to formulate LP and MILP problems, rather than focusing on the algorithm side of how the simplex algorithm works. That's nice to know, but not really necessary. You really need to get some intuition on thinking about objectives and constraints.

https://www.wiley.com/en-us/Model+Building+in+Mathematical+P...


Applied Mathematical Programming https://web.mit.edu/15.053/www/AMP.htm


I second this blog. The comparison of (10 different!) MIP modeling techniques for piecewise linear functions is more complete than any I’ve seen.


You could just grab or-tools and work through their example problems, then extend it to something in your area of interest. The Python APIs are easy to experiment with.


If you can get your hands on informs publications.

https://www.informs.org/Publications


https://a.co/d/cpmi8dO was a fun book to me.


Can we post clean and direct links to resources here, instead of those obscure links with hidden tracking?


My apologies on that. Oddly, this is why I don't typically post from my phone, as it is far easier for me to get the clean link that way.

Clean link: https://www.amazon.com/dp/1107658799

Book title: A Gentle Introduction to Optimization by by B. Guenin (Author), J. Könemann (Author), L. Tunçel (Author)


the Mosek Modeling Cookbook is really good for seeing the "tricks" of how to reformulate things as convex programs.

https://docs.mosek.com/modeling-cookbook/index.html

Not for total beginners though but great 201 level resource.


Isnt this something that could be useful for consulting? I’ve occasionally considered trying to help businesses model MILPs to help solve their problems, but its so specialist that finding good matches is like the actual problem. I wonder how specialists like milp experts find clients.


We needed to get a project based off of ORTools, that some consultants had left us, working and expanded.

After mocking about for a while getting nowhere, we took the optimization course on coursera from Melbourne University and were quite happy with how it helped us move along.


I hate having my hopes played with. To say that I'm skeptical is an understatement.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: