Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
271.
▲
by
fiedzia
8y ago
> Despite Java's growth, C remains the language of choice for operating systems and C++ for web browsers Does it? Existing project use what they have chosen long time ago, we can only discuss choice for new ones. And new OSes often
272.
▲
by
fiedzia
8y ago
What's the point of this requirement? Python doesn't have "the one" either, does it mean its not web ready?
273.
▲
by
fiedzia
8y ago
They free you from conforming to monolith conventions, which may be very far away from what would be best practice for given service.
274.
▲
by
fiedzia
8y ago
> Business is pressuring tech teams to deliver faster, and they cannot, so they blame current system And are very often right about it. Delivering monoliths can require such amount of bureaucracy and needless coordination that it slows e
275.
▲
by
fiedzia
8y ago
officer Milo Minderbinder likes this :-)
276.
▲
by
fiedzia
8y ago
> I'm not aware of any similar existing solution at the moment, See http://www.wolframalpha.com/
277.
▲
by
fiedzia
8y ago
> All we need to do is have a class for Users (or products or whatever) and put all queries in that class. Yes, and this is very close to doing what orms do.
278.
▲
by
fiedzia
8y ago
Probably not. The only point of contact with an admin I can think of is that orms can manage schema migrations.
279.
▲
by
fiedzia
8y ago
1. Good luck finding all places that access some table if you want to change something, especially if table is called users or products. 2. ORM provide abstraction layer. Otherwise every place needs to know all details of tables it accesses
280.
▲
by
fiedzia
8y ago
You screw up your architecture and development process. Choosing your stack is not what you should focus on, whatever you choose will not solve your problems.
281.
▲
by
fiedzia
8y ago
Parallelism is large part of the answer to question of "how do we make this thing as fast as hardware allows" (most people will add "easily" to that). Or "as fast as our users demand" if it makes it easier to u
282.
▲
by
fiedzia
8y ago
Far from it. I frequently have issues even with search on Google or Amazon, who invested millions into that. Dealing with people being imprecise in naming and spelling, different contexts and personalized results is still barely touched or
283.
▲
by
fiedzia
8y ago
Ubuntu launchpad repo is still on 0.2,
284.
▲
by
fiedzia
8y ago
Main benefits of open source: getting/making contributions and popularity, are in direct opposition to any form of limiting access. It is in users best interest to choose open source most of the time, so they don't have many reaso
285.
▲
by
fiedzia
8y ago
The decision is made with regard to organisation, not medium. You may make one decision for one website, and another for another. Also different sites have different options to choose from: some ask you for permission, some have many varian
286.
▲
by
fiedzia
8y ago
> you'd use something higher-level than a filesystem (e.g. a database); those exist and offer sane semantics In many cases they offer the exact same semantics (damn you, mysql). Also they store data in files, and those files have to
287.
▲
by
fiedzia
8y ago
> So: When receiving a filename that is not UTF-8, one could just emit a warning and ignore the file. The problem with invalid filenames is that doing anything at all with them might be impossible (without escaping of fixing). Your out
288.
▲
by
fiedzia
9y ago
> The fact of the matter is that all creatures have to kill to eat. It wasn't always like that - predators appeared at some point of evolution about 500mln years ago (or at least first evidence of that is that old). Before that it w
289.
▲
by
fiedzia
9y ago
Every non-trivial Flask projects aims to become Django.
290.
▲
by
fiedzia
9y ago
> A non-existing resource doesn't mean it was deleted, but simply means it is not there - for whatever reason. There you have ambiguity of using http codes for representing application logic. Using any other http code will have the
291.
▲
by
fiedzia
9y ago
> approach #2 is pretty much equally awful with all languages Some are far more awful than others. Python for example has no issue here at all, json types map nicely into its basic data types, while most statically typed languages make j
292.
▲
by
fiedzia
9y ago
With Rust and other languages focused on correctness, the "threads can bring whole process down" is less relevant (they still can, but it not as common as it used to be), while having one process makes a lot of things much easier.
293.
▲
by
fiedzia
9y ago
Large part of this experience comes from having central management that forces all parts to follow same standards, and from investing money into many things that are not essential for smaller stores, but overall contribute to the experience
294.
▲
by
fiedzia
9y ago
> And still very low violent crime Well, part of that is that considering population density, its not so easy for one Icelander to meet another.
295.
▲
by
fiedzia
9y ago
> You don't need to understand how media is encoded to watch a movie or listen to a song. I recall the time when mp3 was to demanding for many CPUs, so you had to convert to non-compressed formats. Today you do need to know that dow
296.
▲
by
fiedzia
9y ago
- tapes are still in use - you can still buy optical discs in stores. They might be on the way out, but are still being produced and sold.
297.
▲
by
fiedzia
9y ago
Doesn't it come with GC? That would limit embedding.
298.
▲
by
fiedzia
9y ago
> I'm interested to see if people's opinions around this have changed at all I've been using Rust for a while and I can mention one thing that I changed my mind about: With time, and as you build more things on top of prev
299.
▲
by
fiedzia
9y ago
In terms of ecosystem maturity Rust is far behind Python, but ignoring that and performance, it still has some merits: - static analysis helps you avoid numerous issues that plague Python. Runtime errors are far less likely and you are forc
300.
▲
by
fiedzia
9y ago
Iron provides a bare minimum of concepts that you need. Rocket comes with its opinions and a lot of features nicely integrated. Iron will allow you to design anything you want easily, because all elements are as simple as they possibly can
More ›