Hacker Newsnew | past | comments | ask | show | jobs | submit | floxy's commentslogin

Washington State has grocery stores that sell fountain drinks. Yoke's:

https://shop.yokesfreshmarkets.com/store/yokes-fresh-market/...

...also WinCo Foods. Or at least the closest one to me does, right next to the in-store pizza counter.


I wonder what ever happened with the stream poisoning effort on a creek that ran through his ranch. That was bit of a thing growing-up back in Montana in the 90s, where the billionaire outsider wanted to poison the stream to kill off one species of fish to encourage another species.

https://www.rangemagazine.com/archives/stories/winter00/murk...


Isn't the concern with over the air updates and back-doors? As in, if the citizens in county A buy country B's cars, and now there is a tiff between the two countries, country B could potentially brick all of those vehicles in country A.

That is just another variation of geopolitical worry. Nobody will do this unless there is a geopolitical situation happening. If you are going to war then bricking the enemies cars is useful. Otherwise it is harmful (even if you do it accidentally you lose trust and so nobody will buy from you again - which is why so often rollouts are done slowly - if it doesn't work you only have a few customers affects and can spend more than a car's value on techs to fix them thus ensuring you don't lost reputation)

>Ford seemed to have lost interest in the F-150 lightning.

Here's to hoping their EV Maverick is still on track:

Ford Teases New Details About Its $30K EV Truck Coming Next Year

https://www.caranddriver.com/news/a71204448/ford-ev-truck-fu...


Hmm, why not? For the astable configuration, you could use a 100F capacitor with R1 = 10 Meg and R2 = 7.5 Meg, for a 55 year period. Base current for the Threshold NPN will come from the Trigger PNP (and hopefully temperature drift matches OK). Other than maybe the 100F capacitor might have some variation in capacitance and leakage current over the course of 55 years ;-)

https://www.digikey.com/en/products/detail/tecate-group/PBLH...


Once you get above a couple meg, the oils on your fingers start affecting the resistance. Better hope no-one touches with your 55 year counter

at 1% initial precision of just eg. LM555 itself, you're looking at +-0.5 year just from the chip's contribution. If you ever find 100F 1% precision capacitor and 0% precision resistors, you may maybe hit +- 1 year if the other conditions are perfectly predictable, which they are not.

For your chosen capacitor, manufacturer doesn't even bother providing the tolerances. :) Good luck with that.


>I do think laws should be based on consistent principles.

https://repository.law.wisc.edu/s/uwlaw/item/27617



Whoa you were faster than me!

> (syntax-rules ...) The very first time I tried to use it, I ran into its limitations

syntax-case is the general purpose construct to use. syntax-rules is a restricted, easy-things-should-be-easy construct.

https://www.scheme.com/tspl2d/syntax.html


It's just not good because you need to work around its limitations, whatever its purpose is. Not good for prototyping because it's the red tape you need to cut to get work done. Red tape isn't, in general, a bad thing, but when it comes to prototyping it is.

I think most people misunderstood syntax rules. It was not meant as the macro system for scheme. It was meant as the template macro system everyone could agree on, while leaving the more powerful low level macro systems to the implementations. Syntax case, or explicit/implicit renaming or syntactic closures or what have you.

Agree. It got the ball rolling.

You don't need syntax case to do advanced things though. Alex shinn's match.scm uses all the dirty syntax-rules trick.

It is pretty awful to write things like that.


So you want to line the equals signs up or similar?

  let
     f = 9
    fo = 10
   foo = 123
  in f+fo+foo
vs.

  let
    f = 9
    fo = 10
    foo = 123
  in f+fo+foo

No, the issue is if the first binding is on the same line as the `let`, you are required to write, e.g.:

    someValue = let f = 9
                    fo = 10
                    foo = 123
      in f+fo+foo
rather than:

    someValue = let f = 9
      fo = 10
      foo = 123
      in f+fo+foo
I think it used to be the case that it had to be indented past the `=` or the `let` even if it was't on the same line. Note also that `in` has to be indented past `someValue`, but doesn't need to be indented as far `let`.

This is fine:

    someValue = let
      f = 9
      fo = 10
      foo = 123
      in f+fo+foo
So, it is possible to land on sane indentation, but the parser is much pickier than, e.g., Python's off-sides rule, so it takes some trial and error for new users to find it, and it can be frustrating if you're just temporarily modifying an expression to quickly try something out.

I honestly think it would be less surprising if the parser just disallowed writing the first binding on the same line as the `let` entirely, treating it only as a block, but some people (bewilderingly) do seem to prefer to write their code with the excessive indentation (I'd imagine with editor support, rather than manually maintaining the spacing).


I feel like you are describing that the parser is too lenient rather than too picky. It could just require you to always put `let` and `in` on their own lines, in which case the indentation makes sense, I think. It's only when trying to keep more stuff on the same line that the details of Haskell's indentation rules come into play.

In Haskell, you can do, if you prefer,

    someValue = let {f = 9;
      fo = 10;
      foo = 123 }
      in f+fo+foo
it will just look a little out of place.

Edited to add that this is also OK:

    someValue = let 
      f = 9
      fo = 10
      foo = 123
      in f+fo+foo

Obligatory "The Evolution of a Haskell Programmer":

https://people.willamette.edu/~fruehr/haskell/evolution.html


That's an odd way to rewrite most of the SfICPICP exercises for scheme.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: