Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
foooobaba
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
foooobaba
4y ago
But yes, if you ask OpenAI to predict next set of tokens (which is how chat works), it won’t be up to date with latest information. But if you’re using it for embeddings this is less of a problem since language itself doesn’t evolve as quic
32.
▲
by
foooobaba
4y ago
You don’t need to know the target queries, if you compute embeddings of your entries and your query you just find which embeddings are closest to your query embedding. The advantage over using synonyms is that the embedding is meant to enco
33.
▲
by
foooobaba
4y ago
One strategy commonly used: 1. Create embeddings of your db entries by running through a nn in inference mode, save in a database in vector format. 2. Convert your query to an embedding by running it through a neural network in inference mo
34.
▲
by
foooobaba
4y ago
Nah pry not, since search results are ranked by ads, same thing just in a chat based format.
35.
▲
by
foooobaba
4y ago
User: What should I be doing today? AI: You have a court appearance today, I have booked a route for you on google maps. Next buy a gift for your mum’s birthday, here are some recommendations sorted by ad spend spend. For your travel, I rec
36.
▲
by
foooobaba
4y ago
Jeremy Fielding, mechanical engineering: https://m.youtube.com/channel/UC_SLthyNX_ivd-dmsFgmJVg Some highlights are his c&c machines he built and a robotic industrial arm he built. Also covers things like electrica
37.
▲
by
foooobaba
4y ago
+1 very easy to follow too.
38.
▲
by
foooobaba
4y ago
Oh cool, thanks for sharing that.
39.
▲
by
foooobaba
4y ago
We use plantuml all the time for sequence diagrams, we check the code into git and use the generated images in the documentation, then the readme.md provides detailed doc of our subsystems, plus people can comment on exact lines of code in
40.
▲
by
foooobaba
4y ago
Well, it isn’t easy and there is no silver bullet. In practice must use your engineering judgment and THINK about these tradeoffs for every problem you encounter. That being said, there are some principles you can think about to help you ge
41.
▲
by
foooobaba
4y ago
This has nothing to do with ASLR and stack canaries.. Log4jshell wasn’t a buffer overflow exploit, it was the result of yet another dumb idea, adding remote jndi loading capability into the logging framework. You can assume any input to you
42.
▲
by
foooobaba
4y ago
With respect to this example, I think he is saying it would be better if we were using memory safe languages, rather than trying to come up with these sorts of mitigations (which is enumerating the bad). Of course it’s probably not possible
43.
▲
by
foooobaba
4y ago
Sort of related but an interesting idea is take it one step further with the Feature Oriented Active Modeler (FOAM) [1,2] paradigm and use code to model your whole system, which generates diagrams model, and runnable code in whatever langua
44.
▲
by
foooobaba
4y ago
Regarding France, actually they play this game too. Check out the West/Central African CFA franc [2]. These currencies are pegged to 1/100 French franc, which currently about 1/656 euros. Many former French colonies are requi
45.
▲
by
foooobaba
4y ago
Came here to also say this, amazing book. There are also lectures on YouTube from the author.
46.
▲
by
foooobaba
4y ago
Yeah, I agree, I looked into this before, and the pay doesn’t come close to other swe jobs, as far as I have seen whenever I look. It is usually like 2x less, it’s hard to want to choose that just to work on something a bit more interesting
47.
▲
by
foooobaba
4y ago
Similar to that one, he also teaches a more recent course geared for applications of linear algebra: Matrix Methods In Data Analysis, Signal Processing, And Machine Learning https://ocw.mit.edu/courses/18-065-matrix-met
48.
▲
by
foooobaba
4y ago
+1 his videos are great.
49.
▲
by
foooobaba
4y ago
Thanks for sharing, I’ll have to check these out.
50.
▲
by
foooobaba
4y ago
Me too! This book has a special place in my heart since it’s the first time I actually understood programming. When I was 13 my goal for the summer was to learn to code. I was struggling hard to understand javascript after learning html, bu
51.
▲
by
foooobaba
4y ago
You might also find it interesting to implement a CPU on an fpga, a double win if you’ve never programmed an fpga before. For me it helped soldify exactly how a basic cpu works. In uni we had to do this for MIPS architecture with 5 state pi
52.
▲
by
foooobaba
4y ago
3blue1brown linear algebra + the linear algebra chapter from “all the math you missed but need to know for graduate school” - linear algebra and abstract vector spaces in general finally feel familiar. Also, timbuktu manuscripts - showed a
53.
▲
by
foooobaba
4y ago
I’ll pick up the pen and give it a go. I argue that lack of understanding and communication is why there is even a war. The war only benefits a small amount of people, the various authorities of NATO and Russian authorities depending who wi
54.
▲
by
foooobaba
4y ago
This is the truth. We should look out for each other, and try to build one another up. Instead of exploiting and taking from each other to achieve security, let’s understand and help one another so we can live in peace and balance with ours
55.
▲
by
foooobaba
4y ago
The basic reason this happens is fear, which is natural. Fear that by revealing a weakness, something bad can happen, or we may need to change in a way we are not sure is possible, both of which may or may not be the case. However, you shou
56.
▲
by
foooobaba
4y ago
Programs/functions like left-pad do not follow the unix philosophy (which the author did say). The idea of the unix philosophy is to write less programs. Not write a ton of tiny programs, but a small number of composable programs. So i
57.
▲
by
foooobaba
4y ago
I didn’t realize it was possible to do this without a PhD. I want to do research, I’m working as SWE at a startup and finishing MS now, but it is online without advisor or anything. If that’s possible, that’s awesome, how does that work, li
58.
▲
by
foooobaba
4y ago
He talks about sort of observing the pain, and doing breathing exercises, which I guess sometimes I would do to, maybe it is some way to isolate the pain from other senses, then when you feel it, you can sort of categorize those senses away
59.
▲
by
foooobaba
4y ago
When I was growing up I was was frequently subjugated to violence on a daily basis, over time I learned to zone out of reality, and remind myself that the bruising and cuts would heal and after some time (probably before I reached kinderg
60.
▲
by
foooobaba
4y ago
True, that’s another good point.
More ›