News for hackers. Stuff that matters.

da4c30ff

Re:Strong typing, a hill I'm willing to die on on Wednesday October 04, 2023 @12:10PM (#37767249)
I'm aware of these, but thank you nevertheless. Clojure has plenty of nice things balancing the scales, so it's not all pain and misery!
Re:Strong typing, a hill I'm willing to die on on Wednesday October 04, 2023 @11:31AM (#37766617)
The take I have is that with a dynamically typed language you still have a static analysis step. It’s just that the analysis happens in your and other developers’ brain and it is objectively worse. I honestly can’t think of a single thing in favor of dynamic typing.

I write Clojure in my day job and it’s insane how often we have issues where it would have been immediately caught by a static type check.

Re:How to Read Books When You Have ADHD on Wednesday April 14, 2021 @03:25AM (#26804034)
I don't have an ADHD diagnosis but clearly have some of the typical symptoms.

My brain is constantly in an obsessive state, meaning that I get an obsession about something and my brain just focuses on that single topic for some variable amount of time (days, weeks, months) until I get a new obsession. I'm quite unable to think (or do) anything else during that time.

Last November I experienced something that I have not experienced before. My mind was at peace. I had no obsession for at least two weeks. It felt amazing, I was so content.

I started to read Wizard of Earthsea, which I finished few days later. Then I read Tombs of Atuan in a few days as well. I read The Farthest Shore about halfway before my brain rebooted into its usual obsessive state. This was the most I'd read in almost 10 years!

I wish I could experience that peace of mind once again.

Re:Emacs 26.1 released on Monday May 28, 2018 @02:41PM (#17174022)
It's doom-nord from the doom-themes package.
Re:Emacs 26.1 released on Monday May 28, 2018 @11:59AM (#17173105)
Also better look and feel[1] for Mac (including dark mode) users with

  (add-to-list 'default-frame-alist '(ns-transparent-titlebar . t))
  (add-to-list 'default-frame-alist '(ns-appearance . dark))
[1]: https://imgur.com/aRdxPk0
Re:Data Loss at GitLab on Thursday February 02, 2017 @09:19AM (#13550622)
Git really should have issue and merge/pull request data shipped with the repository. Does anyone know if this has been planned or not?
Re:The Emacs dumper dispute on Thursday December 01, 2016 @03:28AM (#13078043)
If that's all you need, maybe μEmacs[1] could do it?

[1]: https://en.wikipedia.org/wiki/MicroEMACS

Re:Games on GitHub on Monday October 24, 2016 @01:35AM (#12776899)
What, no id[1] in the major companies?

EDIT: Nevermind I found it way down the list, but still, id is pretty major company when it comes to games.

[1]: https://github.com/id-Software

Re:Xz format inadequate for long-term archiving on Saturday October 22, 2016 @10:38AM (#12768836)
Not really related to the article, but would you look at that web page. This is what all of them should look like! Nothing fancy, just good content, 64.91KB in total.
Screenshots?
Re:Something Secret This Way Comes on Monday April 25, 2016 @01:57AM (#11562677)
Currently there's only a tokenizer/parser implementation publicly available. I'm currently working on the type system.

Progress has been a bit slow, but I will be posting here on HN if I end up making something worthwhile.

Re:Something Secret This Way Comes on Sunday April 24, 2016 @06:34AM (#11559215)
This is something that I'm actually writing for my own programming language, coincidentally also written in Rust.

My idea was to label each expression with these flags, i.e. is the expression constant?, tail recursive?, etc., and then make that information available for the text editor and other tooling, so the user can instantly see certain things about their program, and see the type of optimizations the compiler will do for them.

Re:Show HN: The first issue of Compelling Science Fiction on Monday April 11, 2016 @07:59AM (#11470925)
Maybe they could add an option to order an on-demand print from a service like Lulu.com
Re:GitKraken: git GUI Client for Windows Mac and Linux on Wednesday March 02, 2016 @08:41AM (#11209813)
I think he means the CLI.
Re:Comparing Rust and Java on Monday February 29, 2016 @03:59AM (#11194344)
There is an RFC[1] for making enum variants first-class types.

[1]: https://github.com/rust-lang/rfcs/pull/1450

Re:Show HN: Parinfer – a simpler way to write Lisp on Wednesday November 11, 2015 @12:45PM (#10547912)
For emacs, there's the electric-indentation-mode and the fantastic aggressive-indent-mode.

https://github.com/Malabarba/aggressive-indent-mode

Re:Airbnb JavaScript Style Guide on Friday July 03, 2015 @04:22AM (#9824269)

    3.5 Use object method shorthand.
I disagree. With anonymous objects it breaks the syntactical uniformity of the expression. I think it is much clearer when each field is given a name(and a value) the same way.
Re:Anko – Pleasant Android development in Kotlin on Sunday May 10, 2015 @11:16AM (#9520135)
What about layout versions for different screen-sizes, orientations, etc.?
Re:Rust Priorities after 1.0 on Friday April 17, 2015 @03:06AM (#9392639)
I wish I could use 'type' as a variable name or as a field on a struct. It's one of the most used identifier names and the inability to use it is frustrating.
Re:Light Table 0.7.0 on Thursday November 20, 2014 @02:21AM (#8634701)
I wonder how many people contributed under the assumption that their contributions would remain under GPL. I assume the CLA specifies their right to change the license?
Re:Earnest – A writing tool for first drafts on Saturday May 17, 2014 @07:18AM (#7759847)
Inspired by this I wrote a minor mode for Emacs called draft-mode. It can be found at https://github.com/gaudecker/draft-mode
Re:I'm About as Good as Dead: The End of Xah Lee on Friday May 16, 2014 @09:22AM (#7755293)
Solidarity
Re:GitLab – Open Source Git Management Software on Wednesday April 23, 2014 @07:17AM (#7633234)
I was thinking what GNU could be if they launched GitLab or some alternative to replace the archaic Savannah. It could take the project to a whole new level.
Re:Comic Sans, meet Comic Neue on Monday April 07, 2014 @04:53AM (#7545335)
An honest question: Isn't it that in some legal systems, an absence of license means public domain?
Re:JSON5 is a proposed extension to JSON on Sunday March 02, 2014 @03:37AM (#7328316)
What is wrong with standard unix timestamps?

Older »