HN user

beerbajay

259 karma
Posts0
Comments100
View on HN
No posts found.

A work being in the public domain just means that if somebody claims that they have the copyright and sue you for distributing that work, you will prevail in court.

Restoration itself does not grant a new copyright. Other elements included in a restoration may be copyrighted e.g. new music or the graphic design of intertitles. A new translation is also copyrightable; essentially it's only the "original elements" that enter the public domain. Working around the anti-piracy measures of a blu-ray might be a crime, idk, but that's irrelevant to the copyright discussion; once you have a copy even if it came from an 'illicit' source, you're free to copy & distribute as you wish.

But yes, you need to acquire a copy first; if you can't find a work at all, how would you copy it, practically?

Scala implicits are used in a few different places, predominantly in library code where they can for example be used to derive instances of type classes. e.g. in circe:

  import io.circe.syntax._
  List(1, 2, 3).asJson
Where `asJson` requires an instance of an `Encoder`[1] and this Encoder can be derived with the help of implicits.

For you as a normal user, the two common places where you might use implicits are (1) for implicit classes providing syntactic sugar:

  // original
  def doSomething(a: A): B = ???
  val a: A = ???
  val b = doSomething(a)

  // with implicits
  implicit class AImplicits(a: A) {
    def doSomething: B = ???
  }
  val a: A = ???
  val b = a.doSomething
and for (2) implicit conversions. These are a foot-gun, so should be used in limited circumstances. At work, we use case classes in data pipelines then convert these to avro classes on save; there's lots of ways to do this, but as an example if you have an `Optional[Int]` and your avro constructor requires a nullable java `Integer` then `JavaConverters` won't save you and you'll need something like:
  implicit def optIntToInteger(optI: Option[Int]): java.lang.Integer = optI.map(Int.box).orNull
[1] https://circe.github.io/circe/api/io/circe/syntax/package$$E...

If what this guy is saying is true, that is clearly terrible. There are however thousands of people who aren't gaming the eviction moratorium and need the protections provided by it.

Also just an aside here to say that both the NY DOB and NY landlords are shockingly terrible in pretty much all possible ways.

Leave the small town attitudes and pervasive small town social control. Live in close contact with people of many backgrounds and experiences. Learn to be your own person. Earn substantially more in the city, so pay a smaller percent of your wages for basic services and staple foods. Have access to a set of services which are unsupportable in sparse populations. Have your parents become assholes as they are propagandized into xenophobia by a giant foreign corporation.

This is a terrible idea, and Cuomo has been widely condemned by transit advocates in NYC. It's insane that a plan that has been in the works for years is changed at the last minute by fiat of the governor. Also that they did not coordinate with the president of the New York City Transit Authority, Andy Byford. https://nypost.com/2019/01/04/cuomos-tunnel-experts-have-spe...

The engineering team behind Gov. Cuomo’s miracle L-train cure has little experience working on transit projects — and spent a grand total of an hour evaluating the damage firsthand in the subway line’s tunnel

The new plan is to patch the tunnel rather than rebuild, which will clearly be a shorter-term solution for infrastructure that the DOT claimed was severely degraded.

Cuomo has controlled the MTA for EIGHT YEARS and except for the 2nd Ave subway has been useless in addressing its issues. He seems to be more interested in photo opportunities than actually fixing the budget, labor, infrastructure, and service issues that plague the subway.

we learned that it’s illegal to use home kitchen for commercially sold food

aka "we didn't do any research at all"

we were inspired by Uber and Airbnb to just ignore the regulators.

Those pesky food safety regulations. These guys were extremely negligent and should be glad they got out before anybody got sick.

Landlords of such spaces are not oblivious; they want all the money for the rent and none of the responsibility of being a real landlord. This is often what artists themselves are looking for since they are under capitalized and want to do questionably legal build outs and events and are willing to take on extra responsibility to be able to so (e.g. fixing pipes, patching holes, doing pest control). But that doesn't absolve the landlord.

My understanding was that the actual ground in NYC roughly determined building height. Manhattan was originally a swampy island, so you need to find something hard underneath (bedrock) to build on if you want 50 stories.

In NYC, most e-bikes are used by people running delivery. People running delivery are paid very little and may be undocumented. NYPD has seized hundreds of e-bikes (at roughly ~$1000/each) and fined their riders.

Our mayor has unfortunately listened to rich upper-west-siders who see e-bikes as a nuisance, so beginning in 2018 there will be increased enforcement against e-bikes. DeBlasio has suggested that e-bike users "use cars" instead. This is totally insane as it will only increase congestion and decrease safety overall.

Streetsblog NYC has good reporting on this: https://nyc.streetsblog.org/2017/11/22/delivery-workers-conf...

Java EE 9 years ago

Yep. The closure of java.net broke jvisualvm for me; none of the in-application plugin links work. Instead you have to go find the new jvisualvm page and download it separately.

I suggest you try cycling as your main means of transportation in your city for a few weeks.

The key to surviving as a cyclist using bad cycle infrastructure is to be flexible and aware of the dangers around you. Crossing at a crosswalk is a reasonable response to drivers who don't check their mirrors and don't signal before turning. Running a red light when there is no cross traffic is a reasonable response to the fact that cars and bikes have different abilities to get up to speed from a stop and impatient drivers (especially, again, turning ones) are a huge risk to cyclists.

It's absolutely true that cyclists are often not strict rule-followers, but the rules are designed for cars which are large, fast, heavy, and can cause huge amounts of damage, while cycles are small, slow, light, and can cause at best small amounts of damage.

As a cyclist, I have to ride as if every single vehicle is actively trying to kill me.

The hierarchy of bike lanes are (from worst to best):

none < sharrows (painted "share the road symbols") < in-street bike lane < bike lane along street w/ some buffer in between < bike lane along street with physical barrier < bike path separate from the street.

Unfortunately much of US cycle infrastructure is none/sharrows/in-street bike lane.

I recently moved to NYC which while slightly less hellish than expected, still manages to be very unfriendly to cyclists. NYPD routinely blames cyclists for their own deaths, seemingly always looking for some excuse for the driver's distraction/unawareness/aggressiveness.

If you want a taste of the local discussion, just peruse the Streetsblog NYC bicycling category: http://nyc.streetsblog.org/category/bicycling/

I've lived in a few major American cities, where cycle infrastructure is poor and subservient to car traffic, and also in Sweden, Denmark, and Germany where cycling infrastructure is (mostly) reasonable and well-maintained. I've written on Metafilter before about the swedish infrastructure: http://www.metafilter.com/140136/Intersection-Protection#559...

It's pretty pathetic that the "greatest city" in the wealthiest country in the world can't provide better infrastructure.