HNHacker News
TopNewBestAskShowJobs

narimiran

807 karma · joined May 6, 2017

https://narimiran.github.io/about/
submissionscomments
narimiran··on Advent of Code 2025: Number of puzzles reduce from 25 to 12 for the first time
> building on top of something

If you want that, try AoC 2019. Day 2, day 5, and then every odd day till the end: day 7, 9, 11, ... 23.

narimiran··on Car tires shed a quarter of all microplastics in the environment
> By the way, there are EV tyres - does anyone know why? Is it just marketing or do they have some special properties?

They have lower rolling resistance, in attempt to extract a bit larger range.

narimiran··on Google pulls the plug on uBlock Origin
> Opera was the first "not IE or Netscape" browser I used. It would be poetic to go back to it now.

If you want to go back to the "original Opera", that is now Vivaldi.

narimiran··on Hertz to sell 20k EVs in shift back to gas-powered cars
> Kia Rio 5 door

You missed a very important bit: 'old toyota-level reliability and longevity' ;)

narimiran··on Ask HN: Who is hiring? (December 2023)
Clicking on the link received by email, I get:

> Your invitation to the test has been cancelled.Please contact Evaluator for further queries.

narimiran··on OpenAI came after our domain because we use GPT in it
WDYM?
narimiran··on Ask HN: Share your favorite YouTube channels focused on mastering a skill/craft
And if you like to watch a mechanic working on cars, here's a nice combination of educational and entertaining:

https://www.youtube.com/@M539Restorations/videos

I couldn't care less about BMWs, but I enjoy this content.

narimiran··on Rimac Nevera Hits 412kph to Become World’s Fastest Production Electric Car
> semi truck on my way back from Dalamatia to Istria

I can guess that was under Velebit, where bura is often very strong and at those times the road is closed for motorcycles, campers, double-deckers and vehicles with trailers.

But people regularly ignore those restrictions because they are not aware of the danger.

narimiran··on Rimac Nevera Hits 412kph to Become World’s Fastest Production Electric Car
> If Rimac makes a car with that name

There already exists Volkswagen Bora, which was a sedan version of Golf 4. (Basically, a renamed Jetta; just like Vento in the generation before)

narimiran··on Rimac Nevera Hits 412kph to Become World’s Fastest Production Electric Car
> Bora is strong wind

Fun fact: Jugo (another frequent wind on Adriatic coast) is even stronger wind, but what makes bora/bura special are strong sudden gusts.

narimiran··on Rimac Nevera Hits 412kph to Become World’s Fastest Production Electric Car
> Honda Fita

Stretching a bit to fit a narrative?

There was never Honda Fita. In USA, that's Honda Fit, and in Europe the same car is called Honda Jazz.

narimiran··on Why Lisp?
> Maybe this language has a bad name but I can not find anything about it on HN.

Try searching for Ocaml :)

narimiran··on Common Lisp Wiki: Naming Conventions
But you can do composition, like this:

[Racket]

    (~> thing
        quux->baz
        baz->foo
        foo->bar)
narimiran··on Show HN: Nimwave – build TUIs for the terminal, web, and desktop
Make sure to check other projects by the same author, some real gems there IMO (and I'm not even including there his most popular project - Vim^3 [0] :D). This talk [1] from NimConf 2021 is a good place to start:

[0] https://github.com/oakes/vim_cubed

[1] https://www.youtube.com/watch?v=cBqBfPRWla8&list=PLxLdEZg8DR...

narimiran··on You don't ever own an electric vehicle
> The Honda S2000 had a throttle cable until... the 2006 model year I believe.

Mazda Miata (MX-5) had it in the NB model (until 2005) too.

narimiran··on Nim 1.6.2
`player` and `Player` are different in Nim. Ditto for `date` and `Date`.
narimiran··on Nim 1.2
> would you say "always use gc:arc" is a safe bet?

This is the first release to offer `--gc:arc` so there are still some rough edges, but I would follow @treeform's and @rayman22201's advice from sibling comments: give it a try, it might work for you without any problems, and if not - report it.

The long-term plan is to make it the default.

narimiran··on Apple CarPlay, Android Auto distract drivers more than pot, alcohol, says study
> Yes the best way is to use voice control. You can tell the tesla to "set fan speed to 2" and it will do it. Voice commands are the safest imho.

...if you are from English-speaking country or you know English.

Does Tesla understand every language in the world?

Or: how would my father change settings in Tesla? Would he need to learn one English phrase ("Tesla/Alexa/Siri/Whatever, open Google translate"), then speak in his native language, then somehow speak the translated text to Tesla's system?

Currently in his car, he does that by pressing a button. Done.

narimiran··on Broot – A new way to see and navigate directory trees
> Was reading and thinking "oh boy this looks so good, I wish it was written in Rust..."

Can I ask... why?

What is the difference between a program that makes you feel "oh boy this looks so good" written is some XY language, and the same program with the same functionality written in Rust?

narimiran··on Interactive Vim Tutorial
> I can recommend "Practical Vim" which is a great book.

I've read it only recently, after I was already familiar with Vim, and I cannot recommend it enough!

I had lots of "oh, I had no idea this was possible" moments and it took my Vim knowledge to the next level where I'm now (even) more productive than before.

Having said that, I'm not sure it is a good introductory resource for somebody making their first steps in Vim.

narimiran··on Advent of Code 2019
Thank you very much for this!

I was aware of Norvig's 2016 AoC solutions, but I thought he never did any of the newer editions. I know what I'll be reading today :)

narimiran··on Nim: Scripting Ease in a Compiled Language
> for example, it is very natural to name them "a,A,b,B"

And just to clarify once again, since I'm not sure who will read which reply: those are NOT the same identifiers in Nim!

    let
      a = 11
      b = 22
      A = 99
      B = 88

    echo a == A # false
    echo b == B # false
Run the code in the Nim Playground if you don't believe: https://play.nim-lang.org/#ix=20kr
narimiran··on Nim: Scripting Ease in a Compiled Language
> In many languages, you might use one for a type name, the other for a variable.

And Nim is one of those languages too. This is perfectly valid and frequently used:

    type
      Person = object
        name: string
        age: int

    let person = Person(name: "you", age: 99)

    echo person

You can try it in Nim Playground: https://play.nim-lang.org/#ix=20jS
narimiran··on Nim: Scripting Ease in a Compiled Language
...which also works perfectly fine in Nim.
narimiran··on Nim: Scripting Ease in a Compiled Language
> `array = Array()` ...which would break in Nim.

This is NOT true.

The first character is case-sensitive in Nim, so examples like yours are not only possible, but frequently used even in Nim compiler and standard library.

narimiran··on Aardvark – Real-time graphics and visualization in F#
> 3) cross-platform FSI supported via NET Core

Last time I tried, I couldn't get FSI working on Linux without Mono. Did something change recently?

narimiran··on Nim 1.0
> In fairness, Python is the first language the Nim team compares itself to in the first paragraph of their homepage.

Probably because most people are more familiar with Python than Ada and Modula (combined) ;)

I guess it depends on your previous experience. Some people will only see Python, others might think of Nim and its syntax as "Pascal for 21st century" (fun fact: the original Nim compiler was written in Pascal).

narimiran··on Nim 1.0
Have you seen Nimpy[0]?

It allows for a nice integration between Nim and Python. At least for the examples I have tried, it could be used in place of Cython, when there's a need for extra speed in some hot loops and similar situations.

[0] https://github.com/yglukhov/nimpy

narimiran··on Nim 1.0
> Are there any other generic programming facilities in nim?

https://nim-lang.org/docs/manual.html#generics

narimiran··on Nim 1.0
> I didn't want to work with a language that wasn't stable yet.

IME, the language was quite stable since version 0.19, which was released one year ago.

But I know that people don't trust some random bloke on the internet, they want to see 1.0 before they dive in. I had the same concern when I first heard about Nim (I think at that time Nim was at v0.17).

Page 1 of 5Next →