News for hackers. Stuff that matters.

shadeless

Re:So I have a weatherman, which also tells me the news on Sunday September 20, 2026 @06:56PM (#49780975)
Very interesting, thanks for sharing!
Re:So I have a weatherman, which also tells me the news on Sunday September 20, 2026 @01:58PM (#49778221)
Not OP, but thanks for the comment! In my research for cleaner indoor air custom fan-mounted purifiers came up as a cheaper and much more effective alternative to commercial air purifiers, but I haven't seen the Airfanta before.

Regarding humidifiers, do you have any links for further reading on the pollution aspect? I assumed that the distilled water ones wouldn't pollute the air, but I'm now realising I haven't actually checked.

I guess that most of the humidifiers sold on e.g. Amazon are the types you mentioned, do you have any recommendations in terms of brands/models?

I've been using CopyQ for years on Linux, macOS, and Windows, highly recommend it - https://hluk.github.io/CopyQ/
This looks fantastic, I was recently disappointed to learn that there don't seem to be any good KVMs under ~$200, that support anything higher than 4k@60Hz.

Apparently Thunderbolt/DisplayPort are not really a thing yet for some reason, so I ended up getting a USB (KM) switch instead. With this project, it looks like I'll be able to have my cake and eat it too.

Re:Android 10 on Tuesday September 03, 2019 @03:55PM (#20870507)
Both my Samsung Galaxy S8 and Galaxy Note 9 do this, they call it Wi-Fi sharing:

https://www.samsung.com/uk/support/mobile-devices/how-do-i-s...

Re:We can't get enough of audiobooks on Tuesday July 16, 2019 @02:14AM (#20447858)
I have been using Blinkist on a daily basis for the past few months.

I'm pretty satisfied with the subscription as it's a great time-saver, in 15mins I either find out that:

- the book is not worth spending hours of actual reading

- I enjoy the summary and it makes me want to read the whole book

- or I like the summary, copy the highlights into personal notes, and carry on

Real people are both reading and summarizing the books, so it's much higher quality than the automatic shorteners.

Re:Erlang/OTP 20.0 on Wednesday June 21, 2017 @12:54PM (#14605545)
There's "Learn You Some Erlang for great good!" (http://learnyousomeerlang.com/), which is a great (the best?) resource for learning Erlang.
Re:The Boring Company FAQ on Wednesday May 17, 2017 @10:51AM (#14358950)
It's worth mentioning that the smallest city with a rapid transit system (2 metro lines, 28 stations) has a population of only 135,629.

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

Re:Doom on the MacBook Pro Touch Bar on Tuesday November 22, 2016 @11:10AM (#13015023)
Re:Jeff Bezos Interview with Walter Isaacson [video] on Wednesday October 26, 2016 @04:34PM (#12800225)
The page source has a meta tag with the upload date:

    <meta content='2016-10-14T21:09:46+00:00' itemprop='uploadDate'>
Re:Firefox Launches More Experimental Features on Sunday October 16, 2016 @08:30AM (#12718305)
i3wm is a pretty popular tiling window manager which supports what parent described - you can set a window to "float" (so it doesn't tile, you can move around it like in a regular wm) and you can also set it to be "sticky" (so it stays visible even if you switch to a different workspace).
Re:Erlang Installer Beta: A Better Way To Use Erlang On OS X on Friday September 23, 2016 @05:43PM (#12568197)
A couple of months ago I stoped using rvm, kerl, exenv, nvm and started using asdf - "Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more".

I've been pretty satisfied with it, and haven't had a single problem with it yet - it just works (™).

I recommend trying it out, relevant links:

https://github.com/asdf-vm/asdf

https://github.com/asdf-vm/asdf-erlang

Re:Getting things done on Tuesday September 20, 2016 @08:29AM (#12538941)
This is where I first saw it, it's a nice form for sharing with other people: http://zenpencils.com/comic/90-ira-glass-advice-for-beginner...
Re:Elixir as an Object-Oriented Language on Tuesday September 13, 2016 @09:04AM (#12487788)
Somewhat related, there was a fun Lightning Talk at ElixirConfEU, "Advanced OOP in Elixir" - https://www.youtube.com/watch?v=5EtV2JUU0Z4
Re:Vim 8.0 released on Monday September 12, 2016 @11:25AM (#12480493)
I haven't used layouts much, but that sounds very useful.

Do you have your dotfiles somewhere online? Or could you put up the code needed for that setup in a gist/pastebin?

Also check out sway, i3 compatible window manager for Wayland: https://github.com/SirCmpwn/sway
And also checkout Elm in Action MEAP [0], published just yesterday. There is a coupon for 50% valid today, "mlfeldmantw" [1]

I'm not affiliated in any way, just a fan of Elm.

[0] https://www.manning.com/books/elm-in-action

[1] https://twitter.com/ManningBooks/status/756492787290214401

Re:Elixir 1.3.1 released on Monday July 11, 2016 @06:01PM (#12075111)
There was a post about their usage of Elixir on the ElixirForum recently: https://elixirforum.com/t/complex-open-source-phoenix-apps-t...
Re:Elixir 1.3.1 released on Monday July 11, 2016 @10:06AM (#12071089)
Or if you like pipelines as much as I do, you can write it as:

   [:a, :b, :c]
   |> Enum.with_index
   |> Enum.each(fn({item, counter}) -> IO.puts("#{counter} -> #{item}") end)
Elixir

Edit: I wrote this comment before Elixir was added to the poll.

To me this looks like a submarine article for Amplemarket. Reading between the lines, John had trouble with sales on Monitorbook, so he created Amplemarket and used it to increase growth.

If that's the case it's doubly remarkable, but keeping that information secret seems sleazy. Am I crazy for thinking that?

Re:How I built a profitable bootstrapped side project on Monday May 30, 2016 @11:41AM (#11801808)
Nice post. Can you clarify what you mean by proftiable, I'm assuming you're covering all costs and also paying yourself a decent salary?

If so, congrats!

Yeah, I was also very happy with ClipX while I was using Windows. Since switching the main OS to Linux a couple of years ago I've tried many other clipboard managers and found that CopyQ is the best (for me): https://github.com/hluk/CopyQ

It's being actively developed and also supports OSX and Windows, so it's worth giving a try.

Re:Ask HN: Is Golang mature enough for FinTech startups? on Friday April 22, 2016 @07:12AM (#11548296)
IIRC there were some issues in how Phoenix was configured for the techempower benchmarks, I expect that it will have much better results in the next one.

You may want to look at these benchmarks also:

https://github.com/mroth/phoenix-showdown

https://gist.github.com/omnibs/e5e72b31e6bd25caf39a

Here is a post about using 2 million active websockets connections in Phoenix: http://www.phoenixframework.org/blog/the-road-to-2-million-w...

From my experience, Rails and Phoenix speed isn't comparable. Even in development mode (with code-reloading etc) Phoenix is much faster than a production Rails server. I've also replaced three Node.js servers with one Elixir server which did the same work with less memory and CPU usage, but I'm aware that most rewrites have a similar story, so I won't claim that this is enough proof.

Re:Ask HN: Is Golang mature enough for FinTech startups? on Thursday April 21, 2016 @09:35PM (#11546508)
I'd strongly recommend that you at least consider using Elixir [0] instead. Especially since you're coming from Ruby/Rails and you're looking at the frameworks, Phoenix [1] will get you 80% there.

Instead of me listing all the nice things about Elixir which you can read about online, feel free to send me an email with any questions regarding usage in production. I've been using it for some time and I'm very happy with it.

[0] http://elixir-lang.org/

[1] http://www.phoenixframework.org/

Re:Hex.pm: Package manager for the Erlang ecosystem on Wednesday April 20, 2016 @07:47AM (#11533666)
My understanding is: you can't unpublish an existing package, like in npm's leftpad situation. You do have a one hour window to change or revert a published version of a package, after that the published version is read-only.

Docs: https://hex.pm/docs/publish

Re:What does Unsplash cost? on Monday April 18, 2016 @09:02PM (#11524221)
For another detailed breakdown of web app cost, see the thread for Cushion: https://news.ycombinator.com/item?id=10875879
Re:Ask HN: Can you show me how fast coding is in vim? on Thursday April 14, 2016 @06:15PM (#11500753)
Using 'dw' deletes from the cursor until the end of the word.

Using 'daw' deletes the whole word "around" the cursor (hence 'a' command) - meaning you don't have to pay attention to the cursor position, it could be on the start/middle/end of the word and the result would be the same.

Older »