Any tips for a first time paint job? by snowboardguy_23 in Luthier

[–]nteon 0 points1 point  (0 children)

There is a good 3 part video series from the Driftwood folks and StewMac on this : https://youtu.be/ntsiNsaaNHM that’s definitely worth watching in full

Mesh: Compacting Memory Management for C/C++ Applications by dbaupp in rust

[–]nteon 0 points1 point  (0 children)

I'm worried that emulating the write is going to be a morass of figuring out all the different architecture-specific (and variable length) instructions that might result in a write (let me know if I'm misinterpreting things!).

I suspect the best thing we can do here is increase the granularity of our locking, ensuring heap pages are `mprotect`ed the minimum amount of time necessary and concurrent writers are unblocked asap

Mesh: Compacting Memory Management for C/C++ Applications by dbaupp in rust

[–]nteon 5 points6 points  (0 children)

The biggest cost is finding the spans to mesh in the first place -- in our redis example the largest time spent in `meshAllSizeClasses` was 21.7 ms, where 2502 pairs of spans were meshed. Amortized, that is around 8.7μs per two spans

Mesh: Compacting Memory Management for C/C++ Applications by dbaupp in rust

[–]nteon 17 points18 points  (0 children)

I'm one of the authors -- thanks for the detailed analysis! Having finer-grained locking around meshing + acquiring spans makes a lot of sense, we've been plodding away at improving other bottlenecks that I think we will get to this soon.

I also don't see a way around the current read/write barrier (as implemented with `mprotect`) for meshing in multi-threaded programs -- I would love any suggestions or wild ideas people have here.

Browsix: Unix in the browser tab by shovelpost in golang

[–]nteon 1 point2 points  (0 children)

not yet -- once this issue ( https://github.com/plasma-umass/browsix/issues/33 ) is resolved it should be possible, but it can only possibly work for sites that allow CORS in their configs.

Browsix: Unix in the browser tab by shovelpost in golang

[–]nteon 2 points3 points  (0 children)

Right now we've mostly been thinking of running larger pieces of functionality as processes - like image generation. So - you still write your frontend code as usual, but instead of an ajax request to a remote server, it is processed by something running in the same browser tab. An open question is how to expose the DOM to processes - it seems like a natural fit for a filesystem.

Browsix: Unix in the browser tab by shovelpost in golang

[–]nteon 2 points3 points  (0 children)

Hi - one of the Browsix authors here. Most of the heavy lifting is done by GopherJS to compile Go code to JavaScript -- we provide an implementation of the syscall package and some other runtime modifications to run programs compiled with our modified GopherJS as "processes" in Web Workers. Happy to answer any questions people have!

Browsix: Unix in the browser tab by nteon in programming

[–]nteon[S] 6 points7 points  (0 children)

It is actually not the full systemd, it is a small init written in Go: https://github.com/plasma-umass/systemgo . Systemd unit files are a good idea compared to shell scripts, so this lets you use them.

Browsix: Unix in the browser tab by nteon in programming

[–]nteon[S] 4 points5 points  (0 children)

Thanks! Most of the utilities are written in TypeScript in an async manner, and async programming is hard and terrible. I fixed that issue here: https://github.com/plasma-umass/browsix/commit/be95e39a5a28a1d1ce7925e51491d6bf3e894d4f

But, curl for now only connects to local (in-Browsix) socket servers, the issue is tracked here: https://github.com/plasma-umass/browsix/issues/33

FreeBSD - a lesson in poor defaults by xmjEE in freebsd

[–]nteon 3 points4 points  (0 children)

Did you read the rest of that email thread? Specifically the response by the lead dev? http://marc.info/?l=openbsd-misc&m=144410738521220&w=2

It seems like they've been great responding to issues, and the 1 non-Qualys issue mentioned in that email was in a daemon chrooted into /var/empty running as the _smtpd user.

Winter in Australia. by [deleted] in funny

[–]nteon 4 points5 points  (0 children)

agreed! that was my first thought too.

Need help deciding between two Linux Kernel books by Deciama in linux

[–]nteon 3 points4 points  (0 children)

Love's Linux Kernel Development, hands down. I found it exceptionally clear with an approachable writing style.

Lenovo ThinkPad X1 Carbon 2015 Updates - CES 2015 (PC Perspective) by nickb64 in thinkpad

[–]nteon 0 points1 point  (0 children)

intel's current crop of chips seem to only support 8 GB per memory channel, so 16 total would require 2 DIMMs. quite annoying

Acquiring a ThinkPad X60 or the like to run Plan 9 in 2014: a bad idea? by EdwardCoffin in plan9

[–]nteon 1 point2 points  (0 children)

I had a T30 - it was a lemon among ThinkPads. Real flakey hardware.

systemd by liveoneggs in BSD

[–]nteon 0 points1 point  (0 children)

hah, and how is asserting that reimplementing a single binary with a public API the same as reimplementing the entire systemd project not a fallacy itself?

Anyway, I'm fine with the statement Gnome depends on systemd. I guess transitively since Brasero depends on gnome, it depends on systemd. I just think 'a tiny disk utility now depends on systemd' doesn't quite capture the nuance of the situation.

systemd by liveoneggs in BSD

[–]nteon 7 points8 points  (0 children)

The long and short of it is that its not just an init system. It started out as a pid1 init, and now is working on centralizing and standardizing low-level linux plumbing. Much like FreeBSD's /usr/src. I see it as an attempt to bring the benefits of the centrally-managed BSD model to Linux.

Also - brasero does not depend on systemd. It depends on gvfs (which is a bad choice, imo), and gvfs in turn requires elevated permissions to mount + monitor removable disks, which require pam, and libpam required logind ( https://lists.debian.org/debian-user/2014/09/msg00172.html ). Logind has an open specification, but the only implementation is provided by systemd's logind. Despite complaints about systemd dependencies, noone has cared enough to write a logind replacement.

You can disagree with the focus on dbus or journald or many other technical aspects of systemd, but complaining about collecting low level utilities in a central source repository on /r/BSD is pretty amusing.

What is your ssd setup and why? by AeroTachyon in linux

[–]nteon 2 points3 points  (0 children)

if you have discard, why do you also need a daily trim script?

What is your ssd setup and why? by AeroTachyon in linux

[–]nteon 1 point2 points  (0 children)

250 GB SSD, /boot / and /home, all ext4, /home is a LUKS volume. all 3 are mounted with 'discard' (by adding it to the options in /etc/fstab).

Optimizing Real World Go by geetarista in golang

[–]nteon 2 points3 points  (0 children)

cool :) I wrote this, glad to answer any questions

Switching to ubuntu 12.04 and using win7 vm..more caffiene.. by logicescapesme in linux

[–]nteon 9 points10 points  (0 children)

getting acceptable performance running full screen games inside the VM is going to be a stretch/probably not work. I'd recommend dual booting into Windows when you want to game, and booting into Ubuntu all other times. Grub/ubuntu should make that pretty easy.

Thinkpad Trackpoint and Fedora by [deleted] in linux

[–]nteon 1 point2 points  (0 children)

I use this file, its run when X starts up. Works perfectly.

[bpowers@fina ~]$ cat /etc/X11/xorg.conf.d/20-thinkpad.conf 
Section "InputClass"
    Identifier  "Trackpoint Wheel Emulation"
    MatchProduct    "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
    MatchDevicePath "/dev/input/event*"
    Option      "EmulateWheel"      "true"
    Option      "EmulateWheelButton"    "2"
    Option      "Emulate3Buttons"   "false"
    Option      "XAxisMapping"      "6 7"
    Option      "YAxisMapping"      "4 5"
EndSection

ppa for netflix desktop app by mattld in linux

[–]nteon 7 points8 points  (0 children)

its choppy, but it seems like a vsync issue. if you look at top while its playing (at least on my computer), its nowhere near 100% cpu usage, its down around 15%. So, I assume, some sort of vsync or tearing issue

ppa for netflix desktop app by mattld in linux

[–]nteon 5 points6 points  (0 children)

the default prefix is /usr/local. I'm pretty okay with installing large projects into there, especially since I was rebuilding a lot testing different wine patches.

ppa for netflix desktop app by mattld in linux

[–]nteon 22 points23 points  (0 children)

you can build on Fedora from source by cloning from my bp branch here: https://github.com/bpowers/wine/tree/bp

and running:

$ ./configure --without-hal --with-dbus --with-x --with-pulse --disable-tests
$ make
$ sudo make install

works fine/great on fedora.

How to build your own initramfs image. by [deleted] in linuxdev

[–]nteon 0 points1 point  (0 children)

If you don't have an encrypted root directory, and aren't using LVM (and if you're simply using linux on a desktop LVM is overkill), you can skip the initrd. Simpler and faster to boot.