HNHacker News
TopNewBestAskShowJobs

donut2d

207 karma · joined December 15, 2012

submissionscomments
donut2d··on SQL and NoSQL database query co-pilot
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.

donut2d··on [dead]
"not just for electric vehicles, but all cars" -- this is good news for the planet, regardless of what you think of $TESLA.
donut2d··on Diffusion Bee: Stable Diffusion GUI App for M1 Mac
12.5.1 is the latest, non-beta release. That's still Monterey. Ventura will be 13.x.
donut2d··on OCaml at First Glance
You can actually compile ReasonML to native code with dune.

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

donut2d··on Cocoa shown to reduce blood pressure and arterial stiffness in real-life study
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.
donut2d··on Argo CD goes mainstream with hosted version
Argo CD is one of those tools you use that you can't imagine living without.
donut2d··on AlphaFold reveals the structure of the protein universe
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.
donut2d··on Excel 2.0 – Is there a better visual data model than a grid of cells?
This no longer seems to be the case. I've always found it easy to tell it what format a cell is.
donut2d··on Mac Studio M1 Ultra Teardown [video]
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).
donut2d··on I nearly lost the Lightroom catalog with of all my photos
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.

donut2d··on D2X-XL – an OpenGL modification of the classic video game Descent 2
https://playoverload.com

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

donut2d··on SQL Query Optimization: Understanding Key Principle
Very cool, thanks.

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

donut2d··on Google’s new popup will further weaken Facebook’s advertisement business
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.

donut2d··on [dead]
TypeScript support
donut2d··on Benzene detected in hand sanitizers
Do you know what works great as hand sanitizer? Rubbing alcohol - no scent, no additives, no gummy weirdness, and cheaper.
donut2d··on External boot disks still don’t work properly with M1 Macs
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.
donut2d··on Thinking about software engineering
OCaml seems like it hits all of those well.
donut2d··on WhatsApp gives users an ultimatum: Share data with Facebook or stop using app
I wonder how they will deal with people such as myself who use Whattsapp but do not have a Facebook account.
donut2d··on DMT drug study investigates the ‘entities’ people meet while tripping
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!

donut2d··on BuckleScript Is Rebranding
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.
donut2d··on Show HN: Kinopio.club – visual thinking, brainstorming tool
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.

donut2d··on BuckleScript Is Rebranding
Ooo, that's no good. I'm surprised that wasn't handled better. At least with a simple page explaining what's up.
donut2d··on BuckleScript Is Rebranding
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.

donut2d··on BuckleScript Is Rebranding
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.
donut2d··on BuckleScript Is Rebranding
> 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.

donut2d··on BuckleScript Is Rebranding
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.
donut2d··on Norwegian Air cancels order for 97 Boeing aircraft, sues Boeing
There was recent news(April/March) about Norwegian actually running extremely low on cash to a point of bankruptcy and the airline laid off like 90% of their workforce due to Covid19 pandemic and lack of flights/demand.
donut2d··on Show HN: HTML5 Video Player in TypeScript
If I'm understanding you correctly, that's how iOS's native video player works.
donut2d··on Lisp and Haskell (2017)
You’re right about the advantages of Haskell regarding side-effect strictness and refactoring. That’s a huge win. I think now that I have significant experience with OCaml it’d make going back to Haskell easier for me. That’s probably something I’ll do. But right now I’m finding OCaml has been great for me.

I’ll look into Racket and friends. Thanks

donut2d··on Lisp and Haskell (2017)
It holds less closely to the ideal of being a purely functional language. It gets out of my way and let’s me get things done. But I think I misspoke a bit. A big part of what has made OCaml better for me is that the tooling has been easier for me to jump into as a beginner.
Page 1 of 3Next →