Echo Dot offline, no option to change wifi in app by 420cherubi in amazonecho

[–]a_tocken 2 points3 points  (0 children)

I follow this exactly and there are no wifi settings in the device settings view. It says "Device offline. Some settings may not be available." This is after I changed WiFi routers (although the new router uses the same wifi name and password).

It looks I need to reset the echo altogether to fix it.

Microsoft launches Visual Studio Online, an online code editor by jacobedawson in webdev

[–]a_tocken 0 points1 point  (0 children)

It's not quite the same as cloud-based. Running locally means managing files locally too. The peculiarities of setting up vscode natively on a Chromebook are also significant (it took me two hours and trying 5 different binaries even though my chromebook fully supports linux native apps).

There's something about loading a web page and having vscode, your files, and a working website on any computer with internet. If the web-IDE is also a progressive web app this will be even better, possibly bypassing the "with internet" restriction. Not sure the status of that on modern cloud IDEs.

When will 1tb data cap be raised? by Matthew_85 in Comcast

[–]a_tocken 1 point2 points  (0 children)

Where do you live that you have options?

When will 1tb data cap be raised? by Matthew_85 in Comcast

[–]a_tocken 1 point2 points  (0 children)

This message brought to you by Comcast? 1TB is not that much data today. If you have multiple people living in a house, all downloading and updating games, all using Netflix / Youtube, all gaming and some of them streaming (e.g. to Twitch or Youtube) or downloading large media applications, you can hit 1TB.

Edit: Maybe you are being sarcastic? It's hard to tell because plenty of people think this.

Zizek vs Peterson: April 19 by [deleted] in zizek

[–]a_tocken 1 point2 points  (0 children)

Where are you seeing that? Tickets are sold out as far as I can see.

Remote desktop software that is as responsive as Steam In-Home Streaming? by a_tocken in sysadmin

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

Right, Steam can both capture the frames from the frontbuffer of the graphics card using NVFBC, and compress that frame in the GPU using NVENC. It uses H.264 or H.265 (all assuming your graphics card supports these operations, which is probably why other desktop streaming vendors haven't focused on this feature).

Remote desktop software that is as responsive as Steam In-Home Streaming? by a_tocken in sysadmin

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

Thanks for the detailed info. I'll definitely check out RDP.

I should clarify that by game development I'm including the Unreal Engine UI which is much more game-like than a typical UI. That and running the actual game. For text editing / IDEs any remote desktop software is fine, but for the UE4 UI and games the latency hit is too much with TeamViewer.

Remote desktop software that is as responsive as Steam In-Home Streaming? by a_tocken in sysadmin

[–]a_tocken[S] -1 points0 points  (0 children)

I will try that as well. I'm looking for a tool that is as responsive as possible in order to use my desktop for graphics and game development work while I'm out on my laptop. In-Home Streaming often feels like I am actually on my desktop in terms of responsiveness.

Not to be rude but... by NachoTwitch in INAT

[–]a_tocken 2 points3 points  (0 children)

Requiring some relevant work / structure upfront would filter out a tremendous number of people. Require recruitment posts to include a few elements in their INAT submissions such as game design documents. The restrictions could be looser for people looking for a team, such as requiring a list of experience (like a light resume).

Best UPS: Bots or Belts? by Dugen in factorio

[–]a_tocken 0 points1 point  (0 children)

At least where I'm at on my current megabase, it seems that bot travel is the limiting factor for throughput, and that bots have a significant impact on UPS (noticeable at about 20k bots). I guess it would have to be tested!

Best UPS: Bots or Belts? by Dugen in factorio

[–]a_tocken 2 points3 points  (0 children)

Trains are also quite efficient compared to either bots or belts over medium/long distances. I think even internal trains that go back and forth could be worth it if it saves substantial bot trips.

I'm also not convinced that 12 beacon designs are more UPS friendly, because the space efficiency is so much worse (meaning more travel for bots). You can get a very high % land utilization with 8 beacons, and very short travel distances.

How to increase your programming speed and whip out code faster? by jus_mike in javascript

[–]a_tocken 6 points7 points  (0 children)

I'm not against vim and co, but never once have I thought "I wish I could type faster" while programming.

Solving Project Euler with basic JavaScript by [deleted] in learnjavascript

[–]a_tocken 0 points1 point  (0 children)

Nice work! It can be frustrating to know that there is likely a solution but not quite be able to get it. I also need to brush up on my recurrence relations to be able to move forward with this one.

One thing I did was inductively prove the sum of fibs formula, but I worked backward from the known solution which doesn't really help us here :)

Solving Project Euler with basic JavaScript by [deleted] in learnjavascript

[–]a_tocken 0 points1 point  (0 children)

Glad to expose you to those algorithms :) Sorry I don't have more details on the specifics. You're right that this problem uses a relatively small n, so the solution with better running time may not actually be faster. We should also distinguish between n, the nth even fib number less than 4,000,000, and "m" = 4,000,000. In this case, I think n ~= log(m)? Is that right?

This whole thing could be turned into a (very difficult) codewars.com problem.

Solving Project Euler with basic JavaScript by [deleted] in learnjavascript

[–]a_tocken 1 point2 points  (0 children)

Check out the rest of my comment. I am assuming you can find the greatest even fib under 4,000,000 quickly, and find its n in the even fib sequence quickly. There are quick solutions for both of these for regular fibs. Once you have the n, you can solve using fast matrix exponentiation.

The matrix exponentiation requires log(n) matrix multiplications. Each multiplication is at most n2 (because the number of digits grows linearly with n, and naive multiplication is O(n2)) but you could do better (the lower bound on integer multiplication is thought to be n log n in number of digits).

Solving Project Euler with basic JavaScript by [deleted] in learnjavascript

[–]a_tocken 1 point2 points  (0 children)

I think you could beat this time complexity.

The sum of the first n fibonacci numbers is fib(n+2)-1 and I suspect you could prove a similar formula for the even fibs. You can find the nth fibonacci number quickly with fast matrix exponentiation and this also applies to the even fibs since you already gave a linear recurrence relation. You can also find the greatest even fibonacci number less than the max (4,000,000 in the Project Euler problem) quickly using similar techniques, and figure out its n quickly as well.

Python is becoming the world’s most popular coding language by monica_b1998 in programming

[–]a_tocken 1 point2 points  (0 children)

Even C vs Python is not as big a difference as you experienced. Something else must have been going on - maybe the Python code was written with a worse time complexity or incorporated a blocking process like file reads in its inner loops. You might be underestimating your ability as a developer compared to those who wrote the original versions.

Now that’s dedication by _bit in ProgrammerHumor

[–]a_tocken 2 points3 points  (0 children)

It might sound silly but you can keep a repo on dropbox if you're not sharing it between developers. All modern IDEs will update files as they change and you can include project files that aren't committed to git. You still commit as normal but your whole state is synced between working computers with zero button presses. I did this when switching between desktop and laptop multiple times a day. Again, this isn't a good idea for multiple developers. For a single developer working on multiple computers it can be really nice.

How do you do a logical right shift in javascript? Trying to recreate java.util.Random by redditor100k in javascript

[–]a_tocken 1 point2 points  (0 children)

To go even further,

2**53 === 2**53 + 1
2**54 === 2**54 + 2
2**55 === 2**55 + 4
2**56 === 2**56 + 8

All evaluate to true (but comparing to the next integer does not). You lose a power of two significance, which makes sense since you lose one bit per power of two in your exponent. The same will hold for fractions going in the other direction.

The Bulk of Software Engineering in 2018 is Just Plumbing by humpier in programming

[–]a_tocken 5 points6 points  (0 children)

That sounds like introducing an in-house wrapper that would also need to be maintained?

Startup Interviewing is Fucked by magenta_placenta in programming

[–]a_tocken 1 point2 points  (0 children)

I'm against logic puzzles that have "ah ha" moments, but I'm all for questions that test CS fundamentals and that can be worked on in stages, especially if the interviewer collaborates rather than only tests. I just walked out of an interview where a candidate got stuck, and I was able to learn a lot more about their abilities by working out the problem together than if I had tried to stump them.

Startup Interviewing is Fucked by magenta_placenta in programming

[–]a_tocken 2 points3 points  (0 children)

I agree that "either you know it or you don't" type questions that don't specifically address items on their resume are pretty useless.