News for hackers. Stuff that matters.

thoradam

Re:How to get rid of the new Apple Mail redesign on Sunday March 02, 2025 @01:53PM (#43233649)
[MailMate](https://freron.com) is great.
Re:The March of Dimes Syndrome on Tuesday June 18, 2024 @08:27AM (#40716998)
It is true that I don’t this publication. I also don’t know the author or what The Manhattan Institute is. In general unless a piece of text is asking me to take something on faith or I am unable to reason with it I don’t care in the slightest who wrote it, where it was published or what their affiliations are.
Re:I Won't Use Next.js on Wednesday October 25, 2023 @06:39PM (#38019259)
I haven't tried Remix but I can relate to Next.js being too much magic. I've had errors in `getServerSideProps` that happen on the server and then again in the client, causing a client side error instead of simply rendering the 500 page. I've accidentally bundled server code in the client because there's no clear separation. The automagical client side navigation with <Link> has caused scroll position to be forgotten when navigating back.

I recently tried Deno Fresh and it has made many different choices that I resonate with:

- "When you create a route, all of the components used are rendered on the server. No javascript is sent to the client, unless you specifically include something from the /islands/ folder."

- "For stronger resiliency and user experience, Fresh relies on native browser support for form submissions with the HTML <form> element."

For example a route that renders a form and accepts a `POST` with that form is trivial, which amazingly can not be said for many server side React frameworks.

Re:Hype Will Turn Your Security Key into Junk on Friday July 14, 2023 @05:47AM (#36721703)
Tin foil — third parties can be passkey providers: https://blog.1password.com/apple-passkey-api-wwdc/
Re:Notes on Vision Pro on Wednesday June 07, 2023 @06:55AM (#36225276)
> This whole thing would have been much better if they’d positioned it as a work and personal entertainment machine

Honestly most of the presentation had this exact vibe for me. That the Vision Pro is directly positioned as a device for deep immersion, like movies, gaming, and engrossing work. The two exceptions I remember were those moments where a person plopped their Vision Pro on to take a 3D moment of their children and the one where a person answered a FaceTime call with the Vision Pro while packing their suitcase. I don't see those moments happening in reality with this sort of device.

Re:Signals and Threads: The Future of Programming on Wednesday May 24, 2023 @09:53AM (#36058091)
If you're talking about coverage in the usual sense (% of lines that were executed), it's pretty much useless. Here's an example of 100% test coverage in that sense:

  add a b = 2
  test_add = assert_equals (add 1 1) 2
A more useful definition of coverage would be the entire possible state of the program, but this is tantamount to a proof, which is a really hard problem for programs in general. Property based testing, e.g. QuickCheck[1], gets us close, but it is often hard to come up with the right properties.

[1]: https://hackage.haskell.org/package/QuickCheck

Re:Effing-mad, an effect library for Rust on Thursday March 30, 2023 @05:59AM (#35370313)
Re:GPT-4 on Tuesday March 14, 2023 @05:14PM (#35158794)
> It does more than that. It understands how to do basic math.

It doesn't though. Here's GPT-4 completely failing: https://gcdnb.pbrd.co/images/uxH1EtVhG2rd.png?o=1. It's riddled with errors, every single step.

This is a recommendation for another Apple Arcade game. The only gain for Apple if you click this notification is if you get the game, like it, and continue to pay for Arcade. This is like taking a screenshot of Netflix's "Top Picks for You" list and saying they are ads. This notification is not from the game you're playing but directly from Apple. There's no way to ship a game for Apple Arcade if it includes ads, interstitials or in-app purchases, that's the whole point.
Re:Why Functional Programming Should Be the Future of Software on Wednesday November 02, 2022 @11:30AM (#33437459)
> the decision not to include various MLs, OCaml, Scala, or F# in the chart of functional languages seems controversial

I don't know why that would be controversial. There's a very clear distinction between (MLs, OCaml, Scala, F#) and (Haskell, Elm, PureScript, etc.).

Re:How Does This End? on Sunday March 06, 2022 @11:18AM (#30578567)
> Without this expansionist step from our side the situation would have never escalated.

Where do you put the annexation of Crimea in this timeline?

Re:Elm at Pacific Health Dynamics on Tuesday April 10, 2018 @05:30AM (#16800086)
ReasonML isn't pure FP.
Re:A founder's perspective on 4 years with Haskell on Saturday July 30, 2016 @09:07AM (#12192808)
> You might later find that something that took you 5 lines is a standard abstraction ready to be re-used.

Such a great point and perhaps one of the biggest challenges as languages allow increasingly reusable and powerful abstractions. I would love to have GHC tell me something like "this piece of code here has a signature that is familiar, you could probably make this fit into {list of abstractions}".

Re:Autocomplete from Stack Overflow on Tuesday March 22, 2016 @10:54AM (#11337021)
This is one of the best qualities of languages like Haskell, the type system promotes discovery and true reuse of code. There has even been research into specifying dependencies as 'something that implements this signature' rather than specific packages.
Re:Torn and weary (on Brendan Eich and Mozilla) on Saturday April 05, 2014 @08:55AM (#7536900)
This really isn't that complicated, he had views that the community was overwhelmingly against, hence he was not qualified to serve as CEO. The community did not fire him.

Also, there's a fundamental difference between the two views you juxtaposed. One suppresses the freedom of others, while the other promotes it. You can't really be intolerant by being against intolerance.

Re:Angular 2.0 on Tuesday March 18, 2014 @08:13AM (#7421407)
They mention annotations, presumably type annotations? Is that actually a part of ES6? I can't find any mention of it.
Re:Why I am switching to promises on Tuesday January 07, 2014 @04:10PM (#7019955)
Which reminds me, wasn't ECMAScript 6 supposed to be finalised in December[1]?

1: http://en.wikipedia.org/wiki/ECMAScript#ECMAScript_Harmony_....

Re:Icelandic Police kill someone for the first time. on Monday December 02, 2013 @04:43PM (#6836742)
I don't recall any other incident. By the way the only armed police force in Iceland are the special forces. Regular police officers and agents are not armed.
Re:Regex101: online regexp tester and debugger on Thursday October 17, 2013 @11:45AM (#6566122)
If you select JavaScript as the regex implementation it seems to do the work client-side.
Re:Identicons on Wednesday August 14, 2013 @03:35PM (#6213703)
I can't tell if mine is also sad or just sporting a killer moustache https://identicons.github.com/thoradam.png
Re:This Man Thinks He Never Has to Eat Again on Wednesday March 13, 2013 @08:09PM (#5372111)
Could you please define "highly processed foods"?
Re:Google Nexus 4: Nearly flawless on Friday November 02, 2012 @01:38PM (#4733794)
> Sounds like a niche to me.

The Nexus devices have been very popular outside of the USA, also in part because they have defaulted to being unlocked.

Re:Fred Wilson: My New Nexus 7" on Thursday July 05, 2012 @10:00AM (#4203027)
I've been wondering if I should get the Nexus 7 as my main and only development device. I imagine it could be great to test both mobile and tablet layouts on the same device.
Re:The trouble with Javascript on Friday April 27, 2012 @02:32PM (#3900462)
WebStorm has jump to definition, re-factoring, code inspection that provides valuable auto-complete suggestions (and if you use JSDoc tags it can read those) and more: http://www.jetbrains.com/webstorm/features/index.html
Re:ClojureScript Synonyms on Tuesday April 24, 2012 @11:05AM (#3884227)
Are there any Clojure web frameworks that really embrace ClojureScript and blur the line between the server and the client like Meteor recently demonstrated? Sorry to be off-topic.
The source is 130 lines, if nothing it's at least a teaching example of how easily one can play with canvas.
Re:Pocket Released (Formerly Read It Later) on Tuesday April 17, 2012 @12:16PM (#3853317)
Interesting, I imagine that would work great on Android devices where it could have a service running in the background to keep your Pocket synced.

Older »