HNHacker News
TopNewBestAskShowJobs

elektronjunge

95 karma · joined May 7, 2014

submissionscomments
elektronjunge··on Ask HN: What are your biggest frustrations with Linux development?
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.

elektronjunge··on Rust 1.1 Stable, the Community Subteam, and RustCamp
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...

elektronjunge··on R in a 64 bit world
> 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.

elektronjunge··on Elon Musk’s Hyperloop Becomes Reality as Agreements Secured in California
> 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.

elektronjunge··on LLVM OpenMP Support
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.
elektronjunge··on Servo Continues Pushing Forward
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.
elektronjunge··on Microsoft .NET CoreCLR is now running on FreeBSD 10.1 (amd64)
> Seperate Select for files and Sockets on Windows..

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

elektronjunge··on Fearless concurrency with Rust
> 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!).

elektronjunge··on Arch Linux – Do it yourself
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.
elektronjunge··on Firefox 37 Release Notes
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.
elektronjunge··on 8queens – x64 assembler solution to n-queens problem
Its also ambiguous there are about 5 different, relatively popular "x64" architectures.
elektronjunge··on Neovim now has builtin terminal emulation via libvterm
Its very heavy. I've been using airline for the last year or so. https://github.com/bling/vim-airline
elektronjunge··on A first look at the Windows 10 universal app platform
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.
elektronjunge··on “Implement text editor DOM updates manually instead of via React”
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.

elektronjunge··on Apple: March 9th 'Spring Forward' Event
>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."

elektronjunge··on CL21: An experimental project redesigning Common Lisp
LLVM isn't a vm like the others, its a generic compiler backend. Languages with LLVM backing generally compile to native.
elektronjunge··on Game Theory Calls Cooperation Into Question
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

elektronjunge··on Game Theory Calls Cooperation Into Question
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.
elektronjunge··on Building and Running .NET’s CoreCLR on OS X
Doubtful. WPF isn't even the recommended GUI toolkit on windows anymore.
elektronjunge··on Understanding Debt
QE finished last October.
elektronjunge··on Spending by the UK government on the siege against Julian Assange
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.
elektronjunge··on Heartbleed in Rust
They're referring to writing your own allocator.
elektronjunge··on LibreOffice 4.4, the Most Beautiful LibreOffice Ever
That's just a viewer. Getting documents to render and making a usable touch interface for editing documents are two very different things.
elektronjunge··on LibreOffice 4.4, the Most Beautiful LibreOffice Ever
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.
elektronjunge··on Long term support considered harmful
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.
elektronjunge··on What I Wish I Knew When Starting Out as a Software Developer: Slow the Fuck Down
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.
elektronjunge··on IO Monad Considered Harmful
You can actually implement IO using unsafePerformIO fairly easily. There's a little bit of compiler magic for speed, but its not strictly necessary.
elektronjunge··on The rise of fake engine noise
That's a great solution if your not blind. Or navigating somewhere with poor sight lines like a parking garage.
elektronjunge··on Windows 10: The Next Chapter [video]
You can use forward slashes in paths in cmd and powershell. But yes, I agree with your main point.
elektronjunge··on Security: OpenBSD vs. FreeBSD
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...
Page 1 of 3Next →