HNHacker News
TopNewBestAskShowJobs

pythonaut_16

1,562 karma · joined November 23, 2016

submissionscomments
pythonaut_16··on Firefox Features Google as Default Search Provider in the U.S.
Which is a great choice IMO. Open source software needs funding, and I'm always a fan of projects finding ways to be self supporting rather than relying solely on donations.

Changing default search is trivial enough for anyone who cares to, and if they did go with Duck Duck Go or similar as the default, I think you'd likely find many/most users changing the default search to Google anyway.

pythonaut_16··on How we do Vue at GitLab: one year later
I don't disagree but the real power of Vue is that you can immediately start using it in your existing application without having to jump to a full SPA. Vue works just as well when added to a single page or feature in an existing application as it does in a full SPA
pythonaut_16··on How we do Vue at GitLab: one year later
I don't know GitLab's exact motivations although I noticed the same thing. I suspect it might be because they're using Vue components on already existing Server Rendered pages as opposed to a full SPA, so by passing the endpoint in the template they can allow the actual URL for that page to be set in the controller, maintaining cohesiveness.

E.g. on the server-side .html.erb they'd have something like

`<div... data-endpoint="@controller.url">...</div>`

pythonaut_16··on Update: We Will Replace Your Logitech Harmony Links
They probably estimated the number of people who will actually file for the replacement, and found that it would cost less than paying their lawyers to defend in a class action suit that they may or may not win.
pythonaut_16··on Archiving repositories
Not necessarily just as fast. I remember reading about Facebook's "cold storage" mechanism a few years ago, where for rarely accessed media they would move it to a slower but cheaper data storage. The media is still available when someone tries to access it, but there might be additional latency compared to a non-cold stored item.
pythonaut_16··on Work on SQLite4 has concluded
At the same time, given the quality of the code base and the test coverage, I can imagine supporting a code base that I believe in and am extremely proud of, and that is extremely popular and widely used, for 35 years.
pythonaut_16··on Sick of Ruby, dynamic typing, side effects, and object-orientation (2014)
The thing that frustrates me about F# is it seems to be a bit of a frontier language on .NET. Theoretically you can use it anywhere you would use C#, but there's not a ton of examples or documentation out there. Googling ".NET MVC F#" returns an article from 2010 as its top result, for example.
pythonaut_16··on Sick of Ruby, dynamic typing, side effects, and object-orientation (2014)
I like to think of it as the difference between magical and mechanical.

Imagine you need to know what time it is, and you're offered two options to find out.

One is to recite an incantation, a magic word, and the current time will appear in the air in front of you.

The other option you are offered is a clock or a watch. With this option, anytime you need to know the time you can simply look at the clock face and simply and immediately know, but when peeling back the surface, you can see an intricate set of gears all working together to keep track of the time.

On the surface, both of these options are equally easy to use and useful to find out the current time, but the clock will be far more fixable and extensible.

IMO we should strive to make our frameworks "mechanical" like the clock rather than magical.

pythonaut_16··on Angular 5.0.0
Typescript support is supposed to be greatly improved in Vue 2.5 and is a continuing priority afaik.
pythonaut_16··on Angular 5.0.0
Vue.js can be a good option for shops coming from Angular 1.x.
pythonaut_16··on Elixir web development 101: collaborative todolist with realtime updates
So what you're really saying is that green threads are a good thing.

One of the biggest strengths of Erlang (and Elixir by extension) is that they take the approach of finding practical solutions to real problems.

Sure, theoretically there might be a better solution than green threads, but like you said, we're still waiting for that better solution 30 years later. In the meantime, Erlang has been powering highly reliable and concurrent systems for ~30 years now.

pythonaut_16··on Rising Rents Are Pushing More Tenants Past the Breaking Point
If the rents are high everywhere but you can still pay and you have no other options, what other choice do you have? I think in a lot of cases the choice people make is to suffer through the rent until they can either afford property or maneuver their career to let them live in lower cost areas.
pythonaut_16··on Amazon Key is a new service that lets couriers unlock your front door
That was the main thing I was thinking of. Even on homes that currently have this, or a mudroom, normally the inner door is not secured or strong in anyway.

I also think having a general unlocked mail or package slot is problematic these days, as bad actors could use that to insert all kinds of nefarious and damaging items into your home.

pythonaut_16··on Password Algorithms
When talking about Password Managers (and security in general), I think it's important to keep your threat model in mind.

Is LastPass going to protect you against sophisticated State, or even potentially Corporate attackers? Maybe not. Will it protect you against random hacks and insecure sites better than just reusing the same password that you can remember? Yes.

I generally agree though that this is an area where open source software is preferable. I'm also really intrigued by the work Keybase is doing and hope that it might spur some interesting solutions for web auth as well.

pythonaut_16··on Amazon Key is a new service that lets couriers unlock your front door
If this kind of service becomes common I could see homes being built with or retrofitted with "airlocks" so that you can give delivery services access to a secure area to deliver packages without gaining access to the whole home.

I wonder if you could outfit the smart lock on a shed or secure package box and let them deliver to that?

pythonaut_16··on Cape Coral, a boomtown that shouldn’t exist
I think that's one of the arguments for originally only allowing property owners to vote.
pythonaut_16··on Longer jail terms for viewing terror content online
Not better necessarily, but outrageously different from the article's (and original HN title's) claim that people were going to be sent to jail for 15 years for reading banned literature.
pythonaut_16··on Longer jail terms for viewing terror content online
This article is pretty click-baity. It claims to be about reading banned literature in the title, then when you navigate to the site it immediately says the announcement/law is actually about watching videos promoting terrorism.

The main body of the article is pretty incoherent and rambling; it never really clearly states what the law is actually about.

If you actually go read the linked BBC article[0], you'll find that what's happening is somewhat less alarming than the article would lead you to believe. From what I gather, a politician is attempting to increase the maximum sentence of an existing law from 10 to 15 years, and to apply it to streaming content rather than just downloaded content.

There are definitely free speech implications and concerns here, but it's not nearly as dire as the article would imply.

[0] https://www.bbc.com/news/amp/uk-41479620

*Also, the subtext of the BBC article > People who repeatedly view terrorist content online will face up to 15 years in prison, the home secretary has told the Conservative Party conference.

pythonaut_16··on Keybase launches encrypted Git
I'm fairly new to Keybase, but essentially, at it's core, Keybase is a software/service for managing trust of identity/public keys, and easily sharing public keys with "trusted" parties, based on Keybase's trust model.

All of the other features you've mentioned are built on top of that key exchange, and use it to offer encrypted services.

pythonaut_16··on Due Diligence Report on Otto and Anthony Levandowski
Are Chromebook Pixels a common SWE laptop then? That seems like almost the exact case that they're designed for
pythonaut_16··on Show HN: Desktop all in one messenger
I'm pretty sure this one brings all of their various Electron and web app versions under one app and shares the Chromium runtime among them, while Pidgin and libpurple would be based on accessing their APIs directly
pythonaut_16··on Weird Python Integers
That's also the same thought behind the Python practice of "it's better to ask forgiveness than permission".

If you're going to have a conditional that will evaluate to True most of the time, sometimes (in Python) it's considered better to just go ahead and try the logic that the conditional is guarding, and then catch the exception and handle it if it happens.

pythonaut_16··on Vue.js and Brunch: Webpack Alternative
Is there any plan to do a follow up post to this?

I'd love to see what work flows or examples you guys are using to progressively upgrade pieces of the application to use Vue.

For example, it would be really great to see a blog post with a before and after for a feature that you've converted from jQuery to Vue.

pythonaut_16··on An Eclipse Chaser’s Guide to Your First Eclipse
Thanks for this. All the hype makes it sound like this is an exceedingly rare event, but it looks like the 2024 eclipse will sweep over a huge part of the US population as well.
pythonaut_16··on Google Will Stop Reading Your Emails for Gmail Ads
I've always thought that would be cool, then just have a fiber connection for communications and either air gap your main power or provide your own via solar and wind.
pythonaut_16··on Web Budget API Draft
For anyone not familiar with WICG (as I wasn't), WICG stands for Web Platform Incubator Community Group. Its goal is to discuss new (web) platform features[0]. In participants I'm seeing a lot of Google, Mozilla, and Microsoft names, as well as other tech players like Intel, Apple, and others[1].

[0]https://www.w3.org/blog/2015/07/wicg/ [1]https://www.w3.org/community/wicg/participants

pythonaut_16··on Why we’re betting against real-time team messaging
In the case of Gmail (and most email systems really) I always start out by putting my own address in the To: field. That way if I accidentally send it will just come back to me. It can also be useful because I can first send the email to myself to double check the way it will look on the receiving end before sending it to the actual recipient.
pythonaut_16··on How is Ruby different in Japan?
Especially interesting when you compare to Python, which is used extensively by Google, Dropbox, Instagram, Pinterest, Reddit, Youtube.

Of those I know both Dropbox and Google have employed Gudio Von Rossum, and various other Python core devs are also employed full time.

Overall it seems that Python is much more community driven than Ruby. Python is interesting in that it has several big camps, including web dev, systems programming/automation, scientific usage, machine learning, etc, and all of these communities are fairly self sufficient but also contribute back to the main language.

pythonaut_16··on Ask HN: Where to find co-developers for side projects?
One bit of advice, don't go for React/Angular/front-end unless you actually need to or you actually want to.

Whatever web framework you're using (probably some variation of Spring if you're using Java) should have built in templating which should be more than sufficient to build an MVP/Proof of concept imageboard. I doubt 4chan is running any kind of SPA either.

Then if your project is successful or you want to stick with it, you can build your frontend javascript app as a phase 2. In most webframeworks you'll do largely the same query/controller work to get the data for both a JSON API and a templated web page. The API will just map that data to JSON while the templated page will map the values into an HTML response.

pythonaut_16··on Amazon to Acquire Whole Foods for $13.7B
Don't count out Kroger, the largest supermarket chain in the US. According to Wikipedia in 2015 it trailed only Walmart and Costo in worldwide revenue, and had 20% more revenue than Amazon.

https://en.wikipedia.org/wiki/Retail#Global_top_ten_retailer...

← PreviousPage 19 of 23Next →