HNHacker News
TopNewBestAskShowJobs

amirouche

929 karma · joined September 20, 2012

"CC" [ @1 ] APPLY
submissionscomments
amirouche··on Natural Language Processing with Python updated for Python 3 and NLTK 3
“write your own NLP framework”
amirouche··on Natural Language Processing with Python updated for Python 3 and NLTK 3
I don't find nltk book to be a good introduction to solving NLP problems of today, it's good to introduce the low level tasks (like tokenizing, POS tagging, etc...) but nothing about summarization, Q/A etc.
amirouche··on Show HN: Ice – WSGI microframework to develop small web applications in Python
what about aiohttp? Doesn't it fit to the job of flask/django. A complete stack is one cookiecutter away.
amirouche··on Writing a SQLite clone from scratch in C
what about wiredtiger?
amirouche··on Ask HN: Who's mentoring?
Javascript, Python, Scheme | Paris | Amirouche | amirouche hypermove.net
amirouche··on Vue.js vs. React
what seems overkill in reactjs?
amirouche··on Gedit is unmaintained, some thoughts
> It is important to write more libraries, sharing the code and maintenance among several similar applications.

It's not easy to write generic code.

amirouche··on Languages Which Almost Became CSS
HTML is ironically very nice as a standard, even if broken by design. Think about crawlers for instance, which would not be possible without HTML.
amirouche··on Ask HN: What tech that's right around the corner are you most excited about?
> it seems to make sense for things that could be represented by graph

False, even if there is graph in its name it's not restricted to graph, and that what is great about it compared to things like RDF and SPARQL. Backend data can be stored in key/value store, document, files, RDBMS or whatever. And you will still be able to make it work. AFAIK you write a "translation" layer that interprets a pseudo-JSON file into your data.

AFAIK GraphQL is not good at querying recursive datastructure, it's better at "neighborhood" kind of query, so you can traverse Foreign Keys, but not "indefinitely".

> graphql allowed you to run complex operations in the backend without fetching each individual node on the client.

Yes.

> I clearly missed something?

IDK. For me, GraphQL basically it's an RPC interface particularly suited at "reading" data.

> And if you can also elaborate on why SPARQL and RDF were a major failure, and how GraphQL is different/better?

GraphQL is not tied to particular data layout. I don't know much of SPARQL and RDF actually and don't know why they failed. I am just guessing.

That said, GraphQL it "just" another query language, it's "just" another DSL targeted at querying datastructures. As something that was thought a long time, focused to solve a particular issue.

amirouche··on Ask HN: What tech that's right around the corner are you most excited about?
Without doubt, GraphQL is the next technologo I will learn. The idea is so brillant compared to REST. If you are convinced by SQL and in general by Domain Specific Languages, I think you should give GraphQL a try.
amirouche··on Any ideas for a marketplace?
a marketplace for code, all kinds of code would be nice. There is themeforest but it's only accepting PHP/Javascript stuff.
amirouche··on Ask HN: What language/framework do you plan to use in your next project?
asyncio won't improve without help.
amirouche··on Ask HN: What language/framework do you plan to use in your next project?
Why do you want server side rendered pages? are you building a CMS?
amirouche··on Ask HN: What language/framework do you plan to use in your next project?
what database(s) will you use?
amirouche··on Ask HN: What language/framework do you plan to use in your next project?
backend: python, asyncio with aiohttp and other asyncio tools

frontend: reactjs

Actually I started @ https://github.com/amirouche/socialite

Because I can :)

amirouche··on React-plx, React parallax component, lightweight and performant
How does it work?
amirouche··on Ask HN: What is the ONE most important thing you've learnt on HN?
Do not market a product that has no content.
amirouche··on Try Out Spacemacs in the Browser: Try Online
How good is spacemacs as emacs replacement?
amirouche··on How to Make It as a Mediocre Software Developer
Except the part about spare time work, I find this advices toxic.
amirouche··on Show HN: Mooq – use asyncio to interact with rabbitmq
Anyone using asyncio in production wants to share some feedback?
amirouche··on Ask HN: Im great at building prototypes, what business should I be in?
Is there a platform to auction things like you describe?
amirouche··on Ask HN: What 5 software tools do you use most for work?
As developper:

1. a GNU/Linux (Ubuntu or Debian)

2. urxvt or terminology, I use always the same commnands (cd, ls, git, emacs, find, ag)

3. emacs with elpy, rainbow-delimiters and web-mode using monokai theme

4. i3 window manager

5. weechat

And I am looking for a proper email client (webmail or whatever).

amirouche··on Ask HN: What framework/platform do you use for app development?
I have two prefered stacks:

1) python with aiohttp framework with asyncpg for the backend serving REST and WebSockets, with a posgresql database, memo (a pure python clone of redis), celery (but I might switch to something lighter) and sentry. On the frontend I use, reactjs (but I might move to preactjs because of the license) with a custom redux-like framework built on CRA with async/await support and optional ImmutableJS dependency. I call it the 'django2' stack.

2) GNU Guile Scheme with fibers (which brings asyncio, but still lakes websocket support) for the backend. Database is built on top of wiredtiger glued with Guile again using EAV pattern that I call the feature space (it's somewhat similar to MUMPS and datomic, some call it RDF store). On the frontend, I use a simiar framework but written in Scheme powered by BiwaScheme (I plan to move to RacketScript). That stack is missing a lot of features (queues for background job scheduling, proper pooling of database connections, websockets). I call it the 'mono' stack, because everything lives in a single processus. NO GIL FTW!

None of them support true isomorphic (or universal) web app. Even mono stack which only rely on scheme doesn't support it. That said I can render backend side the same thing that frontend renders and achieve the same goal without the elegance.

amirouche··on Ask HN: What framework/platform do you use for app development?
Why not om?
amirouche··on Ask HN: What are your Hobbies?
sleeping.
amirouche··on Show HN: Fastest search engine in the world
voting my comment would have more like a good HN answer ;)
amirouche··on Ask HN: When has switching the language/framework made an important difference?
what about measurement/profiling
amirouche··on Ask HN: When has switching the language/framework made an important difference?
> I'm curious about real world examples where a change has lead to a significant positive outcome in performance, code quality/maintainability, etc.

Another example: same language, new framework: In a Python web app, we needed to have websockets. But at that time Django had no real websocket support. But there is future proof framework that does: aiohttp! Also one might argue that you can use old django with websocket using another process. But it leads to a more complicated architecture. We want to keep monolith the app as long as possible/sane.

amirouche··on Ask HN: When has switching the language/framework made an important difference?
> I'm curious about real world examples where a change has lead to a significant positive outcome in performance, code quality/maintainability, etc.

I wanted to build a database in a dynamic language. While others have succeed to do so by layering their DB on top RDBMS (like EdgeDB or Datomic) I went lower level and built a datomic like DB with GNU Guile Scheme using wiredtiger (now mongodb storage engine). The reason for that is that Guile doesn't have a Global Interpreter Lock (GIL). Using the same design in Python would simply not be possible. I did not benchmark, but I don't think it's possible for a single thread DB to be faster than multithread DB. In this chance changing language made the project possible.

amirouche··on Ask HN: When has switching the language/framework made an important difference?
I am not familiar with F#. I think it's a functional language, did you take advantage of immutability? What is the main difference between the F# implementation and the C# one (outside less bugs)
← PreviousPage 6 of 17Next →