News for hackers. Stuff that matters.

masida

Re:Fedora 24 was released on Tuesday June 21, 2016 @12:48PM (#11947116)
Or the command line way: https://fedoramagazine.org/upgrading-fedora-23-workstation-t...

(Which is available now, while the GUI will be available at a later time.)

Re:Takata’s Air Bag Crisis on Wednesday June 08, 2016 @04:31AM (#11860826)
I think this story also shows the problems with patents. If Takata was allowed to use the mixture that was "invented" by other airbag makers, would they have used their dangerous ammonium nitrate mixture?

It also shows the dangers of the drive for lower costs in companies like this. The current system is doomed to reintroduce the same problems all over again, regulation and more control will not change this.

Well, I do it too. It's just for convenience, you use the apostroph character much more frequently in ordinary language.
Re:GitLab Pages on Wednesday April 06, 2016 @03:15AM (#11437173)
I was wondering if GitLab provides a Markdown editor that could be used by non-technical users directly from the web interface? Something like Prose[1], Dillinger[2] or StackEdit[3].

Of course you could argue if it's in scope for a project like GitLab, but it means that I could use static site generators for projects where non-technical users need to edit the content without ever thinking about a CMS.

Would be nice:

- if it would also provide an easy upload/commit of images to some configurable directory from that Markdown editor;

- configure a content-editor user that's restricted to a subset of directories;

- allow the user to preview the full website without pushing to the live environment;

- use a tag or branch to mark the version that can be pushed to the live environment.

It would probably be the most flexible CMS that's available right now.

[1] https://prose.io/ [2] http://dillinger.io/ [3] https://stackedit.io/

Re:Model 3 Unveiling [video] on Friday April 01, 2016 @03:52AM (#11403385)
Fixed costs aren't totally fixed, it's just that they won't change for every unit produced. But it may be the case that they will change when you produce say an additional 100 units (or 1,000 or 10,000 units).

So if you ramp up production and you need for example an additional factory, that means your fixed costs will go up.

Re:Ask HN: Best ultrabook for Linux? on Thursday March 24, 2016 @12:31PM (#11354184)
I would prefer the T460 (or the bigger T560), just because the battery of the T460s isn't user replaceable.
Re:The Secret of Immigrant Genius on Monday January 25, 2016 @04:03AM (#10966252)
I think that the gist of the article is that you can be more creative (i.e. come up with ideas that hardly anyone thought of before), if you have more distance from culture. In other words, people that are deeply entrenched in culture, can only think of doing things in the way that the culture is doing it now.

Alan Kay tries to express this concept in his talk "Normal considered harmful", it may give a different perspective on the same concept.

I think it's very good to point this out in relation to immigration right now. However, it's just one of the reasons we should be open to immigration: humanness (brotherhood); a better outcome for both parties ("immigrants" and "natives") in the long run if we give immigrants a possibility to start a "normal" life as fast as possible; we can share the workload and may alleviate the problem of ageing western societies; etc.

Re:Dear open-source maintainers, a letter from GitLab on Monday January 18, 2016 @12:28PM (#10925581)
This is really a problem I think. Maybe GitLab could reconsider to adopt a licensing model[1] for the Enterprise Edition that would make it more Free Software friendly?

[1] I.e. a licensing model based on GPL and selling services that Red Hat uses for RHEL, instead of a licensing model like they, and a minority of the "open source" companies, use.

Re:Why is the latest AMD hardware unsupported in libreboot? on Wednesday January 13, 2016 @01:40PM (#10896441)
They're probably talking about the wireless network adapter here, not the CPU. If that's what you're implying.
Re:Baggage Handling System – Schiphol Airport [video] on Monday January 11, 2016 @03:51PM (#10883404)
This reminds me of one of my first programming jobs as external consultant for the Baggage Handling System at Schiphol in 2000/2001, I was 17 years old.

My employer at that time was using MS Excel to parse the log files of all sensors of the predecessor/older part of the system that is shown in this video. I told her that I could probably do it 10,000 times faster by creating a simple program in Visual Basic.

Visual Basic was way too slow on our "high-end" Pentium laptop to parse that many 1MB log files, so I rewrote it in C++ (learned it on the job)[1]. The managers got insight in the performance of the various components of the system which they never dreamed of having (they were hardly aware that the system was creating this detailed log messages).

By the way, the system is developed (at least partly) by Vanderlande [2].

[1] Took me a couple of days, probably even weeks back then. I would write the code in 1 or 2 hours now.

[2] https://www.vanderlande.com/

Re:Nylas N1 – extensible open-source mail client on Monday October 05, 2015 @02:54PM (#10333959)
How hard would it be to create a backend for PostgreSQL?

I'm currently in doubt to move to either Mailpile or your platform on my personal server. However, PostgreSQL would be a big plus for your platform, since I don't have any experience with MySQL in recent years, and I rather do not run it on my VPS just for mail.

Re:How I Write Invoices in Vim on Saturday September 05, 2015 @11:39AM (#10175092)
Yeah, that's exactly the way I do it.

The invoice data from my hledger file and a HTML template together are generated to a HTML invoice. The HTML invoice together with a CSS file are processed to PDF using WeasyPrint [1].

[1] http://weasyprint.org/

Re:PEP 0501 – Translation ready string interpolation on Thursday August 13, 2015 @04:01PM (#10056836)
I agree. For me the automatic "pulling" of local variables from the context feels like "magic", and I think that's an undesirable property for a programming language. Of course, PEP498 has the same issue.
Re:Ask HN: Most hacker friendly laptop on the market? on Sunday July 19, 2015 @01:15PM (#9911891)
I agree. I've a T530 with Quad Core i7 and I prefer it to my previous MacBook Pro. I'm running Debian Jessie.

I believe it's also possible to replace the BIOS with CoreBoot, however I haven't tried.

I like the fact that I can easily replace components (battery, cd-rom with an extra HDD, etc.). Lastly, I agree, they're rock solid and survive most drops and even waterspills.

Haskell usage by enterprises can be found here: https://wiki.haskell.org/Haskell_in_industry
Re:Open-sourcing Tutanota: Why it was important to us on Saturday June 27, 2015 @09:50AM (#9790126)
You're right about you're being clear about working there, I'm sorry if I've sounded a bit harsh. Thank you for your analysis BTW. I think it's always useful to provide constructive review to fellow developers.

I agree with you that the only alternative is self hosting. That's why I'm anticipating a new wave of low power mini-computers with solid state memory, a fully configured embedded GNU/Linux or *BSD distro, and a webbased interface for management which would make it possible to host our own services at home using OSS only. The FreedomBox is an example of this.

Re:Open-sourcing Tutanota: Why it was important to us on Saturday June 27, 2015 @08:26AM (#9789932)
You've forgotten to include the plug for FastMail. And maybe you should include the fact that you work for FastMail (it's not that you're hiding it, it's in your profile, but it's nice to mention in the text if you're working for the competitor).

Personally, I stay clear from any hosted e-mail services. I don't care if their backend is open source or not. RMS explains all problems with SaaS in his essay "Who does that server really serve?".

It's sad that the current selection of open source e-mail clients is not that great. Especially, for less technically inclined people.

Re:Let's Encrypt Launch Schedule on Tuesday June 16, 2015 @06:33PM (#9729119)
OK, that's very nice.
Re:Let's Encrypt Launch Schedule on Tuesday June 16, 2015 @06:32PM (#9729117)
Thanks for the info, eirst time I hear about this. I'll look it up. I'm honestly a bit ashamed I haven't heard about this before.
Re:Let's Encrypt Launch Schedule on Tuesday June 16, 2015 @12:49PM (#9727138)
Very nice initiative.

But for me the biggest problem with adoption of SSL is still that every domain name needs it's unique IPv4 address, and all problems that come with that, not registering or paying for the SSL certificate.

At work, I usually use virtual hosting for about 100 domains on one IP address. I don't see us buying an IPv4 address per domain and adding them to my NIC configuration one by one. Once we can safely ignore IPv4 and use IPv6 only it will probably become easier and cheaper.

Re:List of April Fools' Day Announcements on Wednesday April 01, 2015 @03:58AM (#9302238)
Re:Ask HN: MBP or Thinkpad on Monday February 16, 2015 @09:22AM (#9056989)
Funny that you mention it, I've got static shocks from my MBP 2,1 quite often. Hated it.

Switched to a ThinkPad and I'm happy working with a quad core T530 now. I've also tried the T540p, but I didn't like the trackpad at all. Also, I found the FHD screen from my T530 to be of better quality than the FHD screen of the T540p.

Personally, I will never buy a Mac again.

I expect HN people to get their vocabulary straight and use the word "hacker" only for the people that build things. This story is obviously about a cracker.
Re:Ex-Googler: 'Tons of Engineers' Want to Leave Google on Saturday January 17, 2015 @01:20PM (#8905022)
This article should've been named: "Yahoo!'s attempt! at! Fear! Uncertainty! and! Doubt! against! Google!"
Re:One Frickin' User Interface for Linux (2003) on Sunday December 28, 2014 @02:35PM (#8807144)
I've been using GNOME 3 on Debian Jessie for about a year now on my main work machine and I have to say that I'm very happy with it. I switched to it after having used a XMonad desktop for about a year, I think that says a lot.

What I like is the fact that everything just works (tm). Just as it used to be on Mac OS X. No need to fiddle with 10 volume control applets on your minimal tiling WM, none of them works well with PulseAudio. Same for the battery indicators, manually loading your desktop background, setxkbmap etcetera in your .xinitrc. You're basically forced to mix-and-match your whole desktop.

GNOME 3 comes with batteries included. Everything works out-of-the-box. Yes, the eye candy is a bit too much, but I think the Activities menu is very useful and productive. I can just use my computer, like I did on Mac OS X before. But now I the Linux desktop also gives me much better performance, package management and stability.

Only thing I miss on GNOME 3 is a XMonad's tiling system and keybindings. It's a shame they lost the ability to swap the window manager for your own.

Re:GHC 7.8.1 released on Thursday April 10, 2014 @06:28AM (#7565108)
Thank you for your comment. I've ended up installing 7.8.1 from the binary distributions from the GHC site: http://www.haskell.org/ghc/download_ghc_7_8_1

As easy as:

  tar -xJvf ghc-7.8.1-i386-unknown-linux-deb7.tar.xz
  cd ghc-7.8.1
  ./configure --prefix=/opt/ghc-7.8.1
  make install
Re:GHC 7.8.1 released on Wednesday April 09, 2014 @11:43AM (#7559994)
What will be the easiest way to get GHC 7.8.1 running alongside the official GHC packages for Debian (specifically Jessie)?

Should I download a package from http://deb.haskell.org/? If so, where can I find 7.8.1?

Re:DEC64: Decimal Floating Point on Sunday March 09, 2014 @09:22AM (#7368377)
Python does it:

  >>> from decimal import Decimal
  >>> Decimal(0.1)
  Decimal('0.1000000000000000055511151231257827021181583404541015625')
  >>> Decimal(1e50)
  Decimal('100000000000000007629769841091887003294964970946560')