Fork me on GitHub
#off-topic
<
2018-06-05
>
jgh08:06:59

so is wwdc this year basically a huge flop in terms of tech people caring? I'm in a bunch of slack groups and a couple discord, and i check things like hackernews and there's been hardly any mention of it.

yen08:06:04

Depends on how much you like emojis I guess

😂 4
jgh08:06:17

they're OK but they introduce new emojis every time they update the OS, so not something I would consider being a headline feature

naomarik08:06:55

apple has been regressing so long i didn’t even know something new happened

jgh09:06:31

it feels like it's been a really long time since we've seen anything mind blowing from any of the tech giants. Maybe Surface was like the latest thing, but other than that it's been like at least 5 or 6 years of pretty incremental upgrades from everyone.

jgh09:06:53

i guess samsung did have the Galaxy Note S7, but that was perhaps mind blowing in the wrong way.

naomarik09:06:52

yeah definitely.

naomarik09:06:57

surface book 2 has been my favorite tech lately, but still using a 2015 15'’ mbp as my main dev machine

borkdude09:06:41

Anyone got an example of how to run a VNC server before a user has logged into Ubuntu? I tried this: https://askubuntu.com/questions/229989/how-to-setup-x11vnc-to-access-with-graphical-login-screen

xauth:  unable to generate an authority file name
05/06/2018 11:13:40 -auth guess: failed for display=':0'
05/06/2018 11:13:40 -auth guess: since we are root, retrying with FD_XDM=1
05/06/2018 11:13:40 -auth guess: failed for display=':0'

borkdude09:06:58

I’m running this in a VM right now btw

jgh09:06:15

i hate to be that guy but why do you need vnc for linux?

jgh09:06:45

i mean i understand why if you're trying to make a little TV box or something, but it seems like for most other use-cases ssh might be better

jgh09:06:49

(in which case if it's a media box why not just have it login automatically?)

jgh09:06:07

come to think of it im not sure if vnc works with mac or windows prior to login either....maybe you get logged in when you vnc to the box cause it asks for credentials.

borkdude09:06:52

yes, I thought about it too, maybe I don’t need it, but still, it would be nice to run Kitematic for Docker stuff

borkdude09:06:52

or learn proper NixOS and ditch Docker.. so many choices 😉

borkdude09:06:08

Windows has remote desktop which works prior to login, I think (haven’t tried in like 10 years)

3Jane13:06:50

Anyone read Cal Newport’s “Deep work”?

👀 4
dominicm13:06:49

Seen lots of people on HN recommend it

3Jane13:06:51

I really liked his other book, “So good they can’t ignore you”, and ran into notes from “Deep work” here: https://sivers.org/book/DeepWork

dominicm13:06:12

What's his other book about?

3Jane13:06:27

A counterpoint to all the hyped up “quit your boring job and devote 100% to your passion project and magically you will pay your bills and have a job you enjoy”

3Jane13:06:25

From memory, it can be boiled down to: 1. get a job, even if it’s not your passion, or you don’t know what your passion is yet 2. identify skills that are rare in this job and develop them. 3. verify that you found the right skills in point 2 because people will pay lots 4. find a cause you care about in this industry and engage in it. The cause should be remarkable in the sense of newsworthy, as well as remark-able (easy to comment on, share with others, etc.)

3Jane13:06:34

Going by the notes, in Deep Work he seems to recommend restricting self to 8 hours of intense work and to ditch all social media promotion. I’m wondering how people manage to square this with the need to have a job and then having to work a second shift of personal projects/self-promotion at home.

3Jane13:06:02

Which seems the only way to get anywhere interesting in CS 😕

dominicm13:06:30

I'm going to recommend the So good book to my SO. She's in her final year of university, and is uncertain about what to do.

3Jane13:06:52

Would recommend. It should speak to her all the more since he started by researching an academic setting and has a lot of examples from it, iirc

metacritical13:06:26

@borkdude NixOS doesnt work as advertised. none of your config would work, its way behind on libs. One cannot setup a dev station on Nix with latest libs. It really sucks but i tried setting up a ruby dev station on it few months back couldnt get all libs and latest working software on this machine. Cant even get a latest firefox running on the machine.

borkdude13:06:21

@metacritical Thanks for the heads up. I’m looking into NUC8i7HNK + linux. Since it’s fairly new I might run into trouble with whatever distro I choose.

borkdude13:06:47

@metacritical isn’t it possible to fetch unstable branch of nixpkgs or write your own though?

metacritical13:06:01

@borkdude Ohh sure you can experiment i dont feel its stable.

metacritical13:06:17

@borkdude Recently i experimented with GraalVM and native-image really works, i was able to even compile ‘spec’ into machine code. And its fast. If you are into writing terminal tools for yourself, clojure has arrived on the scene with native-image. That is one thing i would suggest you should use. but not NixOS.

borkdude13:06:57

For fast command line tools, I’d choose Graal. For fast editable scripts, lumo: https://github.com/borkdude/balcony/tree/master/lumo

borkdude13:06:28

And note that Graal is still pretty experimental and doesn’t support everything. So you might work for a day on a command line tool in the REPL and then only to find out some limitation once you compile it to machine code.

metacritical13:06:06

@borkdude That makes sense. It might break, but thats a small risk i can always go back to a previous version that works.

borkdude13:06:24

@metacritical e.g. I could not use clojure.pprint without deferring errors to the runtime (which then didn’t happen). That didn’t give me a good feeling.

metacritical13:06:11

Aah, thats basic. i get it now.

borkdude13:06:47

might try again in a couple of months, it’s actively being worked on

metacritical13:06:55

@borkdude Yes, All in all a good development though my biggest hope is for smaller Deployment containers. JVM is a little too heavy on the deployment side.

borkdude13:06:19

@metacritical would the modularization in Java 9 also help there?

metacritical13:06:53

It should i suppose, but i think that would be automatically handled by the compiler.

borkdude13:06:23

> If you care about the size of your application, it’s only 37MB totally for this hello world ring web application, includes runtime.

✅ 4
bendlas14:06:50

btw, with Criu, you can get a regular JVM - Clojure's startup time (with leiningen) to sub 300ms. It needs a special linux kernel flag, though ...

dominicm14:06:32

do you have a link to criu? the one on google is dead.

dominicm14:06:08

thanks 🙂

bendlas14:06:21

if you want to use it, keep in mind that you need to restore into a namspace with unshared PIDs, if you want to run multiple times from the same image ...

bendlas14:06:37

i can share some code, if you're interested ..

dominicm14:06:15

I was cursorily interested, not super serious. But I'll bother you perhaps if I consider it more seriously.

👌 4
bja16:06:46

I'd just like to say that my mom lives on an island in the middle of the Pacific, pays half as much per month for internet, and somehow has 100Mbs uplink to my 50Mbps in Springfield, IL. I hate Comcast.

fellshard19:06:48

Low contention for bandwidth, probably, coupled with bandwidth being separate from latency.

tbaldridge20:06:27

Lack of competition is the issue. We have two ISPs here, one is Comcast, and the other exists mostly because they bill themselves as the company that won't screw their customers.

tbaldridge20:06:57

So the good side of that is CenturyLink provides great service with lifetime rates.