HNHacker News
TopNewBestAskShowJobs

masa331

580 karma · joined October 28, 2016

submissionscomments
masa331··on TabFS: Mount your Browser Tabs as a Filesystem
Having hundreds or thousands open tabs also confuses me and always seems like a mess to me.

The way i work: I mostly work on a one thing at a time. For that i can have probably at max 40 tabs open. Once it gets past some threshold(i don't recognize or remember what's in them) i tend to start to close the obsolete ones. If there is something i find useful i bookmark it. If there is something i think i would like to read in future i also bookmark it. Once the work is done i close all the tabs. In general i like my tabs closed, it brings peace to my mind.

masa331··on Ask HN: How many paying customers which don't use your SaaS do you have?
hmm yes i think you are right. That's what i will do
masa331··on Ask HN: How many paying customers which don't use your SaaS do you have?
No this is not the thing. My SaaS don't send anything. It works with data it synchronizes from one other source only. Now the customers can decide what part of the data to synchronize and it's possible to have everything turned off. Then without the data they really can't do anything with it. And these 28 customer have everything turned off.
masa331··on Run More Stuff in Docker
This brings only mess and another indirection layers to your system which is hardly an advantage in my opinion. It will take more time to setup, more space on disk, it will be slower and harder use. And all the normal tools(like awk and others in the article) are easily instalable in all distros. I will rather spend time learning these tools directly instead of infinitely fiddling with docker.
masa331··on Hotwire: HTML over the Wire
I don't think app complexity and sophistication grew that much. Most of the problems common apps are solving can be dealt with standard CRUD-like interfaces and old boring tech and it works just fine.

I think what drives this crazy train of overengineered solutions of SPAs and K8s for hosting single static page is deep separation of engineeres from the actual business problems and people they are trying to help. When all you have are tickets in Jira or Trello you don't know why you should do or if they actually benefit someone then it's natural to invent non-existant tech problems which are suddenly interesting to solve. That is natural for curious engineers and builders. Then mix in 1% of big apps and companies which actually do have these tech problems and have to solve them and everybody just wants to be like them and start cargo culting.

masa331··on Hotwire: HTML over the Wire
Me too. However, this also doesn't work properly on a lot of SPAs xD
masa331··on Become Shell Literate
I completely agree, this knowledge can be very powerful. I also want to play Celeste[0] because it looks beautiful.

But i have to say lately i dislike posts written in this command tone. Like "Do this to become X"/"Use this technology for Y"/"Don't do Z". Most of the time i end up feeling bad for not knowing something and therefore not being 10x programmer or even feeling antipathy towards the topic or author as i have different views. But in reality these things often don't matter or rather it can vary a lot person by person and context by context. You just don't need to be a shell literate to be a successful programmer. I wonder if more subtle introductions aren't better. Some which would spark interest but wouldn't leave a person with a bad feeling if he can't get into it right away.

[0] http://www.celestegame.com/

masa331··on Why do I care the open web is dying?
Yes you can. It is complex, will take plenty of time and effort but you can. And that is what open means.

Now if you complain about complexity that's another thing. Yes it is complex a lot. But it did evolve this way for some reason. Our communities, desires, tools, problems, they are all complex and that's why web is also complex. But if you don't like the complexity you can use only subset of the technologies. You can read only plain HTML blogs on web and don't use any eshops for example. Or not use technology or even web at all.

masa331··on Why do I care the open web is dying?
The thing you described seems like your own personal social problem to me. YOU want to communicate with someone who uses different tools which he is happy with. What would you want them to do? Use some different tool you approve? That doesn't sound very open to me.
masa331··on Why do I care the open web is dying?
You don't have to install anything if you don't want to. You are free to not watch tv shows you don't want to.

Some content creators protect their's content more some less. What has that to do with open web?

masa331··on Why do I care the open web is dying?
What proprietary standards do you mean? Web technologies aren't proprietary.
masa331··on Why do I care the open web is dying?
Reading people complaining how open web is dying is like listening to my uncle whining about his job as a butcher and miserable life in general. Yet he goes to supermarket every day to buy a cheap meat and salami to make a "good meal" and spends the rest of his day sitting in front of TV drinking beer and vodka. Every day.

Web is still the same. There are walled gardens and there are gardens without walls. And that is a manifestation of openess. Everybody can build anything and hang around anywhere he pleases. What a beautiful and truly open world.

This article is mostly ad to a browser. That's another manifestation how open web is. You. can. make. own. browsers.

masa331··on Matestack – Reactive UIs in pure Ruby
Well i don't find plain HTML unreadable or messy. Same with JS. And i never experienced any productivity issues writing it.

As i'm thinking about it only DSL i find useful is Nokogiri's XML builder. That can save me some time sometimes.

Good luck with Matestack anyways. It's just not for me i think

masa331··on Matestack – Reactive UIs in pure Ruby
I think it's quite the contrary. Rails integrated Webpack a long time ago in it's basic installation so if you do `rails new my_cool_app` you have Webpack ready(and preconfigured with React/Vue/Elm etc.) right out of the box. Also it moved away from Coffeescript and jQuery.

And for the full page reloads, which you think is weird, there are Turbolinks(again preconfigured in the basic install) since like 2012. I'm not sure React or other reactivity foos already existed at this time. And now we have things like Stimulus and Stimulus Reflex and others so the development ain't stoping now either.

So the feeling that Rails are stuck or out of date is really only a feeling.

masa331··on Matestack – Reactive UIs in pure Ruby
I don't know Matestack specifically but in general the problem of DSLs is that they can quickly turn into giant pain in the ass once you need to do something they aren't prepared for. And this has bitten me enough times already(ActiveAdmin, Thor,...).

The other problem is that if you use this you only learn the specific DSL which isn't portable. But if you use and learn the basic technologies under it - HTML, CSS, and pure JS now that is something you can use elsewhere even if you throw Ruby away completely. And the knowledge of the basics is really really important and useful.

Anyways, what is a problem with writing good old .html.erb templates? I don't think there is any.

And for the reactivity thing - the most easiest and fastest(10 minutes at max to install and enable) is to just turn on Turbolinks[1] and include this little plugin[2][3] for persistent scroll position where you want. Now when when you click marked with `data-turbolinks-scroll = "false"` Turbolinks fetches the page, replaces the current page with it, and you are still at the same scroll position. No need for SPA or JS heavy FE or anything.

[1] https://github.com/turbolinks/turbolinks [2] https://medium.com/@kosovacsedad/how-to-turbolinks-5-scroll-... [3] https://gist.github.com/sedadkosovac/661d0fd369069cad010f164...

masa331··on My Beef with RuboCop
The thing that you can write said code in a lot of different ways is not a fault but a feature for which Ruby is loved by many. As can be also seen from the article it lets a programmer to be neatly expressive in various different situations.

Now if you personally don't like this feature you should probably use a language which feature is that you can write a thing only in one way and no other.

masa331··on Show HN: Zfs.rent
I have no use for this service but i definitely like your text centered websites. Right to the point, no disturbing and useless images or graphics. Thanks, that was a breath of a fresh air.

Also this https://radious.co/philosophy.txt

I wish such design was usable outside tech community.

masa331··on Graphics for JVM
Ah ok, thanks. This makes more sense now.

But on a seconds thought - there are people who really "work" on phone? I just can't do anything serious from phone be it native app or web app. The experience is so much worse for me that it didn't even cross my mind it's about phones.

masa331··on Graphics for JVM
> People crave for native apps. Nobody wants to work from the browser.

Some do, some quite the opposite. Me personally i want to have as few desktop apps installed as possible. They are warranted only in few special cases - browser, video & music player, Excel. Other than that there really is no need to have any desktop app nowadays.

> Both of them were recording it on a desktop, in a desktop application, while having a call over another desktop application.

Yeah this can be easily done from browser also

> it’s hard to select text, hard to search on a page, hard to have multiple tabs, hard to move data between apps

excuse me? It's harder to select text or search text in browser than in desktop apps? What? Text search is one ctrl-f away on ANY web page. Switching between tabs in a browser is alt-num.

Desktop apps have no tabs and a lot of times you switch between completely different UIs.

Moving data between apps depends completely on the app itself. It either offers some kind of data export or does not. It doesn't have to do anything with desktop apps or web apps in general

> For example, you are adding an event to the calendar. You need to lookup an address for the event in the mail, which has a link that opens a browser.

Yeah in a web apps you at least have some unique link to it. Linking to something on your local computer in some desktop app isn't even possible

> Ability to have multiple windows open at the same time is the desktop’s superpower.

You know you can have multiple tabs open in one browser right?

I like Nikita's articles and if he or anybody prefers desktop over web that's fine. Also the library he is starting - great. But the announcement could really omit the nonsensical comparisons and generalisations of web vs desktop

masa331··on I Still Use Vim
My .vimrc is around 80 lines including 15 plugins. It's mostly like that for last 8 years. And i don't have any problem using using unmodified vi/vim on servers, which is a big plus.

So no, vim shines and it's pretty bright

masa331··on Ruby on Rails in a week
My question is why Node docs on nodejs.org don't have search
masa331··on Show HN: New Fish – tagging time tracker
Hi everybody, author here,

New Fish is a time tracker builded around tags. You submit time entries with duration and description. The description can include tags(eg. "#programing", "#project_foo", "#something",...) and the time entries can be later grouped, filtered and analyzed by these tags.

I originally builded this to track time i spend working on accounting company i co-own so i would know which activities would be worth to automate, outsource etc. Also to know how much time is spent per specific client. Now the basic MVP functions are complete and me and also my colleagues are using it daily.

New Fish also has these features so far: teams, mass edit of entries, data export & account delete, REST API, tag autocomplete and filter saving. Now i will be working on adding more analysis capabilities - things like charts, different views, groupings etc.

Happy if you try and happy to chat!

Also this was originally purely client side JS app holding all data in local storage. About a three months back i migrated to server side solution to speed up the development but the the JS app can be still used here: https://github.com/Masa331/fish. However note that it lacks a lot of features.

masa331··on Show HN: XML Fiddler – tool for quick XML exploration
Hi, thanks for the suggestion. I will look into it when working with bigger files

edit: here is the repo link: https://github.com/microsoft/xmlnotepad

masa331··on Show HN: XML Fiddler – tool for quick XML exploration
Hi, thanks. When you press Extract the extracted data shows in the Extracts tab in menu. It doesn't do anything immediatelly. That's not good UX and i'm gonna adress it somehow as someone else already suggested.

Or there were no data in Extracts after you tried to extract something? If you don't mind please open up an issue with sample data and xpath in https://github.com/Masa331/xml_fiddler/issues and i will look into it

masa331··on Show HN: XML Fiddler – tool for quick XML exploration
In my industry(accounting in a small europe country) XML is the standard which is used for any data exchange. Then CSV. I don't think i'v ever got my hands on anything in JSON. Maybe once or twice. In APIs of course but these aren't much common here yet anyways.
masa331··on Show HN: XML Fiddler – tool for quick XML exploration
Hi, thanks, that's a good point. I will look into it
masa331··on Show HN: XML Fiddler – tool for quick XML exploration
Hi everybody, author here

this is simple tool i created to solve a couple of pain points i had when viewing XMLs. I often work with XMLs or XSDs from various sources and i need to quickly search through them or extract some sample data. This tool makes it a bit easier for me than viewing the documents directly through browser, which i used previously.

It already helped me a lot in my day to day work so i thought it might also help someone else. Post similar tools if you know them. I always find those useful.

Have a good one!

masa331··on Advice to Young Web Developers
You mean the specific experience when back buttons aren't working? Or when urls don't make sense? Or when you can't just share the content by copying the url because it no longer identifies the conten? Or when you can't say if something is loading, missing, or broken?

This is my user experience with SPAs regarding navigation.

masa331··on Optimizing Ruby lazy initialization in TruffleRuby with deoptimization
BS. Ruby isn't slow. The same apps can be written in pretty much any language nowadays.

The problem is in developers. They are slow and dumb and lazy and most often also biased. Blaming language is easy. Bad developer will always write spaghetti no matter which language he uses.

masa331··on Rolesia – Virtual Macroeconomic Simulator Game
heard about EVE online? Not sure about currency itself but markets are really players driven
← PreviousPage 4 of 5Next →