65 karma · joined Aug 24, 2012 (14y ago) · 39 submissions
comment 2mo ago · link · parent
In Australia there are a fair few steam tourist train services. Not regular time tabled ones unfortunately. These ones operate on the main line & are not limited to their specific line.
https://www.picnictrain.com.au/ NSW / around Sydney https://www.steamrail.com.au/tours VIC / around Melbourne
https://transportheritageexpo.com/ NSW/Sydney (Gov supported) https://www.steamfest.com.au/ NSW (Hunter Region/New Castle) [1.5-2h north of Sydney]
Yes coal particles will rain on your face if you stick your head out of the window.
comment 1y ago · link · parent
Different teams want to move at difference cadences. At a certain scale splitting up things feels a little more natural (maybe I am stockholmed by prior limitations with TF though or just used to this way of operating now).
But even then, we're moving to k8s operators to orchestrate a bunch of things and moving off terraform apart from the stuff that doesn't change much (which will eventually get retired as well). Something like https://www.youtube.com/watch?v=q_-wnp9wRX0
Terraform variable management is our larger problem (now/nearterm) when we have to deploy numerous cells of infra that use the same project/TF files with different variables. Given the number of projects/layers of TF getting cell specific variables injected is meh.
Those variables are instance size, volume size, addresses, IAM policy, keys etc.
This is in the b2b saas world with over a million MAU. We've got islands of infra for data soverignty, some global cells where each cell can communicate back / host some shared services (internal data analytics, orchestration tooling, internal management tooling and the like).
comment 1y ago · link · parent
https://innovation.ebayinc.com/stories/graphload-a-framework...
It looks like people are using it to build graph related models on it.
I am looking at it & considering doing something similar for graph data sets. As well as a transactionally safe key value store to store roaring bitmaps.
comment 1y ago · link · parent
https://www.picnictrain.com.au/
We had to stop & wait at various points on our return day trip for other passenger services to pass us. Had to wait for some freight services to clear a block at a few places too.
There was an auxiliary diesel unit not actively used apart from for power AFAIK (and additional emergency mobility should things go kaboom/excess wheel slip).
Maybe that has some the extra safety systems on it though.
comment 1y ago · link · parent
I have my finely crafted nftables ruleset that I want to keep. Docker is going to abuse the crap out of my ruleset/make me jump through extra hoops to have it work.
Having the containers operate under systemd looks fine (ignoring the fact that it is systemd, I guess I have finally accepted systemd is here to stay).
I was interested in using traefik & docker labelling to have ingress sorted out and I believe this will all play nicely enough to replace docker-compose on a single server.
comment 1y ago · link · parent
comment 1y ago · link · parent
I was thinking that given RDS has support for plrust and PostgreSQL's SPI I could use the fact they support croaring-rs there as a crate and build upon that.
I figure I can use that to represent many graph's with say 100s to ~100m nodes and many relations between these things. But each graph would be tenanted to a tenant (company/b2b saas use case).
I was thinking that by using plrust storing the roaring bitmap on the DB server in a bytea and using SPI, I can benefit from the minimal network overhead to mutate and query against the bitmap with croaring. Using SPI locally in the DB server I eliminate network overhead shipping that back to my application code.
PostgreSQL also gives me transaction safety to updates etc. And a bunch of support for other column base data such as my tenant ID column, some JSONB for relationship metadata to query on etc.
Basically something like https://jazco.dev/2024/04/20/roaring-bitmaps/ but on postgres. Given I need to support many tenanted graphs & we're already using citus this seems like something that is feasible at a larger scale too.
I was wondering though if I am going to need to create some operator classes to allow me to index relations a bit better (probably seems likely I think).
I am aware of https://github.com/ChenHuajun/pg_roaringbitmap but would prefer to use int64s and maybe start out on RDS instead of having to add another workload to our self hosted citus cluster/s.
Happy to be told I am fool and any insights would be nice. I am potentially going to try this out on some of our data sets we have because our product team is basically laying out a vision where they want us to have a graph powering a bunch of things.
I don't like the idea of neo4j when we're already deep into PostgreSQL for a bunch of workloads (~20+ TB table workloads etc so we have some reasonable inhouse PG experience).
Also huge thanks to the author of the blog post. I had been looking at pgRouting and wondering with a tilted head.. hmm seems like we can just use this as a graph DB. So that is also on my list to test out.
comment 2y ago · link · parent
You need outside air ventilation.
There is lots of mechanical suction for things like polishing to capture the waste material for post processing.
Most will wear a leather apron for heat / burn protection and capturing fine dust/dirt from polishing compounds. I suppose you could destroy that eventually in a giant smelter.
comment 2y ago · link · parent
When the building we were in got renovated some enterprising guys in another workshop ripped up their floor boards and their neighbouring empty suites and got all the precious metals out of the gaps between the floorboards.
The building was 11 stories and was predominantly filled with small jewellery workshops with 2-5 people per business. And a lot of adjacent businesses (trade supplies, stone merchants etc).
comment 2y ago · link · parent
Flutter is interesting to me because I can use a tool like flutterflow to build an app and throw together the backend reasonably comfortably (with some possible future footguns included).
Not knowing Kotlin means this is less attractive to me, but I can see the benefit if I knew one language that could span frontend and backend very nicely.
comment 2y ago · link · parent
Or that time I spent $120k USD on testing some upgrade paths on a dataset in elasticsearch from version 2.4 -> 5 -> 6 -> 7 that took about 5-6 days runtime on imports per upgrade step.
comment 2y ago · link · parent
Do you have billions of rows with only a very small % in use/locked or millions of rows that are jsonb blobs with a relatively high % in use/locked?
Is your workload mostly write once read lots or read/write evenly split etc.
How fast is your IO. Are you using network storage (EBS for example) vs local NVMe?
How much other load are you contending with on the system.
I have a JSONB heavy workload with lots of updates. JSONB blobs avg around 100KB. But can go up to 20MB. We can see < 10 updates on a blob all the way to thousands of updates on the larger ones.
We use Citus for this workload and can move shards around and that operation will use logical replication to another host effectively cleaning up the bloat that way.
We also have some wide multi-column indexes over text fields and date fields that see a fair bit of rewrite activity as well. Those indexes get bloated a fair bit too and we run re-indexes every few months (used to be every 6-12 months, but as the workload is getting busier we're re-indexing a bit more frequently now).
The index bloat is far more of a problem than the raw table bloat.
In the past I would use pg_repack when we were on a single RDS solution.
comment 2y ago · link · parent
Using the machine has been life changing for me.
I used to struggle to get up before 10am. Now I wake up naturally around 6:30am-7am most mornings.
Learning new things isn't a mountain to climb to retain just a bit of information. I feel like if I had done a sleep study 10 years earlier I would be a much better technologist than I am now.
I would recommend you suggest to your wife that she tries a few different mask styles. I initially found I wasn't fitting the mask well or had a slightly wrong size and I would get some leaking that would keep me awake at night.
comment 2y ago · link · parent
A $95 UberX ride home is about $109 in a taxi for me.
Talking to a few friends who also live a similar distant from the CBD/downtown find that Taxi's are the better / more reliable option these days too.
The taxi is pretty much always newer, with a professional driver who usually isn't almost falling asleep behind the wheel. The quality of the driving is typically significantly higher. It feels like a safer ride.
Of the recent UberX's I have caught, the car was typically in need of a suspension replacement or significant servicing and around 6-7 years old or older.
Most recent taxi rides I have had a car around 12 months old or less.
Taxi's are better regulated and provide a better service. I'll happily pay the little premium there is in this market to use one over an Uber.
On a recent trip to NZ the uber to taxi price comparison was massively different.. Taxi was like 2.5x more expensive..
comment 2y ago · link · parent
A different aspect is the shunting layout, this guy's channel is amazing. https://www.youtube.com/@boomerdioramas
comment 2y ago · link · parent
Membership average age is like 50-60ish. We do have about 10-15% of members like me under 50. Some even in their 20s. Doesn't seem quite like its in too much trouble around here. The pool is shirking with apartment living becoming more normal though in the area. But maybe because this is a club with its own layouts that members can use is one way for the hobby to survive & thrive.
There are 5 layouts, 2 in N scale. 3 in HO. 3 of the layouts are able to be broken down and put on a trailer and taken to an exhibition.
I do think that home built & run layouts are probably on the decline with cost of living & housing so high compared to years past. But I think club layouts that members can use is a way to help keep the hobby relevant.
There are cool projects like https://dcc-ex.com/index.html and arduino based control for layout automation bits. That historically cost a lot.
My observations of the US is that mostly ready to run models are sold now, haven't seen too many kit makers around for US stuff. Still kit makers for Australian & NZ stuff. With some decent ready to run Australian prototype available now.
The next house will have a train room or area of the garage available. This is definetly a middle class hobby. Its not cheap.
I have wanted to work with my hands again. Sitting at a computer all day or parts of the evening playing video games is only so fun. Would rather build something physical.
comment 3y ago · link · parent
BUT, Why does IP reputation matter so much these days when you have DKIM, MTA-STS, DANE and other mechanisms that provide verification of the sender?
Say I want to startup a Email Service Provider, I need to go and source a bunch of IPv4 typically to have a premium upsell for end users to really ensure cross sender reputation does not impact other tenants. Crazy.
IPv6 historically at least was anecdotally punished by the likes of GMAIL, Yahoo, Hotmail, Office365 etc. Does anyone know if IPv6 hosted email severs still suffer additional spam scoring?
comment 3y ago · link · parent
The leasing or contracts on the air freight must be a bit of a problem if shopify has trimmed their business to flexport. Probably needs to free up cashflow to cover the expenses.
Wonder how the % of business shopify was for flexport.
comment 3y ago · link · parent
Once auth is required for the celery processes, the old zombie wont have access. And if this occurs again OP could revoke access etc.
comment 4y ago · link · parent
However for some orgs this becomes a brick wall they eventually smash into.
The cloud vendors now provide moderately ok database offerings on a variety of virtual hardware that allows you hide a lot sub optimal data modelling, index usage and inefficient data modelling.
Any database workload is performant while all the data fits in ram.
I agree with some other comments that there is a bit of a shift left approach to the DBA role now. I find that dedicated DBA skill sets are somewhat useful up until a point then they struggle to have context of the application stack beyond.
If you want a solid DBA career you may want to look at a SRE track/pathway that includes some deep focus on databases.
You will want to know the how various index types work, when and why to use them. Data types. Intricacies of various database mechanics that impact performance and scaling workloads. Solid foundations in highly available system design, maintenance and operation. A willingness to be on-call. A willingness to write code to a software engineer level or send in changes to the dev team/s to help optimise queries, drivers, connection pool settings/timeouts or ORM usage (shudder).
I think the days of a pure DBA role are coming to a close in technology lead organisations. Maybe not in banking/insurance or other orgs where DBAs found a home to sit in the back office doing minute query tuning on a reporting query etc.
If more developers have read and understood the content in https://use-the-index-luke.com/ then there would be less need for DBAs.
30.
Ask HN: For those who are tech leads what are your responsibilities?
3 points · by pjd7 · 5y ago · 2 comments