HNHacker News
TopNewBestAskShowJobs

zamber

164 karma · joined October 5, 2016

[ my public key: https://keybase.io/zamber; my proof: https://keybase.io/zamber/sigs/5Ng-LPnd0iEAC_MouEXgoQsQ6KBk-3NhHzbUh89ymJI ]
submissionscomments
zamber··on What is Mastodon? [video]
Secure Scuttlebutt is p2p and offline-first.

Mastodon is neither one of these and community-hosted. More about building the community part of the social network than the truly decentralized backbone (where each user has a copy of all posts of users in his/hers network).

zamber··on Ask HN: How do you find freelance work?
A person on his way to Burnout Paradise.
zamber··on Facebook tracks all calls and messages on Android
That's exactly what the Mi Home (for Xiaomi IoT stuff) app does. Pesky little buggers.
zamber··on Show HN: LonelyPage – One page is all you need
Still it's behind Audible ;).
zamber··on Frequent versus infrequent developers, in languages and so on
Well maintained packages do have that:

    npm install
    npm run (dev|build|deploy)
Poorly maintained ones don't have these run command set and instead rely on pages upon pages of crap in README.md or do have a subset hacked together from whatever the dev needed for their FUD-driven development workflow.

Edit: as an afterthought: maybe the infrequent developers are to blame for not reading about what npm provides?

Edit2: another, I guess inexperienced, developer type I've seen in the wild is "I did some jQuery 5y ago, React probably is as easy to pick up and spaghetti out". For these: stick to what you know and don't play the hype game.

zamber··on Frequent versus infrequent developers, in languages and so on
In JS world we got a package lockfile fairly recently. Locking your own package.json version wasn't enough because packages have deps too.

Beforehand running npm install on newly checked out repos was a gamble, especially given that we have packages for every minute "feature" like leftpad (which is a horror story of its own).

zamber··on Vim Clutch – A hardware pedal for improved text editing (2012)
You should see the look on people's faces when they realize my SteelSeries Sensei has a small LCD on the bottom - https://steelseries.com/gaming-mice/sensei

Bought it because you can do simple macros for buttons which are stored on-device. Also allows for mode switching with rotating profiles that are differentiated by LED color.

If you're on a budget and don't care about on-device macros or looks then there are branded variants, like the Guild Wars 2 one when I initially tried it out and now there's a CoD one.

The downside is that the branding paint job wears out with use. Especially problematic on the white GW2 one I had (yellowing under fingers). Don't try to clean it with IPA (rubbing) alcohol though, it dissolves the matte sides and the paint job (learned from experience). https://www.amazon.com/SteelSeries-Call-Black-Gaming-Mouse/d...

zamber··on Concurrency I can finally understand and write correctly
Your observation is shared by hosts of the ATP podcast.

Bug fixes do sell when paired with minor development, major impact features. Push the load to a couple of built-in apps to make them more smooth and focus on under-the-hood stuff.

The press will praise that as the best thing since sliced bread - a modern, polished and stable OS release.

Of course this would be a one-off thing and we'll get another major release with features, features, features!

zamber··on Ask HN: One tab on Chrome takes about 100MB memory, why?
Currently I have ~90 tabs open in Firefox. It uses 3.3GB of RAM and 1-3% of CPU (on a i7 though).

Closing and reopening is faster than doing the same in Chrome with far less tabs open.

IMO it's they usual software cycle of bloat -> optimization -> new features -> bloat -> optimization...

zamber··on Ask HN: One tab on Chrome takes about 100MB memory, why?
You don't have to guess - https://wiki.mozilla.org/Quantum
zamber··on Facebook Really Is Spying on You, Just Not Through Your Phone's Mic
NetGuard https://play.google.com/store/apps/details?id=eu.faircode.ne... allows for blocking traffic for apps per-domain and per-app.

AFWall https://play.google.com/store/apps/details?id=dev.ukanth.ufi... patches iptables to block domains used by apps that are not allowed network access.

I did Android QA for a VPN/Proxy app. Had to benchmark battery usage and verify that we upgraded to SPDY properly. A lot of rooting, and tcpdumping. Eventually we got a WiFi network set up by sysadmins that mirrored traffic to one Ethernet socket. Plugged it in on a local SSH-accessible machine and I could tcpdump the whole WiFi traffic without fiddling with devices.

Facebook and Instagram are awful network hogs. Both send a lot of packets every 5-10s when the screen is on to Facebooks tracking domains.

I removed both and haven't looked back since I saw that.

Google and other tracking companies of course are not better, hence the apps mentioned at the top.

This is not a viable solution long-term though. They will find ways to eventually circumvent these restrictions.

Now I'm thinking about setting up the same thing I had at work at home, just to see what kind of crap goes through my network daily.

You're on Windows 10? Guess what Microsoft does. Install Wireshark and check for yourself how much MS domain hits you get. Not to mention HTTP traffic from random apps and/or websites that circumvent privacy protection domain lists.

The implication here is that you're the product but not for that company or another. You're for all of them, ISP included. The more crap leaks on your network the more they know and sell.

As a side note, I have no idea why DNS traffic still goes in pretty much plaintext...

Have you heard about tracking data exchanges?

The overall problem is that everyone is spying on you on multiple levels because there's money to be made on profiling. Facebook just grabs the headlines. Apps listening to you are scary but the fact is you don't have to speak to be heard by them.

zamber··on Let’s Get Better at Demanding Better from Tech
Isn't "fake it 'til you make it" a common mantra among CS grads entering the work force in the US?
zamber··on History of the browser user-agent string (2008)
On Android and Windows I'm finding Firefox better than both. Extensions in Firefox on Android are particularly helpful.

There's an issue with not-always-60fps scrolling in Firefox on Android and the UX is not ideal, but having uBlock Origin and Stylus on Android in my opinion beats that.

zamber··on Show HN: Emacs Anywhere
Thanks for this. Will keep it in mind when RSI kicks in.

Here's a synopsis of the talk http://ergoemacs.org/emacs/using_voice_to_code.html

Couldn't find the repo for the dragon stuff he promised to publish on his GH profile :/.

Edit: Found this summary he re-tweeted recently https://medium.com/bambuu/state-of-voice-coding-2017-3d2ff41....

zamber··on Show HN: Emacs Anywhere
I did.

You could re-implement the Vim command building language in a natural language. You'll hit walls sooner or later.

Don't get me wrong, it would be awesome for ergonomics and a pretty powerful tool, but for now Google Assistant has issues in recognizing if I want a timer for 13 or 30 minutes. 1/5 of speech recognition searches are gibberish, especially when I use own names.

Correcting a typo takes far less time than backtracking speech - that's one of the main issues I see when people use any speech-to-text converter. People weigh their words carefully or they're in a world of pain trying to backtrack an error.

If we supplement the keyboard then what is faster and easier to do?

"replace all" $potato "with" $banana > hit enter < OR say "enter"

s/potato/banana/g

If you have an actual use case in mind that would dwarf keyboard input then give an example, please.

zamber··on Show HN: Emacs Anywhere
HEATHEN! The holy, never-ending war must continue.

Seriously, what voice commands would be better than clacking on a keyboard?

For code structure we have AST-fueled refactoring tools, auto linters, auto formatters... the main problem with these is that you're forcing people to use a single IDE/editor with a particular set of plugins with a particular configuration. And usually it's not even VIM or Emacs!

zamber··on Google-Landmarks: A New Dataset and Challenge for Landmark Recognition
If there are trash bins marked as landmarks then it's Ingress.
zamber··on Mosfet the cat 2001 – 2018
I've got one cat that's around 1.5y old. Some time ago I was playing an FPS game and he looked at my left and and the screen and then back again, finally made eye contact and again looked at the screen.

I'm pretty sure he in that moment groked that I can control the movement of the character on the screen with the keyboard.

Also we've got a cat that watches Netflix with us. Sits somewhere with his gaze glued to the screen.

I highly recommend anyone to read about cat body language and how to behave to not irritate them. Cats turn into assholes when people around don't understand the cues they give. Eventually they stop giving cues and just go away or are aggressive. It's best to compare how cats in a cat cafe behave compared to home cats of people that know how they behave.

zamber··on The dangerous downsides of perfectionism
Somewhat related:

https://en.wikipedia.org/wiki/Worse_is_better

https://pchiusano.github.io/2014-10-13/worseisworse.html

https://news.ycombinator.com/item?id=15125949

zamber··on Why Do We Sleep Under Blankets, Even on the Hottest Nights? (2017)
I recall hearing about weighted blankets used as a way to help kids with sleeping issues.

Quote from the article:

As one more example of the goodness of blankets, there has also been a decent amount of research about the calming effect of weighted blankets, which can weigh up to 30 pounds. Studies indicate that they can curb anxiety and even be used in the treatment of autism.

This triggered my memory. I heard it helped kids with Aspargers and ADHD too.

zamber··on Web application from scratch, part I
Had an opposite experience. Did QA for an Android app which set up a local VPN and selectively pushed traffic to a SPDY proxy doing some magic.

Had to do a fair bit of work with Wireshark to troubleshoot protocol issues. It was eye-opening too, especially the amount of traffic generated in the background by Facebook.

Sadly, developers rarely go any further than the network tab in a browser debug tools.

zamber··on The dangerous downsides of perfectionism
“You never fail until you stop trying.”

― Albert Einstein

I'm doubting this attribution is correct but the quote itself summarizes this approach nicely.

Mistakes do come naturally. Life is a probabilistic game of guessing what outcomes we will reach after making actions with restricted knowledge of the circumstances. Failing is imminent sooner or later. The sooner the better or loss aversion kicks in and we end up doing nothing, which most often is the worst action leading to a pit of cascading failures.

zamber··on Growing a company that sells miniature construction supplies to $17k a month
`Bespoke` in the marketing community.
zamber··on Money Laundering via Author Impersonation on Amazon
Money laundering and CV padding.

Currently working with a guy that has a React book on Amazon. 0$ on Kindle, 22.50$ paperback so at least you can see for yourself what quality it is.

The book is artificially elongated and full of advise scraped from tutorials. The code snippets are pretty much non-existent. Overall garbage.

Recruiters don't read through the bullshit so it's a good sell "This guy wrote a book on the thing!". Doesn't matter that the guy produces spaghetti garbage with complexity of 36. Contracting high-life. As the old saying goes "Worse is better".

Of course laying off the guy would not pass. What would the client say!? Let's make him the lead on the front-end part and eventually push the blame on him once the client realizes what a steaming pile of bullshit they've got on their hands.

As a cherry on top there's managerial padding between US and EMEA departments of the client so probably they'll go off to the sunset with another bullshit entry on their LinkedIn profiles.

Handcrafted bespoke user interfaces - seriously, who unironically puts this on their contracting business LinkedIn profile? Who buys this babble (besides the technically oblivious managers)?

zamber··on Google's CardDAV server isn't standards compliant (2014)
In Poland it was standard to add ads as mail footers among homegrown free providers. Some still do. If they don't have sold ads they just advertise themselves.

Made me hate pretty much all footers, especially the bloated corporate ones.

zamber··on Maintaining code quality when nobody cares
Imitation is the best form of flattery but you can also be proactive in your learning how to write better. Read code that's open-source and solves similar issues for a similar case in the same tech stack. Understand the architecture and conventions. Understand where the codebase has areas for improvement.

Before you learn about types of hammers and nails learn when to use which one.

The problem with more senior people is that they can lack the time and motivation to teach you so until you don't own the problem yourself pushing it to "ppl don't want to teach me :(" will not do anything.

Also, practice makes perfect and good coding practices tend to be somewhat universal.

zamber··on The Tripartite Identity Pattern (2008)
156 points, posted 10h ago and only 2 comments? 1st time I see a lack of discussion about a link on HN.

https://screenshots.firefox.com/E6WSxBWmgXKtBUV3/news.ycombi...

zamber··on Show HN: Cross-platform desktop applications with PyQT
I do Python and JS daily. Never had to do hand memory management in my life (maybe once in Objective-C).

Webdev is not the best tool for the job but it's cheaper and substitutes for a sleeve of other specialised tools.

The user experience is secondary if you do a product on a budget and iterate over it all the time. Especially if you are a web-first experience like Slack. Having native stuff there would make it even worse adding cognitive dissonance to the overall design.

I guess there's a method in this madness.

zamber··on Show HN: Cross-platform desktop applications with PyQT
There's demand for web devs in my area. Not so much for GUI people except for iOS/Android.

The market shapes the tech that's developed and companies shape the market.

It's a self-reinforcing vicious cycle of hype-driven demand.

Disclosure: I'm a web dev :(.

zamber··on Ikea founder leaves fortune to no one, structures it to ensure it lasts forever
That's why I too often have that xkcd strip about people being wrong on the internet in mind _before_ writing a comment on HN.

StackOverflow is for "well, actually...".

← PreviousPage 4 of 7Next →