HackerLangs
TopNewTrendsCommentsPastAskShowJobs

drtse4

no profile record

Submissions

LLMs: Using a single Unix-style tool instead of multiple tools/function calling

old.reddit.com
4 points·by drtse4·4 เดือนที่ผ่านมา·0 comments

BashoBot – A Personal AI Assistant Built with Bash

github.com
6 points·by drtse4·5 เดือนที่ผ่านมา·0 comments

comments

drtse4
·3 เดือนที่ผ่านมา·discuss
Earendil is the company, Lefos the first product, an agent that has email as primary interface.
drtse4
·4 เดือนที่ผ่านมา·discuss
If you really want to write really performant java code, the word "spring" should not even be mentioned. Same thing for Jackson, write you own lazy json library if the data is bigger than a few 100k.

The code will not look pretty but it will be very fast.
drtse4
·4 เดือนที่ผ่านมา·discuss
A huge mistake, I've seen a lot of code where clearly the author thought that just adding "synchronized" would have solved any concurrency issue. And no one even talks about how synchronized is implemented, basically a monitor on the object.

The point of view is usually also wrong, they focus on the method call flow while they should think about protecting access to shared data.
drtse4
·4 เดือนที่ผ่านมา·discuss
Yes, but that's not the path that modern frameworks suggest nowadays.
drtse4
·4 เดือนที่ผ่านมา·discuss
0. Fix your algorithms, code optimization comes later

1. Avoid abstraction as much as possible, convoluted flow control and reduce useless objects creation

2. Learn how to manage concurrency correctly, focus on the data being accessed by multiple thread and focus on sequential access

3. Don't use bloated frameworks (all of them)

4. Consider rewriting common libraries following the principles above and with only the functionalities you actually need.

Easy 10x improvement, try it.
drtse4
·8 เดือนที่ผ่านมา·discuss
> Java SE subscribers will receive JDK 8 updates until at least December 2030

Not for clients with a commercial license, and there are many.
drtse4
·8 เดือนที่ผ่านมา·discuss
Sadly it's not maintained anymore and even the intellijidea-derived decompilers are better nowadays (used to be horrible until a few years ago).

In addition to the limitation to classfiles built for Java8, it sadly has a hard time decompiling new language features even if compiled for a Java8 target. And then there is the well known bug that decompiling full jars in bulk does not get you the same output you see in the UI but orders of magnitude worse... jd was great until it lasted, helped me solve a lot of issues with verdors over the years.
drtse4
·7 ปีที่แล้ว·discuss
Finally, and they also allow to specify additional external funding platforms via .yaml file (no more wondering if a patreon account is legit or not).