Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fnord123
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
62 ms
·
721.
▲
by
fnord123
6y ago
Vim and VS Code have access to semantic code completion through the language server protocol. But your assertion is weird. Either you work on Windows where everyone is on Visual Studio, or you have 95/100 people around you using CLion,
722.
▲
by
fnord123
6y ago
https://www.cairographics.org/manual/cairo-cairo-t.html All operations on `cairo_t` have prefix `cairo_`
723.
▲
by
fnord123
6y ago
> only things that change the layout. adding a non-virtual method does not break ABI at all for instance. Yes, you are correct. The point was that C code can keep the ABI intact through (some) data layout changes but vanilla C++ classes
724.
▲
by
fnord123
6y ago
Java has the possibility of maintaining ABIs as well. And I imagine that's what .Net assembles are about too. I think you're heavily over stating reliance on libraries having stable ABIs as an anti-pattern. If a mistake is made in
725.
▲
by
fnord123
6y ago
Encapsulation's a weird one. It's a cornerstone of OO but most/all OO languages have rubbish support for ABIs so changing your object in one library means you need to recompile your code using the library. This is the opposit
726.
▲
by
fnord123
6y ago
Let's use C and C++ as an example. What does the code look like? myobj.cool_func(1,2,3); // C++ cool_func(myobj, 1, 2, 3); // C Is this better? If you use a vanilla C++ style class then the class defi
727.
▲
by
fnord123
6y ago
And maybe one could respect people who go their own way to get out of their family's shadow so they can be seen as making it on their own. But if that's not the game then both people are 'idiots' (in this thought experim
728.
▲
by
fnord123
6y ago
Idiot usually means someone who doesn't know basic facts or has trouble anticipating consequences for their actions. But I think part of GPs comment was to note that the concept of idiot needs to be readdressed. For example, if your hy
729.
▲
by
fnord123
6y ago
It's a common grammatical error for temporal typical people. Time travellers would have said "The US will have appropriateded in the 1800/18 fold". Not to be confused with 2036/2000 fold.
730.
▲
by
fnord123
6y ago
Consolidation of subway systems in London. Standardisation of rail gauges, screw threading, electrical outlets, phone networks. Basically standardisation of everything that just works and you don't notice. Could go on... money, power g
731.
▲
by
fnord123
6y ago
The logistics aren't impossible. As far as I'm aware, this is how e.g. the Belgian system works. In the US, however, I think attrition is a metric that contributes to University rankings. So if you accept people into a course you
732.
▲
by
fnord123
6y ago
Ignition! A history of liquid rocket propellants. Little Lisper, Little Scheme is a conversation style that discusses a lot of false starts. {Coders|Founders} at Work has a lot of frank talk about early mistakes people make and their pivots
733.
▲
by
fnord123
6y ago
>The point is that you are consulting an expert, and you don't want that expert to tell you about all their mistakes, because your mind is now occupied with doubting that expert. It's not rational. Sometimes books are written f
734.
▲
by
fnord123
6y ago
>Can you think of another where the author goes from mistake to mistake and then finally gets it right? Not a book, but Raymond Hettinger often presents in this way and it's fantastic: https://www.youtube.com/watch?v
735.
▲
by
fnord123
6y ago
I wonder if we're on the same page. Should a book on a programming language discuss compilation errors and how to interpret them? Should a book like Effective C++ (afaik the most popular series of books on C++) exist?
736.
▲
by
fnord123
6y ago
>They said the reader wants to see an expert talking, as if experts never make mistakes or need to shift from one tact to another. Your editor was very fucking wrong.
737.
▲
by
fnord123
6y ago
The surveillance economy is far worse than finance.
738.
▲
by
fnord123
6y ago
How would you implement async() under the covers? If you wanted something like go (or loom) then wouldn't you need stack swapping? And if you have those then you muddy Python's #1 best feature: the almost free C ffi.
739.
▲
by
fnord123
6y ago
Ah, maybe it's use of pkg_resources that you find to be a problem with imports. That's indeed a horror story especially with NFS mounted python files.
740.
▲
by
fnord123
6y ago
>Python imports and slow startup speed hurts Python developers on moderate and large projects What kloc is moderate and large? I have not run into a project where import took that long. >I believe JS/TypeScript folks try to avoid
741.
▲
by
fnord123
6y ago
For fast compiles, in clang, -fsyntax-only parses as quick as possible. Then you have -O{0,1,2,3s} for various levels of optimization. As for the long baking compile, you have a concept of super compilation which will check the branches and
742.
▲
by
fnord123
6y ago
Fwiw, much of Western Europe is vitamin d deficient through no fault of their own. There's just too much cloud cover. Thankfully the past few weeks have been really nice.
743.
▲
by
fnord123
6y ago
They should have kept the fail whale instead of offering "Sorry the tweet couldn't be loaded. Please retry" which I get 3/4 of the time on my phone.
744.
▲
by
fnord123
6y ago
>python is plenty fast compared to the time it takes to write stuff to the network. Give us some numbers. Inside the data centre you have 10G, 40G, 100G ethernet connections. I know for a fact that you will struggle to soak a 10G connect
745.
▲
by
fnord123
6y ago
Yes, but I'm quite sure GP is talking about using LTS so the installed libraries are the same as you built with. IIRC there's still an issue with gethostname which must be dynamically linked.
746.
▲
by
fnord123
6y ago
eh, no. the OS package manager is for sysadmins. LTS is for sysadmins to not have to worry about versions changing under their feet rapidly when they apply security updates. If you want to develop an application, you use your own toolchain.
747.
▲
by
fnord123
6y ago
>That's really cynical. Of course. This is Microsoft. The memory of the culture of Gates and Ballmer is not erased. >And frankly I'd rather have a Microsoft Linux distro on my fridge than a slimmed down version of Windows Re
748.
▲
by
fnord123
6y ago
Win win. Flag not captured: MSFT is secure! Flag captured: Linux is insecure.
749.
▲
by
fnord123
6y ago
Given the choice between python with an almost free ffi to c and Fortran libraries for numeric processing with a syntax that's so easy we teach it to children under the age of ten and clojure which is sits in the centre of the universe
750.
▲
by
fnord123
6y ago
PrincipalSkinner.png: Is Haskell a bad language? No, it's the people getting actual work done that are wrong.
More ›