Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
391.
▲
by
fiedzia
10y ago
> I'm also willing to supplement functionality with a cheap ec2 instance. vim inside this instance
392.
▲
by
fiedzia
10y ago
Because python 3 made hundreds of small changes here and there. Supporting them all would not be possible. The problem is not speed and memory, but complexity of the interpreter.
393.
▲
by
fiedzia
10y ago
> That you should consider going and looking at the code before you decide to use it. Isn't this a good thing? No, its not. There are many problems with it, including wasted time and fragmentation. First, "looking at the code&q
394.
▲
by
fiedzia
10y ago
Nobody is suggesting complete rewrite, but theoretically - yes, in terms of security rewriting in rust would be better investment than whack-a-mole game of chasing bugs in C.
395.
▲
by
fiedzia
10y ago
It is sign of success, but its not a good thing. Its just a lack of proper process for building stdlib. And I would not say that this part of js looks good.
396.
▲
by
fiedzia
10y ago
C++ might be used. By calling it from Python or Java or Haskell, which will allow you to iterate 10 times faster than using it directly. Startups are trying to prove that their business idea works. This idea usually involves using existing
397.
▲
by
fiedzia
10y ago
C++ is dead there (and in many other places). The closest thing is Golang and Swift (and perhaps Rust). That doesn't mean there are no C++ jobs, but you'd need to look for them elsewhere. Why is that surprising?
398.
▲
by
fiedzia
10y ago
I haven't used it, but first result in google is this for OpenLDAP: http://www.phoronix.com/scan.php?page=news_item&px=openldap-... . What I really meant was that you have user who types password, an app that uses
399.
▲
by
fiedzia
10y ago
> Basically my problem is with having one password for everything. LDAP does not mandate single password. You are absolutely free to use something that will generate one-time passwords and send them via LDAP.
400.
▲
by
fiedzia
10y ago
> Someone naively sets up error reporting that takes the POST data and logs it somewhere If you are not securing your logs, you may have a much bigger problem than just exposing user passwords. > Employees can now see the passwords fr
401.
▲
by
fiedzia
10y ago
> a bug in any of these services (no matter how unimportant) would compromise everything No it wouldn't.
402.
▲
by
fiedzia
10y ago
> Am I missing any point? A few: 1. The production success stories are good - within google, and that's probably important factor here. 2. Dart is indeed transpiled to js, like many alternatives. Its no worse than any of them, howev
403.
▲
by
fiedzia
10y ago
Imagine that you have a furniture factory. There is one room where one guy who works for you produces tables. In next room there is another who produces sofas. And then another one who makes chairs. The demand is great, so routinely you hir
404.
▲
by
fiedzia
10y ago
Roughly as you described it. For debugging I am using pudb though, beats any IDE for me. Template debugging is a useful feature though (Pycharm can do this).
405.
▲
by
fiedzia
10y ago
You're right, if you enforce it via set_error_handler they do, otherwise they don't. Congratulation for PHP team, they are slowly getting on par with methodology invented in 60's. Any plans for having usable exception hierarc
406.
▲
by
fiedzia
10y ago
Type hinting is not exactly there yet, but its coming. You can already write: def foo(x:int) -> int: return x+1 to get hints in your IDE (though its not enforced yet by interpreter).
407.
▲
by
fiedzia
10y ago
Its non-trivial and it could be written simpler (the tuples part could get its own type alias, making it more readable and shorter), but its not particularly bad or good. You will find examples of this mostly in libraries, but rarely its so
408.
▲
by
fiedzia
10y ago
Features and libraries aside, Rust (compiler and language) has 6-week release schedule, open and well-working update process and 0 decades of backward compatibility to satisfy. I don't see C++ improving on that anytime soon.
409.
▲
by
fiedzia
10y ago
> not necessarily through any intrinsic benefit of the language, instead through a selection of who is writing that language I'd say that such selection is intrinsic benefit of the language.
410.
▲
by
fiedzia
10y ago
> Building something in Rust would be much more painful. Go may have more of those things and it may be easier to find copy-pastable examples for them, but rust has them too, and its not painfull. The things you mentioned are there and a
411.
▲
by
fiedzia
10y ago
Car of the year from 2015. Not the shiniest toy anymore, but has everything you may need and you can get very good deal on it.
412.
▲
by
fiedzia
10y ago
> It it will break BC, then don't use it? So the choice is between insane behaviour, or breaking the code. > Instead you started nitpicking on the solution. That's dishonest. And it makes the discussion endless. Because the
413.
▲
by
fiedzia
10y ago
This will most likely break a lot of existing code. Even if it works, it means I'll be parsing text to figure out what exactly happened (exception not only signal "that something happended", but also "what exactly happen
414.
▲
by
fiedzia
10y ago
> They care. They are interested. Have they really been, PHP issues would be fixed long time ago. It had 7 major releases, and people complain about exactly the same things. All the people I know who complain about it and switch to somet
415.
▲
by
fiedzia
10y ago
That they are inconsistent is one problem. That they are functions is another (in otherwise object-oriented language). That they don't throw exceptions is one more (in a laguage that has them). IDE won't fix any of that.
416.
▲
by
fiedzia
10y ago
I just oppose naming it "brand new". Its largely still just as broken as it always was. Fixing one issue per release will maybe get PHP to state comparable with other languages somewhere in the next century (if they stand still in
417.
▲
by
fiedzia
10y ago
Some of the painting is new, but the engine (stdlib) remains the same.
418.
▲
by
fiedzia
10y ago
> If you're arguing JavaScript isn't as good as C++ or C, sure, it isn't, but few languages are, and none of those are frequently used for general-purpose web development. Java and Go work just fine here and both are used
419.
▲
by
fiedzia
10y ago
> Not many are passionate about the Corolla But there is also nothing particularly wrong with it. It may not be better, but it has no worse maintenance record, crash record, or accident survival rate then average car. (In software world,
420.
▲
by
fiedzia
10y ago
WebWorkers have nothing to do with threading. They will not let you share memory, and this means that you waste time on seriazlizing/deserializing anything you pass to them, so from optimization point of view, they are more like proces
More ›