HNHacker News
TopNewBestAskShowJobs

pawelk

515 karma · joined January 11, 2011

submissionscomments
pawelk··on Deno 1.0
This was my first instinct about how I'd go about this as well. I actually do something similar when working with node modules from npm.

Let's say I needed a `leftpad` lib from npm - it would be imported and re-exported from `./lib/leftpad.js` and my codebase would import leftpad from `./lib`, not by its npm package name. If / when a better (faster, more secure, whatever) lib named `padleft` appears I would just import the other one in `./lib/leftpad.js` and be done. If it had incompatible API (say, reversed order of arguments) I would wrap it in a function that accepts the original order and calls padleft with the arguments reversed so I wouldn't have to refactor imports and calls in multiple places across the project.

pawelk··on Remote Work Report
I worked in a team where the maximum time difference between members varied from 12h (when everyone was near their primary residence) to 20h (when some people traveled). We were 100% remote and mostly async, but we had daily meetings and others like grooming, planning etc. I was lucky to be in the middle (Central Europe) so the daily was ~2PM for me, for some it was 9PM, for others 9AM. If you were in a time zone that made it inconvenient (like 3AM in Hawaii) you were not expected to join, just post your daily updates on team's Slack channel. Similar with other meetings, most went fine missing a member or two. Nobody expected you to reply outside of your core working hours and it was cool to create a PR at the end of the work day and wake up to see it reviewed first thing in the morning.

I can see your pain being alone in a distant time zone and honestly the only advice I could give would be to try and agree on time slots that work for both parties.

pawelk··on Stripe raises $600M at nearly $36B valuation
Yes, PayPass seems to be the go-to method in the physical world, even more so now (they have doubled the limit for non-PIN payments due to COVID-19 recently, so people don't use cash and don't touch the terminals as often), and Blik is winning on-line payments. The cards reportedly do work on-line, but I have never bothered to activate them. I have a Revolut card now for the odd CC payments with US-based companies, but I hardly ever use it for this purpose. I don't get the security model of CC, to me it's like: "here are all the details you will ever need to charge me an arbitrary amount until the card expires in X years". Any other method I have ever used was 2FA: I had to authorize the transfer of funds from my account to the recipient by some means.
pawelk··on Stripe raises $600M at nearly $36B valuation
I live in Poland. I do (contactless) card payments every day, I rarely even have cash in my wallet. But I don't have a credit card and most of my peers / family doesn't have one either. Our debit cards will usually not work for on-line payments (the type that requires card number + cvv). We do, however, have a widely adopted system called Blik[1], which is instant mobile payments (incl. POS payments, the terminals are adopted to process it, and many ATMs support cash withdrawals via Blik). I think it would be hard for any payments processor to get significant market share here without support for this, for many it's the default, then I think wire tranfer is the 2nd option, shopping elsewhere the third one, card payment maaaybe the 4th choice.

[1] https://polskistandardplatnosci.pl/en/

pawelk··on Google bans Zoom from employees' computers
I concur. I haven't tried Zoom on any other platform yet, but it has been 100% reliable on my Ubuntu machine. Nothing else even comes close. I've had hundreds of Zoom calls over the past 8 months, from 1:1s to all-hands with ~500 participants. Audio, cameras, screen sharing all worked every single time.
pawelk··on Internet Archive responds: Why we released the National Emergency Library
Ideally they'd extend the limits of simultaneously lended copies by how many were there in libraries that are now closed, acting as a proxy to the physical copies that are now locked down. But this would take a long time to implement, they'd have to set up a system that gives each library the opportunity to submit their inventory and allow IA to act on the library behalf by lending their books.
pawelk··on Netflix to cut streaming quality in Europe for 30 days
I'm in Poland as well and I've been working remotely for over three years. Since the lock down started I feel that everything is a bit slower and less stable, but I haven't experienced major issues during usual work hours doing work-related things (maybe except MS Teams acting up). However Netflix is broken most of the time during afternoon hours (when I want to keep kids occupied with cartoons for an hour or so to get things done). Luckily other streaming services work fine.
pawelk··on $1B Business Where All 700 Employees Work Remotely (2019)
Toptal is profitable and 100% remote, not a single office anywhere. Not sure if largest, but quite big at ~500 employees.
pawelk··on CouchDB 3.0
Other than being a great solution for some problems I wanted to highlight the fact that CouchDB has commited to SpiderMonkey (the Mozilla JS engine) since the very beginning and is one of the few projects helping to fend away the V8 monoculture.
pawelk··on It takes now 53 weeks salary to earn same as 30 weeks in 1985
It was quite painful to read trough the series of tweets only to reach this link to the real thing at the very end.

I sort of like how the twitter series summarizes the content, but it could have been done as a tl;dr style intro in the article itself.

pawelk··on Japan has 33k businesses at least a century old
To my daughter "The Fat of the Land" album by The Prodigy is exactly as old as "Sgt. Pepper's Lonely Hearts Club Band" by The Beatles to me (number of years between respective album releases and our birth years).
pawelk··on Firefox 73
I use Chrome to benchmark my local version of a website. The use case is very limited, because the results fluctuate a lot depending on the overall load on my machine (including the dev server), so I usually do three passes on the master branch of my project, get scores like 53, 56, 51, then switch to my development branch, three passes again, if I see e.g. 58, 56, 61 then it's fine, if the results are noticeably lower than master then time to investigate.

In any case we have a dedicated environment with lighthouse-ci and this is where the real pre-release benchmarks are executed.

pawelk··on Microsoft begins showing an anti-Firefox ad in the Windows 10 start menu
Microsoft made me install Chrome just the other day. A company I work with decided to try MS Teams for communication and when I went there using Firefox, it simply refused to let me in and told me to get Chrome. They couldn't suggest Edge because I'm on Linux, so at least they did not require me to switch my OS.

edit: after accepting the invite and setting up an account I can use the product just fine in Firefox.

pawelk··on Ask HN: What Skills to Acquire in 2020?
I am a hobby (unplugged) woodworker with a quite large collection of vintage tools... it all started because I needed some basic temporary furniture for the new house and w were broke enough to not be able to afford it - the kitchen I built is still around after 7 years and I have developed a lot in this area.

I use manual cameras, or digital cameras in manual mode / with manual lenses because that's how I learned photography in 1990's

I like to cook, 95% of our meals are home made, I can prepare a whole week worth of meals in abut 3 hours, including cleaning. I usually just improvise, my wife says I can make a delicious meal out of an empty fridge...

Yet music somehow eludes me - and it is THE thing I have always wanted to be proficient at way more than any of the above. I just don't have any idea how to approach it. Let's say I get a musical instrument - be it a piano (keyboard), a guitar, saxophone or percussion. What's next? Practice the notes until I'm "touch-typing" them? Then try to mix and match? Try to play some sheet music or repeat what I've heard before by brute-forcing? I am actually able to re-create a simple melody by trying the keys on a toy keyboard, but in all the other areas (woodworking, cooking, photography) I went almost straight to improvisation - which I enjoy the most - and I have the feeling that in music there is some set of basic skills required to unlock this, yet I don't know what it entails. Woodworking is all about hiding the imperfections, photography is about selecting the best shots / being prepared for lucky timing, and an imperfect meal can be (usually) fixed with herbs/spices/salt. Music is either spot on, or too far off to be tolerable - am I missing some middle ground opportunity here?

pawelk··on Bosch Smart glasses: A tiny laser array paints images directly onto your retina
I guess maxing out its power would be comparable to looking at a full-white LCD screen. If the device has an ambient light sensor to adjust its brightness, then circumventing it and setting to full power could be comparable to switching on a bright light in previously completely dark room.
pawelk··on Bosch Smart glasses: A tiny laser array paints images directly onto your retina
> And about the laser: it's just light. A laser doesn't mean 'cut through everything'

Yeah, in this context laser means a light source with extremely tight cone, meaning it can render a very tiny point on the retina. Not a ray of death that will penetrate your brain and come out the other side of the skull ;)

pawelk··on Tips from Poland on Old-School Zero Waste (2019)
A plastic bag from a German store was almost a status symbol, it signaled that you either went abroad or have a family member living in the West.
pawelk··on What can you use instead of Google and Facebook?
To each their own. The things you have listed as advantages of Google are basically the same reasons I do my best to stay away.
pawelk··on Brandchirps – Simple Brand Monitoring
How do you monitor Facebook? Do you have a written contract with them? Last year Brand24 was cut off from monitoring FB and Instagram, the company page and CEO personal profile were also removed from the platform. It cost Brand24 some clients and revenue and AFAIK they still haven't re-gained access.
pawelk··on SpaceX tests black satellite to reduce ‘megaconstellation’ threat to astronomy
> it would make sense to launch a much larger number of less reliable but much less expensive telescopes

What if... SpaceX made up for the pollution they introduce by making the Starlink satellites look up the other way and push the captured data back to earth? The lens and CCD would be small, but with the massive volume (and clear sky) it could add up. Like the amateur set ups using an array of consumer grade cameras.

pawelk··on 0.30000000000000004
I agree with your overall point: it most likely does not matter when the values are close enough. However :)

There can be two companies with 100M market cap. Corp A has issued 10M shares @ 10 each, Corp B has 10B shares priced at 0.01

A +/-0.001 change in Corp A share price is just 0.01% and moves the market cap by +/-10k, so probably nothing significant. The same nominal change in Corp B amounts to 10%, or +/- 10M in the company value, which is quite a big deal.

Also I think there may be some money to be made in changes at the 7th decimal place with large enough volume of high frequency transactions.

pawelk··on My Experience as a Remote Worker
I have landed my previous and current job, both remote, via Stack Overflow Careers. On the first one I was approached by a recruiter, for the second I have applied myself after narrowing down some search results.
pawelk··on The Firefox UI Is Now Built with Web Components
I built some personal desktop apps with XUL(Runner) ~ a decade ago, it was fun to use web technologies (markup, JS, CSS, web browser view with relaxed security etc) to create a cross-platform executable. I have recently played with Electron and got the impression that it barely scratches the surface of what was possible back then but makes up for this thanks to the advancements in JS performance & ES6 syntax, CSS features (like flex, which was part of XUL) and the huge ecosystem of third party libraries.
pawelk··on Ask HN: What's the most valuable thing you can learn in an hour?
Cooking is a skill one can develop their entire life, like most skills. But in my opinion it's perfectly achievable to go from zero to one or even a few basic meals in an hour. Even more so if you have a slow cooker and follow a recipe.
pawelk··on Undercover reporter reveals life in a Polish troll farm
It was definitely a case of leaking sensitive info to an on-line "troll", who then published it via Twitter and got this re-tweeted by shady followers, but in this particular case it was not a farm (as in trolling as a service), it was an individual with personal connections to some of the Ministry of Justice officials.
pawelk··on Electron 7.0
Maybe it should, but it's not always the case. As a front end dev I have to fix issues related to bugs introduced by browser uptades every now and then and usually it's Chrome. On the web it's easy, deploy a fix and it's live. With a desktop app I can't even imagine the logistics involved.
pawelk··on Bank of America's CEO says it's saved $2B per year by building its own cloud
> These are facebook numbers. For a bank.

I could turn this around and ask, why would Facebook ever need infrastructure on par with BofA? I'm not an expert on infrastructure, but given their size, revenue, market position, number of customers etc, there's nothing baffling about these numbers.

pawelk··on What’s the most asinine technical requirement you’ve had to work into a design?
How do companies with hundreds of sales points deal with that? Is a centralized invoicing system required by law? I find it hard to believe that multiple numbering sequences are not allowed.
pawelk··on What’s the most asinine technical requirement you’ve had to work into a design?
That's interesting. In Poland invoices also have to contain an auto-incrementing component (so you can't backdate something and slip it in, or post an invoice to a client but skip it when reporting taxes). However each company can design multiple "series" of invoices, for example per-client (e.g. 1/2019/MSFT, 1/2019/AAPL) or per type of services (1/2019/IT, 1/2019/Design) or office location (1/2019/CityA, 1/2019/CityB) or basically whatever. The year is optional, numbers could increment indefinitely, but it's convenient to reset the counter each year (or each month for large companies).
pawelk··on WeWork CEO gives back $5.9M from 'We' trademark after criticism
The mindset required to become a billionaire is incompatible with that of leaving 6M on the ground for whatever reason ;)
← PreviousPage 2 of 6Next →