Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
usrbinbash
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
91.
▲
by
usrbinbash
1y ago
> Why does the U.S. always run a trade deficit? For the same reason why I run a trade deficit with my barber and my grocery store.
92.
▲
by
usrbinbash
1y ago
> But agenty LLM configurations aren't just the LLM; they're also code that structures the LLM interactions. When the LLM behind a coding agent hallucinates a function, the program doesn't compile, the agent notices it, an
93.
▲
by
usrbinbash
1y ago
> Care to provide an example of sorts? For example, recently I needed to revise some code I wrote a few years back, re-implementing a caching mechanism to make it work across networked instances of the same software. I had a rough idea h
94.
▲
by
usrbinbash
1y ago
Okay...given that a SWE job is literally "take problem description, figure out way to solve problem in software", what part about this is "alien" exactly? And yes, there already are solutions to many common problems. The
95.
▲
by
usrbinbash
1y ago
> You need to line up the breadcrumbs right. And in the time I line up the breadcrumbs to help this thing to emulate an actual thought process, I would probably alrady have finshed doing it myself, especially since I speed up the typing-
96.
▲
by
usrbinbash
1y ago
> Luddism is a strange philosophy for a software engineer. Luddism and critically evaluating the net benefit and cost of a piece of tech, are 2 very different things. And the latter is not strange for a SWE at all, in fact I'd say i
97.
▲
by
usrbinbash
1y ago
Here is how I use it: As a writing assistant that lives in my IDE, and as a very very cool and sophisticated rubber duck that can answer me. Something I do quite a lot is throwing back and forth a discussion over a particular piece of code,
98.
▲
by
usrbinbash
1y ago
> It does not. Yes it does. I am the one controlling robots.txt on my server. I can put whatever user agent I want into my robots.txt, and I can block as much of my page as I want to it. People can argue semantics as much as they want...
99.
▲
by
usrbinbash
1y ago
> Absolutely nothing has to obey robots.txt And absolutely no one needs to reply to every random request from an unknown source. robots.txt is the POLITE way of telling a crawler, or other automated system, to get lost. And as is so of
100.
▲
by
usrbinbash
1y ago
That's not how many of these services work though. The websearch and subsequent analysis of the results by an LLM are done from the servers of whoever supplies the solution.
101.
▲
by
usrbinbash
1y ago
> This isn't a vacuum charged with crawling the web, it's an adhoc GET request. Doesn't matter. The robots-exclusion-standard is not just about webcrawlers. A `robots.txt` can list arbitrary UserAgents. Of course, an AI wi
102.
▲
by
usrbinbash
1y ago
Theoretically yes, practically not really (any more). NVMe cards are fast enough that a single core traversing the file system can actually be a chokepoint, so parallelisation helps a lot here. I also should have made it clear that my comme
103.
▲
by
usrbinbash
1y ago
There are many completely unnecessary "reworks" of classic UNIX stdutils that add very little to no value, and instead pitch themselves purely on "written in {lang-the-dev-likes}" or being "blazing fast" or som
104.
▲
by
usrbinbash
2y ago
> Your blend of comment was also directed at the likes of Google and StackOverflow. No, it wasn't. What such comments were directed at, and with good reason, where 'SO-"Coders"', aka. people when faced with any p
105.
▲
by
usrbinbash
2y ago
As I have said before, the fact that it is used, doesn't validate the usage. Yes, Go has recover. Yes, the stdlib uses it here and there. Does any of that change the semantics of what a panic means, and how applications should therefor
106.
▲
by
usrbinbash
2y ago
No it isn't. Semantics matter, and using something against the defined semantics of the language is a huge code smell. For example, I could ignore the fact that Python has exceptions, and instead let functions return error values. Woul
107.
▲
by
usrbinbash
2y ago
> Can you explain why? Because that is semantically what a panic means in Go. See the link to effective go I posted you elsewhere in this thread. I am well aware that it can be used in other ways. Same as I can say "car" when t
108.
▲
by
usrbinbash
2y ago
As another user has already mentioned, deferred functions run even when a panic unwinds the stack. And semantically, a panic doesn't even need an orderly shutdown. Again: A panic should ONLY be issued if the application enters a stat
109.
▲
by
usrbinbash
2y ago
> I also like how golang docs literally describe using panics as poor man's exceptions: And I like how https://github.com/golang/go/issues/26799 describes that use of panic in the original version of
110.
▲
by
usrbinbash
2y ago
> You can treat panics as a big deal, and not necessarily kill the whole program. It's not mutually exclusive. Yes it is mutually exclusive. Something that doesn't kill the program, aka a recoverable ERROR CONDITION should no
111.
▲
by
usrbinbash
2y ago
> You're conflating unnecessary panics, with how to handle panics. I don't think so. If I have to handle a panic, because otherwise my program no longer works, one of 2 things is true in the vast majority of cases: - There is s
112.
▲
by
usrbinbash
2y ago
> if a request / task panics ...and the condition why it panics is not a situation that warrants a crash, then whatever is called upon handling that request is issueing a panic when it shouldn't. The reason why some libs do tha
113.
▲
by
usrbinbash
2y ago
> Your list of additional parameters if anything supports that rather than arguing against it. > perhaps you're trying to say that billions is obviously far too small, in which case I agree. No, it doesn't, and I don't.
114.
▲
by
usrbinbash
2y ago
> and they do an orderly shutdown. Or they should Which is exactly what panic does.
115.
▲
by
usrbinbash
2y ago
> In most software there's no such thing as unrecoverable panic Webserver wants to start, binding port 443/80 isn't possible because another process holds that port. Logging service wants to write to disk. The IO operation
116.
▲
by
usrbinbash
2y ago
> I thought that's why it's called "panic". And you are exactly right. The problem is: People are so used to the "exceptions" paradigm from other languages, when they see "panic-recover" many imme
117.
▲
by
usrbinbash
2y ago
> On the contrary, we have 86B neurons in the brain The neurons (cells) in even a fruit flies brain are orders of magnitude more complex than the "neurons" (theoretical concept) in a neural net. > the weighting of the connec
118.
▲
by
usrbinbash
2y ago
> Get an old used Thinkpad. Put Linux or one of the BSDs on it. Use low-resource options: LDXE, i3wm. And then people use this upcycled, environmentally friendly option to connect to social media, their music provider, 2-3 streaming serv
119.
▲
by
usrbinbash
2y ago
> the point being jj is much much much much better than Git. And I'll happily repeat: By what metric is it "better"? So far, I have heard your opinion, not metrics.
120.
▲
by
usrbinbash
2y ago
> Just because you don't like it Read my post again. Sympathy or lack thereof don't factor into this equation. This is about battle-testedness and features. I don't make technical decisions based on emotions.
More ›