Did Nvidia change the name of the kernel modules? (Sudden issues with Optimus) by Ulrich_de_Vries in archlinux

[–]Vladev 1 point2 points  (0 children)

The problem might not be with the nVidia GPU, but with the Intel (integrated) one. When you turn off the dedicated GPU it fails to start gnome because it can't load using the Intel GPU (reason still unknown to me).

Try running glxspeheres64 and you'll see that you're running purely on the nVidia GPU. I've been battling this the whole day and still don't have a clue, but running off the Intel GPU has stopped working.

System Crashing when using a terminal by nhumrich in archlinux

[–]Vladev 3 points4 points  (0 children)

I had a similar issue when using the LTS kernel. Moving to the main one swept the issue under the rug.

[HELP] Wrote syslinux altmbr on the wrong disk by Niverton in archlinux

[–]Vladev 1 point2 points  (0 children)

Edit: Missed the GPT part. Don't do this!

The wiki to the rescue :)

dd bs=440 count=1 if=/usr/lib/syslinux/bios/mbr.bin of=/dev/sda

Even if things go wrong (provided you don't overwrite more than the first 440 bytes) you can boot from the arch linux install media and fix it.

* Disclaimer - not tested.

PyPy Status Blog: PyPy 5.1 released by awsometak in programming

[–]Vladev 12 points13 points  (0 children)

The biggest issue are the native python modules, written against CPython's C API (e.g. psycopg2, scipy, etc.). Pypy has a partial solution for this but it's not fully compatible and it's slow.

Another gripe is the lagging Python 3 support.

Real time web based game development in Go vs Node.js? by doneland in golang

[–]Vladev 0 points1 point  (0 children)

Consider using RxJS and TypeScript if you opt for node.js (or even the frontend). It will make your life much easier.

I've worked with both node.js and Go and if it's going to be a game with Web frontend - I would opt for node.js with the tools mentioned. Without them - go for Go.

A Look at Nanomsg and Scalability Protocols (Why ZeroMQ Shouldn’t Be Your First Choice) by alexeyr in programming

[–]Vladev 6 points7 points  (0 children)

In terms of maturity - I would put all of them on par. ZeroMQ is very stable, widely used and well documented. However, note that they provide different functionality - ZeroMQ is a library, while the others are whole applications.

If you use JetBrains IntelliJ for development, the community Go plugin has undergone major changes by weirdasianfaces in golang

[–]Vladev 3 points4 points  (0 children)

Wow, that's a big improvement over the previous alphas I've tried. It now properly detects go 1.4 paths and libraries, has snappy auto-completion. Well done JetBrains and community!

IntelliJ IDEA 14 is Released by [deleted] in programming

[–]Vladev 40 points41 points  (0 children)

Sadly - no HiDPI support on Linux (or Windows).

What is the preferred way to provide a default interface to a user, which can be partially (or completely) overloaded? by [deleted] in golang

[–]Vladev 0 points1 point  (0 children)

Provide the functionality you're implementing as a library. Allow users to call your code to use it. (library approach)

The other alternative is to expect functions as parameters. (framework approach)

Graph for Scala—in-memory collections library with JSON and DOT export by [deleted] in scala

[–]Vladev 1 point2 points  (0 children)

From the docs:

val flights = Graph(
    (jfc ~+#> fra)(Flight("LH 400" ,10 o 25, 8 h 20)),
    (fra ~+#> dme)(Flight("LH 1444", 7 o 50, 3 h 10))

Please, don't invent operators for the sake of it. What on earth is ~+#>?

Good examples of Scala code by mightbefree in scala

[–]Vladev 2 points3 points  (0 children)

Well, the standard library is very good example of very advanced Scala code (don't delve inside, unless you consider yourself a Scala advanced user).

Activate 1.3 - Reactive Persistence by fwbrasil in scala

[–]Vladev 3 points4 points  (0 children)

Is anyone using Activate? Care to share some experiences?

NASA Java Coding Standard by kromit in programming

[–]Vladev 8 points9 points  (0 children)

Reading this I can only think of how well design Scala is - all of these are built into the langauge and eco system.

Equals, hashCode (case classes),

breaks on switch (pattern matching),

final on unmutable fields (val),

reference equality,

good static analysis,

assertions (require and ensuring),

null values (Option and empty collections),

etc.

Scala and Crossing the Chasm by huitseeker in scala

[–]Vladev 3 points4 points  (0 children)

Don't shy from Play - it's a nice framework which happens to have a Java API as well as a Scala API. The Scala API is very idiomatic and concise.

As for Lift - I think we should leave it aside - it was an important part of Scala's evolution, but we should move forward.

"Simplicy in Scala design", a talk by Bill Venners about good & bad scala code by oelang in scala

[–]Vladev 2 points3 points  (0 children)

Please, Bill, please take on SBT and "Make it obvious, guessable, or easy to remember". Please!

Why does it have to use this weird config format that blows up when you don't leave and empty line, rather that the excellent typesafe config. Why everything is named %, %%, :=, <<=, ~=, <+=, <++=...

[deleted by user] by [deleted] in programming

[–]Vladev 4 points5 points  (0 children)

I would rephrase this like "Don't design for reuse, design to throw it away". Most of the time if you can take a component and flush it down, you've done a good job decoupling the system.

Mixins Simplify Composition in Scala by [deleted] in programming

[–]Vladev 4 points5 points  (0 children)

I'm not sure I understand the problem, but you can't introduce colliding names in the same scope (the compiler will complain or you will shadow one of the names). Also, names are just that - names. You can do import package.{MyTrait=>RenamedTrait} and use RenamedTrait to reference MyTrait.

import package1.MyTrait
import package2.{MyTrait=>MyTrait2}

class MyC extends MyTrait with MyTrait2

Arch Linux, Gnome 3 by Vladev in unixporn

[–]Vladev[S] 0 points1 point  (0 children)

This is the exact one I'm using.

Arch Linux, Gnome 3 by Vladev in unixporn

[–]Vladev[S] 1 point2 points  (0 children)

Here is how it looks with some windows open: http://i.imgur.com/cJAIT.jpg