173 karma · joined Dec 10, 2013 (12y ago) · 218 submissions
comment 1y ago · link · parent
Personally - I'm happy for my taxes money to be used for police or firefighters (and other things) and I still hope I never really use/need them.
At the same time. If The Netherlands hadn't had 30% tax ruling for expats, wife and I would've went back after my initial 12 months contract.
Back in 2010/2011 - even with software engineer salary, until 30% tax rule was granted for me - we were chipping away money we saved up living in Serbia.
Back in <=2010 wife and I were earning €1500~€1750 in Belgrade. Saving at least a third of that. In the NL the ~€45k gross (before 30% tax rule was granted) was not enough for rent, food and other normal (no car, not eating out ...etc.) costs.
But Dutch had 30% ruling, so even with one newborn we could still make ends meet. And 15 years later The Netherlands has 2 adult tax payers (at 0 prior cost for NL), and 2 children (born there, so same societal/taxpayer cost as any other NL citizen/child).
comment 1y ago · link · parent
Perhaps we have different ideas about what "taxpayer resources" and/or "public infrastructure" is?
I was highly skilled migrant/expat, now "naturalized Dutch", and work for Booking.com - so I know a thing or two about tourism (beyond just traveling myself).
Tourists least, digital nomads a bit more, and expats even more - use public infrastructure.
But over lifetime, locals use order of magnitude more than expats.
comment 1y ago · link · parent
I am saying that over their lifetime - they use much less of the societal services in their "remote/nomadic" locations compared to lifetime-permanent/locals.
And governments calculated that in.
comment 1y ago · link · parent
What would be ultra touristic places in Poland? Both Split and Dubrovnik are ultra touristic, and say Amsterdam is similar. Also the part of really old streets/buildings that are UNESCO and such protected and not supposed to be renovated.
And to me - Krakow seemed very similar to Belgrade (Serbia) and Zagreb (Croatia).
comment 1y ago · link · parent
Not just for periods before and after they are living there - also during their stay.
For example. If they (nomads) lose their (remote) job - they won't get social benefits payments like the "locals".
They (nomads) also don't accrue retirement/pension which is usually part of income taxes.
And of course they pay all the other "taxes".
If they rent/buy anything - there's VAT. If they drive around in their car - they pay registration, insurance, road tax, highway tolls.
Pretty sure they also need to purchase some sort of health insurance.
comment 1y ago · link · parent
Same feelings towards non-nomadic Expats in The Netherlands - because of the "30% tax free for Expats".
Meanwhile the truth is that some 15-20 years ago - Dutch government introduced that "30% tax rule" as a cost saving measures.
Previously expats in The Netherlands would collect bills/receipts for expatriation related expenses (e.g. language classes, international school for kids, differences in cost of living/housing ...etc).
And processing those tax claims was so much bureaucracy that Dutch government realized just giving expats 30% of gross income tax free for 10 years (reduced to 8 and then 5 years) is both less money than actual expenses used to be, and much less paperwork/cost.
And let's not forget that (definitely for non-nomadic expats, though arguably also for digital nomads) country didn't need to pay their birth/growing up, education ...etc.
And (especially for digital nomads) might not need to cover the costs for their old age health, retirement and such.
comment 1y ago · link · parent
And the weather - well personally I haven't been in Croatia around New Years.
But last few weeks (it's same every year) it was 37-40°C - too hot. While in May you still need to turn on heating (or light a fire).
And from the rest of family that grew up in the Croatian coast (Dalmatia) - winters sound pretty crappy due to winds. Also because it's mostly still above 0°C snow is rare.
My wife said that as kid, they had to drive her to other part of then Yugoslavia for her to finally see real snow.
comment 1y ago · link · parent
While say The Netherlands taxes your investments such as Stocks/ETFs (not their earnings/capital-gain/etc but literally just owning stocks/ETFs/etc) - in Croatia those are not taxed after you've held them for 1 or 2 years (don't recall if 1 or 2).
Similar (owning stocks/ETFs not taxed) in Serbia, Malta, Cyprus ...etc.
comment 1y ago · link · parent
As Serbian/Dutch with wife from Croatia - I can definitely say that prices didn't rise only in Croatia.
Basically same % rise in (non-EU) Serbia, and The Netherlands.
Possibly elsewhere too - but NL/CRO/SRB is where were have family and spend enough time to really know.
comment 1y ago · link · parent
Loads of such not strictly TECH folks end up in Big Tech as data scientists, as well as programmers.
I only have ~25 years of "work" experience. I finished electrical engineering/electronics highschool (in parts of Europe you're 18 y/o by the time you finish highschool). And then just as I started with (computers focused) EE College - I also started freelancing. I started making websites/scripts/etc in the early 2000s.
It turned into full time contracting, and then even moving countries for "Software Engineering" job - all before I finished college.
Anyway - although in the last 2-5 years (Covid/Wars/etc) it became less common for companies to accept "graduates".
My impression is that it's more about hiring freeze in general, than the more recent "AI makes 100x developers possible" hype.
And by "graduates" I've seen both young folks with tech education but 0 work experience, as well as no (complete or at all official) tech education yet self taught and much more "work experience" from personal projects, competitions, hackathons.
And of course there's also other tech stuff - UX/design, db/net/sys admins and such.
comment 1y ago · link · parent
While you could also use Kafka like that - and it might even work for your use case, as long as you configure option (sorry forgot the name) that makes Kafka redistribute shards because particular workers/consumers are too slow.
AFAIK the usual way is for each worker to get more than one message/item at a time, and do the actual item/work in/through separate thread/work pool (or another async mechanism).
Kafka then keeps track of which messages were picked up by each worker/consumer, and how big is the gap between that and committed offset (marked as done).
It gets a bit more tricky if you: - can't afford to process some messages/work again (well at extreme end it might actually be a show stopper for using Kafka) - need to have automatic retry on error/fail, how quickly/slowly you want to retry, how many times to retry...etc. - can you afford to temporarily "lose" some pending (picked up from Kafka but offset not marked as done) items for random things (worker OOMKILLED, solar flare hit network cable ...)
We've actually solved some of these with simply having another (set of) worker(s) that consume same topic with a delay (imagine cron job that runs every 5 minutes). And doing things in case there's no record of task being done, putting it into same topic again for retry ...etc.
comment 1y ago · link · parent
You control/configure numberOfShards - and its usually set to something order of magnitude bigger than your expected number of workers (to be precise - that's number of docker pods or hardware boxes/servers) - e.g. 32, 64 or 128.
So in practice - Kafka assigns multiple shards to each of your "workers" (if you have more workers than shards then some workers don't do any work).
And while each of your workers is limited to one thread for consuming Kafka messages. Each worker can still process multiple messages at the same time - in different async/threads.
comment 1y ago · link · parent
If you want to continue processing other/newer items/messages (and usually you do), you need to commit Kafka topic offset - leaving you to figure out what to do with failed item/message.
One simple thing is just re-inserting it again into the same topic (at the end). If it was temps transient error that could be enough
Instead of same topic, you can also insert it into another failedX Kafka topic (and have topic processed by cron like scheduled task).
And if you need things like progressive backing off before attempting reprocessing - you liekly want to push failed items into something else.
While it could be another tasks system/setup where you can specify how many reprocessing attempts to make, how much time to wait before next attempt ...etc. Often it's enough to have a simple DB/table.
comment 1y ago · link · parent
With that (and sharding based on that ID/value) - all your consumers/workers will get equal amount of messages/tasks.
Both post and seemingly general theme of comments here is trashing choice of Kafka for low volume.
Interestingly both are ignoring other valid reasons/requirements making Kafka perfectly good choice despite low volume - e.g.:
- multiple different consumers/workers consuming same messages at their own pace
- needing to rewind/replay messages
- guarantee that all messages related to specific user (think bank transactions in book example of CQRS) will be handled by one pod/consumer, and in consistent order
- needing to chain async processing
And I'm probably forgetting bunch of other use cases.
And yes, even with good sharding - if you have some tasks/work being small/quick while others being big/long can still lead to non-optimal situations where small/quick is waiting for bigger one to be done.
However - if you have other valid reasons to use Kafka, and it's just this mix of small and big tasks that's making you hesitant... IMHO it's still worth trying Kafka.
Between using bigger buckets (so instead of 1 fetch more items/messages and handle work async/threads/etc), and Kafka automatically redistributing shards/partitions if some workers are slow ... You might be surprised it just works.
And sure - you might need to create more than one topic (e.g. light, medium, heavy) so your light work doesn't need to wait for heavier one.
Finally - I still didn't see anyone mention actual real deal breakers for Kafka.
From the top of my head I recall a big one is no guarantee of item/message being processed only once - even without you manually rewinding/reprocessing it.
It's possible/common to have situations where worker picks up a message from Kafka, processes (wrote/materialized/updated) it and when it's about to commit the kafka offset (effectively mark it as really done) it realizes Kafka already re-partitioned shards and now another pod owns particular partition.
So if you can't model items/messages or the rest of system in a way that can handle such things ... Say with versioning you might be able to just ignore/skip work if you know underlying materialized data/storage already incorporates it, or maybe whole thing is fine with INSERT ON DUPLICATE KEY UPDATE) - then Kafka is probably not the right solution.
comment 1y ago · link · parent
Perhaps you really dislike (micro)management and need more autonomy/ownership/control (or just input/participation from your end) over your time/approach/order-of-tasks?
And think/elaborate more on where this "wasted a day investigating something for nothing" is coming from.
Perhaps you're not understanding (or not even getting to hear/see) the whole picture on why "business thinks investigating that is worth one day of your salary"? Or maybe you know and disagree?
Or is it happening so much that it's basically constantly being bumped between such tasks?
Anyway - I wouldn't necessarily listen to the "you're still getting paid so who cares" advice crowd...
I believe such stuff is like cilantro/coriander.
For some of us that don't have specific genes mutations - that stuff actually smells/tastes like dish soap.
And while some people can just clock in and collect the paycheck - others are wired differently.
So really spend more time on zeroing in on what exactly is (de) motivating for you.
comment 2y ago · link · parent
In my experience where I've worn both IC and TL/manager hats -even just going from "adequate" to "OK" team/engineering/product manager leads to impact/output that's bigger than having the best (so that mythical 10x) engineer.
comment 2y ago · link · parent
On the other hand - during ~500 years (within last ~625 years) that Ottomans occupied most of Balkans - many words stuck around to this day.
For example: Jok, Jorgan, Džezva, Mašala ...etc
comment 2y ago · link · parent
So if you're worried about NSA or the like - you better not have a mobile phone/device (or a car - because new cars sold in EU all have eSIM for builtin emergency calls) at all.
And for particular first hand example - Xplora smart watch/phone got super confused when my kids school physically moved.
New building has indoor sports/gym (I think it's basketball court size) on the top floor - and all the reinforced concrete means mobile reception can be hit and miss (even on 3/4G).
Despite phone/watch never connecting to school (staff only) wifi. After move to new building - watch and parent app would regularly think/bounce location between old and new school buildings.
When even 3rd party companies have a mapping between wifi/ssid and approximate geo location, you can imagine state sponsored actors have at least next order of magnitude.
83.
Melatonin Receptor Is Key to REM Sleep and Memory(neurosciencenews.com ↗)
2 points · by techcode · 2y ago · discuss
comment 2y ago · link · parent
Basically the type of synergy/innovation that is typically thought by business that it happens by the water-cooler.
On the other hand, in my experience and observations - just one or two of 2-3 days hackathons (so total of <=6 work days) produced almost an order of magnitude more synergy/innovation than those daily (long) lunches during the rest ~5 years of workdays.
Though sure - some things like initial employee onboarding (or even internal move to different unit/team), trainings/workshops, (semi)annual or quarterly plannings...etc are usually better in person.
Yet I've basically never had any of those at office desk. It was either bigger conference room (or dedicated auditorium/presentation/workshop room), or a meeting/lunch with manager or a (more) senior person with one or two of "newbies".
After initial onboarding (which is usually a week or two of "newbie" not being at desk with the rest of their new team).
All of those things add up to 1-2 days in office per month (including giving talks/training/workshop to "newbies").
Add 1 day for interviewing candidates F2F, and we're up to 2-3 days per month.
Even if you have a hackathon each month ... And the most I've seen was 2-3 days once a quarter, though usually it was 2-3 days per half a year - so nothing close to mythical Google 20% of the time ... We're still talking about at most 4-5 days in office per month.
comment 2y ago · link · parent
Every now and then particular knock ports might be blocked (DROP) by cliënt side ISP/wifi/etc you happen to be using at the moment.
Or your fiber optic connection package gets a speed boost, along with being moved behind CGNAT.
OK in my case switching from cable to fiber already included ending up behind a CGNAT, but people already on that ISP actually got that 2in1 surprise.
comment 2y ago · link · parent
From there everything is either considered "localhost" or a local network.
You can setup one or two central boxes (actual home lab "server" where you already have HTTP based services, and a raspberry pi zero 2 for backup) with TailScale.
With remote devices (including phones) in same tailscale network - you can access anything in home network as if you're physically home (but also have ACLs for kids/friends/etc).
On the other (professional) end - well then NginX and SSH are not even on the same network interface. And you run NginX LB/ReverseProxy on separate boxes compared to where actual apps/websites are ...etc.
comment 2y ago · link · parent
In case I needed to proxy through home, or access something like web ui for home heating system - I simply used ssh tunnel (socks localhost etc)...
Of course now all that is simply done via WireGuard/Tailscale/etc.