HNHacker News
TopNewBestAskShowJobs

robrtsql

657 karma · joined September 12, 2017

submissionscomments
robrtsql··on Is WSL actually ready for developers?
> To be honest, I don't get why he's installing VS Code on top of WSL, when you have native windows VS Code. This seems completely unnecessary, but maybe I'm missing some benefit?

When I develop Python with Visual Studio Code, I run it from a virtual environment. I have auto-formatting enabled, so whenever I save a file, it will automatically be formatted with the formatter which is installed in my virtual environment.

I don't know if the same is possible if your virtual environment is in WSL and your VS Code is in Windows.

robrtsql··on Pixelfed – An alternative to centralized image sharing platforms
I'm wondering the same. I wanted to look at a Pixelfed instance to see if it was worth joining (or following from a different account in the fediverse)--and I can't even see whether or not I like the content without making an account?

I can see why a for-profit app like Instagram would force everyone to sign up to browse, since that helps their bottom line, but I can't see why that decision would be made here.

robrtsql··on How Discord Went Mainstream
I'm not who you were talking to, but while Slack was definitely intended for use by businesses, you can create a Slack "team" for free (or at least, that's what I remember). There are limits around free Slack (finite chat history) but it is possible.

> Also, have you ever tried a free software, decentralized alternative?

Which are you thinking of?

I've used Riot before, to see what Matrix was all about. The Riot client was kind of sluggish.

Anyways, I suspect the real reason people use things like Slack and Discord is not because it's the best tool for the job but because it's free for them to make a community. Typically, the person who administrates the server/team/community also has to pay a monthly subscription fee or pay to host it on a VPS, so it's only natural that people are flocking to a service which offers to let you do that for free.

robrtsql··on Moving from Ruby to Rust
My issue with mypy is that I would like it to verify that I'm passing the right types into functions from my dependencies. For example, I do a lot of scripting with Python and boto3 to interact with AWS, and my scripts often fail the first time because I misread the field name or structure of a JSON object that goes into or comes from the API. It makes me wish I was using Java or Go, because at least then the compiler would have told me it was wrong.

I'm not sure if a solution to this exists yet. It seems like it's up to the dependency to adopt mypy as well?

robrtsql··on When AWS Autoscale Doesn’t
I don't understand--how were you launching instances if the API(s) was/were down? Your system was unable to determine that there were instances running, but it was able to send RunInstances requests to EC2?
robrtsql··on “Lambda and serverless is one of the worst forms of proprietary lock-in” (2017)
In my opinion, the real lock-in is not the stateless API, but the tie-ins with other AWS services that may end up being required to accomplish what you need.

Like, if you're trying to provide a calculator API, you can definitely run that in Lambda and then easily move it somewhere else when AWS does something to upset you. But, let's say you're trying to do something a little more complicated (a common example is validating and transforming profile pictures for some sort of app), you might end up using AWS Step Functions and SQS. Your code is still portable but it relies on a bunch of managed services.

robrtsql··on Dear web developers: set the font color, too
Really? I might have to switch then.. I use Firefox and GNOME, and enabling one of the dark themes causes most forms on the web to become unusable because of this very issue.
robrtsql··on Serverless and startups
If you use DynamoDB, you don't need to run your Lambda in a VPC. With RDS, you do.

If you run your Lambda in a VPC, your cold start times get worse, so latency increases.

robrtsql··on Getting started with PeerTube
Content creators on PeerTube could do in-video product endorsements.. that's already a fairly standard practice on YouTube, which does support monetization.
robrtsql··on Firefox 62.0 Released
Yes, but Firefox doesn't save the changes you make here to your account sync. Every time you install Firefox somewhere new, you have to change it again if you don't want to see sponsored content.
robrtsql··on Serverless Docker Beta
I'm confused about pricing. I come from using AWS Lambda, where you pay for the amount of memory allocated for your function, how many times it runs and how long each run is.

Looking at Now, it looks like you are billed by the 'plan' that you choose, and that decides how many deployment instances you are limited to. What does a deployment instance mean for something that is 'serverless'?

EDIT: Whoops, I see that there are 'on demand' prices for deployment instances too--now I just need to figure out how deployment instances map to serverless.

robrtsql··on Show HN: Browsh – A modern, text-based browser
I think the use-case is that the user is running their headless browser on a remote server with a good internet connection. Then they open an SSH tunnel to that server from their local machine which has low bandwidth--and the only thing that needs to be received by the local machine is the browsh rendering of the webpage.
robrtsql··on Proton Native – React Native for the desktop
I tried out the example "Notepad" app in the git repo and it ran at 70MB. Is that good? I don't have any metrics about how much memory a hello world Electron app uses.
robrtsql··on 'PC Building Simulator' Is More Fun Than Building a Real Computer
I did that when I built my PC too. I was fairly certain I had ruined $1500 in equipment.
robrtsql··on Godot at GDC 2018
Yep, I abandoned Unity after encountering the same issues as you. My experience is that every Unity GC run takes 10+ ms on my machine, even when there is no memory to clean up.

I tried MonoGame once and the results were much better--garbage collection was fast when there wasn't much to do. However, I'd still choose a non-garbage-collected engine any day because I dislike lag spikes.

robrtsql··on Godot at GDC 2018
Sure!

Hopefully a more experienced Godot dev will jump in and correct me if I'm wrong here..

Godot uses reference counting, but additionally supports a function which you can call on an object which will cause it to become 'unmanaged' by the reference counter, allowing you to free its memory on your own terms (or leak the memory, if you're not careful).

Godot 3.0 added support for Mono, but I'm not sure how that works. I'm guessing that game objects in Godot are still reference counted, but now you also have memory allocated by the Mono runtime which will be garbage collected.

robrtsql··on Godot Engine – Free and open-source 2D and 3D game engine
I don't think they intended to bring it back-it's just one of many languages that you can use now that Godot can use native code for scripts.
← PreviousPage 7 of 7