News for hackers. Stuff that matters.

donut2d

Re:SQL and NoSQL database query co-pilot on Friday February 03, 2023 @06:10PM (#34649152)
This looks great. I'll have to play around with it.

For once, I'd love to have a nice UI around this so I don't need to search docs, google mongo syntax, check the schema, and edit the code in different spots

Wonder if it can it write data pipelines with unit/regression testing and model the data for decision making. Probably not but one day it might. Generally I see tools like these as potential supplements for what my team does, not replacements.

Re:Tesla Model Y is now the best-selling car in all of Europe on Thursday December 29, 2022 @12:54PM (#34175569)
"not just for electric vehicles, but all cars" -- this is good news for the planet, regardless of what you think of $TESLA.
Re:Diffusion Bee: Stable Diffusion GUI App for M1 Mac on Sunday September 11, 2022 @09:46PM (#32805046)
12.5.1 is the latest, non-beta release. That's still Monterey. Ventura will be 13.x.
Re:OCaml at First Glance on Monday August 29, 2022 @11:42AM (#32639570)
You can actually compile ReasonML to native code with dune.

What are some of the things that weird you out about OCaml's syntax?

Note that this doesn't mean you can start eating chocolate with 30% simple sugars. Just cocoa with hot water, no sugar. Maybe a bit of milk, but not much since it has simple sugars as well.
Re:Argo CD goes mainstream with hosted version on Thursday July 28, 2022 @12:10PM (#32266303)
Argo CD is one of those tools you use that you can't imagine living without.
Re:AlphaFold reveals the structure of the protein universe on Thursday July 28, 2022 @12:09PM (#32266290)
A fun way I've been thinking about all this is what nanotech/nanobots are actually going to look like. Tiny little protein machines doing what they've been doing since the dawn of life. We now have a library of components, and as we start figuring out what they can do, and how to stack them, we can start building truly complex machinery for whatever crazy tasks we can imagine. The impact goes so far beyond drugs and treatments.
This no longer seems to be the case. I've always found it easy to tell it what format a cell is.
Re:Mac Studio M1 Ultra Teardown [video] on Monday March 21, 2022 @12:09PM (#30755749)
So I had a thermal problem with my 2018 15" i7 MBP that sounds very similar to what you describe. Temps hit 60° and then get heavily throttled. It started happening after a repair to the keyboard. After dealing with that for 6 months I brought it in to Apple and they fixed the issue by replacing the mainboard, I think. Since it's very rare I see throttling for my use cases (compiling, some gaming).
Last year all of my photos and presets had disappeared after updating the Lightroom app. That was 2+ years of edits that are just gone, lost, unrecoverable.

I do photography as a hobby so I never saw a need for backing up photos and I never paid for the subscription (which would include cloud storage) because I didn’t use any of the tools that came along with the subscription.

https://playoverload.com

It's basically Descent. It's created by some of the original Descent devs.

Re:SQL Query Optimization: Understanding Key Principle on Monday May 31, 2021 @01:18PM (#27346226)
Very cool, thanks.

I totally agree with the fact that understanding the problem of slow application is a first what you need to do.

Facebook uses location data to learn where you live and where you go. For some, this location-based targeting might be fine since it serves them relevant ads.

Thanks, I hate it.

TypeScript support
Re:Benzene detected in hand sanitizers on Wednesday March 31, 2021 @01:36PM (#26650305)
Do you know what works great as hand sanitizer? Rubbing alcohol - no scent, no additives, no gummy weirdness, and cheaper.
Between Macs with macOS, this usually works fine (except with older hardware that is not supported by the OS on the external drive). Can't say for Windows.
Re:Thinking about software engineering on Friday January 29, 2021 @11:01AM (#25958657)
OCaml seems like it hits all of those well.
I wonder how they will deal with people such as myself who use Whattsapp but do not have a Facebook account.
The most common emotions were "joy (65%), trust (63%), surprise (61%), love (59%), kindness (56%), friendship (48%), and fear (41%) during the encounter experience, with smaller proportions reporting emotions such as sadness (13%), distrust (10%), disgust (4%), or anger (3%)." Interestingly, 58 percent of respondents said the being also had an emotional response, almost always a positive one.

Wow!

Re:BuckleScript Is Rebranding on Friday August 14, 2020 @11:44AM (#24159404)
Yeah! I'll code for days without running the app. In OCaml, it's as you say, mostly correct when I actually get around to running it. With PHP/JS, I still have a lot of work ahead of me. With OCaml I feel like I'm thinking much more about the problem and less about the language I'm using.
This is really cool. One issue: I accidentally created a checkbox card with no text and there's no way to edit or remove it (Safari). I can tick the checkbox and move it around and connect it to other cards, but I can't bring up the edit window.

Correction: there is a small area just below the checkbox in the card that I can click to bring up the edit window. Was difficult to discover.

Re:BuckleScript Is Rebranding on Tuesday August 11, 2020 @11:33AM (#24121433)
Ooo, that's no good. I'm surprised that wasn't handled better. At least with a simple page explaining what's up.
Re:BuckleScript Is Rebranding on Tuesday August 11, 2020 @11:31AM (#24121391)
Reason/BuckleScript has always been about attracting JS developers to the powerful type system of OCaml. That was the reasoning for the Reason syntax. This, to me, feels like another step in accommodating developers who are coming from outside the OCaml ecosystem. When I was a less experienced developer, and even still sometimes now-a-days, as I approached a new language, the difficulties I often had were more with the tooling surrounding a language rather than the language itself.

As a language ages and evolves, I think it's easier for the authors and contributors to forget what it's like approaching it fresh. Many times documentation is written with an unintended assumption of an understanding of the ecosystem. Coming to the OCaml/Reason/BuckleScript ecosystem could definitely be confusing.

Re:BuckleScript Is Rebranding on Tuesday August 11, 2020 @11:26AM (#24121314)
I definitely had the same positive experience with using OCaml/Reason at my job as well. There's so much power in being able to accurately represent the data model in the type system.
Re:BuckleScript Is Rebranding on Tuesday August 11, 2020 @11:24AM (#24121269)
> What's BuckleScript then? How is it related to Reason? If it's related why did it have such a seemingly unrelated name in a first place?

My understanding, is that confusion is part of why they're rebranding everything to ReScript. The language and compiler are now all ReScript.

I think the reasoning for the difference in naming is likely historical. I'm not sure, but I think BuckleScript came before the Reason syntax was developed. But it's not like BuckleScript has any connection to OCaml, either. So I dunno.

Re:BuckleScript Is Rebranding on Tuesday August 11, 2020 @11:21AM (#24121238)
js_of_ocaml and ReScript (BuckleScript) have different goals. js_of_ocaml is optimized for working with existing OCaml libraries. ReScript is optimized for working with the JS ecosystem. That's my understanding at least as someone who has only worked in native OCaml and BuckleScript, but hasn't touched js_of_ocaml.

Older »