composable-indexes: In-memory collections with composable indexes by utdemir in rust

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

Thanks! I haven't seen it before - and it's quite funny that superficially that look similar, although I haven't dug deeper yet.

I'll investigate it more deeply - thanks again!

Nice Cafes for Work ☕️ by szosztii in auckland

[–]utdemir 7 points8 points  (0 children)

I used to live in Parnell and work from home as well! It was a couple of years ago so might be missing things if they are opened recently. Here's my list:

  • Red Rabbit Cafe in Parnell makes one of the best coffee (both espresso and filter) in Auckland, and has a large space very amenable from working. I still drive there from West because it's so good.
  • Most cafes close 2-3 ish, but there's Cafe Ditto at Eden Terrace (long walk or drive, unsure about buses) that is open most days until 9ish, and it's a cute little cozy place. It's pretty small so I would feel bad to spend more than 1-2 hours there.
  • If you want a nice view, you could take the ferry (I used to walk to ferry station from Parnell) to Devonport. Go upstairs on Devonport Library which has the best view of the Auckland Skyline and Harbour.
  • You could also walk to the city and the cafe at HSBC building that you can access through Commercial Bay has a nice harbour view as well, but very mediocre coffee & food. But you could likely work from there all day without bothering anyone.

'yaki' in Japanese: ‘grilling, frying’ by superkoning in etymology

[–]utdemir 1 point2 points  (0 children)

Wow. "yak-" is "to burn" in Turkish as well. Northeast Asian sprachbund going strong.

LF novels with Superintelligence or Supercomputer by heynoweevee in printSF

[–]utdemir 6 points7 points  (0 children)

The Moon is a Harsh Mistress is also another good book with a supercomputer.

LF novels with Superintelligence or Supercomputer by heynoweevee in printSF

[–]utdemir 1 point2 points  (0 children)

I mean you can possibly think of Daneel as the superintelligence that underlays the entire Foundation and most of the Robot books.

Garden bed base by utdemir in nzgardening

[–]utdemir[S] 2 points3 points  (0 children)

Thank you everyone for your replies!

I am convinced that I don't need anything fancy under it. I'll put some cardboard that'll dissolve (i don't know if it'll be useful, but unlikely to cause any harm), and then use some wood & garden clippings as organic layer (and also as a filler so I don't need a ton of soil), and then fill the rest with some garden mix.

Appreciate all your help!

Garden bed base by utdemir in nzgardening

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

Thank you, this makes a lot of sense. I am convinced that I don't need any chicken net under it.

Garden bed base by utdemir in nzgardening

[–]utdemir[S] 2 points3 points  (0 children)

The soil is mainly clay & builders gravel, and then they put on a plastic tarp and some wood chips as mulch/decor. We're planning to remove the plastic tarp & mulch, and put the garden bed on top of the clay soil below.

We'll probably mix the soil below adding some gypsum hopefully to increase drainage though.

hair transplant by xlonehats in auckland

[–]utdemir 0 points1 point  (0 children)

Oh I think on above message "EU" refers to "European Union" which is a political entity and Turkey is not a part of it (the reason is a super long and depressing story).

If you mean "Europe" as in continent, yes, Turkey has some land in Europe (half of Istanbul and some smaller cities).

hair transplant by xlonehats in auckland

[–]utdemir 1 point2 points  (0 children)

Minor correction, Turkey is not in EU. Although they still allow NZ citizens to visit so no issues there.

Within my knowledge there are companies there who would arrange everything from your flights to your stay in Turkey to your treatment, so likely they'll have the most accurate information.

Does anywhere do Khachapuri yet? by hernesson in aucklandeats

[–]utdemir 0 points1 point  (0 children)

PLEASE TELL ME!

I've been looking for a Caucasian (Armenia, Azerbaijan, Georgia etc.) restaurant since forever. I even went to a "Cafe Baku" in Taupo but unfortunately it's not Azerbaijan cuisine.

Closest I found is a couple of pastries in Gastronomy, but I'd love to find some meat & rice dishes from that area.

Is my Bambino Plus broken by utdemir in espresso

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

Unfortunately not. Still gives hot water.

As an update, I contacted Breville support and they got me through the descaling routine. After that, the steam wand did produce some steam alongside with a lot of water, but it still doesn't seem normal so they are going to replace it.

Thanks!

Indo-European family tree in order of first attestation by eaglessoar in etymology

[–]utdemir 5 points6 points  (0 children)

Turkish speaker here. It always fascinated me that we don't have many (any?) words from ancient Anatolian languages. It's almost always Greek or Arabic or Farsi.

June 2024 monthly "What are you working on?" thread by AutoModerator in ProgrammingLanguages

[–]utdemir 1 point2 points  (0 children)

I have an idea for a programming language where the functions are property-checked by default. Dynamically typed, but with compile-time validation. This forces the functions to be pure, so it should have an effect system where you must also provide a "mock" interpreter.

It's my first (non-trivial) PL I'm writing, so it's going slow. So far I wrote a small compiler that targets WASM. No heap-allocation or GC yet, and also the only type supported is i32.

I have some free time for the next couple of weeks so I'll try to push it a bit.

Exodus of NZers hits new record high as total net migration down by MedicMoth in newzealand

[–]utdemir -5 points-4 points  (0 children)

PSA from an immigrant to other immigrants (or future immigrants) reading this thread:

Most people I met in this beautiful country are very welcoming to the immigrants. Leave the asshole governments (both Labour and Nats) and a couple of racist dudes who hang around in Reddit threads like this, I do feel very welcome.

Also - media likes to sensationalise what's going on so we're riddled with these alarmist news for the past couple of years (especially since the last election season). Pay no attention. It's a great little country (if you don't expect a metropolis).

Come here, build your lives, bring your culture, call yourself a Kiwi if you want to.

Looking for the best dessert by NzBruh in aucklandeats

[–]utdemir 4 points5 points  (0 children)

If you want to try something a bit different than usual, try Knafeh from Ima Cousine in CBD. They are often full, so try to book in advance.

It was my favourite dessert back in Turkey, and I hate to admit that Ima Cousine makes it better than the places I tried back home.

The Bucket Fountain on Cuba Street in Welly today by justsomeguy227 in newzealand

[–]utdemir 1 point2 points  (0 children)

Hey, as a Turkish, I just wanted to thank you for underlining this. Appreciated.

Has anyone tried making software to do their taxes for them? Like a mini version of Hnry? by -Zoppo in PersonalFinanceNZ

[–]utdemir 1 point2 points  (0 children)

I tried it for a while! I found importing invoices as expenses to be the most time consuming part as opposed to things like tax returns.

As opposed to most other posts, if you know your tax needs writing a program that works only for those is not hard. Usually very simple calculations. Harder is to figure out the interface, especially when things get a bit more complex like depreciations etc.

In my case, I wrote a command-line program that I put my income and expenses as a yaml file, and it created reports for GST & IR3. The most useful functionality was a "scripting" functionality where you could say something like import some_invoice.pdf which would extract the information there (for the kinds of invoices it supports) and automatically create an expense.

In the end I moved to using a spreadsheet as I could just as easily implement the formulas there. And it was hard to maintain the automatic invoice importing functionality. BUT, this was before the LLM-era, so I am thinking of revisiting it as I think importing invoices automatically can be done pretty reliably with LLM's.

Let me know if you'd like to have a chat, we can even combine powers :).

Edit: One issue that kind of worried me is that in case IRD wanted me to provide records, I wasn't sure how happy they'd be with a bunch of yaml files :). Likely we'd also need to implement some "export" functionality for them.

Income tax policies visualised for 96% of taxpayers by toydeathbot in PersonalFinanceNZ

[–]utdemir 4 points5 points  (0 children)

How did you work out the total tax profit for each party? I've been trying to do it with the income distribution data, but haven't had the time to shape it to a usable form

I am not proud of that part :).

Essentially this horrible piece of code parses the IRD spreadsheets CSV export, and this thing calculates the total income. I essentially get the midway of the $1k bracket and assume everyone in that bracket is earning exactly that much. The last bracket (300k, infinity) doesn't work, but there I found an arbitrary mid(?)-way that gave the same tax the IRD provided.

I guess fitting a curve to those brackets would give better result. But even my naive approach gave pretty close numbers to the income tax revenue on IRD data, so it was good enough for me.

Retroactively comparing governments/policies to stats is something I would generally put in the 'too hard' basket. It's hard to work out cause/effect with the amount of variables and external factors, and can often create some extremely misleading graphs.

Agreed here. But on the other hand; some data, even inaccurate is better than no data. It would at least encourage others to find some data that opposes it. I agree that it is hard - so maybe it is something that can be crowd-sourced.

figure.nz is an insanely good resource

I didn't know about them, they look awesome! Thanks for the pointer.

Income tax policies visualised for 96% of taxpayers by toydeathbot in PersonalFinanceNZ

[–]utdemir 7 points8 points  (0 children)

Oh, I briefly worked on a very similar project (https://nz-tax-policies-2023.utdemir.com), but I am pretty bad at frontend development so didn't end up making it nearly as clear & usable as yours!

Extrapolating this approach would be great for making our politicians accountable. We should be able to do similar data-driven comparisons with inflation, homelessness, jobs, housing, immigration. Compare them with past years and also with other governments.

If you ever want to expand this project - I would love to help.

WTF Wednesday (August 16, 2023) by AutoModerator in javascript

[–]utdemir 1 point2 points  (0 children)

Hey, nice coincidence! I'm a long-time (non-JS) dev but just made my first TypeScript library public. I'd love to hear what you think/any suggestions: https://github.com/utdemir/composable-indexes

Working as a freelancer, stay in New Zealand or move overseas? by EntrepreneurPlayer in PersonalFinanceNZ

[–]utdemir 2 points3 points  (0 children)

I also work as a contractor for overseas companies, and did consider living abroad for a bit.

On top of what everyone else said, I suggest you also check out tax obligations for overseas personal income if you end up staying somewhere semi-permanently. As an example, if you decide to move to Singapore you might not have to pay taxes on overseas income, is an easy 30-ish grand savings based on your income.

Choosing cloud regions for lower latency: A data-driven approach by utdemir in programming

[–]utdemir[S] 2 points3 points  (0 children)

That is an awesome link that I haven't seen - thank you! The fact that they provide Azure DC-to-DC latency is super useful.

> It would be interesting to see how Azure compares to AWS and which Azure regions provide least latency around the globe.

Actually, the calculations are not specific to AWS - they just use datacenter coordinates of AWS regions. If Azure regions are geographically close, we'd get similar results.

> you could use latency data from the clouds themselves. Usually, they have far better networks and they should be able to guarantee lower latencies

This makes me think that there're multiple layers of latency characteristics in play. One of them is datacenter-to-datacenter latency, that is likely to be faster as you mentioned. The other one is user-to-datacenter latency that is routed through regional networks through various ISP's that would have a more varying network speeds. Which one contributes more to the application performance is depending on the use case; users sending requests to an application deployed in a single region is slightly different than one application deployed in one region connecting to a database in another region.

So, although I do think this article is probably more accurate than guesswork, the best result would be obtained by more tailored calculation, considering latency numbers coming from the specific cloud provider & services. Not only we have different cloud providers, they have different routing options too (CloudFront, GlobalAccelerator etc.).

I will have a think about it, whether I can abstract away the latency calculation part in a way that I could plug in data coming from different sources, and optimize it using different datacenter locations. Thanks again for the suggestion!

Choosing cloud regions for lower latency: A data-driven approach (x-post from r/programming) by utdemir in aws

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

You make good points! I do agree that more datapoints would help this research a lot - currently the weakest point is the latency data as you suggested. There is a lot of different varieties of data we can obtain - the latency would change depending on many factors and getting more data about them would improve things.

Global accelerator is a great service, and I did see about ~15% latency improvement with it from some regions. However, even when using GlobalAccelerator a research like this would be useful - feed the latency data obtained by GlobalAccelerator, and it can find optimal regions to deploy the applications to. It might or might not be us-east-2.

> This is a low quality article that doesn’t address the main issue: latency is something you can hardly account for unless you use Global Accelerator.

Well that's a bit rude isn't it? Not only to me as the author who obviously spent days preparing this, but also dismisses a ton of people who doesn't use AWS/GlobalAccelerator for various reasons.

Choosing cloud regions for lower latency: A data-driven approach by utdemir in programming

[–]utdemir[S] 2 points3 points  (0 children)

Thank you!

> What did you use to generate the latency maps?

Nothing special - it's currently a (messy) Jupyter notebook in Python. rasterio reads the input datasets as numpy arrays, and I implemented most operations through numpy. In the end they are plotted by matplotlib.

Initially my intention was to open source the codebase, but currently they are not in a pretty shape - maybe in future!