News for hackers. Stuff that matters.

danwakefield

Re:Changes to Stripe Billing on Wednesday July 10, 2024 @08:47PM (#40932855)
https://gocardless.com/pricing/ is 1% below 500, then fixed for payments between ~500-2000, then its cap+0.3% over 2000
Re:Senior Developers Are Getting Rejected for Jobs on Wednesday May 15, 2019 @12:45PM (#19921214)
https://twitter.com/gankro/status/1046438955439271936

Mozilla engineer leveling chart is a good example. There are probably other companies that expose the criteria they use as well.

Re:Ask HN: What is a problem you face at work? on Saturday February 18, 2017 @05:44PM (#13677112)
Related: https://www.youtube.com/watch?v=Q8Mj7_0Lok0 - Talk at TxJS about the UX design process They also have their manual online talking about some important aspects https://www.gov.uk/service-manual/design/form-structure
Re:Write a Shell in C (2015) on Tuesday December 06, 2016 @08:16AM (#13114323)
Great links. Would have come in helpful a year ago. I built most of (d)ash clone in Go as part of my UnderGrad dissertation. https://github.com/danwakefield/gosh
Re:Show HN: Projects Made with Code on Monday October 10, 2016 @08:45AM (#12676720)
Re:Ask HN: Why won't Go compile with unused imports? on Wednesday July 06, 2016 @01:19PM (#12044523)
Switch out gofmt for goimports (https://github.com/bradfitz/goimports) to fix the errors on save with your editor / ide
Well, HOPEFULLY, the western governments pushing for exactly the same thing might think twice now. Any breach in the Chinese system would also be beneficial in highlighting even more flaws in the concept.
Re:Ask HN: What are your predictions in technology for 2016? on Sunday December 27, 2015 @04:43PM (#10798877)
https://www.moneydashboard.com/ Is a very nice to to this in the UK at least. It isn't perfect but its much better than things I've tried in the past.
Benchmark it? These guys used amazon turk to decide which was best. http://customerdevlabs.com/2013/03/05/test-company-domain-na...
Using xubuntu, switched from crunchbang a year ago after a drive failure.

It has some weird problems like forcing gnome-keyring-daemon to run which breaks ssh-agent. The only fix I have found to to create a wrapper script that always disables its ssh component.

I sometimes get focus issues requiring me to tab through the windows to refocus the correct one.

I dislike the practice of littering my home directory with dotfiles. I prefer them to be put in .config. I have 10 directories in $HOME and another 85 dotfiles/dirs there at the moment.

New ubuntu versions start you out with capitalized folder names which is annoying.

NetworkManager often bugs out. displaying in a tiny one line box you have to scroll through or disabling wifi when i attempt to start a VPN connection. I cant be bothered to learn wicd though

Re:Ask HN: Good Python codebases to read? on Thursday July 16, 2015 @10:58AM (#9897601)
I happen to agree, Ive been working on it for the past year and its sort of killed my drive to work with something 'big' again.

That being said Barbican is quite good, which I think is due to its proof of concept being written in Go[1] before being ported.

If you want to learn decent testing Openstack is a good example, the code as a whole not so much. This also only applies if you want to use unittest or their custom test module, testtools. py.test is a much nicer way to do testing IMO

[1]: https://www.youtube.com/watch?v=245rSZBdm9s

Re:Ask HN: Good Python codebases to read? on Thursday July 16, 2015 @10:08AM (#9897254)
Openstack does a large amount of testing for their code[1] but they is a huge amount of it. Barbican[2] is one of the newer less crufty components.

[1]: https://github.com/openstack/openstack [2]: https://github.com/openstack/barbican

Re:Ask HN: How do you stay sharp? on Monday July 13, 2015 @12:45PM (#9879240)
Apprenticeship Patterns[1] was linked in a thread a while ago and its got some good ideas.

I think that learning a lot can hurt the overall effort, Focus on one or two things at a time and use them to do stuff. Try and get to the 'know what you don't know' stage for each thing, even if you cant do something at the moment knowing what steps you should take to get there is a good feeling.

[1]: http://chimera.labs.oreilly.com/books/1234000001813/index.ht...

Re:Ask HN: Share your favourite bash/zsh aliases on Saturday July 11, 2015 @09:02AM (#9869609)
yeah, thats my bad, A recent addition and I must have copied too much of the command line when adding it.
Re:Ask HN: Share your favourite bash/zsh aliases on Saturday July 11, 2015 @08:42AM (#9869543)
I use most of the oh-my-zsh builtins. The git ones save a ton of time and G='|grep' is brilliant.

    alias GD='git diff HEAD~1 HEAD'
    alias grv='git review'
    alias gunmod='git status | grep "modified" | awk "{print \$2}" | xargs -I{} git checkout -- {}'
    alias gv='gvim --remote-silent'
    alias json='| python -m json.tool'
    alias vg='vagrant'
    alias ans='ansible '
    alias ansp='ansible-playbook '
    alias vv='virtualenv venv'
    alias vvp='venv/bin/python'
    alias vvpi='venv/bin/python setup.py develop'
    alias yt='cd $HOME/downloads; youtube-dl --verbose'
    alias yt3='cd $HOME/downloads; youtube-dl --verbose --extract-audio --audio-format mp3 '
I keep all of my shell history, right now it think it goes back ~3 years, so every now and then I filter it by frequency and check if I am using a command often enough to justify an alias. Works quite well
Vagrant with ansible to set it up. 1 build vm, 6 'deployed' vm's and 1 'deployer'.

Needs a minimum of 42G ram, 150G disk space and fills its logs at 2G/h. Not great when you are running on a 256G SSD.

Building takes 2h+ with ~10% random failure rate due to dependency mirrors and timeouts.

The python code is deployed as gziped virtualenvs to the hosts. This actually works pretty nicely as it means you cant just import stuff and have to build stuff similar to 12 factor style(We dont use ENV_VARS/stdout logging though).

TBH I still dont really see the point of docker, Im sure it will 'just click' at some point but it hasnt happened yet

Elixir might pick up some mind share, similar to ruby but still keeps its erlang roots.
Re:Ask HN: Which cloud do you use, and why? on Thursday May 21, 2015 @12:28PM (#9583747)
Many say it is useless. With passwords + root login disabled to login someone must break your keypair, unlikely to be accomplished by anyone who wouldn't also have the resources to knock ports.
Impressive work.

I can only see your github and email link icons on the desktop version, on mobile I see them all but they are too small.

A few links are broken (tldr.io and statbat wiki link and Tracers project link)

No favicon.

I always find things easier to skim if line lengths are shorter and text is slightly bigger but that is nitpicking (http://baymard.com/blog/line-length-readability).

A trade off to the projects is trying to condense them down to a single line each that can be part of the inital text blocks. I.e Statbot - A multi region realtime XMPP app with 14k+ users built in a week

Re:Dell XPS 13 Developer Edition on Wednesday April 08, 2015 @02:21PM (#9342740)
HP have an mostly internal linux distro hLinux[1]. Right now it is just used as an OpenStack base but it could be expanded.

[1]: http://blog.mikebrito.com/?p=114

Re:Ask HN: What are your unused domain names? on Tuesday April 07, 2015 @02:23PM (#9335980)
http://foobar.xyz - Pretty damn generic, not sure

http://notme.xyz -

http://mailto.xyz - Some sort of email service

http://linkit.xyz - Short / analytics links

http://houseinthe.country - Comparison / aggregation of rental / for sale properties

http://visitthe.country - Similar to above

http://ebro.co - Could be a linkbait humor site in the vain of bromygod.

http://gall.co - Not sure, but easy to say and spell and doesnt sound too bad.

I do think that .xyz is going to be one of the few new TLD's that will gain any traction. All of the others are too long and too specific.

Re:Ask HN: How do you keep track of everything? on Sunday March 29, 2015 @12:16PM (#9285358)
Random Thoughts - Google Keep

Events / Anything with a date - Google Calendar, Not a huge fan but haven't found anything better.

Movies / TV - Combination of Letterboxd and episodecalendar

Random Files - Dropbox, Thinking of moving to Google drive though since I dont actually use the sync. Contains a copy of ~/documents and ~/code.

Code - Github / Gogs mirror on one of my servers.

Email - Yahoo. In the process of switching to self hosted though.

Passwords - Lastpass.

Everything Else - Just using logical folder structures. I.e

~/video/movies/unwatched/ or ~/video/tv/keep/Archer/1/Archer.S1E01.mkv

Re:Ask HN: Static site generator with web UI? on Monday March 23, 2015 @09:18AM (#9250680)
PicoCMS might fit the bill. PHP with files as markdown, semi static as markdown is parsed on each page hit but that could easily be cached.

It has an editor plugin that allows live editing of the content.

http://picocms.org/plugins.html

Re: on Wednesday February 18, 2015 @02:59PM (#9070601)
Links to the products themselves? Mighty Wallet shows amazon results for actual wallets even using 'mighty pay wallet android' as the search term and I cant find Superchat or MightyMerchant either. The Mighty Wallet app might be best shown with the companion site as well, to show how you've dealt with cross platform products.
Re:Air Traffic Control Simulator on Saturday December 13, 2014 @09:13PM (#8747232)
Its fun, The two speeds are at the extremes though, Maybe a third halfway between them. Runway names are impossible to see while landing a plane and it's not obvious that takeoff always happen on *R runways.

If it was expanded it use actual flight data (if its legal) it would be something I could see myself losing a lot of time to it.