Readit News logoReadit News
BattyMilk commented on Centering in CSS   web.dev/centering-in-css/... · Posted by u/feross
npsomaratna · 5 years ago
Reminds me of having to use (CSS) floats to position stuff. CSS grid and flexbox have made positioning (in particular, vertical positioning) so easy.
BattyMilk · 5 years ago
Floats and clearfixes everywhere
BattyMilk commented on Museum of Bad Album Covers   zonicweb.net/badalbmcvrs/... · Posted by u/gscott
BattyMilk · 5 years ago
This just brought back almost 20yr old memories of the Rock and Roll Confidential Hall of Douchebags which is sadly no longer online but does exist in the archive:

https://web.archive.org/web/20060819005942/http://www.rockan...

BattyMilk commented on Apps for Bicycle Directions   jakecoppinger.blog/articl... · Posted by u/jakecopp
BattyMilk · 5 years ago
For the most part, city riding is pretty well served by Google maps IMO.

A few years ago, following Google maps cycling directions me and a couple of friends on road bikes were led through muddy forest trails, old rail road tracks and green lanes on a London -> Paris <24hr attempt (we took 26hrs).

The difficulty with cycling directions is that there's not a 1 size fits all solution, a roadie needs smooth road but would prefer it quiet and scenic, a mountain biker would rather those trails we found and a commuter/hybrid would be fine on those in short bursts but probably prefer the speeds of the roads.

If I'm doing something of an "epic" route these days I'll spend a bit of time trying to find a suitable GPX that I can sync to my watch for directions - usually that'll come from Movescount, OS maps, Garmin or just someone's blog of a route. For most other things, Google maps works fine.

BattyMilk commented on Appearances vs. Experiences: What Makes Us Happy   fs.blog/2020/07/appearanc... · Posted by u/lxm
toto444 · 5 years ago
"Living in the suburbs comes at a price: long commutes. Many people spend hours a day behind the wheel, getting to and from work."

I wish there is a word to distinguish commute in a car and commute in public transport. The first one is clearly a waste of time. Depending on the person you ask, commuting by public transport can mean : reading a book, learning a new language, watching a series, reading the news, writing a book, ...

BattyMilk · 5 years ago
I disagree that commuting by car is a waste of time vs public transport (depending on the person).

I'm someone who cherishes a little piece of solitude every day. I'd be much happier self sufficiently making my way to my place of work in the nice private bubble of a car (even if that means crawling at 3mph in traffic), listening to whatever music or podcast I enjoy, or just being able to think without many distractions, than having to jostle my way on public transport with no privacy or personal space.

(disclaimer: I cycle to work, not drive, though I'd rather walk the 3hrs it would take me than the hour on tube and/or busses)

BattyMilk commented on Barclays Bank Using Internet Archive as CDN for JavaScript Files?   twitter.com/immunda/statu... · Posted by u/ziodave
curryhoward · 5 years ago
Content editors should not be able to add arbitrary code to a bank's website unless it undergoes review from someone who understands web security. If there is some kind of content editing tool, it should only allow content (not arbitrary scripts) to be edited.
BattyMilk · 5 years ago
Until about a year ago I was working as a FE developer for a major intenrnational bank.

All the processes and knowledge were in place to make sure all considerations were taken with our software with regards to security. But... all that good work and intention goes out the window when the marketing and analysis teams could pretty much, on a whim dump any old JS onto a production page via GTM. During my 18 months there, there were numerous issues (thankfully not security issues - at least that we know of) indroduced via this method inc a full outage of the customer onboarding journey.

BattyMilk commented on Ask HN: What's your quarantine side project?    · Posted by u/dhr
samcrawford · 5 years ago
I have two:

1) Trail Router (https://trailrouter.com) - This is a running route planner that favours greenery and nature in the routes it generates. It can generate point-to-point or round-trip routes that meet a specified distance. I developed this because I am (or was...) a frequent traveller for work, and want to run in nice areas rather than by horrible busy roads when I'm visiting somewhere new. Naturally, the utility of this tool is limited at the moment for people stuck in lockdown!

2) Fresh Brews (https://twitter.com/FreshBrews_UK) - I've been touring the UK's finest craft beer breweries from my own home in recent weeks. New beer releases sell out very quickly and I was frequently missing out. Fresh Brews is a simple bot that monitors the online shops of my favourite breweries and posts when a new beer is released to the shop, or an item comes back into stock.

BattyMilk · 5 years ago
More love for TrailRouter here. Especially love that you can export a GPX for a watch. I get stuck running the same unimaginative routes so even the ability to be able to have it plan a round trip from my house is amazing. Even more so that it finds out green space. Thanks for this!
BattyMilk commented on New MacBook Air   apple.com/macbook-air/... · Posted by u/xenonite
pyrophane · 5 years ago
Keep in mind that probably the most important spec when considering a new laptop is one that is often not directly stated: the processor series.

I'm not talking about i3/i5/i7, but rather U/Y/H. This letter determines the TDP (thermal design power/point) them machine is designed to run at. The TDP will govern the setting for the base clock speed, and, just as importantly, the throttling behabior under load.

Processor series TDPs are Y: 4.5W, U: 15W, H: 45W.

The new MacBook Air appears to have a Y series processor, like the MacBook, which means it will be aggressively throttled to keep power consumption and heat generation low.

Practically, that means that the new Air will not be capable of running sustained workloads much above its base clock speed, which makes it unsuitable for many programming-related tasks.

The Pro is still a much better choice for programmers. The 13 is suitable for many things, but the 16, with the H series processor, is really preferred for computationally intensive work.

You can get away with this machine if your workflow primary involves a text editor and remote servers, but otherwise I would still opt for the pro.

BattyMilk · 5 years ago
I'm a FE developer (Mainly React/Node/React Native Development) and I'm still using a 2012 13" Macbook air (8Gb) as my daily driver at home. There's a noticable difference between it and my work (granted still relatively old) 2017 MBP 17". Running builds and an entire test suite maybe take twice as long but it's overall very usable and I see no reason yet to upgrade.
BattyMilk commented on Greensboro Man Creates Dating App Where He's the Only Guy Allowed   wfmynews2.com/article/new... · Posted by u/evanb
dghughes · 6 years ago
I tried many dating site over the years and the one thing that stood out is if you're under 6 feet tall don't even bother creating an account.
BattyMilk · 6 years ago
Am 5'11". Married a girl I met on Tinder
BattyMilk commented on UK Parliament petitions site crashes under traffic for petition to cancel Brexit   twitter.com/ariehkovler/s... · Posted by u/Jamie452
nytesky · 6 years ago
I know much of UK wants to remain, and Brexit is a mess, with EU Japan-ification and inherent mismatch of fiscal policy with monetary policy b/c of sovereign states, maybe UK will ultimately come out ahead as economic free agent?
BattyMilk · 6 years ago
Maybe if you bet on Burnley to win the premier League next season you will win a fortune. All signs, experience and educated opinions, however point to this being a losing bet

u/BattyMilk

KarmaCake day137January 20, 2016View Original