HNHacker News
TopNewBestAskShowJobs

BFLpL0QNek

571 karma · joined January 20, 2019

submissionscomments
BFLpL0QNek··on How does Firefox's Reader View work? (2020)
There was a lot of stuff/buzz around the semantic web in the early 2000s.

I’ve been out of web for a long time but it seems to of mostly died with the advent of React and the single page web application. Now it looks like everyone apart from public government sites with strict accessibility requirements just don’t bother putting the effort in.

BFLpL0QNek··on Developers spend most of their time figuring the system out
You just put in to words that I couldn’t, exactly how I work and think :)
BFLpL0QNek··on Ubiquiti is suing Brian Krebs for his reporting on their breach
Yes, Ubiquiti suing because of damage to their reputation results in damaging their own reputation more.

As a Ubiquiti product owner I’m being turned off Ubiquiti equipment in the future.

BFLpL0QNek··on A magical AWS serverless developer experience
For a professional product, my preference would be build as a standalone app, package as a Docker image, bake an AMI and deploy to a vps in an auto scaling group with elb in front, or if in a large org with platform team, kubernetes. If you need other AWS services like SQS fine, it’s only deployment/packaging we’re talking about

Development/deployments is so much simpler and for a business with money, the price difference is negligible. You can dev/test locally, not to tied to a provider, essentially just another boring web app.

However for personal projects I’ve been playing with Sererless out of interest to see if it’s ready yet, and instead of paying $10-20 a month for a VPS I pay fractions of a cent.

I develop my Lambda as a monolith application, not a lambda per endpoint. I’m told this is an anti pattern…my take is I’m just using lambda as another compute deployment target it’s fine. I use hexagonal architecture so my app knows nothing about Lambda which makes unit testing easy.

Next I wire up a very thin adapter layer that takes the Lambda request json and converts it to the required value my app needs for routing. This is at the very edge of the app. I like to use this design regardless of lambda, I can swap out any web framework easily, even build a cli frontend for testing with minimal effort. In the context of lambda, using hexagonal architecture means I can bin Lambda, replace it with a standard web framework and deploy as a standalone app with minimal effort if I need to.

With the lambda in place I have a Cloudflare worker as the entry point to the lambda. It takes a request and forwards it to my lambda. I use a Cloudflare worker as it’s cheap/free (generous free tier) and I get a cache at the edge. I’ll use Cloudflare pages or s3 with Cloudflare in front for static assets.

I use Lambda for the app instead of Cloudflare workers simply because I want to interact with DynamoDB/S3 and I can manage permissions better inside AWS with IAM. I also want to use Rust which has very fast Lambda execution times and I had a few issues with Cloudflare workers wasm which I lost interest in figuring out as only experimenting. As I’m fronting with Cloudflare I’m also extremely dogmatic on cache headers from the lambda and propagating them to reduce calls to the origin/lambda.

The end result is reasonable performant. It’s fast but not the fastest as expected with the hops/latency, it’s extremely cheap. A small pet project may be single digit cents if even that. It’ll also handle large volumes of traffic, easily, without worrying about provisioning issues.

However, I have to jump through to many hoops to get what I have, more than what I’d like to do on a professional project. The orchestration is complex and it feels like what I save in $$$ I pay for in slower dev time jumping through hoops to get the absolute lowest cost. I enjoy this stuff and it’s a personal project done for education, still, I’d be hesitant to go this way for a real payed job as interesting as I find it.

Also pay as you go is great when it’s costing fractions of a cent, it’s also terrible in it opens you up to a new attack vector, DoS’ing your service which has unbounded pay as you go services then waking up to very large bills. Always build in rate limiting for services you use with on demand pricing.

BFLpL0QNek··on I don't need a VPS anymore
This is a great blog post on how to do this on nix, https://grahamc.com/blog/erase-your-darlings .

My Nix machine is stateless apart from a few directories such as home that I want to remain across reboots. When I shutdown/restart the server anything not in a mount I’ve explicitly configured to be persisted, gets erased.

The initial setup was a bit of work but the end result works flawlessly.

BFLpL0QNek··on Ask HN: How do you share your personal setup over different computers?
Nix

Getting a new machine requires a git pull, running nix rebuild / nix darwin rebuild and my machine is set up “exactly” the same as the other machine. Exact configuration, exact versions of software, completely deterministic.

No running custom GNU stow scripts that I used to do. No fragile non deterministic Ansible playbooks that randomly fail.

The caveat, Nix requires a time/investment from a user to learn (search hacker news post for nix). It’s language can be a bit unusual if not used ML style languages, it’s paradigm is a bit different to what you probably know, documentation is sparse although there’s more of it now and a good few blog posts teaching it.

BFLpL0QNek··on Diary of a first-time on-call engineer
That doesn’t work. It results in emotional blackmail “don’t be the person letting the team down by refusing to be on call”, “share the burden with your team”, “everyone else has no problems going on call”, “I got a call out on my kids birthday in the park at a party, here’s a photo of me sat in the corner on a laptop, it wasn’t so bad”, “take one for the team, we give you free softdrinks and deli bar”
BFLpL0QNek··on Cisco Makes $20b bid on Splunk
I’ve seen it go the other way.

The in-house elastic search clusters ended up being expensive to run and a burden with staff / hosting which resulted in rent vs buy and Splunk/Datdog being used to replace the in-house log storage.

In those situations both solutions ended running in parallel with some teams using one service over the other depending what was available when the services where developed and how much hassle it is to migrate. Log migration always being lowest priority for a team if it’s currently working and a backlog full of other stuff.

BFLpL0QNek··on Cisco Makes $20b bid on Splunk
I’ve worked for a few companies who all love using Splunk but also have struggles with spiraling costs so try and reduce usage, unsuccessfully. They are non trivial spends at not so small companies.

Similarly with Datadog.

They seem like a service when people start using them they prove to be very valuable so more people in the company use them and so the cost goes up significantly with the usage.

At that point the options are rely less on Splunk which people try to do but almost never happens in practice as Splunk is so useful/tiered logging more hassle than the company wants. Find an alternative which again is hard to do as the options are limited and has associated migration costs, also as long as they keep developing the service they keep giving a reason to stay.

It seems like the perfect business model. For all intent and purposes they give enough functionality/ usefulness to create vendor lock in, in everything but name. Customers usage continue to increase significantly meaning customers are always guaranteed to be increasingly spend more and more.

Unless they are deliberately trying not to make a profit and concentrate on growth it’s hard to see how they are not making money when people are spending 500k-1million+ a month just on log storage.

BFLpL0QNek··on My CEO’s rating on Glassdoor is so bad that all we are getting are shitty hires
My ex company had a single review for 12 months. The review wasn’t a good one for the company but I didn’t disagree with anything in the review.

My company went through a big hiring spree during the pandemic. They found out about the review from candidate feedback and it was supposedly having a negative effect hiring. Still that single negative interview remained.

Then more negative reviews appeared a few months on from new hires who where treated badly and let go or left.

All off a sudden with a handful of extremely one star negative reviews which I would say are true, factual and reflect the company correctly, the negative reviews disappeared and a stream of five star positive reviews appeared specifically debunking each previous negative point from previous reviews with a positive spin.

I know the company and CEO, the CEO is a text book psychopath. It was fairly obvious he’d written the reviews and somehow got the negative reviews taken down. If it was by contacting Glassdoor or sending threats and lawyer letters to the recent staff who left I don’t know but either wouldn’t surprise me.

Any company on Glassdoor with endless positive reviews I’d treat as suspicious. The useful reviews are the informative negative reviews.

BFLpL0QNek··on Australia Says Djokovic Can Be Detained Again If He Wins Case
> Australia is a lucky country run mainly by second rate people who share its luck. It lives on other people's ideas, and, although its ordinary people are adaptable, most of its leaders (in all fields) so lack curiosity about the events that surround them that they are often taken by surprise.

Donald Horne, 1964. https://en.m.wikipedia.org/wiki/The_Lucky_Country

Today, especially with the current PM and NSW premier this quote has never been more true.

BFLpL0QNek··on The Hacker's Diet
Go get a resting metabolic rate test.

The one I had was cheap and consists of fasting the night before then breathing in to a machine for 15 minutes. It measures the amount of oxygen your body burns in your breast to calculate your resting metabolic rate which then gives you the base number of calories your body burns a day if you did absolutely nothing.

They should then give you a recommended reasonably accurate number of calories to eat depending on your goal and lifestyle. This means you can calculate a reasonable surplus without going overboard and just getting fat.

Also if progress is slow gaining muscle, remember for the majority of people it’s is a long slow process. A lot of the rapid transformations/strength gains we see have help from synthetic testosterone which is a completely different ball game.

BFLpL0QNek··on Australia to introduce new laws to force media platforms to unmask online trolls
Australia is a highly compliant/obedient society. It’s also highly litigious, lots of fines for anything and anything. It’s the defamation capital of the world.

Yes this will be enforced, it’ll be enforced selectively against critics of the current government. There is a video of the announcement with the current PM grinning and smirking in the background like a little kid when this is discussed https://www.reddit.com/r/australia/comments/r3qh1m/the_way_s....

The current pm is coming under a lot of criticism recently as well as other mp’s. There’s an election coming up in May so this is convenient timing. Recently a popular YouTube comedian / journalist had the anti terror police let loose on him for criticising mp’s with accusations of corruption. https://www.michaelwest.com.au/tamed-estate-arrest-of-friend...

Australia has no bill of rights for its citizens and the current government seem extremely self serving for personal gain.

The new Amazon documentary Burning about the 2019 bushfires goes on bit of an attack of the current Australian PM.

Australia is still very much the “Lucky country” https://en.m.wikipedia.org/wiki/The_Lucky_Country

BFLpL0QNek··on Ferrari–Not Tesla–Is Morgan Stanley’s Favorite Electric Vehicle Stock
There’s more than just 0-60 times.

There’s handling, driver experience, fit and finish, looks etc.

Every other EV is a everyday car designed to be practical and it just so happens that electric gives good acceleration/torque.

Take an existing premium sports car. It looks like a sports car, it handles like a sports car, there premium price will allow for premium electric engines and components, it’ll be a better electric sports car than the electric saloon several hundred thousand dollars cheaper.

You can get ICE cars today that are cheaper than Ferrari and with some bolt on components go faster than a Ferrari yet Ferrari has no trouble selling Ferrari’s because a Ferrari is more than just a fast car.

We have multiple tiers of ICE cars, we will have multiple tiers of electric cars. So far Tesla will not be competing with the Ferrari’s, Lamborghinis or McLaren’s and those brands will stay catering for the premium market with premium components , premium handling and premium performance. Because of their brand the first few generations they also likely can get away with a premium on top of the already premium price and still have a waiting list.

BFLpL0QNek··on Ask HN: Do you refuse to work for certain companies or industries?
While I have the option, yes.

There’s a few Rupert Murdoch owned companies recruiting where I’d be a good fit with the roles, they are one of the few companies building teams with the technology I enjoy working with which is in demand in a few countries but not the one I live in leaving the Murdoch owned companies one of a very small number of options.

Unless I become unemployed and desperate to pay the bills I reluctantly ignore any company owned by him despite actively looking for work.

Similarly gambling, it destroys life’s and the gamification prays on the vulnerable. Gambling provides no benefit to society. Unless I was unemployed with no other options approaching financial hardship, gambling is a hard no.

BFLpL0QNek··on Issues we've encountered while building a Kafka based data processing pipeline
It depends on what the events are, how they are structured.

You get guaranteed ordering at the partition level.

Items are partitioned by key so you also get guaranteed ordering for a key.

If you have guaranteed ordering for a key you can’t get total ordering across all keys but you can get eventual consistency across the keys.

Ultimately if you want ordering you have to design around being eventually consistent.

I don’t read a lot of papers but Leslie Lamports Time, Clocks, and the Ordering of Events in a Distributed System gave me a lot of insight in to the constraints. https://lamport.azurewebsites.net/pubs/time-clocks.pdf

BFLpL0QNek··on Ask HN: What type of personal NAS would you recommend?
I was recently having a browse, something like the QNAP TS-473A looks good.

I run my own custom built ZFS for Linux server but the QNAP TS-473A interested me as officially supports ZFS and is practically a small Ryzen server in a cute form factor.

I use ZFS striped mirror (Raid 10). 4 drives, 2 mirrors in stripe mode. This gives a reasonable level of safety and performance.

BFLpL0QNek··on Drink less, exercise more – advice on pandemic living from an 18th-century poem
If you read a lot of the top body builders who are professionals at getting to single digit body fat methodically and repeatedly they’ll agree with you.

If you burn more calories than you eat you’ll loose weight. Doesn’t matter what those calories are.

As you say if you choose to eat low nutrient food below your required daily intake you may loose weight but wouldn’t recommend it for a healthy diet. Choosing better calories may help loose weight quicker as overall health improves but the fundamentals are the same, you are consuming less than your body requires.

Some people may be surprised that if they eat better the volume of food they eat increases but total calories decrease. It’s surprising how calorie dense junk food is which leaves you hungry as low volume so you eat more to feel full.

BFLpL0QNek··on YAML and Configuration Files
I find YAML an incredibly difficult configuration format to write by hand for anything but the simplest of files. Agree it’s a sterilisation format and not a great one.

Likewise for JSON. No one can say setting up a webpack config is simple which uses JSON.

It’s a recent trend. I hate working with the Kubernetes ecosystem as it’s lines of YAML config.

At the same time I love working with OpenBSD / Linux. OpenBSD especially, the config files are simple and concise.

TOML is my preference if I need a config file, it’s easy to read/write and reasonably expressive.

BFLpL0QNek··on Xsolla lays off 150 after an algorithm ruled staff 'unengaged and unproductive'
> You received this email because my big data team analyzed your activities in Jira, Confluence, Gmail, chats, documents, dashboards and tagged you as unengaged and unproductive employees

What a terrible place to work and measure of productivity.

BFLpL0QNek··on Australia is becoming a surveillance state
This was written in 1964 https://en.m.wikipedia.org/wiki/The_Lucky_Country , it still rings true today.
BFLpL0QNek··on Ask HN: Is there a tech talent shortage going on?
No tech talent shortage in Australia. I’ve been job hunting for the past two years and it’s jobs offering 30-40% less than my current salary or fail to get me excited about the product/tech means I’m still looking daily. I have a few friends in a similar situation. Career wise, moving to Australia has been career suicide.

Australia has a tech job shortage. Australia is a tech dinosaur a good 10 years behind the UK.

It’s either low payed startups, with no funding, no equity for the risk+low pay, not that strong a product or it’s large corporate big data jobs (ETL) with all the issues of large old corporate companies where IT is a cost center and layers of management and staff churn.

Since Australia has closed the borders they haven’t been able to import developers. Likewise salaries have remained stagnant. People in good jobs are staying in good jobs with no temptation to move for better pay or more exciting projects.

BFLpL0QNek··on Moving to Germany as an Australian (2016)
Trains are meh. The average train speed is 50km/h, so living out in the suburbs is a long slow commute. What should be a 20-30 min journey can be 1hr plus. Forget interstate travel as each state has different line standards.

"She'll be right mate" the stereotypical image of Aussies, not so true at least these days. Highly litigious, lots of red tape, and following strict rules, love their fines, if they can fine it they'll be a fine for it! You often find police officers in Sydney CBD fining pedestrians for crossing the road or police sniffer dogs around the train stations randomly plucking commuters for strip searches. Australia often gets a bad write up from the UN on social justice, take the encryption laws rushed in as an example.

The car is king. In the EU if you cross the road in a safe manner, cars will back off the accelerator. In Australia, it's a case you shouldn't be on the road, so they speed up intentionally to hit you. Similarly, if you want to cycle, you better be brave. Driving standards seem far worse. On the topic of cars they have high import duties so your average European car becomes very expensive. Instead, there's tons of Toyota Hillux's and Corollas, Landcruiser, etc and the odd Holden but they've stopped being produced in the AU so don't seem as popular as they once were.

It's impossible or near impossible to eat out after 8 pm.

Shops close at 6 pm so no after work shopping.

Sydney has zero nightlife for an international city, it's like a ghost town now after dark. They introduced "lock out laws" essentially killing the nightlife as bars close early, prevent you from getting into bars after a specific time, and limiting drinks that can be purchased over a specific time. They have recently backed down from this and reducing the restrictions in the new year. The damage has been done, bars have shut and turned in to apartments.

A high cost of living. You have two grocery stores, Coles and Woolworths, so far less variety. There is a third chain called IGA that tries to carry a little higher quality produce, you see them more in smaller towns.

Being so far from anywhere, it's a long journey to travel outside of Australia. Perth to Sydney is a 5hr flight, a 5hr flight you've crossed Europe.

Australia is on fire, the prime minister denies climate change and walks into parliament with cole saying don't be afraid it's only cole, kind of sets the standard.

Tech jobs, you get your usual low barrier agency knocking out website jobs writing javascript. Then the other popular work is big data doing questionable stuff with user data or cryptocurrencies. When you search on Linkedin, for example, for EU jobs or US jobs compared to Australia, Australia's availability of meaningful, interesting, well-paying tech jobs is lacking/behind other parts of the world. Some do exist but few and far between. The computer science degrees here must be good though worked with some very smart Aussie's. The US companies tend to cherry-pick the graduates due to the special AU-US visa agreements.

The housing they've yet to discover double glazing/insulation. A lot of the properties look like they haven't been renovated since the 70's. Slight ignorance that insulation works to keep the heat inside during the winter and heat out during the summer when the aircon is on. Also the mean Sydney house price is $1million +, although that $1 million won't buy you what you'd expect for a $1 million house. Instead, you'd get some shitbox that needs renovating or what is popular knocking down and turning in to apartments.

On the plus side, if you like an active outdoor lifestyle, it's fantastic. If you like the beach it has them, bushwalking, lots of that, outdoor sports lots of that.

Great coffee that's down to the high multiculturalism, although there's is a lot of quiet racism the more regional you go.

Also in the cities etc food is really good. I eat out a lot more in the AU for brunch and dinner. Lots of variety from AU / EU style food to Asian etc.

Work-life balance is generally ok. It's certainly a comfortable lifestyle. There's also less crime. I've never walked down a street or through a suburb that's felt unsafe.

Life is good in the AU if you get a tech salary, it's a bit of a bubble, though compared to the rest of the world due to the isolation. I don't love it, I don't hate it, it's comfortable, for now. My partner is Australian, so I'll be sticking around as she wants to be here when we start a family. We did plan to go overseas to Europe for a little while to live and work, but due to the mess of the UK and brexit that might not be as easy as we thought. I'm currently waiting on my permanent visa to come through so we can make our next plans until then it's hard for us to plan ahead.

Australia, the lucky country. https://en.wikipedia.org/wiki/The_Lucky_Country

BFLpL0QNek··on Apache Flink 1.9.0 Release Announcement
Do you have any numbers to back up Flink is faster than KStreams, also under what scenario?

I am genuinely interested as use KStreams a lot but the engineering discipline in the API leads a lot to be desired and more than happy to switch the API if Flink is that much better.

BFLpL0QNek··on Using Backblaze B2 and Cloudflare Workers for free image hosting
It is but I think they only have US datacenters.

For backups, media and archival use-cases it looks really good for the price if you can live with it being in the US.

If you are doing any large data-processing using S3 you get the advantage of data locality, with VPC endpoints you can also bypass NAT gateway data charges and get much higher bandwidth.

BFLpL0QNek··on “Culture fit” is a two way street (2018)
For all the rhetoric in the tech industry over diversity, "Culture Fit" seems a bit of a catch all exit hatch and anything but diverse.
BFLpL0QNek··on Claims that breakfast is a health panacea may be unsupported
It is healthy-ish, depending exactly what you have, how you cook it and quantity and how frequently you have it. The healthy version will look significantly different than the greasy spoon version dripping in oil.

I’ll do a full english with scrambled eggs, sourdough toast, mushrooms in a little butter, home cooked beans, 2 rashers of rindless bacon with a tiny amount of oil fried or grilled, maybe a slice of black pudding, I may even put avocado on the toast.

BFLpL0QNek··on Coffee Cups Are Next
Yes,

Guess it depends on the business.

Large companies I've worked at with several hundred people have multiple dish washers per floor, cleaners going round kitchens on the floor making sure cups/dishes are in the dishwashers, running regular wash cycles and emptying.

Small offices with a handful of people normally have people put cups in the dishwasher at the end of the day and turn it on when leaving.

I guess maybe it's the medium sized companies that have an issue? To many people for a end of day cycle to work, not enough people to justify multiple dishwashers/full time cleaner to keep things in order.

BFLpL0QNek··on Android TV update puts home-screen ads on multi-thousand-dollar Sony Smart TVs
That looks to be the issue though, it’s a generic Android TV update so any generic standalone Android TV box is just as likely to get it unless you run custom firmware.
BFLpL0QNek··on Boeing CEO Dennis Muilenburg Addresses the Ethiopian Airlines Flight 302 Report
Even smart engineers ultimately have a product manager who makes the call. Many times before I've been on projects where the team said we should not do something in a particular way only for a product manager or their superior to say no, we'll do this as it aligns with company goals or "we'll come back and fix it later".

Then you either have to put up and do it or you'll be strategically moved elsewhere or be managed out of the job.

← PreviousPage 3 of 4Next →