HN user

ziikutv

345 karma
Posts14
Comments244
View on HN

If the intention is to prevent the user from going back to previous question, it would be better to change the behaviour of the request and make t client side rather than highnacking the back button like most slide show websites do.

Edit: I couldn’t even spam back to get out, it would go back and then pull me forward to next question. I had to just change the URL back to HN.

Indeed. Additionally, not take anything away from the Ruby counter part, the Python project is amazing and we use it in production. I really prefer the endpoint and viewmethod declaration methods in Falcon over Flask

    # In this example, I use blueprint plugin
    @bp.route('/', methods=['PUT'])
    def create_resource():
        return
vs
    class Resource(...):
        def on_put(self, request, response):
            return
Mirror: https://pastebin.com/50W8TJV2

Flask's hooking logic [1] is nice but I much prefer Falcon's middleware logic [2]. This then ties into the fact that Flask's design requires working with `g` [3] (essentially a global object) where as the middleware design leads us to bake in data in the request object. The example blow demonstrates how middleware definition works and how "adding data" per request works in both of these frameworks.

    # Flask; assuume `app` exists
    from flask import g
    @app.before_request
    def before_request():
        g.some_variable = 'foobar'
vs
    class ExampleComponent(object):
        def process_request(self, req, resp):
            req.some_variable = 'foobar'
Mirror: https://pastebin.com/Z3yGCfzF

Additionally, Falcon middleware API also exposes `process_resource` which is similar to above but also allows us to _pass_ arguments to the routed resource instance.

[1] http://flask.pocoo.org/docs/1.0/api/#flask.Flask.before_requ...

[2] https://falcon.readthedocs.io/en/stable/api/middleware.html

[3] http://flask.pocoo.org/docs/1.0/appcontext/#storing-data

Edit: Formatting

Pardon my ignorance on this. I am not sure if the easing of scroll motion is scrolljacking.

Scrolljacking basically means we replace native scrolling (what you’re used to) with targeted scrolling: when the user initiates a scroll, either with their mouse or keyboard, scrolljacking takes them to an exact vertical point on the screen (for example, the top of the next content container)

They aren't targeting your scrolling to specific areas on the page, just adding an ease in/out. It happens natively on iOS actually.

Edit: I do agree that it might hinder accessibility, just dont think the term applies as it does in other cases here.

Looks very cool. Will give this a try when I get home tonight, looking forward to see if I can help with anything as well. Note that Links in the Contribute Section are broken.

  http://sterlicht.alwaysdata.net/transcrypt.org/docs/html/special_facilities.html#inserting-literal-javascript-pragma-js-and-include

  vs
  transcrypt.org/docs/html/special_facilities.html#inserting-literal-javascript-pragma-js-and-include

Is that compatible with the editor OP is talking about? To clarify, that’s what above feedback was for. I don’t understand why people downvote comments without even knowing the context of the conversation.

Thanks for a response. I just installed it and do think that it is missing a few features that are important to me (as in, these are my opinions):

1. Syntax (missing for Elixir)

2. Shortcuts (even preferences shortcut is missing)

3. Easier configuration API; I think currently, you give us the "entire React app", rather get something simple.

I have the application downloaded; assuming you have autoupdates. I will keep an eye out; excited to see where this goes.

Looks great. Two questions:

1. I wonder though why you/team didn't opt for extending the vim emulation - via a plugin - on VS Code. Did the exposed API limit you from doing so? Edit: Having used the extensions of VSCode, I am wondering if that is the case.

2. Does it support installation of sublime/atom/vscode plugins?

Amazing. I am looking for something like this for Engineering (Aero/Mech). I think the first part has a lot of parallels so that's great.

state-mandated parenting practices.

I hope I can become a good parent and can teach my kids to be good people by the time I am ready. If you need a state to tell you that, you probably should not be having kids. Having is a privilege and unfortunately also a right.

Edit: In all seriousness, what I was saying is that we should be teaching kids to be good people rather than acting good on the internet.

Also, we should be smart enough to know that all this article is doing is spewing shit on Reddit to generate them pageviews. That is all journalism is now a days.

Reddit doesn’t owe anyone anything.

how about asking kids parents to detoxify their kids than solving the problem way down the chain of command?

People are shitty online because they have anonymity. Now instead of going ahead and removing that, it might be worth going backward even more and going to the person.

people need to be nice on the internet. The internet does not need to be nice to people. Detoxifying internet is no different than censorship. I can say this with certainty that as soon as we ask companies and governments to detoxify, it will get misused [un]intentionally.

I hope Hearth or someone like them expands beyond websites to self-publishing of store front ends, crypto payment, social feeds, real time video, and all the other services we expect AmaGooSoftBook to provide today. And to integrate Tor as necessary.

Agree but I hope we take super small baby steps and get what above is accomplishing right the first time without complicating the use cases just yet.

Yet again, Apple manages to make their decisions standards. Good on them, bad on others. Should've waited some time to see if users want that damn notch.

Edit: My only problem with this is that there is copying going on even without general/mass acceptance.

From the looks of it, OP has a product and they does not know the problem it solves. Anyway you slice that - regardless of how "cliche" solving your own problem is - is a problem.

Edit 2: Addendum to above: Even with the suggestion you've made, that assumes you know the problem BEFORE you have a product. OP has a product.

But yes. OP, if you combine both of these 2 cents, your 4 cents would be: Know the problem before you have a product not the other way around :)

Edit 1: Also, note that there are new set of biases to worry about in the approach you have pointed out; does not make it invalid, but you also have to be careful there.

You should work on a product that solves YOUR problem instead of making a product than determining the problem that it is solving.

This is a very common sentiment and is echoed almost everywhere startup related. You can read PG's essays on the matter or watch some Startup School videos.

I understand you may already have a product so hopefully others can give you more advice.

Its funny to be reading this just a week after noticing this.

Every airline uses some sort of a contractor or a shared piece of software for online checkins. You can tell by the formed URI fragments and the JSON being sent back and forth.

Its all trash. I wanted to work on a business that unified all check-ins under single company. I do not think however, it is reasonable given that all of these airlines have the process, as shit as it is, for a reason.

I like this plugin. Thanks. I do not like the recent “pivot” if oh will of medium allowing branding etc. It’s not executed perfectly; though I do not have a better solution in mind.

I like this title as it’s short and sweet. Actually, most threads in HN have negative messages such as this on.

Every single thread. Some new kid makes a small little app and it gets crushed with someone pointing out - usually obvious - short comings or how unnecessary it is. Let’s all be supportive for once.

Not saying OP is not supportive; OP is just communicating their frustration. Just using OP as a conduit to explain the pattern I usually see.

That they have such a weak patent is a problem with the system that permits it. Copyright should be enough for software.

Agreed

The morality doesn't seem that disparate either - they are both exploitative. I do stand corrected on this company after being linked to their post on reversing their model.

Noted.

To clarify, I do not disagree that F2P can be exploitative. It certainly can be. There are cases when kids are playing games and end up spending thousands of dollars.

F2P can however, be done right. I've been playing Dota 2 since the beta which is F2P and only provides cosmetics; believe same is true for League of Legends. Hence, I was saying that one is pure evil and the other is lesser (and in some cases not evil at all)