Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wladimir
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
181.
▲
by
wladimir
14y ago
That's not the point. Most programmers are not language lawyers. It is very bug-prone, which could in itself enough to remove the confusion from a language that advertises itself as "safe".
182.
▲
by
wladimir
14y ago
D3js is pretty verbose, but what you get is full control. Most charting libraries allow only a limited amount of configurability, which is neat if you just need to plot a basic chart quickly, but makes them awful if you want to make novel (
183.
▲
by
wladimir
14y ago
That code takes a terrible detour. To do a simple reduction, you build a STRING, hand it over to the parser, which creates an expression, which is converted to bytecode and then it can be interpreted/JIT-ed. I can't imagine it actually bein
184.
▲
by
wladimir
14y ago
Not only tech companies. At least here in the Netherlands the requirements for any job have been going through the roof, and border on the unrealistic. I think this is a result of there being a surplus of people competing for jobs so they f
185.
▲
by
wladimir
14y ago
If they can make a safer, more secure and less verbose C/C++, without giving up on what makes C/C++ a good choice for some projects (low-level control and performance), I'm sure some people will switch (I know I will). It's just that no one
186.
▲
by
wladimir
14y ago
That would apply to real-time simulations. But wouldn't every layer run successively slower? The inhabitants wouldn't notice how fast their simulation is running in the (grand)parent universe. So given infinite time the layering could be in
187.
▲
by
wladimir
14y ago
Speaking for myself, I chose Linux over BSD as main OS back in the day (~1998), even though BSD was "hot" in hacker circles, because Linux had a slight edge in convenience. Configuration of X and such were slightly easier with Linux (Slackw
188.
▲
by
wladimir
14y ago
I agree that the idea of a cross-browser, cross-OS bytecode platform is really nice. Every time I hear of "X-to-javascript" compilers I cringe a bit. But with flash the fatal problem is, and always was, that the only viable implementation
189.
▲
by
wladimir
14y ago
That option is called "relativenumber". You can go back to normal numbering with "set number". I find it very useful myself, though, to quickly move to a line with relative commands such as 10j, or select ranges, delete a number of lines, e
190.
▲
by
wladimir
14y ago
You'll have to verify that disabling auto-loading of images will disable SVG parsing / rendering. SVG is embedded into the DOM tree, and not loaded in an img tag.
191.
▲
by
wladimir
14y ago
But, you can still do it. Indeed. Arguably, compilers do it all the time to be able to (safely) do optimizations. Hence static analyzers are usually an extension to an compiler. Frama-C kind of being the exception, using CIL instead of th
192.
▲
by
wladimir
14y ago
Right, if you intend to make your own implementation and profit from it, it's wise to avoid it. But for the rest of us it isn't that black and white...
193.
▲
by
wladimir
14y ago
IMO it's still exciting. Sure, you cannot use it directly for commercial purposes, but having the source for something like this is great to learn from. And it means that it can be ported to platforms it's currently not available for.
194.
▲
by
wladimir
14y ago
Very cool graph. Small nit: "C" and "Pascal" overlap in position, it appears to be impossible (at least in Chrome) to select "Pascal". Edit: never mind, it's randomized every time :) But maybe it's a good idea to add some collision avoidanc
195.
▲
by
wladimir
14y ago
The latest-trend-kids will always be doing their thing. Python will never be as hot to them as when it was new. It isn't really a problem. It is possible that NodeJS, Golang never reach the popularity that Python gained in the first place,
196.
▲
by
wladimir
14y ago
BTW I just discovered that there is a project called cppyy, as part of PyPy: http://doc.pypy.org/en/latest/cppyy.html It looks pretty cool. When it's possible to directly use C/C++ libraries, the raison d'etre for a lot of the third-party
197.
▲
by
wladimir
14y ago
To be fair, almost all longer running applications fall into the "same stuff for long time in a loop" category. Whether it's a GUI event loop, rendering, scientific computation, or a network server. Sure, very small scripts and hooks only d
198.
▲
by
wladimir
14y ago
I've thought about this a bit lately. With increasing surveillance and sensors everywhere, we're feeding more and more details about human behavior into the cloud, which is stored, data-mined, compressed, various statistics are derived and
199.
▲
by
wladimir
14y ago
Right now memory usage is pretty bad. But mind that tablets and phones will have more and more memory in the future, while at the same time, very smart people are working at improving PyPy. I'm pretty optimistic in that regard. After all: I
200.
▲
by
wladimir
14y ago
I really think PyPy is the future of Python. A faster python with better support for paralellism by leveraging STM. This makes Python suitable to a lot of use-cases where it's currently too slow. What is lacking at this moment is compatibil
201.
▲
by
wladimir
14y ago
I was pleasantly surprised to see that DXR uses clang too, these days: https://github.com/mozilla/dxr/tree/testing/plugins/clang
202.
▲
by
wladimir
14y ago
I saw DXR when I was searching around, but did not know of the github, and that it is still actively maintained. Thanks!
203.
▲
by
wladimir
14y ago
Very nice, I've been looking for something like this for my own open source project, have even been thinking about developing one myself (also using clang/llvm, to get metrics for visualization, call graphs, usages, data dependencies etc).
204.
▲
by
wladimir
14y ago
I like how it embeds of graphs in the text flow when working with pyplot, instead of opening a zillion windows.
205.
▲
by
wladimir
14y ago
Thanks for noting this. I also got this wrong on the first reading. Having to drop gzip compression of the content would be terrible. I fathom that header compression helps if you have many requests (polling etc), but for most websites it i
206.
▲
by
wladimir
14y ago
As I understand it, only 2 and 3 are needed. The (secret) cookies are the part that is determined by the SSL compression exploit, by trying subsequent parts. You're right that Hollywood "guess the password one character at a time" animation
207.
▲
by
wladimir
14y ago
Nice work! I love this kinds of projects. It shows what is possible when making feedback on code faster and more interactive. It also looks great. LLVM/clang is really taking the world forward by opening C(++) parser and code generation int
208.
▲
by
wladimir
14y ago
If we're living in a simulation it would only mean that somehow, on a lower level, we're represented differently than we think we are (ie, bits instead of atoms/particles/quantum waves/...). This is not a very large leap. Information theory
209.
▲
by
wladimir
14y ago
If you like this kind of dynamic code generation and usage, LLVM with ctypes is also a promising avenue, as you don't (necessarily) have to invoke an external compiler. You can build the module on-the-fly. For example see bitey, an abstract
210.
▲
by
wladimir
14y ago
VPN providers simply give you the VPN endpoint to use with e.g. OpenVPN configuration. They don't give you login information for a server (unlike VPS). You could maybe run a server behind the VPN, but many don't give you a dedicated IP but
More ›