News for hackers. Stuff that matters.

narimiran

> 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.

> 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.

Re:Google pulls the plug on uBlock Origin on Thursday August 15, 2024 @01:33AM (#41253362)
> 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.

Re:Hertz is selling 20k EVs and replacing them with gas cars on Friday January 12, 2024 @11:27AM (#38970031)
> Kia Rio 5 door

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

Re:Ask HN: Who is hiring? (December 2023) on Saturday December 02, 2023 @09:38AM (#38498887)
Clicking on the link received by email, I get:

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

Re:OpenAI came after our domain because we use GPT in it on Wednesday May 17, 2023 @01:00PM (#35978150)
WDYM?
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.

> 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.

> 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)

> 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.

> 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.

Re:Why Lisp? on Friday November 04, 2022 @10:05AM (#33466874)
> Maybe this language has a bad name but I can not find anything about it on HN.

Try searching for Ocaml :)

Re:Common Lisp Wiki: Naming Conventions on Monday August 29, 2022 @02:50AM (#32635405)
But you can do composition, like this:

[Racket]

    (~> thing
        quux->baz
        baz->foo
        foo->bar)
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...

Re:You don't ever own an electric vehicle on Friday March 11, 2022 @03:41PM (#30645729)
> 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.

Re:Nim 1.6.2 on Saturday December 18, 2021 @11:25AM (#29605704)
`player` and `Player` are different in Nim. Ditto for `date` and `Date`.
Re:Nim 1.2 on Friday April 03, 2020 @02:16PM (#22772388)
> 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.

> 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.

Re:Broot – A new way to see and navigate directory trees on Friday January 10, 2020 @02:33AM (#22009100)
> 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?

Re:Interactive Vim Tutorial on Wednesday January 08, 2020 @10:46AM (#21992390)
> 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.

Re:Advent of Code 2019 on Monday December 02, 2019 @05:39AM (#21681336)
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 :)

Re:Nim: Scripting Ease in a Compiled Language on Wednesday October 30, 2019 @07:30AM (#21396491)
> 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
Re:Nim: Scripting Ease in a Compiled Language on Wednesday October 30, 2019 @03:06AM (#21395252)
> 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
Re:Nim: Scripting Ease in a Compiled Language on Wednesday October 30, 2019 @02:43AM (#21395162)
...which also works perfectly fine in Nim.
Re:Nim: Scripting Ease in a Compiled Language on Wednesday October 30, 2019 @02:43AM (#21395161)
> `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.

Older »