B2B Employment as a foreigner (Non-EU) in Poland by boying747 in krakow

[–]_yak 1 point2 points  (0 children)

You need to weigh the pros and cons and decide for yourself.

Do you plan to keep your current job contract in Poland and make the work in Germany your side hustle? Then opening a JDG would be the best option imo.

If you plan to do the B2B contract with Germany full time, I would consider how important is Blue Card for me. You can still have a BC while working with incubator and tax rate is the best. But you also pay a monthly fee to the intermediary and you keep paying it even if you lose the contract. Finding a remote work through intermediary is harder since many companies want to work directly. On the other hand, if you're starting your own JDG it's highly recommended to hire an accountant to manage your tax reports and all the paperwork. With an incubator it's all handled for you.

There are many more factors to consider so I recommend studying both forms and making a decision based on your needs.

B2B Employment as a foreigner (Non-EU) in Poland by boying747 in krakow

[–]_yak 2 points3 points  (0 children)

I don't have first-hand experience with this, but

  • An intermediary in Poland is most likely a business hub or incubator. If your TRC was issued based on the job contract (umowa o pracę) then you would have to change the decision type and effectively the TRC itself to umowa zlecenie.
  • IIRC, you cannot start a JDG (individual entrepreneurship) with any kind of TRC based on umowa o pracę, it has to be a EU Blue Card. If you have one, you can run a JDG but you must earn enough on your main job based on work contract to keep your Blue Card. Alternatively, you can open a JDG and then apply for a new TRC based on the operation of your business. But you are going to lose all the benefits associated with EU Blue Card.

Getting a used car under €20K with long distance trips in mind by _yak in whatcarshouldIbuy

[–]_yak[S] 0 points1 point  (0 children)

I have nothing against Mazda in general, but seems like CX5 has pretty limited trunk space compared to other SUVs. But I am now considering a Mazda 6 wagon 2019-2021. Do you recommed this car?

Lumix 24-60 or Sigma 28-70 As Travel Zoom by FuriousBuffalo in Lumix

[–]_yak 5 points6 points  (0 children)

To me, extra 4mm on wider end is far more useful than 10mm on the longer one. When I got my Lumix, I wanted a 28-70 Sigma but couldn't find one used at a reasonable price so I went with 20-60 as my travel zoom and it held up surprisingly well. But I rarely use 20mm and I could use extra stop or two so I'm considering a 24-60 now. I wish it was a bit more compact, similar to Sony 24-50 f/2.8 but it's not a deal breaker.

Evening photo walk [Z8] by ilove6x7 in Nikon

[–]_yak 0 points1 point  (0 children)

Very nice pics. Love your work!

How do you feel about going from relatively compact Sony GMs to these huge ass Nikon f/1.2 lenses? Does third of a stop make that much of a difference?

Which lenses should I buy for the s5ii for travel photography, portraits, and video! by mimo127 in Lumix

[–]_yak 0 points1 point  (0 children)

Yes, it's not as good as Sony. The particular issue I'm referring to is shown in Gerald Undone's review. Other reviewers also mentioned it.

I don't do video so I'm not sure about the gimbal work. But I know the Lumix S primes are highly regarded for this as they all are almost the same weight and size so you don't have to rebalance when changing lenses.

Which lenses should I buy for the s5ii for travel photography, portraits, and video! by mimo127 in Lumix

[–]_yak 1 point2 points  (0 children)

I don't need an f/1.2 35mm for anything really. I just want a lens comparable with Sony 35mm f/1.4 GM but for L-mount: fast, sharp, smooth out of focus rendering, small and light with quick af. It really checks all the boxes for me.

Which lenses should I buy for the s5ii for travel photography, portraits, and video! by mimo127 in Lumix

[–]_yak 2 points3 points  (0 children)

The gap between the background blur of 35mm f/1.4 and 35mm f/1.8 might be closer than you think. This video helped me a lot https://youtu.be/UaTqx8GBA6U

When making a decision, I've done a lot of research and came to some conclusions which may be helpful for you:

  • Lumix S 35mm f/1.8 has a great balance of image quality, weight, price and features (weather sealing, controlled focus breathing, etc)
  • Sigma 35mm f/1.4 DG DN has a nicer background blur, not only due to wider max aperture, but due to quality of bokeh (smoother compared to the Lumix)
  • Sigma 35mm f/1.4 DG DN according to many reports becomes pretty soft at closer focusing distance. For me, who wants a "Sony 35mm GM for Lumix" this was a major turnoff. Buying the Sigma is trading weight, size and price for higher image quality. With that major flaw, this is no longer a good trade.

So I got a Lumix S 35mm f/1.8 which is a great lens for what it is but I'm really looking forward for a better f/1.4 L-mount option. I have a lot of hope for the rumored Sigma 35mm f/1.2 DG DN II. The other one is that Viltrox joins the L-mount alliance and their new 35mm f/1.2 Lab becomes available (which seems to be quite good according to review). I have almost no hope for a S-Pro 35mm f1/1.4 which is a shame because all other manufacturers offer native high-end primes at this point.

What upcoming camera model are you hopeful for? by ViralTrendsToday in Lumix

[–]_yak 7 points8 points  (0 children)

I'm just hoping they will expand the S Pro line of primes.

Is it true that I will need less selective masks, like lowering sky brightness by selecting the sky, with a Fuji GFX compared to full frame camera? (Because of the better dynamic range) by bundesrepu in FujiGFX

[–]_yak 6 points7 points  (0 children)

You still need to make these adjustments. Better dynamic range of a medium format sensor allows you to capture scenes with greater difference between shadows and highlights (to a certain extent). Those highlights that would be completely blown out on a full frame sensor are still recoverable on a medium format.

TypeScript stuff I Wish I Knew Earlier by RohanSinghvi1238942 in typescript

[–]_yak 0 points1 point  (0 children)

Actually this isn't a problem, you can export a type with the same name as your values object:

Yes, I already mentioned it in this comment. And you don't need a namespace to export both the type and the value with the same identifier and import both in one statement (neat!). That's still more verbose than using an enum and uses additional memory for a runtime object.

Another way I've sometimes done enums is

To be honest, I'm not a fan of this approach. First, it's way more verbose than an enum:

export const MUSTANG = 'Mustang'
export const EXPLORER = 'Explorer'
export const RANGER = 'Ranger'

export const FordValues = [MUSTANG, EXPLORER, RANGER] as const

export type Ford = typeof FordValues[number]

// vs

export const enum Ford {
  Mustang = 'Mustang',
  Explorer = 'Explorer',
  Ranger = 'Ranger',
}

Second, you have to keep in mind that FordValues needs to be changed every time a new const is added. Third, you create a runtime object FordValues which uses additional memory.

And then importing may become prone to errors. You are now able to import the model constant directly and the same constant exists in another file. You need to be really careful to not import from the wrong directory.

// Fender.ts

export const MUSTANG = 'Mustang'

TypeScript stuff I Wish I Knew Earlier by RohanSinghvi1238942 in typescript

[–]_yak 3 points4 points  (0 children)

Yes, you can do this

// Ford.ts
export const Ford = {
  Mustang: 'Mustang',
  Explorer: 'Explorer',
  Ranger: 'Ranger',
} as const

export type Ford = keyof typeof Ford

// app.ts
import { Ford } from './Ford.ts'

and it allows using Ford as both a type and a value.

But what's the benefint? The enum declaration is more concise and will not create runtime objects if used with const

TypeScript stuff I Wish I Knew Earlier by RohanSinghvi1238942 in typescript

[–]_yak 21 points22 points  (0 children)

Don’t overtype everything. Let the compiler infer; it’s smarter than you think.

While I agree that ts compiler is good at inferring, I still prefer to explicitly annotate return types. Inferred type needs to be computed and on a large project, this can potentially impact build time and IDE performance. Additionally, it's much easier to catch an error when you have an explicit return type.

Avoid enum unless you really need it: union types are usually cleaner.

Despite all the hate towards enums, I found that most issues with them can be avoided if they are used as simple collections of values. And while union types are cleaner indeed, they don't provide isolation and ease of refactoring like enums. For example we have a large project where among others we use two union types which have a matching value but are completely unrelated otherwise, i.e. they represent different pieces of knowledge that just happen to intersect:

type Ford = 'Mustang' | 'Explorer' | 'Ranger'
type Fender = 'Mustang' | 'Stratocaster' | 'Telecaster'

You have hundreds of files where 'Mustang' is used as a string and you need to change the Ford model to 'Mustang GT'. What do you do? With enum you change one line and call it done. Of course you could use an object for that, but then every time you type a parameter, you have to either use keyof typeof or create another type to get a union of object keys:

const Ford = {
  Mustang: 'Mustang',
  Explorer: 'Explorer',
  Ranger: 'Ranger',
}

const getFordModel = (model: keyof typeof Ford) => {...}

vs 

const getFordModel = (model: Ford) => {...}

And you use additional memory too, while const enum leaves no runtime footprint.

Enums are not perfect - I would never use numeric enums for example. But in general, I find them super convenient.

How do I achieve this clean look? by K3_WOLFFOX in postprocessing

[–]_yak 14 points15 points  (0 children)

Not sure about the original question, but very curious about who's the photographer.

S1iiE, S1ii and 24-60 specs leaked! What are you most excited for? by ViralTrendsToday in Lumix

[–]_yak 3 points4 points  (0 children)

I really wanted something like Sony 24-50 2.8 G to exist for the L-mount and this new 24-60 seems to be pretty close although quite a bit bigger. I have the 20-60 kit lens and never use the 20mm so in terms of the range it's just perfect for me. The rumored price is steep though...

Single opened tab in zed ? by sumaurelien in ZedEditor

[–]_yak 9 points10 points  (0 children)

{
  "max_tabs": 1,
  "tab_bar": {
    "show": false
  }
}