963 karma · joined Nov 24, 2018 (8y ago) · 200 submissions
comment 1w ago · link · parent
Maybe the atomic number correlates to model pricing? Nope! Neon (10) is marketed as cheaper than Carbon (14).
Maybe the atomic number correlates to overall intelligence? Nope! Neon (10) and Carbon (14) are both marketed as smarter than Argon (18).
The only thing I can think of right now is that it's in alphabetical order by release... but in that case why the periodic table?
comment 7mo ago · link · parent
Not even a human would work that way... you wouldn't open 300 different python files and then try to memorize the contents of every single file before writing your first code-change.
Additionally, you're going to have worse performance on longer context sizes anyways, so you should be doing it for reasons other than cost [1].
Things that have helped me manage context sizes (working in both Python and kdb+/q):
- Keep your AGENTS.md small but useful, in it you can give rules like "every time you work on a file in the `combobulator` module, you MUST read the `combobulator/README.md`. And in those README's you point to the other files that are relevant etc. And of course you have Claude write the READMEs for you...
- Don't let logs and other output fill up your context. Tell the agent to redirect logs and then grep over them, or run your scripts with a different loglevel.
- Use tools rather than letting it go wild with `python3 -c`. These little scripts eat context like there's no tomorrow. I've seen the bots write little python scripts that send hundreds of lines of JSON into the context.
- This last tip is more subjective but I think there's value in reviewing and cleaning up the LLM-generated code once it starts looking sloppy (for example seeing lots of repetitive if-then-elses, etc.). In my opinion when you let it start building patches & duct-tape on top of sloppy original code it's like a combinatorial explosion of tokens. I guess this isn't really "vibe" coding per se.
comment 10mo ago · link · parent
And in the Transformer architecture you’re working with embeddings, which are exactly what this article is about, the vector representation of words.
comment 1y ago · link · parent
- Avoid breaking changes
- Keep APIs stable
- Test and document everything, etc.
I personally think there's nothing wrong with that. We wouldn't say that a musician is *obligated* to put out a second album or a remaster. We wouldn't say that an author *must* make a sequel to their popular book. But when it comes to code sometimes we feel like the original author has an obligation to keep working on it just because it would convenience us.
(edited for formatting)
comment 1y ago · link · parent
>One executive in the entertainment industry said younger people were less inclined to go out raving until 6am as they were more health conscious and less frivolous with money than previous generations
This is the same generation that has 12 step skincare routines, eats only organic food, chooses to vape or zyn rather than smoke because of secondhand smoke, everyone has an Apple watch on their wrist tracking calories, etc.
If anything I’m surprised that binge drinking and going out late as survived as long as it has.
And as far as the money comment, this generation is not less frivolous there’s just less money to go around haha.
comment 1y ago · link · parent
Let’s say that you get a positive diagnosis for the disease, and you ask someone the question:
What is the probability you actually have the disease?
Most people will say 95% or 99%, but your actual probability of having the disease in this example is <2%
comment 2y ago · link · parent
maybe some combination of the <noscript> tag and then if so wrapping the buttons in <form> and making the buttons submit those forms?
comment 2y ago · link · parent
For example, when working with arrays of data it certainly is easier to think and write “avg a+b” to add two arrays together and then take the average.
In a non-array programming language you would probably first need to do some bounds checking, then a big for loop, a temporary variable to hold the sum and the count as you loop over the two arrays, etc.
Probably the difference between like 6ish lines of code in some language like C versus the 6 characters above in Q.
But every language has features that help you reason about certain types of problems better. Functional languages with algebraic data types and pattern matching (think OCaml or F#) are nicer than switch statements or big if-else-if statements. Languages with built-in syntactic sugar like async/await are better at dealing with concurrency, etc.
comment 2y ago · link · parent
Capitalism is not perfect, but at least to me this is more of a moral issue than an economic one.
I think your CO2 point is a great example, why would a Communist or Socialist economic system be inherently more eco-friendly than a Capitalist system? You now have a system where there is a government willing to "plan" or "intervene" in certain aspects of the economy, but unless the government actually cares about pollution nothing will happen. You could even theoretically have a centrally-planned economy that WANTS to increase emissions.
The largest polluter in the world is a Communist country, and in the last 30 years their CO2 emissions have sextupled, while the US's emissions per year have remained flat.
Morality != Economics
comment 2y ago · link · parent
I think you touch on something really interesting which is the kink in the kdb+ learning curve when you go from really simple functions,tables, etc. to actually building a performant kdb architecture.
comment 2y ago · link · parent
- charting
- machine learning/statsmodels
- html processing/webscrapes
Because for example you can just open a Jupyter Notebook and do:
import pykx as kx
df = kx.q(“select from foo where bar”)
plt.plot(df[“x”], df[“y”])
It’s truly an incredibly seamless and powerful integration. You get the best of both worlds and it may be the saving feature of the product in the next 10 yearscomment 2y ago · link · parent
It’s legitimately 2 million enslaved Muslims imprisoned, working for $0.
https://selectcommitteeontheccp.house.gov/sites/evo-subsites...
comment 2y ago · link · parent
One potential option but definitely a bit more work would be, once you have all the warc files downloaded, you can open them all in python using the warctools module and maybe beautifulsoup and potentially parse/extract all of the data embedded in the WARC archives into your own "fresh" HTML webserver.
comment 2y ago · link · parent
https://journals.sagepub.com/doi/abs/10.1177/030573561246394...
comment 2y ago · link · parent
It seems like there's an evaluation function but there's no state search / recursive minimax tree for the bot.
I think if we added a 10-ply lookahead minimax algo for the bot here it would be pretty good. [1]
I will probably do it myself if I end up having a bit of free time this weekend.
[1] https://en.wikipedia.org/wiki/Minimax#Minimax_algorithm_with...
comment 3y ago · link · parent
So maybe the company has $100 in profit in 2024, and they have 5 shares, and they pay out all of their profit as $20 dividend per share. And in 2025 you expect them to make $200 in profit, with the same 5 shares, which is $40 per share.
Although that's a theoretical model, and there's many companies that don't pay dividends at all and still command mighty stock prices (e.g. TSLA) this is how real companies are actually valued -- on the expectation of future cash flows, maybe times some multiple.
The reason why revenue is more important than profits for the vast majority of technology / growth-stage companies is that most of these companies are focused on creating double-digit percent revenue growth every single year. Their profits will be 0 or negative because all of the money that they make from selling widgets is getting spent on marketing or hiring new engineers to build more widgets, or building a factory.
But after 5-10 years, this company will have "scaled over" its fixed expenses like rent, they will have huge revenues, they'll have serious market share, and then you can simply slow down / turn off the marketing and other SG&A expenses, and then suddenly you go from being a 0 or negative profit company to a multi-billion $ profit company.
But if you're too focused on clipping coupons and scrounging pennies as a startup founder, you aren't focused on the right aspect: revenue growth.
comment 3y ago · link · parent
What's interesting is that what we as humans consider more natural is actually antithetical to nature, because when the birds see the reflected trees, they can't parse that it's a reflection and fly straight into it -- leading to bird deaths.
comment 3y ago · link · parent
Rolex's own recommended service timeline is every 10 years, so you would actually be told it's obsolete before the first recommended service.