Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adev_
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
511.
▲
by
adev_
7y ago
It is a very bad blog post. Pushing C++ dev to make premature C-style type of optimization is counter-productive... And in this case it is even wrong microbenchmarking. A simple switch to "-O3 -march=native" flag switch in the
512.
▲
by
adev_
7y ago
I had a similar experience. I am over 2m00 high. If this sounds "cool/lucky" for most people. It is in reality a nightmare if you are office worker. Everything is in your environment generally lower, shorter or inappropriate
513.
▲
by
adev_
7y ago
> Last I heard they were also having a lot of trouble competing with the industry leaders... Ariane was the most competitive / succeful private launcher for 20 years even in face of American companies. SpaceX is however currently d
514.
▲
by
adev_
7y ago
Maybe you should ask why some sector that "fear" failures more than anything else (banks, aviations) are still trapped into these systems while everyone else is not. This is exactly related to what I was saying before.
515.
▲
by
adev_
7y ago
>The monkeys will ruthlessly suppress any evidence Yeah, I would even say that from the following part "are inconsistent with Boeing values, and the company is taking appropriate action in response." The Monkey will fire the cl
516.
▲
by
adev_
7y ago
> But, going with the biggest most stable vendor is usually good. If you bought IBM hardware in the 70s you can still buy new hardware that supports your software. If you went with their competitors - not so much. For 20 times the cost o
517.
▲
by
adev_
7y ago
> However, for many many services you have to rely on others to provide the service better than you could do yourself, as you are limited in time, money and other resources. I do not criticized the fact of outsourcing when an outsourced
518.
▲
by
adev_
7y ago
> Self preservation is a strong motivator, perhaps the strongest in a business environment. And it's the most bullshit one. Outsourcing the risk does not mean avoiding it, it means however putting it out of control. This is a typica
519.
▲
by
adev_
7y ago
> The Japanese, Korean, Italian, French and other Americans still have not made any worthwhile EV cars either. That's wrong. And pretty US centric. The Japanese / French have the Nissan Leaf and Renault Zoe that have excellent
520.
▲
by
adev_
7y ago
> I would guess that the main issue is legal agreements with the publishers. The publishers don't want any game resales, they want only new sales. Publishers tolerated reselling for decade when game mediums where physical. Nowadays
521.
▲
by
adev_
7y ago
> Type hints and dataclasses are a game-changer for Python. Much easier to reason about programs that use them. Type hints made large python codebase switch from "Any change will blow up to my face" to "I can touch it car
522.
▲
by
adev_
7y ago
> You've got to wonder if simply sharding by either player or game would have worked well enough, even with MySQL. Worked well enough for Blizzard for over a decade! With all the respect I have for blizzard, I would not take old Bli
523.
▲
by
adev_
7y ago
> So when you're saying that "No one forced these people to either work at the company or to commit suicide" – well, yes, they were forced because that's how everybody is raised in France. That is very true. It was ev
524.
▲
by
adev_
7y ago
> Cool but when it comes to DOM manipulation, which is what matter for most. Try to say to anyone making 2D/3D games in web browser using Canvas/WebGL that DOM manipulation is the only thing that matter. And look to their react
525.
▲
by
adev_
7y ago
Yep, systemd is in plain old C....I wish it would be in C++.... Most of the security vulnerabilities reported ( https://www.cvedetails.com/product/38088/Freedesktop-Systemd... ) would not have existed in modern C++.
526.
▲
by
adev_
7y ago
> Sun and Microsoft wouldn't have built and pushed Java and C# in the first place if there hadn't been a real need for safer languages. Excepted they were safer languages before Java and C#: Ada, Lisp, All the ML family.... And
527.
▲
by
adev_
7y ago
Wrong, and definitively not period. The enterprise world moved to Java and C# because: - It was a corporate language with corporate support and that matter a lot in many environment. - It had at the time one of the best ecosystem of tools a
528.
▲
by
adev_
7y ago
> I've been under the impression that GCC still has much better hardware optimizations than LLVM has. That is my experience too. GCC for code with high level of nesting, meaning high potential for inlining (typically C++), is close
529.
▲
by
adev_
7y ago
That's wrong. C++ object lifetime management is much more tricky and error prone than the Rust one. Passing an object by reference to lambda by default can be a beautiful source of out of scope and default. The committee did an excelle
530.
▲
by
adev_
7y ago
> Meanwhile here I am running around with js off by default. Most of the internet still works. Just wait 5 more years that 80% of the web switch to React / Vue / TheNewHypeSPAFramework and with or without WASM, you will be unab
531.
▲
by
adev_
7y ago
> For a Java/Node/Python application, this means changing one line in a docker file, and running preprod/integration tests. Ironically, the theory contradicts the practice and native code is often the easiest to port on ne
532.
▲
by
adev_
7y ago
> It's nice to see that the traditional desktop GUI programmers finally realize that the way the Web people do GUIs is right (React/Vue/...) and the way they did it until now (QT/GTK/WPF/...) is wrong. Ironi
533.
▲
by
adev_
7y ago
I like the ELM model for UI. The stateless/functional view approach is very similar to IMGUI [^1]. It makes things much less error prone with much less state management / hierarchy management to do than the React model. [^1]: htt
534.
▲
by
adev_
7y ago
> As you said, computers are so powerful nowadays that most people (even devs!) cannot even comprehend it at an intuitive level. Yeah, and still a good number of electrons apps arrive to put my CPU at 100% for something as advance as &qu
535.
▲
by
adev_
7y ago
> Hybrids are also an option. Supercomputers often use OpenMP (shared memory) and MPI (message passing) in a two level way. Not some, almost all supercomputer nowadays use an hybrid model. For three main reasons: - Memory is a precious r
536.
▲
by
adev_
7y ago
> For our backend, we deploy it as a nix package on NixOS, so we can atomically rollback the deployed code, as well as any dependencies like system libraries Same for us, but we use nixpkgs directly over CentOS. Nix is perfect for rollba
537.
▲
by
adev_
7y ago
And I'm totally opposed to paid-for-degree American style College. It is a stupid system that favorise social jails and reward people based on their parent's income, not based on their work. Education is the cement of the society,
538.
▲
by
adev_
7y ago
Sciter and Ultralight are the way to go on paper. They address many of the issues of Electron and it does it in a very portable way. Instead of embedding the world in a giant toolkit, they give to you what you want as a library, easy to int
539.
▲
by
adev_
7y ago
> Qt is cross language, but not necessarily cross platform (it excludes iPhone and Android, say) Qt supports Android and iPhone.
540.
▲
by
adev_
7y ago
> But there isn't an easy way to enforce it Every mature enough language has a subset that you need to avoid. Including Java. This is precisely due to this kind of things that every company need to have coding guidelines and proper
More ›