HNHacker News
TopNewBestAskShowJobs

piotrkubisa

551 karma · joined March 20, 2016

Software Engineer

E-mail: My username [at - without these brackets] Google Mail service com

[ my public key: https://keybase.io/piotrkubisa; my proof: https://keybase.io/piotrkubisa/sigs/48OF4qNZeEa0cZsAgANWMKn9vJZuQurNeBlQnl9rjDQ ]

submissionscomments
piotrkubisa··on 80% of the Web Powered by PHP (2017)
I think link should be changed to https://w3techs.com/technologies/details/pl-php/all/all, because it points to more actual results. On that page, we can see a diagram that shows many websites has not been updated to work with latest PHP 7+, which I'd say is quite shameful and/or method used by authors of this report to check PHP version is not adequate (I guess it is now a common standard to hide version of the used interpreter in a HTTP header, while it wasn't obvious todo task when only 5.x was available). Additionally, I found it is quite wrong to putting equal mark between PHP and Hack (HHVM) in section of "Popular sites using PHP".

Edit: Fixed some language errors and typos.

piotrkubisa··on VS Code on a Remote Server
Not only VSCode is available on mybinder - There is also a RStudio in browser: https://hub.mybinder.org/user/binder-examples-r-twi4fgdz/rst.... Thank you for a link!

Many years ago (around 2011/2?), I remember there was some company that was taking care of emulating native Windows applications in browser, i.e. Notepad++ editor or Serious Sam game but I can't remind the name nor link to archive.is nor any other source...

piotrkubisa··on Ubuntu Touch Safety Architecture
I thought Ubuntu Touch like Sailfish is dead. What is the state of non-iOS/Android OS in 2019?
piotrkubisa··on Show HN: My Implementation of "Quick, Draw", a Game Developed by Google
For a reference: https://quickdraw.withgoogle.com/ / https://experiments.withgoogle.com/quick-draw

// This and some variation of "Quick, Draw" was presented two (?) years ago in many meetups (co-)organized by Google.

Edit: Also worth taking a look at: https://www.autodraw.com/ / https://experiments.withgoogle.com/autodraw

piotrkubisa··on Microsoft decides IE 10 has had its fun: Termination set for Jan 2020
It sounds like this is the best time to fetch virtual machines from modern.ie [1] website. It is worth noting that IE is still used in many Point of Sales or other embedded devices. // Though I guess in most of scenarios it is IE6 for obvious reasons.

[1] https://developer.microsoft.com/en-us/microsoft-edge/tools/v...

piotrkubisa··on My PHP Development Setup
> a built-in terminal window

I remember that time when I couldn't get it why there isn't built-in terminal in the SublimeText and then I found windows managers like `sway` or `awesome` and I started do not care about it.

> PHPStorm's XDebug integration is second to none, it has full MySQL integration, and it's autocomplete and click-through intelligence is incredibly smart.

Support for XDebug exists in all modern editors - Atom, Sublime, NetBeans, etc. etc. If you "waste" some time on customizing your editor auto-completion feature you might will get a really decent one (in aforementioned editors).

I must say PHPStorm had a superior look-for-file (think: Ctrl+P) feature which really gets annoying in other editors if you get used to it.

About the MySQL integration: I was really positively surprised having it in the IDE but I've stopped using it as soon as my colleague told me about the HeidiSQL [0]. For person who was using SQL Management Studio at university, HeidiSQL offered the same feel - fast, lean and simple to use but also it is free and installation in Linux (wine) or macOS does not take much time. It is probably the best application written in Pascal that I know about.

[0]: https://www.heidisql.com/

piotrkubisa··on My PHP Development Setup
I haven't used PHP for quite a while but personally I was more satisfied with the SublimeText than Atom but the difference between those two was minimal and I even could say it was "matter of taste". I switched back to SublimeText, because I had been more satisfied with the auto-completion and snippets features in my setup and I couldn't find any plugins to Atom which will give me comparable feel. Today, I guess many add-ons for Sublime are outdated and/or not possible to work with, so Atom might a better choice.

Except PHPStorm I know many developers who got used to NetBeans IDE.

piotrkubisa··on Show HN: Shiny.js simulates reflections on the web for mobile devices
I am a bit biased. It is nice effect to see but also I take it as a complete waste of the device resources, namely a battery.
piotrkubisa··on Show HN: Startup jobs of 2018, visualized
Thanks!
piotrkubisa··on Show HN: Startup jobs of 2018, visualized
Hugged to 404?
piotrkubisa··on A thread for Junior Developers/Engineers
No, definitely not. I took that example to provide you a real life example of software which cannot be "fixed in production" what is very known type of fixing code these days. If you do understand the problem you really can bring that quality of code which does not need any bugfix during it's run-time. As I written in second sentence: almost nobody wants from you providing that quality of code starting at day one.
piotrkubisa··on Google’s Fuchsia OS Confirmed to Have Android App Support via Android Runtime
Personally, I look forward to QubesOS-feel [0] to be more mainstream and user-friendly - access to USB drives in secure VM, interoperable applications between various OSes and easy way to create a disposable disk/VM...

[0] https://www.qubes-os.org/

piotrkubisa··on A thread for Junior Developers/Engineers
I also disagree, coding is the easy part. When you are junior not everyone requires from you to be know-it-all person nor providing super-good quality code, especially in your first months of journey in the company codebase. However, almost anyone wants to notice a "fresh air" and a person who shares his/her commitment in various form starting from the day one.

Edit: Hey, it is easy to implement code having bugs (shortly: implement bugs) and do many fixes further. It is hard to understand the problem and write code once, which won't need any bugfix. Think about the Apollo-11 code [0] - one tiny bug and astronauts might be dead.

[0]: https://github.com/chrislgarry/Apollo-11

piotrkubisa··on Choose Firefox Now, or Later You Won't Get a Choice (2014)
> For these users, lots of private data was sent to Cliqz (pretty much the data that Chrome sends to Google).

This. I don't get it why people point out on and on the same three mistakes that Firefox team made in the past. In case of Cliqz, I guess they want to say: "I am not going to use Firefox, because it sends browsing history to Cliqz". Isn't that a bit weird? I agree, that was a mistake and Firefox does not have crystal-clear history, but in case of Google Chrome I am not really sure how Google collect, enrich and manage my data.

Personally, I can only notice two advantages of using Google Chrome over Firefox these days: a developer console and it is "faster" to develop websites targeting only one browser. I think I just got used to dev-console in Chrome, with each release the new developer console in Firefox is way better. About the second, it still doesn't matter much, because we have also mobile browsers, which also takes a lot of our precious time during development. Is there are any other unique selling point of Chrome which I've missed?

piotrkubisa··on Announcing Open Source of WPF, Windows Forms, and WinUI
This year does not end surprising me. I have quite positive experience with development in WPF, but I noticed except the SourceTree I can't find any application which looks nice. Do you know any neat-looking application which uses WPF?
piotrkubisa··on Show HN: Share one-liner command snippets
I guess it is based on https://github.com/schachmat/wego
piotrkubisa··on Node 11.0
10.x soon will get a LTS badge [1], so we can expect 10.x (not 11.x) will be added into 19.04 apt repository.

nvm is probably the easiest way to install it, but of course, you can do it manually:

1. mkdir -p ~/apps/

2. Download tar.gz and extract it to ~/apps/

3. Change $PATH variable to include the bin directory

    NODEJS_DIR="node-v8.12.0-linux-x64" # Change version to appropriate 
    export PATH=$PATH:${HOME}/apps/${NODEJS_DIR}/bin
4. Validate "installation" by version check

[1]: https://github.com/nodejs/Release#release-schedule

Edit: There is also a snap package with nodejs - https://nodesource.com/blog/announcing-node-js-snap-linux-us... but there is 12.x (edge channel) not 11.x

    snap info node
piotrkubisa··on Wi-Fi Alliance introduces Wi-Fi 6
Well, I think they have already skipped 802.11ad which initially looked like a next version. Personally, I know only one router available to casual consumer made by Netgear [1].

[0]: https://en.wikipedia.org/wiki/IEEE_802.11#Standards_and_amen...

[1]: http://www.za.netgear.com/landings/ad7200/default.aspx

piotrkubisa··on Kindle DX as E-Ink computer monitor (2012)
I really would love to see the Dasung 24" screen, if it will happen then I think I can swallow that price.
piotrkubisa··on YubiKey 5 Series with New NFC and FIDO2 Passwordless Features
> I think the YK5's biggest problem is that the YK Neo and 4, which have been out for years, were already so good.

I'd say YK5 is in "mature"/"stability" product cycle, what means it is good time to buy it whether you haven't yet purchased any MFA key.

piotrkubisa··on Go team adding a Go language server to core
It looks like Go implementation exists for ARM Cortex M (based on transpiling Go to C):

https://github.com/ziutek/emgo/blob/master/README.md

https://github.com/ziutek/emgo/issues/14#issuecomment-398670...

https://ziutek.github.io/2018/03/30/go_on_very_small_hardwar...

piotrkubisa··on Show HN: Re:consent – View and change the consent you have given to websites
I wish DNT (Do Not Track) header [0] was respected in case of automatical opt-in/opt-outs [1] but sadly, I think it won't happen (at least soon).

[0]: https://en.wikipedia.org/wiki/Do_Not_Track

[1]: https://www.w3.org/blog/2018/06/do-not-track-and-the-gdpr/

piotrkubisa··on Show HN: Re:consent – View and change the consent you have given to websites
Ouch... That smooth scrolling hurts experience and pleasure of being on cliqz website. I think I know how to customize my browser, so if I would like to have smooth scrolling or custom scrollbars I will add them to my browser. Please, don't take your visitors as dumb persons - almost everyone knows how to install extensions from Firefox/Chrome store and some others also knows how to develop own add-ons.
piotrkubisa··on Ending PHP Support, and the Future of Hack
Could you tell more about MediaWiki use-cases outside Wikipedia? I know there is a lot of open-source projects which has MediaWiki installed for documentation (i.e. Arch Linux). Are there any usage in "internal documentation" software (like alternative to Confluence)? Why they have chosen the MediaWiki not other software which can be easily self-hosted / deployed on a premise?
piotrkubisa··on AWS cuts in half the price of most of its Lightsail virtual private servers
Sadly I second that. Also I had problem with their "DDoS protection" which detected false-positive DDoS attack. I got instance suspended after 6 days after payment for next month without any refund. They noticed "weird" traffic to my instance where I had installed Cloud9 [0][1] and I assume built-in terminal was flooding instance with TCP-SYN packets when I was using it. I am glad that I haven't left anything inside, because I lost access to this instance and storage. Before that, I thought such protection rather stops instances not drops them with mounted SSD disks to do not impose an impact on other instances.

[0]: https://github.com/c9/core

[1]: https://aws.amazon.com/cloud9

piotrkubisa··on Mithril.js – A modern client-side Javascript framework
It is great to see Mithril again on front page of HN, it is one of the most simplest and easiest modern JS frameworks. I only know flarum [0] as a project which has used Mithril mixed with jQuery [1] and personally, I am quite amazed how snappy it is.

[0]: https://discuss.flarum.org/

[1]: https://github.com/flarum/core/blob/master/js/package.json

piotrkubisa··on How Does Mastodon Work?
I am curious why they have misspelled the Mastodon? In many languages it is written and spelled in the same way. I am not native speaker but I would pronounce mastadon and mastodon in the same way (ˈmæstədɑn), but hardly I can imagine to write down as mastadon.

> First attested 1813, from the New Latin genus name Mastodon (1806), coined by French naturalist Georges Cuvier, from Ancient Greek μαστός (mastós, “breast”) + ὀδούς (odoús, “tooth”), from the similarity of the mammilloid projections on the crowns of the extinct mammal's molars.

https://en.wiktionary.org/wiki/mastodon

piotrkubisa··on Zulip – Open-source, threading-based Slack alternative
It reminds me the Zoho Streams [0] feature in their Mail service.

0: https://www.zoho.com/mail/streams.html

piotrkubisa··on European Commission fines Google €4.34B in Android antitrust case
Probably UK, because iOS marketshare in UK is very close to 50% (52% Android, 46% iOS [1]). For curious, in some countries there is much more Apple iPhone users than Android users, like in Liechtenstein (58% [2]) or Monaco (64% [3]).

[1]: http://gs.statcounter.com/os-market-share/mobile/united-king...

[2]: http://gs.statcounter.com/os-market-share/mobile/liechtenste...

[3]: http://gs.statcounter.com/os-market-share/mobile/monaco

piotrkubisa··on VS Code June 2018
> Outline view

Thanks VSCode team for bringing this feature to the editor. I can't even mention how long I waited to see it in the next version of the Sublime Text (I still have hope) and the VSCode.

BTW why outline in IDEs is always in the different panel? Sometimes I feel like I would like to have an "org-mode" or a "workflowy" feel. I mean all references to classes, method, functions etc. displayed below the file in the sidebar. Then if I have errors or warning in hello() function I will be able to quickly find where I have a problem in my code - I need to only look on file list and I will see 2E bagde near src/main.c file and 1E at hello() and foo() functions. No need to lookup the 'Problems' panel anymore for quick fixes. And for markdown files it will be just like a table of contents.

← PreviousPage 3 of 6Next →