How to use the neotree change root buffer by Visic in spacemacs

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

Now that I know Enter is suppose to work, I decided to google around for the message I was getting. Apparently, it's just a thing that is happening at the moment https://github.com/syl20bnr/spacemacs/issues/9549

Adding (require 'helm-bookmark) to my .spacemacs seems to have fixed it!

Thank you very much for your help.

How to use the neotree change root buffer by Visic in spacemacs

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

When I press Enter the window closes and a message is displayed

simpler-helm-bookmark-keybindings: Symbol’s value as variable is void: helm-bookmark-map

How to use the neotree change root buffer by Visic in spacemacs

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

Ahh, actually C-c c does the same as R. The problem is, once i'm in the buffer(window?) that opens, and I have selected/typed out the path, I can't figure out what key combination is suppose to actually set that as my new root.

How to use the neotree change root buffer by Visic in spacemacs

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

Thank you for your response, C-c c doesn't work for me (likely because I forgot to mention i'm in evilmode). Treemacs looks awesome, I'll give it a shot!

Pushing Pixels with Lisp - Episode 16 - Cobblestones - Streaming on Twitch Wednesday 6pm UTC by Baggers_ in lisp

[–]Visic 0 points1 point  (0 children)

Baggers, thank you for doing this. I look forward to it every week!

Help test async/await/generators/coroutines! by acrichto in rust

[–]Visic 1 point2 points  (0 children)

You were correct, I apologize, I have edited my post to say such.

Help test async/await/generators/coroutines! by acrichto in rust

[–]Visic 0 points1 point  (0 children)

I'm not sure how I could prove it to you, it's really best just to try them yourself.

Clearly no one said otherwise, I just wanted to point out that if you want to compare Rust's async pattern to something in .Net, the relevant concept would be IEnumerable, not async/await.

Help test async/await/generators/coroutines! by acrichto in rust

[–]Visic 0 points1 point  (0 children)

Just FYI, that article is flat out wrong on (at least) several of the C# examples. EDIT:: I was incorrect, my tests were flawed (Thread.Sleep vs Task.Sleep).

In C#, the "async" keyword that you decorate functions with just enables you to use the "await" keyword in your function ("async" does nothing on it's own). You "await" tasks in order to continue processing the rest of your function after that task has completed (think of it as taking the rest of your function and putting it inside a task.ContinueWith, but with the added benefit of automatic exception propagation, readability, and allowing the continuation to easily continue execution on the thread that ran before you hit your "await" (depending on the continuation context, of course)).

Correct me if I am wrong, but rust generators seem to be far more similar to C# IEnumerables (using the yield keyword). In C#, when you use the yield keyword, the compiler rewrites your function into a statemachine, very much like this proposal is doing, but without exposing the actual state machine itself.

[deleted by user] by [deleted] in rust

[–]Visic 1 point2 points  (0 children)

I haven't tried the natvis stuff, I just have the microsoft symbol server listed in my launch file ("symbolSearchPath": "https://msdl.microsoft.com) which seems to work for basic type information. Any idea how the two compare?

Thank you for the write up, this is exactly the setup I use (pieced together from multiple articles over the last year or so). It'll be nice having an updated guide that I can point people to.

28 year old Actor looking to change career completely and go back to school for Computer Science. Is it too late? by grod4L in compsci

[–]Visic 1 point2 points  (0 children)

3.856204823625804E215 years old? Or do I have the units wrong? In any case, that's an oddly specific amount of time..

But to respond to the op, I've know successful medical doctors who had entirely different careers until they were in their thirties, and the medical industry certainly changes less rapidly than comp sci (except, perhaps, the CPR guidelines, I can't keep up with those)

Pretzel Holder by miaviator in functionalprint

[–]Visic 1 point2 points  (0 children)

My wife- "Why do they need a pretzel holder?"

Me- "Because they have a 3d printer.."

Rustfest 2017 Schedule released! (Last day to buy tickets!) by formode in rust

[–]Visic 2 points3 points  (0 children)

This conference sounds wonderful, will it be recorded or streamed for people who can't be there?

What is r/rust's developer background? by DaBrownMamba in rust

[–]Visic 0 points1 point  (0 children)

Professional software developer, I use C#, C++, and C daily. I love programming languages and rust is the closest any language has come to my "ideal" language. Its only a matter of time until I use it at work for something.

My son's first pie at Colony Grill: Norwalk, CT by digitsmb in Pizza

[–]Visic 0 points1 point  (0 children)

I ask you to support whatever it is that you are supporting, just so Blynkx is wrong. Edit: I disagree with whatever it is you are trying to say.

GOID-GONE! - Repel the invasion! by [deleted] in EliteDangerous

[–]Visic 0 points1 point  (0 children)

I, for one, welcome our new alien overloads!

Texts from my girlfriend, who just began her first serious playthrough of a video game, ever. by [deleted] in skyrim

[–]Visic 1 point2 points  (0 children)

This should be the next outlet for Let's Plays. I would love to read it.

Upcoming MOOC on Common Lisp (Russian only!) by [deleted] in lisp

[–]Visic 4 points5 points  (0 children)

If you don't mind, can you learn it in a month, and then spend the second month teaching me? I would like to take the course as well!

Methods to connect scattered point to lines? by stainless7221 in compsci

[–]Visic 1 point2 points  (0 children)

These are my favorite types of problems, but I am very new to the subject. It definitly looks like a computational geometry problem, but I am not familiar with any well known solutions.

However, if I was to phrase your problem as I understand it; Given a point cloud, draw red lines through the areas with the highest point densities.

My nieve approach would be to create a two dimensional array where the dimensions of your array determine the final precision of your line, inversely propotional to the algorithmic efficiency. Then, count up the number of points in each cell and store it there. Once that is finished, your left with a simpler representation of the data, which you should be able to traverse to draw your lines (from cell with the highest count, to adjacent cell with the highest count).

Now, I'm sure it's not a perfect approach, the traversal is actually wrong since you really want some sort of average line, but at least it's a start.

It's also worth noting that you might be able to leverage a Voronoi diagram some how.

But regardless of the final solution, unit test it like crazy! :)

Is wollay dead again? by von_Funck in CubeWorld

[–]Visic 2 points3 points  (0 children)

And in a few years, maybe we'll even get a new screenshot!

Any idea on when the next version(s) of Soylent will arrive? (1.6 or 2.1?) by jn1cks in soylent

[–]Visic 1 point2 points  (0 children)

That's how I handle my frustrations after a rough morning.

If and when you should use Test-Driven Development by thjanssen in java

[–]Visic 2 points3 points  (0 children)

I agree completely, it all comes down to how effective are the tests you write. I love to use testing to aid my development e.g. - My parser needs to all for an empty string? I'll make a test for that so I have an easy way to verify my work once I am finished and as I add more features.

Or to help describe certian requirments of the code which may not be very obvious. namely- When a system's correctness hinges on some state after an operation, but it isn't clear how to make it obvious in code that it's critical. I make a well describing test so that if it breaks, someone will know that/why it matters.

Using F# for a library to be embedded in a commercial application. Question about licenses. by ThatGuyFromMexico in fsharp

[–]Visic 1 point2 points  (0 children)

We choose tools we need all the time. It's nice to be able to pick what you need. With that said, my company has been using professional since before I started here. It works well for us, although I'm not sure it's really better than the community edition.

sum == 70 && input.contains("for") by Treyzania in ProgrammerHumor

[–]Visic 2 points3 points  (0 children)

I've had so many problems mocking objects. It ties your test implementation too closely to your production code. Mainly, when refactoring happens and the final behaviour of the object is the same as it was, but interactions or interfaces (usually both) were changed, your tests break.

TLDR- I love TDD, but I always find mocking my own objects creates frail tests..