HNHacker News
TopNewBestAskShowJobs

squaresmile

426 karma · joined May 26, 2017

squaresmile@protonmail.com https://github.com/squaresmile
submissionscomments
squaresmile··on Zoom’s Use of Facebook’s SDK in iOS Client
While I think one shouldn't read too much into PR statements like those, I don't think it's useless to call them out either, especially when they use very strong words like "extremely seriously" and "incredibly important".

If the defense is the practice being common then there isn't anything special about Zoom regarding user privacy, is it.

squaresmile··on Federal Reserve pledges asset purchases with no limit to support markets
and BOJ https://www3.boj.or.jp/market/en/menu_etf.htm

The scale of BOJ's ETF purchases is quite something.

squaresmile··on Things you can do with a browser in 2020
I find the browser notifications useful for discourse forums. There are some stuffs that I would like to be notified but not by email.
squaresmile··on I am mesmerized by our new robotic vacuum (2019)
I'm in the US and I'm seeing $240 on both the manufacturer's website and Amazon (Sold by EufyHome and Fulfilled by Amazon). Amazon even has a $15 coupon.
squaresmile··on MessagePack: like JSON, but fast and small
This reminds me of a quite popular mobile game that sends master game data using messagepack which is then gzipped and then encrypted and then base64 encoded in a json response. Fun.
squaresmile··on What's so hard about PDF text extraction?
There's also camelot in Python [1]. Discovered it on HN [2]. Still a decent amount of manual work afterwards though but it's probably unreasonable to expect otherwise.

[1] https://camelot-py.readthedocs.io/en/master/

[2] https://news.ycombinator.com/item?id=18199708

squaresmile··on Microsoft begins showing an anti-Firefox ad in the Windows 10 start menu
Yep, it's a shame that they removed it and actively prevented me from using it even though I still have old Edge on my system.

Now I need to import epubs into Calibre to have a reasonable epub reader.

squaresmile··on Pandas 1.0
I find pandas tutorials great

https://pandas.pydata.org/pandas-docs/stable/getting_started...

https://pandas.pydata.org/pandas-docs/stable/getting_started...

squaresmile··on Pandas 1.0
convert_dtypes is pretty nice. I wonder how soon the new dtypes will be the defaults.
squaresmile··on PandaPy has the speed of NumPy and the usability of Pandas
If anyone else also wonders what does pandas.DataFrame.join do [1]:

> on : str, list of str, or array-like, optional

> Column or index level name(s) in the caller to join on the index in other, otherwise joins index-on-index.

> DataFrame.join always uses other’s index but we can use any column in df.

Interesting choices but luckily I have never been bit by this. Maybe because I first looked up on google on how to do join in pandas. Nowadays, I mostly use pd.merge though.

[1] https://pandas.pydata.org/pandas-docs/stable/reference/api/p...

squaresmile··on PandaPy has the speed of NumPy and the usability of Pandas
You can use "Int64" for nullable integer data type.

https://pandas.pydata.org/pandas-docs/stable/user_guide/inte...

squaresmile··on JetBrains Mono: A free and open-source typeface for developers
I have the same experience with Fira Mono and Consolas. Interestingly, I quite enjoy Fira Sans, setting it as my phone's main font and Chrome's sans-serif font (had to change HN's CSS to change its comment font).

The "sleekness" of Fira Sans feels pleasant but for monospace font, I prefer the "fullness" of Consolas. Maybe it's because I read code slower than I read Internet text.

squaresmile··on Jellyfin: A Free Software Media System
It's still ffmpeg https://files.plexapp.com/elan/ffmpeg/plex-ffmpeg-2019-08-23...

If you look at the transcoder in htop, you can see the ffmpeg commands it uses.

squaresmile··on Cutting Google out of your life (2019)
Yep, just saw this [0] yesterday. A "powermod" posted a misleading title and nobody removed it. Yikes is definitely the correct response.

I'm not saying it's better or worse than Google News but people should know the place's bias and bring a healthy dose of salt and actually read the articles. I'm only viewing it as a list of things that happened.

[0] https://www.reddit.com/r/worldnews/comments/ek3ean/undermini...

squaresmile··on New in Chrome 79
Blegh, now they remove the flags to show the full URL in the address bar. Took them a year [0] Whatever. I'm looking forward to what option they remove in the next release.

Interestingly, there's still this extension by Google that makes the address bar show the full URL [1]

[0] https://news.ycombinator.com/item?id=17927972

[1] https://chrome.google.com/webstore/detail/suspicious-site-re...

squaresmile··on Unicode Is Awesome
Unicode definitely has flaws but that doesn't mean we should throw the baby out with the bathwater and go back to "ASCII and other character sets." There's a reason we moved on from that world. However, I bet we will see another encoding coming up eventually (within 30 years) which solves the problems Unicode currently has and introduces a new set of problems as well. I saw this comment [0] about how that encoding should get started.

> Greek, for example, has a lot of special-casing in Unicode. Korean is devilishly hard to render correctly the way Unicode handles it. And once you get into the right-to-left scripts, scripts that sort-of-sometimes omit vowels, or Devanagari (the script used to write a bunch of widely-spoken languages in India), you start needing very different capabilities than what's involved in Western European writing. _The better approach probably would have been to start with those, and work back to the European scripts_

[0] https://www.reddit.com/r/programming/comments/b09c0j/when_zo...

Funnily enough, URLs still can't do actual Unicode.

squaresmile··on This year’s Nobel prizes prompt soul-searching among economists
Looks like it's actually downvoted now.

Anyway, I think it's more correct to say "It speaks horribly of Hacker News readers _economics knowledge_." There are some topics here in which the quality of comments is quite poor but it's probably unreasonable to expect a group of people (specifically "good hackers") to be knowledgeable about _everything_. It is what it is and you just have to figure out which topic to avoid here.

squaresmile··on How the Iranian Government Shut Off the Internet
> Still, he and other analysts emphasize that it's difficult to know exactly what has happened...

For HN's standards, the article is disappointingly light on detail. It's not hard to imagine what they did but confirmations would be nice. They should remove "How" from the article's title.

I found this medium blog about internet censoring in Iran [0]. There are other posts there detailing the situation of Internet in Iran.

Here's the NetBlocks article: https://netblocks.org/reports/internet-disrupted-in-iran-ami... It looks like network connectivity is going back up.

[0] https://medium.com/filterwatch/is-layered-filtering-the-futu...

squaresmile··on Regarding Last Weekend’s Hearthstone Grandmasters Tournament
I feel like the original decision was so harsh and the optics of it was incredibly bad that this "meet in the middle" resolution still doesn't cut it. It's like when a post-mortem only contains: "In hindsight, our process wasn’t adequate, and we reacted too quickly." and they don't elaborate more on the inadequacy or the hastiness.

Maybe I just want blood but it feels pretty unsatisfying.

squaresmile··on Comprehensive Guide on Data Visualization with Pandas
You can use plt.style.use("seaborn") [0] to just use the style. Style sheets reference [1]

[0] https://matplotlib.org/tutorials/introductory/customizing.ht...

[1] https://matplotlib.org/gallery/style_sheets/style_sheets_ref...

squaresmile··on Comprehensive Guide on Data Visualization with Pandas
I suggest looking into matplotlib structures: figures and axes. I think this article [0] is pretty good at detailing how to work with them. They definitely can be confusing but I think most can grasp what to use after reading the article.

[0] http://jonathansoma.com/lede/algorithms-2017/classes/fuzzine...

squaresmile··on Python Is Eating the World
I think it's pretty disappointing that most of the top comments don't talk about the interview with Guido himself over the history of Python. Tangentially related discussion is one of the appeals of HN but I think it's a bit out of control here.
squaresmile··on ‘Just four dudes’: Inside EasyList, a community-run ad-blocking list
> inserting unblockable ads directly into the video stream.

In a sense, it's already kinda happening with Twitch. A few months ago, they rolled out Server Side Ad Insertion [1] which broke ad blockers. Now, ublock origin and streamlink can still block them though but the arms race will continue. I don't think it'll ever come to reencoding the video to incorporate ads because most ads are dynamics but maybe future encoders or hardware are really fast.

[1] https://aws.amazon.com/media/tech/what-server-side-ad-insert...

squaresmile··on The helicopter team that films the Tour de France
As an absolute amateur, the fixed wing aircraft/relay helo probably can't carry the equipment (big? satellite dish? that have to be aimed accurately?) to send it to the satellite. The relay helo probably can't have LOS with the first truck all the time so the fixed wing plane is used to relay to the truck. The producers, where the signal needs to go to, want to sit at the finish line because that's also where the ceremony is located.

I think most of complications come from the varying terrains blocking the signal path to the producers at the finish line.

squaresmile··on Fed Chair Jerome Powell Has ‘Serious Concerns’ with Facebook Libra Proposal
A short article about money creation in the modern economy by the Bank of England that will probably answer your questions https://www.bankofengland.co.uk/-/media/boe/files/quarterly-...
squaresmile··on An opinionated view of the Tidyverse “dialect” of the R language
I find the pandas documentation pretty good [0]. Actually, I find the documentation, official tutorials of pandas, numpy, matplotlib all pretty good. Each package has their own idiosyncrasies but I think the documentation and code examples cover them well enough.

The OReily book should not be that outdated if at all. It also covers other essential tools.

[0] https://pandas.pydata.org/pandas-docs/stable/getting_started...

squaresmile··on “The books will stop working.”
I got it from a private tracker but it looks like you can find it on libgen fiction too [0]. The 1.7Mb epub one is the one I got.

[0] http://gen.lib.rus.ec/fiction/?q=A+Fire+Upon+the+Deep

squaresmile··on “The books will stop working.”
Is this the version you have been searching for? It is "A Fire Upon the Deep" and it looks annotated.

[0] https://i.imgur.com/260sH2V.png

squaresmile··on Building Standalone Python Applications with PyOxidizer
> Disk is cheap, internet is pretty fast

Until it isn't [0]. I think it's fine to only develop/care for faster hardware but I'm not a fan of broad statement like this when it doesn't apply for so many people.

[0] https://www.speedtest.net/global-index#mobile

squaresmile··on How Discount Brokerages Make Money
This is explained in the article. You can find it in the section "Payment for order flow"

> If you could somehow make markets without informed traders—if you were guaranteed that Goldman could never trade with you—your risk (of being run over) would be lower and you could, therefore, provider tighter spreads. There is a way to do this; it is to trade exclusively with retail traders. They can’t run over you; they don’t have the informational edge or the capital to do so.

← PreviousPage 4 of 5Next →