Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dozzie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
94 ms
·
871.
▲
by
dozzie
9y ago
"/n"? What's that? My `man perlre' doesn't say anything about this regexp flag.
872.
▲
by
dozzie
9y ago
do_something_with_pids $(ps -C SomeDaemon ho pid) Though it's GNU procps.
873.
▲
by
dozzie
9y ago
No, please don't do that. Use filtering capabilities of ps, so grep becomes completely unnecessary.
874.
▲
by
dozzie
9y ago
Please don't. Running random scripts from the internets to install stuff is a idiotic idea that deserves to die already. Make your build process dumb and installation process even dumber. The former should just run the compiler (as opp
875.
▲
by
dozzie
9y ago
> But “grep -v” is OK… > It’s possible to emulate grep -v with awk, but it’s not a good idea: $ [data is generated] | awk '/something/ {next} 1' Ever heard of logical operator of negation? awk '!&#x
876.
▲
by
dozzie
9y ago
> Field level validation(Is this email in a valid format) checking that input is sane is done at the UI level. In two places in UI: as close to the user as possible (which improves ergonomics) and at the system's border (which preve
877.
▲
by
dozzie
9y ago
I said already: > [...] this would be semantically identical to not sharing anything. Erlang's data sharing (and no, not all binary data, just over a certain threshold; if you want to nitpick, be diligent and precise) is merely op
878.
▲
by
dozzie
9y ago
Then you don't have "Erlang-like actors", which is an implementation of CSP (unintended, designed separately, but still). Unless you mean that some data is shared, but cannot be modified, but this would be semantically identi
879.
▲
by
dozzie
9y ago
Once you have "Erlang-like actors", you don't have data sharing.
880.
▲
by
dozzie
9y ago
> Pub/sub and request/response are totally different animals. [...] (Is this view uncommon?) One model is synchronous, the other is asynchronous. I don't see why would anybody have any doubts. > Second, pub/sub !=
881.
▲
by
dozzie
9y ago
No, because they're valid Python. Similarly, what Ruby kids call "DSLs" don't count as DSLs, at best they can be called DSAPIs.
882.
▲
by
dozzie
9y ago
Clickbait title on top of an opinion piece that doesn't justify author's position. From my perspective, it's a good thing that the link leads to a non-existing page and reader needs to dig quite deep to find the article.
883.
▲
by
dozzie
9y ago
ONE REASON NOT TO SHOUT
884.
▲
by
dozzie
9y ago
By gradually learning and/or discovering what constitutes a great API.
885.
▲
by
dozzie
9y ago
> Woah! Check yo self befo you wreck yo self.. just login/signup. How about I don't just to take a (probably automated) test.
886.
▲
by
dozzie
9y ago
It's also much easier for introverts. They can talk about something that is not themselves and something they know very well. They can now expose many interesting and subtle details of their craft. Do you think introverts don't li
887.
▲
by
dozzie
9y ago
You don't really need all these newest shiny plugins that display Nyancat. Really. What you need is stability and predictability. Stick to an OS with long release lifetime (e.g. Debian) and use what it supplies, unless you have really
888.
▲
by
dozzie
9y ago
> (1) coding when EVERYTHING is immutable by default is a royal pain in the arse. Is it really? Because I haven't noticed writing my Erlang.
889.
▲
by
dozzie
9y ago
Obligatory pg article link: http://www.paulgraham.com/name.html
890.
▲
by
dozzie
9y ago
I would guess the author wanted to say "avoid cryptosystems that work over Z_n ring", especially that you will use ElGamal when signing or encrypting over elliptic curves.
891.
▲
by
dozzie
9y ago
Yes, for example here: http://www.finanse.mf.gov.pl/pp/wyszukiwarki/wyszukiwarka-op...
892.
▲
by
dozzie
9y ago
What I was hit with were subtle changes to how [[ ]] worked, along the lines of implicit anchoring in pattern in previous version not taking place in succeeding version. It took quite a while to debug what became a logic error. After that I
893.
▲
by
dozzie
9y ago
Was. Now it's mostly Gmail, and even if you do run your own SMTP server, you're still dancing to Google's tune or else your mail lands marked as spam for many (most?) of your recipients, and even then you don't have any
894.
▲
by
dozzie
9y ago
I would also recommend to read Single Unix Specification on shell syntax, and then avoid bashisms whenever possible. Bash had a history of subtly changing its behaviour in these, which leads to scripts getting suddenly broken without any mo
895.
▲
by
dozzie
9y ago
Yes. Exactly the same as before: dynamic typing. Optional type hints don't change this. And Python actually is compiled. Where do you think these pyc and pyo files come from?
896.
▲
by
dozzie
9y ago
Note that you don't owe the company any loyalty (apart from what could be reasonably expected from a professional), so if the project fails without you, it's not (and shouldn't be) your problem. If it succeeds, they won'
897.
▲
by
dozzie
9y ago
> I can’t, for the life of me, understand why everyone hates ads. It's simple why you don't understand it: because you make a living off them.
898.
▲
by
dozzie
9y ago
> You don't have ambiguity in the grammar because monadic parsers only provide ordered options. Oh, but you do have ambiguity in the grammar , except that parser returns one of the possible parse trees deterministically and thu
899.
▲
by
dozzie
9y ago
> This is the world of Linux software installation. You don't get to first choose Arch for its different packaging system and then act highly surprised that it's different and adds to the variety of package types. Sorry, no ban
900.
▲
by
dozzie
9y ago
> I think Debian's rationale is that if a sysadmin interactively installs a package, then that sysadmin does so to get its primary service (if any) running, so packages should arrange this by default. Except that if a sysadmin insta
More ›