Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brabel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
841.
▲
by
brabel
1y ago
Yes, that's the whole purpose of marking an interface/class `sealed`.
842.
▲
by
brabel
1y ago
I like it. Much nicer than having to use some python SDK in my opinion. Is this a standalone language or it requires Python or other languages to run it?
843.
▲
by
brabel
1y ago
I appreciate both OCaml and Rust, but your view seems to be entirely wrong to me, sorry to be blunt. People wouldn't care much for Rust at all if it didn't offer two things that are an absolute killer feature (that OCaml does not
844.
▲
by
brabel
1y ago
> ... the trailing lambdas feature. That is definitely directly OCaml inspired... Kotlin has a very similar syntax to Groovy, which already had that feature (it looks identical in Groovy and Kotlin)... and I believe Groovy itself took th
845.
▲
by
brabel
1y ago
O was trying to install Stable Diffusion just yesterday. They use Conda, so I installed it and tried to follow the instructions. First, the yaml file they provided was not valid . Following the commands to install packages explicitly fail
846.
▲
by
brabel
1y ago
They’ve got good jeans! Sorry just joking. They were big proponents of Eugenics before Hitler found out about it. But let’s be honest, a land of blondes is much more likely to be given media attention. Just like a war in Ukraine is a lot mo
847.
▲
by
brabel
1y ago
I have to agree with that as a lead. Most developers claim to be done with a task without taking care of the small details that users will immediately notice. It’s a constant struggle to try to get them to care about what is actually the va
848.
▲
by
brabel
1y ago
What the hell? It was a very interesting post. I hope it gets back, it should be up there.
849.
▲
by
brabel
1y ago
This should be obvious to anyone who has ever developed an AI application. How are these companies deploying LLMs that have access to their full CRM Database and can just email that to anyone who asks nicely?! It truly is the 90's agai
850.
▲
by
brabel
1y ago
Then you need to also provide appropriate metadata and format messages correctly according to the format. Which I believe llama.cpp doesn’t do by default, or it can do it? I had trouble formatting messages correctly using llama.cpp due to p
851.
▲
by
brabel
1y ago
I want to add an inference engine to my product. I was hoping to use ollama because it really helps, I think, make sure you have a model with the right metadata that you can count on working (I've seen that with llama.cpp, it's ea
852.
▲
by
brabel
1y ago
So they only got caught because they were too efficient in their scheme and rose to number 1 in translations. How many more schemes go unnoticed? Not saying Wikipedia is not doing a great job, just saying that there is probably a lot of suc
853.
▲
by
brabel
1y ago
I've written code for a couple of decades. The diagrams in this post are absolutely great. If you're just starting out, try to remember what they say and you'll do really well.
854.
▲
by
brabel
1y ago
How does that compare in terms of usability and completeness?
855.
▲
by
brabel
1y ago
I was on Windows 95 until a few years ago :D. That for me was the cooler one, given the improvements (in visuals at least) over Windows 3.11.
856.
▲
by
brabel
1y ago
https://www.opencode.net/
857.
▲
by
brabel
1y ago
It achieves the same result in practice. The reason Zig needs to return a type is because it lacks a way to represent `T!A` where T is a parameterized type, and A is the parameter. In this case, that would've been better because you wo
858.
▲
by
brabel
1y ago
I completely understand. But I suppose most developers, specially in the USA (where salaries are astronomicals) and even Europe (where I am, most top-of-the-line laptops are affordable to most devs here) it's not a problem, but I too h
859.
▲
by
brabel
1y ago
How much Alphabet makes is almost irrelevant. The incentive here should be for security researchers. As long as there's enough incentive for security researchers to continue to report the bugs they find (which must be balanced against
860.
▲
by
brabel
1y ago
Normally, the IDE is open at all times when you're coding. But if you don't code all the time, I can see how you may prefer to avoid IntelliJ and I would also do that if I was just searching for strings.
861.
▲
by
brabel
1y ago
I know how Zig works. `type` is some type the function will return, you must look at the implementation to know what actually got returned, given the comptime arguments given to it by the caller (as I already mentioned). Where is the misund
862.
▲
by
brabel
1y ago
Yes, but how is that equivalent? Zig: const std = @import("std"); pub fn main() !void { // std is like a namespace here std.debug.print("Hello, World!\n", .{}); } D: import st
863.
▲
by
brabel
1y ago
The only way to have any idea of how long a language might be still around is to look at how long it's been already around. From this perspective , you can only use older languages. The benchmarks show that Lua (and the Luau and Lua+JI
864.
▲
by
brabel
1y ago
> Instead you execute an ripgrep command with filter directories (or load alias/from history), pipe to neovim Talk about moving the goal posts.
865.
▲
by
brabel
1y ago
The Zig code returns any `type`, it's impossible to say what that is without looking at the implementation. It can be different types completely depending on the comptime arguments. But I agree it probably returns a struct type. Assumi
866.
▲
by
brabel
1y ago
You can see it that way, but you need to understand that if what you want from the Userinfo endpoint is to obtain claims about the subject... and to do that, you need to require scopes that map to claims (the openid scope does not map any c
867.
▲
by
brabel
1y ago
> On large projects its still cheaper and faster to grep from the CLI than to use Intellij IDE search. Esp if you wish to restrict search to subsets of dirs. You must never have used Intellij to say that... it hurts me to hear this. If I
868.
▲
by
brabel
1y ago
No, it's an s-expression... it may be a function call, but it may also be a macro, and inside a macro it may be a parameter list or a number of other things.
869.
▲
by
brabel
1y ago
I always thought that languages (or at least editors) should allow the user to use whatever syntax they want! It's possible. Just look at Kotlin and Java... you can write the exact same code in both, even if you discount the actual dif
870.
▲
by
brabel
1y ago
If you like C-like syntax and want a functional language that uses it, try Gleam: https://gleam.run/ Quite lovely looking code. fn spawn_greeter(i: Int) { process.spawn(fn() { let n = int.to_string(i)
More ›