News for hackers. Stuff that matters.

ygrechuk

Re:The economics of all-you-can-eat buffets on Sunday January 26, 2020 @07:31PM (#22155922)
That sauce is loaded with sugar and corn starch.
Re:What’s New in Python 3.8 on Monday October 14, 2019 @10:22PM (#21255033)
Why not something like this:

  def f_iter(many, args):
      while True:
          m = f(many, args)
          if m:
              yield m
          else:
              raise StopIteration
  ...
  for m in f_iter(many, args):
      # do stuff with m
This way you’re isolating all the initialization logic, error handling, etc. And you can focus on your domain logic in your client code.
Re:Johnson and Johnson, America’s Most Admired Lawbreaker on Wednesday October 07, 2015 @11:51AM (#10346718)
I generally agree with LordKano, and in the same positions of having been vaccinated myself and my kids. At the same time I really don't like state-mandated vaccines. For philosophical reasons first of all ("Your body, your choice"). But also for practical, as it presents a great possibility of abuse; as an example impagine corrupt officials mandating unnecessary vaccination of BigPharma's profit.

> If you don't get vaccinated, and you get sick, then you infect everyone else. You don't have the right to choose to infect other people.

I would NOT be against public schools mandating vaccines in order for children to attend school. Same for places of employment.

Re:Commuting Kills on Wednesday August 12, 2015 @06:21PM (#10051126)
Yeah, that's great, but here in NYC it's either freezing or hazy-humid for 2/3 of the year. Oh yeah, and my commute would be about 2.5 hrs each way, according to Google Maps.