News for hackers. Stuff that matters.

elektronjunge

Development tools on linux continue to be great. A visual studio quality ide would be nice, but realistically I'd continue to use vim and the terminal.

What really irks me is the desktop environment situation. I haven't had a linux install in a couple of years and it seems that all of the desktops have gotten worse in the last few years. Unity continues to add on terrible features and follows the similar ui antipatterns and gnome 3 has. KDE4/5 are decent but very heavy. Xfce and lxde are great but you occasionally run into some weirdly missing features (no font manager -- why?) that make you pull in gnome/kde and question why you picked a lightweight desktop in the first place. I'm not sold on the tiling window managers, ya the tiling is nice, but they look terrible, require way too much config, and sometimes I just want to use the mouse damn it.

Re:Rust 1.1 Stable, the Community Subteam, and RustCamp on Friday June 26, 2015 @06:11PM (#9788056)
You may also be interested in this post[1] by nrc for a couple of strategies for implementing graphs. And this companion[2] by Niko Matsakis.

[1] https://github.com/nrc/r4cppp/blob/master/graphs/README.md [2] http://smallcultfollowing.com/babysteps/blog/2015/04/06/mode...

Re:R in a 64 bit world on Tuesday June 09, 2015 @05:27PM (#9688667)
> wicked fast and devoid of bugs

Having ported a lot of old fortran to modern fortran and C I wish that were the case. More often than not, that's the assumption but its rarely true. There are some great lower level libraries like that *packs. But for the most part the performance and bug-freeness of these codes is more dogma than reality. For instance, in MCNP (a large monte-carlo neutronics package) a coworker of mine replaced the 70s era handrolled FFT function (which looked like someone was trying to write assembly in fortran) with a modern libary for 500%+ performance gain.

> Every human endeavour until incredibly recently in our timeline was a self-cost, whether it be in health, time or wealth. Only in the last blink of an eye have we expected a Govt or Govt funded entity to do it for us. And it's clear they can't.

Absolutely not. Governments have been funding innovation since the dawn of time, nearly every royal court hired scientists in some capacity. Many developments in navigation and transportation were funded by governments looking to improve their armies. Its not like a the average scientist could have afforded to make their own train engine, or a large sailing vessel to test their new technologies.

Re:LLVM OpenMP Support on Friday May 22, 2015 @03:50PM (#9590568)
For what? Most of openmp is useful because you can slap a pre-processor directive on a for loop and make it parallel. Rust has the ability to provide ergonomic fork-join parallelism at the library level. Right now collections that can iterate provide a .iter() method that can provide an iterator. I see no reason that equivalent functionality couldn't be provided by something like a .par_iter() or similar.
Re:Servo Continues Pushing Forward on Friday May 01, 2015 @03:58PM (#9474103)
At worst firefox will use some of the libraries that come out of servo. Firefox is supposed to use the url parser from servo by 2016.
> Seperate Select for files and Sockets on Windows..

And linux has the epoll/posix aio split for sockets and files.

Re:Fearless concurrency with Rust on Friday April 10, 2015 @04:59PM (#9357076)
> Go was attempting to use only very-well-understood ideas to make a very-well-understood, simple language.

Many of the ideas in go were not well understood and had only been demonstrated in research languages prior to go. Its concurrency model and associated primitives, and the automatic interface system were in roughly the same state then as Rust's new ideas are now.

That said the ideas in Rust were not as well understood 5 years ago and I doubt that the go creators could have incorporated them well at the time. It took Rust 5 years of experimentation to come to what it is now (and its still got a number of additions to go!).

Re:Arch Linux – Do it yourself on Tuesday April 07, 2015 @12:26PM (#9335138)
And the /bin symlinking... systemd and GRUB legacy were bigger. But about annually there's something arch land that will break even the most minimal installations if you aren't careful.
Re:Firefox 37 Release Notes on Tuesday March 31, 2015 @01:13PM (#9298056)
This is correct. I haven't had flash on my computer for nearly a year and I've been able to watch hd youtube videos in firefox.
Re:8queens – x64 assembler solution to n-queens problem on Tuesday March 24, 2015 @04:39PM (#9259324)
Its also ambiguous there are about 5 different, relatively popular "x64" architectures.
Re:Neovim now has builtin terminal emulation via libvterm on Monday March 02, 2015 @03:54PM (#9134250)
Its very heavy. I've been using airline for the last year or so. https://github.com/bling/vim-airline
Re:A first look at the Windows 10 universal app platform on Monday March 02, 2015 @12:37PM (#9133123)
In the windows 10 announcement they demoed a version of Office that supported the adaptive design. I don't know if they're dog fooding to get there though.
I have no idea what you are talking about. I opened a 26,000 line file (no I don't want to talk about it). In vim it opened instantly and my scrolling was only limited by my key repeat rate. The scrolling isn't as smooth looking because vim doesn't animate the scrolling between lines. Sublime took 2 seconds to open the same file, and scrolling was smooth.

Maybe you are using to many vim plugins? I'll admit vim plugins are a real problem, the gui rendering desperately needs to be moved to its own thread.

Re:Apple: March 9th 'Spring Forward' Event on Thursday February 26, 2015 @04:34PM (#9115665)
>While it's easy to say "it's more compelling to do stuff on a phone than it is to do it on a watch, so you'll naturally use the phone more", that rather makes me wonder why I would bother buying the watch, especially when you actually need the phone as well.

While this is true, no body is browsing the web or watching a video on their watch. People are doing quick checks of stocks, the weather, firing off a text message on their watches. The use cases overlap significantly but smart watches fill the niche of "I don't want to pull my phone out to check the time/if I have texts."

Re:CL21: An experimental project redesigning Common Lisp on Friday February 20, 2015 @10:13AM (#9080705)
LLVM isn't a vm like the others, its a generic compiler backend. Languages with LLVM backing generally compile to native.
Re:Game Theory Calls Cooperation Into Question on Friday February 13, 2015 @10:28AM (#9044780)
Correct and there are games that model that behavior, for instance iterated stag hunt[1]. This shows the benefits of cooperation for pack animals much more than the classic prisoner's dilemma. Of course you could construct a more detailed game that includes factors like defense and having a single leader that would be even closer to reality. The math behind game theory is right, its a question of whether we have chosen the right game to play.

[1] http://en.wikipedia.org/wiki/Stag_hunt

Re:Game Theory Calls Cooperation Into Question on Friday February 13, 2015 @10:19AM (#9044724)
That's not a problem with game theory. That's a problem with using overly simplistic games. You can easily model all of those punishments with different payouts in a game. In fact, when I studied it in school most of the games we worked through included punishment mechanisms.
Re:Building and Running .NET’s CoreCLR on OS X on Tuesday February 10, 2015 @01:10PM (#9028781)
Doubtful. WPF isn't even the recommended GUI toolkit on windows anymore.
Re:Understanding Debt on Monday February 09, 2015 @03:40PM (#9023552)
QE finished last October.
That story has never made any sense to me. The U.S. and Britain are far closer allies with a much longer history of extradition. If the U.S. wanted to extradite Assange they would have done it from Britain. Extraditing him to Sweden first only to later extradite him to the U.S. is non-sensical.
Re:Heartbleed in Rust on Monday February 02, 2015 @04:21PM (#8987081)
They're referring to writing your own allocator.
Re:LibreOffice 4.4, the Most Beautiful LibreOffice Ever on Thursday January 29, 2015 @11:29AM (#8967075)
That's just a viewer. Getting documents to render and making a usable touch interface for editing documents are two very different things.
Re:LibreOffice 4.4, the Most Beautiful LibreOffice Ever on Thursday January 29, 2015 @11:26AM (#8967046)
Hit Alt the numbers and letters are the shortcuts for moving around the ribbon. That's actually one of my favorite parts of the ribbon, you are able to see what the shortcuts are very easily. The alt trick works on just about anything in windows.
Re:Long term support considered harmful on Tuesday January 27, 2015 @04:24PM (#8956039)
The new pkg tool in freebsd is pretty good and meshes nicely with the ports tree. The marginal improvements for 3rd-party built packages with apt aren't really worth getting rid of the rest of freebsd for. It also doesn't help OpenBSD, which really needs a new package manager.
I had a couple classes like that, usually it was more at the semester boundary. E.g. my intro to compilers classes involved writing a compiler for a c-subset. The advanced compilers class built on that compiler by adding optimizations and such. My intro to systems class had a project that was to write a shell. My operating systems class had a project to add job management and pipes to the shell from the systems class. I really liked those projects you felt like you had something pretty substantial when you were done.
Re:IO Monad Considered Harmful on Friday January 23, 2015 @10:12AM (#8935180)
You can actually implement IO using unsafePerformIO fairly easily. There's a little bit of compiler magic for speed, but its not strictly necessary.
Re:The rise of fake engine noise on Thursday January 22, 2015 @10:14AM (#8929520)
That's a great solution if your not blind. Or navigating somewhere with poor sight lines like a parking garage.
Re:Windows 10: The Next Chapter [video] on Wednesday January 21, 2015 @02:18PM (#8924974)
You can use forward slashes in paths in cmd and powershell. But yes, I agree with your main point.
Re:Security: OpenBSD vs. FreeBSD on Friday January 16, 2015 @10:09AM (#8899300)
The article is actually incorrect about PF. FreeBSD forked OpenBSD's 4.5 version but has provided its own set of enhancements including SMP it has fallen behind in other respects. PF in OpenBSD has had some large architectural changes that break SMP and the biggest change (new syntax) wasn't deemed worthwhile to port back to the SMP version. The blog links to an email chain about it https://lists.freebsd.org/pipermail/freebsd-pf/2014-July/007...

Older »