Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cube2222
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
51 ms
·
751.
▲
by
cube2222
4y ago
I think the presence of multiple return values and the ability to easily use complex types for errors make a huge difference (adding wrapping messages, context, etc.). I agree algebraic data types could improve this. I don't think mon
752.
▲
by
cube2222
4y ago
That's a matter of opinion. Many, me included, very much like the current, very explicit, approach. I understand why people who like monadic constructs don't like it though.
753.
▲
by
cube2222
4y ago
And not just goroutines. The whole Go runtime is basically what Loom aspires to be. All functions async by default and preemptible. Writing code that looks like it's blocking but is in fact async. "Await" as the default actio
754.
▲
by
cube2222
4y ago
I agree it's fine to have different taste, as I mentioned in another reply to you. But it's the difference between whether this statement is objective, or subjective. > is the best concurrency library on any platform
755.
▲
by
cube2222
4y ago
I know you can do it, the question is whether it's mainstream to do it, or whether in practice you end up with a single one in 95% of the cases. Based on using it a bit and talking to many, more or less disillusioned, scala developers,
756.
▲
by
cube2222
4y ago
The fact that the compiler doesn't cover that automatically doesn't mean Go fails at it, as it has very good primitives for handling them. Error handling and deferring for resource closure work just fine. Sure you could say "
757.
▲
by
cube2222
4y ago
It's not just context. It's also asynchronicity and error handling for example. The semicolon semantic is how operations separated by semicolons (or newlines) are evaluated and how they impact the general state the program is in.
758.
▲
by
cube2222
4y ago
This is actually trivial in Go as well, with a context (cancellation) and a WaitGroup or channel (waiting for the first one to finish).
759.
▲
by
cube2222
4y ago
> Because different projects will want different monads It doesn't look like that to me, based on how the ecosystem currently converges on a single one. I understand there may be some projects that do that, but if the majority conve
760.
▲
by
cube2222
4y ago
I think one more problem with Scala, apart from the lack of stability and having to solve the language's problems instead of your application ones, is one of local maxima. Most of the ecosystem uses monads. And the way most projects en
761.
▲
by
cube2222
4y ago
I agree. I'm not necessarily a fan of OpenTelemetry, as every time I looked at it it was still "in progress" (though the last time was almost 2 years ago), but in general I agree. We started with tracing+logging, but as time
762.
▲
by
cube2222
4y ago
Obsidian and Bear are both nice, with Obsidian operating on plain text files and Bear being able to export to such.
763.
▲
by
cube2222
4y ago
Yeah. I remember my reason for switching to AirPods Max. My Sony xm3 kept connecting to the laptop in my backpack - which was asleep - when I was getting on my bike. I had to unpair my phone and re-pair it to force it to "own" th
764.
▲
by
cube2222
4y ago
In my usage Colab and Colab Pro were similar, with plain Colab occasionally OOMing during model loading. That said I've actually been seeing times slower than yours on Colab and I think they're slower than on my RTX 3080. ~15 secs
765.
▲
by
cube2222
4y ago
In contrast, I prefer the current world. Usually, when I unexpectedly need some cable for some device (and i.e. have to borrow it) it's for charging. And so far every time the cable + charger worked for what I needed to charge. Data- a
766.
▲
by
cube2222
4y ago
For those without a GPU / not a powerful enough one / wanting to use SD on the go, you can start the hlky stable diffusion webui (yes, web ui) in Google Colab with this notebook[0]. It's simple and it works, using colab for
767.
▲
by
cube2222
4y ago
The whole ecosystem around Talon[0] is fantastic. You'll probably want to start with [1] if it's your first time, it's a community-maintained talon config which is a good starting point for customization. The speech recogniti
768.
▲
by
cube2222
4y ago
Re 4 the lstein repo gives you an interactive repl, so you don't have to reload the model on every prompt. I also have a 3080 and as far as I remember (not at my pc right now) it was 3-10 secs for img2img 512px cfg13 50 steps batch siz
769.
▲
by
cube2222
4y ago
Spacelift | Remote | Europe | Full-time | Senior Software Engineer We're a VC-funded startup building an automation platform for Infrastructure-as-Code, adding a Policy-as-Code layer above it, in order to make IaC usable in bigger comp
770.
▲
by
cube2222
4y ago
Actually, I think matching you against equal players would be much better in such a situation, but you should gain much more visible elo for wins than you lose for losses (thus going up even with a 50% win rate).
771.
▲
by
cube2222
4y ago
Setting a high cfg parameter, like 13, drastically helps with the prompt following. That said, for me, I agree that dalle does much better pencil sketches.
772.
▲
by
cube2222
4y ago
I've used [0], [1] and [2] so far. I only use open-source ones and quickly skim the source code for anything suspicious. I also only use ones with some degree of popularity, meaning that others have probably taken a look at the code as
773.
▲
by
cube2222
4y ago
If you're having a bad time with TFC/TFE, make sure to check out Spacelift[0]. We're striving to build a product that's both highly customizable and has a good UX, improving on many of the pain points. The migration pat
774.
▲
by
cube2222
4y ago
It's probably worth adding that this is no longer the case. Live in Poland, muggings aren't really a thing, and according to the "what worries the world" monthly polls of ipsos[0], poles are the nation that least worries
775.
▲
by
cube2222
4y ago
Sure, why not. Here's the before[0], and here's the after[1]. And an example of a step in-between: The base was [2] which I changed into [3]. That was I think the last step before the final generation. It's not great by any m
776.
▲
by
cube2222
4y ago
I went through this process yesterday, trying to create a city on a floating island in the sky, and it's so fun . Basically, drawing sketches, editing (rudimentaly) in image editing software, img2img, edit, img2img, and a few more rou
777.
▲
by
cube2222
4y ago
RTX 3080 (10GB) here Keep in mind to have the batch-size low (equal to 1, probably), that was my main issue when I first installed this. Then, there's lot's of great forks already which add an interactive repl or web ui [0][1]. Th
778.
▲
by
cube2222
4y ago
It's impressive how all of this is quickly picking up steam thanks to the Stable Diffusion model being open source with pertained weights available. It's like every week there's another breakthrough or two. I think the main i
779.
▲
by
cube2222
4y ago
That's funny, for me dalle2 is in practice miles ahead on pencil sketches, but stable diffusion is cool because the parameters can be customized, which helps with many phrases. Also, you can just leave it running and producing images f
780.
▲
by
cube2222
4y ago
I agree. I think the problem is companies that try to do a hybrid model, and end up using tools and workflows optimized for on-site work, which makes the remote experience very subpar and clunky. In a remote-first company, everything (tools
More ›