HNHacker News
TopNewBestAskShowJobs

onetom

255 karma · joined October 26, 2009

[ my public key: https://keybase.io/onetom; my proof: https://keybase.io/onetom/sigs/uy9zkyX7ZPfhmaA2RIGTwrDaU0M4zUFBXYVe_UUq4ME ]
submissionscomments
onetom··on Study: Two Monitors or One Ultrawide
Spectacle (https://www.spectacleapp.com/) is also open source and it's tiny, but only works with keyboard.

Magnet (http://magnet.crowdcafe.com/) costs 1 USD, but it provides mouse control via snapping at the display edges and it's also tiny (6MB). Its default keybindings does NOT clash with most apps. They are logical, hence memorable. They are easy to press too.

In fact I invented the same shortcuts and I was always changing the Spectacle defaults to them on every installation, which was tedious... With Magnet I don't have to fiddle at all.

I used xmonad on NixOS and I quite like it, but in any tiling wm on macOS I tried, I hit some issues within 5-10 minutes.

To be fair IntelliJ didn't work with xmonad out of the box either. I had to set some strange `startupHook = setWMName "LG3D"` Source: https://wiki.haskell.org/Xmonad/Frequently_asked_questions#P...

onetom··on Django 2.2
It feels to me, that people don't realize that there are probably a lot more people out there who speak English not as their first language, hence they don't have the same connotations of many words as the native speakers.

When I hear Django for example, first thing I think of is the slave from the "Django Unchained" Tarantino movie (or Django Reinhardt, the gypsy musician)...

Maybe this web framework shouldn't name itself after such a famous slave!...

Or from another point of view:

What a dick move was it from Tarantino to name his slave protagonist after such a popular web framework, which tries to be respectful, by avoiding references to slaves.

Also, I'm very much interested in the comment which sparked this thread.

I find it quite freaky, in a 1984-ish way, that it is completely inaccessible now.

What's next, flagging-people? Burning books is just a few steps away... You are a bit too trigger happy, maybe...

onetom··on Ask HN: How do you keep track of your creative thoughts?
What's your goal by writing these ideas down? How do you plan to process them later?

Evernote has a global shortcut to active: Cmd-Ctrl-E (like Evernote), which will bring the Evernote app into the foreground and positions you into the search field.

Then you can either create a new note with Cmd-N (like New), or you can start typing the words you a re looking for.

Are you sure something like that doesn't work for you?

Disclaimer: I don't use Evernote for note taking but for capturing what I read on the web and taking photos of documents and receipts. It's supposed to be like an external brain to me.

I also share this "capture log" publicly, so I can search it without a login from anywhere: https://www.evernote.com/pub/onetom/links

Search sucks in it though; often I end up just googling instead at the end.

I would also rather use something https://typora.io/ or https://caret.io/ for actual note authoring...

And I also agree that Evernote is a bit of a bloatware, but it's good enough, so I even pay for it yearly, since it can OCR the receipts I scan (and it also supposed to work offline too, though I haven't figured out how)

onetom··on Writing GUI Apps Using the Red Programming Language
In the past, when I was writing web scrapers and I wanted to put the results into a database, I was just using the command-line interface for the database via the Rebol `CALL` function. It was a couple of lines to create a `SELECT` and `INSERT` function to abstract this detail away... If you are really curious about Red, you should give this approach a try and in case it's not performant enough for you, then you can put this option on hold until Red has proper I/O support.
onetom··on Red Lang goes blockchain
> Nenad Rakocevic @dockimbel 00:35

> @OneArb I need to update the whitepaper with latest data, so it should be available maybe tomorrow, or in a couple of days.

— https://gitter.im/red/blockchain?at=5a4128da0163b02810796948

onetom··on Apple’s Secure Enclave Processor (SEP) Firmware Decrypted
https://www.trustedkey.com actually uses the Enclave and also the equivalent component (Secure Element) in Android phones.

Both of these modules use the secp256r1 curve at least, so the signature verification algo which runs on the blockchain can be the same for both types of devices. (You can find some more details on this topic here: http://blog.enuma.io/update/2016/11/01/a-tale-of-two-curves-...)

Since the Byzantium fork there are some precompiles available for curve operations. Using those for the r1 curve signature verification in EVM code brought down the gas cost to practical levels.

onetom··on Apple’s Secure Enclave Processor (SEP) Firmware Decrypted
Was it https://www.trustedkey.com ?
onetom··on SSH agent powered by blockchain and digital identity wallet
This is a really exciting combination of technologies with the highest level of privacy, yet providing great convenience!

(Disclaimer: I work for the company developing this, but not directly on this project)

onetom··on Show HN: eth-private-net – Tooling to run a private Ethereum network locally
We at enuma.io has also wrote a blog post with similar goals but specifically for setting up a Proof of Authority chain:

http://blog.enuma.io/update/2017/08/29/proof-of-authority-et...

onetom··on Ask HN: What is your password management solution?
Subscription to 1Password is not mandatory. Or at least it was not in the past. Without a subscription, you can create local vaults which can be synced via Dropbox, iCloud or over WiFi within the same subnet (which means over VPN too).

Here is some documentation on the Dropbox sync for example: https://support.1password.com/sync-with-dropbox/

onetom··on 50 days of postmarketOS
Hm... It feels like pmOS would be an ideal host for running applications written in http://www.red-lang.org/

It has a very concise, cross-platform GUI DSL ("inherited" from Rebol) which requires a 1MB runtime only on top of the host OS' GUI system.

Look what can you build in ~7kB which can run on top of a 1MB runtime, not a 100MB browser...

http://www.red-lang.org/2016/12/incursion-into-explorable-ex...

A few years ago I've actually built an iPhone app launcher simulator in a few kilobytes which looked exactly the same on a PPC iBook, an x86 Mac Mini or a Windows PC...

onetom··on GitLab is down
ah, okay, they are just upgrading and maybe it didn't go well: https://twitter.com/gitlabstatus/status/876717704354385920
onetom··on GitLab is down
indeed, for me too from hong kong. https://status.gitlab.com/ also returns "502 Bad Gateway"
onetom··on E-cigarettes ‘Potentially as Harmful as Tobacco Cigarettes’
I also find people's breath smelly on public transport. The reason is not just cigarettes but bad oral hygiene in general. Not sure what to do about it though...

On the other hand I hardly ever felt any vapour smell from e-cigarettes.

Also... Smoke is a mixture of gas and solid materials, while vapour is a mixture of gas and liquid.

I think using precise terms in a debate brings extra clarity into it, so instead of inventing poetic proxy terms, like e-smoke, let's just use the more commonly understood word "vapour" instead.

onetom··on Sublime Text 3 dev build 3128 released
Last time I had similar issues was about 5 years ago with ST2. Are you talking about ST3?
onetom··on 'Check Your Backups Work' Day
It's exemplary to be so honest.

The CEO should laugh with us a bit and be proud to inspire a day be named after their hiccup, thanks to their transparency.

I'm totally compassionate but we should never lose our sense of humour!

onetom··on GitLab Database Incident – Live Report
Thank you GitLab people for writing a log! It's just as important as the service you are providing. Keep up the good job and never be afraid to talk about your mistakes.

It would be also very educational if you could try to do a "5 whys" session and share it too. The person who made the mistake deserves a bit of rest, that's for sure. I wish she or he is supported by the team emotionally and not just being blamed.

onetom··on Ask HN: What IDE do you use?
7 years vim for bash, awk, Forth, Rebol, Ruby

5 years Sublime Text for bash, JavaScript, CoffeeScript

1 year (since 2016) IntelliJ+Cursive for Clojure(Script)

I've seriously tried Light Table, Atom, Visual Studio Code, Nightcode too for several days and tried to customize them all to my needs.

I gave a try to Cloud9, Nitrous, Koding, but I usually live on low bandwidth, so none of these were viable options.

While the JetBrains family of IDEs are super smart, ultimately the speed of your machine and your patience is what matters when choosing and IDE.

Sublime Text is the winner if you consider speed and memory usage, but its code navigation features are not precise.

JetBrains is the winner from convenience perspective, BUT you need 4GHz i7 with 16GB RAM if you expect Sublime Text-like responsiveness. I think it worth the investment but I was not been able to afford it for many years either...

Btw, the killer feature in JetBrains IDEs is their git interface. I think they have the greatest, cross-platform 3-way merge interface.

onetom··on Ask HN: Password manager recommendation?
1Password has that option too. In fact if you happy with that option, you don't even have to pay them anything.

https://support.1password.com/sync-options/#sync-over-a-loca...

Btw, the closed source client is also a weak point in the whole architecture, but if you don't worry about that, then probably you shouldn't worry about letting them store your encrypted passwords.

onetom··on Ask HN: Password manager recommendation?
1. 1Password IF your desktop machines are all macOS/iOS/Android.

Pros:

* Best UX

* Great keyboard support

* Non-cloud, local network sync option

* Sharing for families and teams via vaults which specify permissions of users (identified by their team specific email address)

* Login into multiple teams

* Intuitive web login form autocompletion and password generation for account creation

Cons:

* Closed source, so you still have to trust their binaries and their team

* No Linux version and only the Windows version is still beta, so the the whole team/family should be on Macs pretty much

2. Dashlane

Pros:

* Slightly cheaper than 1Password

* Reasonably nice UI

* Windows client

Cons:

* Annoying UX (auto-generated passwords are hard to find later, doesn't recognize a lot of login forms, etc etc)

* Almost no keyboard shortcuts

* Sharing is per-password with user emails (which might be the private emails, because they don't have proper team support)

* Closed source

3. Lastpass

Pros:

* Even cheaper than Dashlane and 1Password

* Enterprise plan has nice company-wide audit of password usage and hygiene

* Share passwords without revealing them (which is useless if you can hack their clients of course)

* Sharing is folder based

* Lastpass 4.0 got a modern look and feel finally, but it's still ugly compared to the others

Cons:

* Enterprise admin interface UI & UX is terrible

* Can't fill out a lot of login forms (even basic ones, like google, amazon IAM), especially if you have multiple accounts for them

* Closed source

4. KeePass - haven't used it for real, but I know about one, 30+ ppl company successfully using it on all 3 major platforms

Pros:

* Open source

* Cross platform

Cons:

* Haven't found a proper web login form filler integration for it

* Quite inconvenient compared to eg. 1Password

Not sure how sharing is supposed to work in it exactly. I think it's out of their scope.

onetom··on Show HN: NotebookJS
only if it would be ClojureScript... :)
onetom··on Why the MacBook Pro Is Limited to 16GB of RAM
I have a Mid 2015 15" rMBP w 16GB RAM. I'm actually worried about the SSD wear and that's why I would like to have 32GB RAM.

I'm quite okay with its performance but I routinely have ~4GB of memory swapped out, even though I'm trying hard to keep my browser tab count below 20.

I have 4-5 Clojure/ClojureScript projects open in IntelliJ; that eats ~1-2GB RAM.

For 3-4 of them I'm running a REPL; that's around ~1GB each, which is ~3-4GB in total.

Safari with 10-20 tabs; 1-2GB

Google Chrome Canary 4-5 tabs for the webapp under development (logged in with different type of users into different environments [dev/stg/prod]); ~300MB/tab => ~1-1.5GB total

Everyday utilities also add up to 1.5GB at least:

• Slack 0.4GB

• (sometimes Gitter 0.3GB)

• Spotify 0.3GB

• AirMail 0.3GB

• OneNote 0.2GB

• SublimeText 0.2GB

• iTerm 0.1GB

• 1Password 0.1GB

(and I don't even mention Box Sync or Dropbox or Google Drive or Ethereum or IPFS node because I usually keep them turned off while I'm coding...)

My kernel_task is usually round 1.5GB but sometimes grows up to 2+GB

So that's 2 + 4 + 3 + 1.5 + 1.5 + 1.5 = 13.5GB Then there is only 2.5GB left for disk cache and ~0.2GB memory is compressed at this point.

So that's the minimum memory requirement after a cold boot for work. Anything else I do start to force memory to be compressed then swapped out.

BUT THEN I also have a personal account for non-work related things which obviously forces swapping.

I have to say though I see very little stuttering or beach balling, though typing in IntelliJ can get jittery while it's indexing. I think macOS' memory management is quite good for desktop usage.

I do try Ubuntu/Fedora from time to time on Macs and I do envy how much less RAM they require, BUT everything else is rather clunky on them compared to macOS, IF they even boot.

• TouchPad dynamics are terrible.

• Gestures; forget it.

• WiFi connects a lot slower.

• Skype?... no comment.

• Multiple thunderbolt or HDMI displays with mirroring.

• HiDPI support with lower than physical virtual resolutions.

• Stable Built-in VNC server and client, especially when there are multiple screens?

• Wake up after sleep can still be a problem in 2016 (eg it sets the display brightness to 100%).

and finally why is there no desktop environment which provides macOS' keyboard shortcuts out of the box?

That would really help transitioning from macOS to Linux.

(just to put things into perspective I was an http://www.6809.org.uk/evilwm/ user for a year back in the day...)

onetom··on The internet is actually controlled by 14 people who hold 7 secret keys
I got this article a day before from a friend and he brought up the question which I have no answer for: > what if all 14 are assassinated? > 14 is not that many, especially when they meet occasionally

Then I was just reading the https://github.com/orisi/wiki/wiki/Orisi-White-Paper which has a "contract amendments" section saying: "... if over 50% of oracles notice that one of them fell, they can transfer the contract funds to another multisig address, with the dead oracle replaced by another one, allowing for safe and long-term contract management."

which sounds like they don't have plan for 100% death rate either.

I guess in case of such an horrible event, we would finally setup a different process which wouldn't require the collocation of several people...

onetom··on Show HN: Styled-components – Use the best of ES6 to style React apps
You mean extract into a separate stylesheet file?

Wouldn't that lead to https://en.wikipedia.org/wiki/Flash_of_unstyled_content issues?

Maybe some memoization could help if there are performance issues with regenerating `document.styleSheets`...

onetom··on Sublime Text 3 Build 3124
Here comes a piece of history. I replied this to my Sublime Text 2 purchase confirmation email I got from Jon Skinner on 2011/08/30:

> hi jon, > > my salary was reduced by 30% just yesterday, but when i woke up today, > they 1st thing i did was purchasing sublime. it's that fucking awesome! > i wish it would be open source, so people could learn from it... > but, hey, i doubt many open source developers could contribute quality > code to it.. :) > > if u could implement the elastic tab stop feature (which has some reference > implementation on the nickgravgaard.com/elastictabstops/ site), then i > would be happy to pay another 60bucks for it. > actually, u could sell separate license for the version which has this > feature... > i know it would be quite elitist, but it worked well with the black macbooks > back then...

onetom··on Sublime Text 3 Build 3124
I have a license too but as I'm moving between workstations and sometimes between accounts even on the same machine, I don't always paste the license in, because it would be extra effort to dig it up and copy-paste it...

I bought it on day one when I discovered that Sublime supports Windows, Linux & Mac.

I wanted a "modern editor" after vim, which works the same way across platforms, easy to install and configure, supports proportional fonts and does save on focus lost, yet still neither a memory hog nor a snail.

I never would have paid just for getting rid of the nag screen, but I was so impressed with its quality, I just had to express my gratitude by paying. :)

onetom··on Show HN: Start a pair programming session over WebRTC by just sharing a link
Still the same on both Firefox 44.0.2 and Chrome 49.0.2623.75
onetom··on What software is made of
It was a great article indeed, which made me deeply wonder and I will recommend it despite of the colouring.

I'm grateful to the author for discussing all these sad things in a very well reasoned way.

On the "yellow on purple" topic:

The Safari browser has a so called "Reader View". That formats (most) pages main content into a simple, very readable style.

There is also https://readability.com which is a full-blown web service tackling this problem.

And as I understood there is an open-source library integrated into Google Chrome which deals with decluttering webpages (https://github.com/chromium/dom-distiller)

onetom··on AWS US East is experiencing high error rates on several services
I wish it would be my own service. :D

How did you come to this conclusion? From smoyer's comment? (btw, thx smoyer, nice joke. :)

Also I wrote about ADHD on HN in the past. I really didn't mean it in an offensive way: https://news.ycombinator.com/item?id=3064846

onetom··on AWS US East is experiencing high error rates on several services
It's super off-topic to talk about this here. :/ I checked it on mobile too, but it looks the same as on desktop. It has a tagline similar to statuspage or slack: "The fully transactional, cloud-ready, distributed database."

To gain some insights into our differences, here is my thought process:

I agree that description is quite fuzzy, but to me it clarifies it's a database, not just a proxy. It suggests ACID properties by saying transactional and the cloud ready part hints scalability to me.

Then you would think "Oh, not again, another DB", so it continues with the "Why Datomic?" heading.

Afterwards the 1st link is "Read the Rationale", which explains everything everything about the software quite concisely. It's a database though, so don't expect to understand it a few seconds.

Being said that, the video on the 1st page gives a very solid explanation in its first 40seconds...

Thanks for the examples; now I understand what were you thinking. Those tag lines are really well done, but I think they had an easier job since they were describing a lot simpler services.

← PreviousPage 7 of 8Next →