News for hackers. Stuff that matters.

Revell

Sounds like you want to implement something like merge trains?[0]

[0]: https://about.gitlab.com/blog/2020/01/30/all-aboard-merge-tr...

This one's at the top of my list as well. I will never work for Facebook.
Re:Lumber crash leads to 'blowout' sales as prices crater on Thursday September 16, 2021 @03:03AM (#28548919)
That's mainly because we started exporting most of the wood to North America, creating our own shortage here in Europe. Hence, prices went up here too.
Re:Writing more legible SQL on Thursday November 03, 2016 @02:52AM (#12862049)
I write my SQL as follows:

    SELECT `second_column`,
           `fourth_column`
      FROM `table_name`
     WHERE `first_column` = 'Value'
       AND `third_column` = 3
  ORDER BY `fifth_column` ASC
     LIMIT 1
Re:How do people justify earning more than others? on Friday April 29, 2016 @09:41AM (#11595624)
He mentioned "even basic programming", that's what I ran with.
Re:How do people justify earning more than others? on Friday April 29, 2016 @08:10AM (#11595142)
No, it really isn't. The worst thing that can happen in programming is my application throwing an error (assuming PHP/Python or similar). That's really nothing compared to when I'm driving a heap of metal at high speeds around the streets together with other people doing the same.
Re:Otto, the successor to Vagrant on Monday September 28, 2015 @04:19PM (#10292907)
Seems like a good start to a useful project! I'm a bit turned off by the lack of customisation options for the servers though. I would like a bit more options in terms of what gets installed and what not (I don't need Bazaar, Mercurial _AND_ git installed f.e. and I'd like nginx i.o. Apache).

I'll definitely be keeping an eye on the project!

Re:Ask HN: What do Erlangers think of Elixir? on Wednesday September 02, 2015 @02:47AM (#10157760)
It's an awesome project and I like how it significantly lowers the entry barrier to get into Erlang programming for a lot of people. Personally I just haven't really had the time to play around with it yet but it's definitely on my list of things to try.

Also, I don't get that there seems to be such a divide between the Erlang and Elixir community. It should be much more mingled together imho.

Ask HN: Do you know of any development “case studies”?

I know of a couple design "case studies" where someone took the website or app of a company and gave it their own spin just to see what it could end up as. I wonder if there's any similar articles or examples of this being done in development.It's a completely different ballgame since we usually don't really know what the driving force behind a site is, but it would be interesting to read up on...

( Read More... | no comments | 2 points | on HN )
Why not use a real-world example of something you would write a class for? The best tutorials are the ones that teach you things you can actually use. I've never used an Animal or Vehicle class myself. A better example might be to write something like an Article class, and then build out to a very simple and minimal blog?
Re:Ask HN: Drupal or from Scratch on Sunday August 16, 2015 @09:27AM (#10068838)
I've very recently used Drupal for the first time on a project where using Drupal was a requirement from the client. The reason they wanted Drupal was because their internal dev. team was accustomed to it so if they needed to do work on it later, they could.

I have to say that it's a terrible framework to get into. I found it extremely difficult to find proper documentation on how to achieve (simple?) tasks and how to properly link things together. I've now only scratched the surface of it after completing the project in ~six weeks but am kind of dreading having to work with it again.

I think it could improve usability drastically by updating their own website and documentation. The only things I could find when getting stuck were questions of people being stuck on the same thing, or on a similar thing. Actual answers on this were very difficult to find and mostly took me a substantial amount of time of digging through the code.

Re:Fish shell 2.2 on Sunday July 12, 2015 @08:52AM (#9873324)
My main gripe with a shell like Fish is that it won't work with the trusted ol' BASH scripts. Seeing as I deal with quite some BASH scripts on a day-to-day basis at work this keeps me from trying it out, even though I'd love to be able to use something more sophisticated/evolved than plain BASH.
I think it's more to do with the Quatorze Juillet French national holiday this Tuesday, which gives a lot of French people a long weekend.
Re:Ask HN: SSL certificates on Tuesday June 16, 2015 @01:29PM (#9727408)
CertSimple and DigiCert seem to be a bit pricey for simple DV (Domain Verification) certificates, any other options in that area?
Re:First Look at the Rift, Shipping Q1 2016 on Wednesday May 06, 2015 @08:33AM (#9498121)
Very much looking forward to the end-product being released, let's hope it lives up to the hype!
Re:Ask HN: What's THE way to setup a OS X dev machine 2015? on Wednesday May 06, 2015 @07:39AM (#9497864)
I use Ansible for provisioning my machine itself with the needed Homebrew and Cask packages, and then Vagrant + Virtualbox for setting up dev. environments.
I switched to Iterm2 a couple of years back, my main reason back then was that Terminal.app was missing a lot of features which I had gotten used to when using Linux (Terminator it was, I believe).
I've been looking at alternative shells a while back and Fish looked interesting indeed. What made you choose this one over regular Bash and ZSH? Also, how do you deal with incompatibility issues (if any) and different environments (f.e. when SSH-ing to a server)?
In my (albeit somewhat limited) experience with different dev. companies, it's no (big) issue to use the distro that you're most comfortable with. For me this is OSX, but I've also ran Linux (Ubuntu/Mint) in a primarily Windows oriented company. The only "issue" was that I was my own tech-support in the case where something might not work.
Why are you being forced to use OSX? Why not just install your distro of choice on it?

Other than that, use iTerm2[0], Homebrew[1] and Cask[2], this'll kickstart your CLI env in the right direction.

  [0] http://iterm2.com/  
  [1] http://brew.sh/  
  [2] http://caskroom.io/

    > explainvim.com
    > freelancers.work
    > giveme.work
    > iwant.work
    > itwill.work
    > itdoesnt.work
    > pantsdropped.com
Not really doing anything with those.
Re:A preview of the new Dropbox API v2 on Wednesday April 08, 2015 @04:17PM (#9343618)
Caching for one. I just don't see a reason for moving as much as possible to POST since this seems to go against what the different methods (GET, HEAD, POST, PUT, DELETE, etc) were meant for.
Re:A preview of the new Dropbox API v2 on Wednesday April 08, 2015 @01:04PM (#9342211)
"Overall, we’ve simplified our use of HTTP. For example, most endpoints always use HTTP POST, including those that return structured data."

Why? Why would you use a POST call for the first endpoint they demonstrate, users/get_current_account

  curl -X POST https://api.dropbox.com/2-beta/users/get_current_account \
    --header "Authorization: Bearer <access-token>" \
    --header "Content-Type: application/json" \
    --data "null"
Why not implement that as a GET-call?

Ask HN: What shell do you use?

There's a couple different shells available at the moment, the most popular being ZSH[0], Fish[1] and Bash[2].Which one has your preference? And how do you deal with different environments and shells (e.g. SSH into a server and you're using Bash i.o. your own preferred local shell)?[0] http://zsh.sourceforge.net/[1] http://fishshell.com/[2] https://www.gnu.org/software/bash/

( Read More... | 4 comments | 5 points | on HN )

Older »