Better HN
topnewbestaskshowjobs
Log inSign up

ptr

1,512 karma · joined Jul 17, 2011 (15y ago) · 406 submissions

pointer.hn@gmail.com
Submissions

comment 6y ago · link · parent

Anecdote: in 6 months I can and have surpassed team members that have been with the team for 6 years. These are bespoke complex systems, but some people don’t advance much (“work to live”?) and I’m a quick learner, partly due to job hopping.

comment 6y ago · link · parent

These kinds of systems typically don’t use load balancing, they’re provisioned for the expected max capacity needed.

153.

Amazon’s business model meets Sweden’s labor unions(politico.eu ↗)

162 points · by ptr · 6y ago · 146 comments

comment 6y ago · link · parent

Exactly, CGI (https://en.wikipedia.org/wiki/Common_Gateway_Interface) was a thing once.

155.

Fertility, mortality, migration, and population from 2017 to 2100(thelancet.com ↗)

2 points · by ptr · 6y ago · discuss

comment 6y ago · link · parent

The picture you’re painting doesn’t represent reality — there were definitely lock downs (mostly related to elderly care, but also to varying degrees for the general public). People have worked from home since February.

comment 6y ago · link · parent

The author is probably thinking about HTTP partial/range requests ("resumable downloads"); they can recover even if the TCP connection is closed.

158.

Why do so few people major in computer science? (2017)(danwang.co ↗)

130 points · by ptr · 6y ago · 423 comments

comment 6y ago · link · parent

Why would fib(35) be more optimal with a differently sized cache? And how come _5_ is optimal? Wouldn’t 2 be all you need? What am I missing?

160.

Covid-19 Country Overviews(covid19-country-overviews.ecdc.europa.eu ↗)

1 points · by ptr · 6y ago · discuss

comment 6y ago · link · parent

I thought the third party tool was a kext and was made non-functional. Is there a new way?

comment 6y ago · link · parent

The gas tank on top of a bus in Stockholm exploded when the bus was about to enter a tunnel protected by a metal bar: https://youtu.be/4pVStENP_Y4

comment 6y ago · link · parent

A hypothesis could be that these great developers became what they are due to an extreme internal drive at a young age; they already have tons of experience and the right attitudes/thinking patterns when joining the work force. If they continue learning (and why shouldn’t they, given their internal drive), how can anyone compete with them?

This intrinsic motivation implies that companies really can’t “grow” great developers, nor “pick them before they’ve blossomed”; what they can do is step aside and not create obstacles.

164.

All human communication fails, except by accident(jkorpela.fi ↗)

1 points · by ptr · 6y ago · discuss

comment 6y ago · link · parent

Generally a “long call” would mean that you bought a call option. If you sell/write the contract, you’re short. Your position is in the derivative instrument itself, it's not cascaded onto the underlying.

I also know multi-layered derivatives such as options on options and options on futures exist (as I’ve written code for them), but I’m curious what they’re used for.

comment 6y ago · link · parent

This issue has been a real nuisance for at least 5 years and I could never retrain myself. One solution that worked for me was to make it full screen with its own Space.

comment 6y ago · link · parent

But aren't they running the risk of computers treating these as octal numbers instead?

comment 6y ago · link · parent

An interesting point regarding the "ministerial rule" is that the other Scandinavian countries don't have the same restriction on politicians, at least not in law/constitution.

comment 6y ago · link · parent

Most people that I know have been WFH for some time, myself for 4 weeks. It's not like people are out and about like they used to -- the social distancing is self-imposed.

comment 6y ago · link · parent

The case with Sweden is that the central government ("regeringen") cannot order people around; it's explicitly forbidden in the Swedish constitution ("ministerstyre"). This is different from many other countries, like Norway and Denmark, and might explain why there's no big leader that has felt the pressure to make people stay home.

comment 6y ago · link · parent

Not shaking hands has been the norm for some weeks now in Sweden. I thought this was the case everywhere?

comment 6y ago · link · parent

The government gets a lot of flak for this (tame? naïve?) approach, but the underlying principles are interesting in a general leadership perspective -- setting a goal without explicitly forcing people:

“Therefore, you don’t need to micromanage or control behavior at a detailed level through prohibitions or threat of sanctions or fines or imprisonment,” Mr. Tragardh said in a phone interview. “That is how Sweden stands apart, even from Denmark and Norway.”

Let's see how it goes.

173.

In the Coronavirus Fight in Scandinavia, Sweden Stands Apart(nytimes.com ↗)

1 points · by ptr · 6y ago · 2 comments

comment 6y ago · link · parent

The senior probably had both Knowledge and Understanding, and decided (correctly) in a split second which solution was good enough in all applicable dimensions, including the temporal (is it easy to change this if we have to?)

175.

Remote Development Productivity at Microsoft: 'No Lunchtime Dip'(visualstudiomagazine.com ↗)

2 points · by ptr · 6y ago · discuss

comment 6y ago · link · parent

An article dedicated to why Rail's Active Record library isn't actually using the Active Record pattern would be interesting!

comment 6y ago · link · parent

It's a very interesting topic but it gets weird when large words ("completely unworkable", "causes huge problems in even small projects", "retrieving whole rows is hugely wasteful", "unfortunately Active Record access patterns break down almost immediately") are used to describe something that doesn't match one's experience at all. I wish we could focus on the Active Record concept itself rather than implementation details or specifics of projects where the pattern has been applied.

The article talks about projection, joins and aggregations, but many projects in Rails that I've seen just don't need those: it's often solved in the application. Yes, it's SUPER SLOW, it loads data just to throw it away again and can break ACID properties, but it generally works -- these applications aren't handling transaction on a stock exchange or controlling a pacemaker. And in the case of Rails' ORM, it's been very easy to do real joins, projections and aggregations when needed, meaning that the Active Record pattern itself hasn't excluded that possibility.

The paragraph about transactions is also a bit weird as it has nothing to do about the Active Record pattern afaics.

178.

Oil Prices Dive as Saudi Arabia Takes Aim at Russian Production(nytimes.com ↗)

3 points · by ptr · 6y ago · discuss

1
567
14