Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
berdario
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
53 ms
·
451.
▲
by
berdario
11y ago
Question: I subscribed to a bone marrow registry a couple years ago, but now I relocated to another country. Should I register again? (both countries are in the EU) I guess that if I'm compatible I will still be notified by the regist
452.
▲
by
berdario
11y ago
> There can be no benign purpose for those exploits. I agree, but as can be seen in the post by Netragard linked in the article: www.netragard.com/exploit-acquisition-program-shut-down Business can still rationalize and excuse their
453.
▲
by
berdario
11y ago
The easiest way is not to go to a bank that has its head up its arse (pardon my french) Case in point: I opened a bank account with Lloyds, and I just showed them my work contract (but apparently the only information they needed was my pass
454.
▲
by
berdario
11y ago
While funny, RPS is disingenuous: after visiting RPS, you'll get cookies from the following additional domains: - adaptv.advertising.com - adjs.net - b3-uk.mookie1.com - mookie1.com - doubleclick.net - iasds01.com - m6r
455.
▲
by
berdario
11y ago
Same idea, but a bit more mature: https://github.com/lantiga/ki Edit: Actually, it's completely different... I was too fast to judge upon reading: a new language built with mori+sweetjs for easier javascript inter
456.
▲
by
berdario
11y ago
While I agree on the pragmatic value of it, and I think this is a pretty minor blemish in the semantics of Python. You can easily have booleans as a completely different type, and yet avoid stuff like: `1 if boolean else 0`... In Haskell, f
457.
▲
by
berdario
11y ago
Thank you! I had no idea it existed
458.
▲
by
berdario
12y ago
> Which of the major tech companies to arise in the past 10 years use a Microsoft tech stack? (hint: none) I think that maybe StackExchange qualifies
459.
▲
by
berdario
12y ago
I used to use Google Talk, but I find Hangouts sometimes unreliable. Nowadays I only use Hangouts with my mother (because she doesn't want to switch to other services). I dislike to use something closed source like Whatsapp, but it
460.
▲
by
berdario
12y ago
Thanks! I'd edit my post if I could
461.
▲
by
berdario
12y ago
If the only thing you want is to use the {identifier} syntax, without having to repeat `identifier` more than once, the simplest alternative is probably: >>> package = "foo" >>> whatever = "bar&quo
462.
▲
by
berdario
12y ago
This does not help when you want to manage Arch or Ubuntu machines, since you're not installing ansible there, you're just letting ansible connect with ssh and execute Python2 scripts. So, before being able to run your playbooks t
463.
▲
by
berdario
12y ago
Sort of, CPython has both reference counting and a normal Garbage Collection. You can disable the latter and still avoid memory leaks as long as you don't have cycles
464.
▲
by
berdario
12y ago
To help with this, both Python and ObjC have weak references https://docs.python.org/3/library/weakref.html
465.
▲
by
berdario
12y ago
Not as lighthearted as LYAH, but (as suggested by ufo) I think this might be useful: https://realworldocaml.org/
466.
▲
by
berdario
12y ago
Facebook is also creating tools with Haskell: https://github.com/facebook/Haxl My 2 cents: definitely _also_ learn OCaml down the line. But: - my pet peeve with OCaml is the lack of a builtin type for Unicode strings (
467.
▲
by
berdario
12y ago
Yeah, I feel less and less confident in relying on Google's XMPP. I was conviced that this would be the time. But I waited until today (17th February) to reply, and... well, Google hasn't shutdown its XMPP servers yet, apparently
468.
▲
by
berdario
12y ago
> People that moved to Hangouts aren't available on GTalk (the xmpp part). I run my own XMPP server, people that have ancient Android 2.x mobiles and don't buy into the G+ nonsense can talk to me. People with more modern system
469.
▲
by
berdario
12y ago
Are you aware that Google XMPP servers still support federation? (I tried just that the other week) I don't see how you _had to_ look for other options (still: I agree how looking at other options is the wise thing to do, given that Go
470.
▲
by
berdario
12y ago
I assume it's because not every server (most notably: google's) support the XEP for offline messages, and having to always keep a connection to the remote server is mobile/battery-unfriendly. All these newfangled alternatives
471.
▲
by
berdario
12y ago
> There's actually way more we can say about this, but this is a huge book already, haha. Yeah, so long for "I'll try to keep this short" :P > One difference in encoding between python and ruby I think is, in ruby
472.
▲
by
berdario
12y ago
> Actually, the "ruby 1.9" solution is having Strings tagged with encoding at all -- prior to ruby 1.9 they were not, they were just bytes. Whoops, you're right... I confused the version, what I had in mind is the "so
473.
▲
by
berdario
12y ago
(I'll try to keep this short, since I feel this is quite offtopic, if we want to discuss this further I suppose we could find a better venue... maybe even email?) I assume that with "Ruby 1.9 solution", you refer to the fact
474.
▲
by
berdario
12y ago
You have a plethora of similar tools in the python world as well: - Pythonz - Conda - Pew (disclaimer: I'm the author) - Virtualenvwrapper - Pyenv Etc. If you argue that people might not move to the latest and greatest as soon as possi
475.
▲
by
berdario
12y ago
Sure, but be aware that if Ruby ever decides to fix the situation with its Strings types/encoding, you'll get the exact same "disaster". At least in the python world this change is now mostly in the past.
476.
▲
by
berdario
12y ago
Those films in Italy are like Justin Bieber in the music world: almost everyone loves to hate them, I never perused neither of the two (nor I know anyone who does), and they evidently have captured a certain market segment. Trading Places o
477.
▲
by
berdario
12y ago
> Of course, no one believes that NK actually has the ability to inflict physical harm outside of their own country I wish. They're definitely capable of inflicting physical harm outside of NK. Just the first link that comes to my m
478.
▲
by
berdario
12y ago
Scala doesn't/cannot use Hindley-Milner, I doubt it could be any easier to apply it to Python. (Clojure core.typed doesn't use hindley milner either afaik. There've been experiments on that front though) Also, type infer
479.
▲
by
berdario
12y ago
`Any` seems to be more akin to C# `dynamic` The key is that we're talking about _Gradual_ Typing: it's not that "you never want to type things as Any" (if you always used a dynamically typed language like Python you prob
480.
▲
by
berdario
12y ago
Thankfully Python fixed that discrepancy about 3/2 Anyhow, I don't agree with you: I think that getting a bug years down the road due to a too small numeric type is something that the programming language itself should avoid.... n
More ›