Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pacala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
361.
▲
by
pacala
8y ago
The cat is out of the bag, can we please let this piece of poppsych die? A surprisingly large number of manager wannabe type at a FAANG company made a point to try to pat me on the back in public. Please stop trying to symbolically stomp on
362.
▲
by
pacala
8y ago
My dentist is adamant that waterpik is not a substitute for flossing, rather a solid bonus.
363.
▲
by
pacala
8y ago
I ran the program through swish, https://swish.swi-prolog.org/p/aNiMdQgL.pl . Turns out that the version without N #> 0 enters a nontermination loop when asked to produce the 2nd result for list_length2(X, 3) and fai
364.
▲
by
pacala
8y ago
Thanks for the link. I dug a bit into the site, and failed to fully grok the "why" behind even the first example. From https://www.metalevel.at/prolog/facets#declarative : list_length([], 0). list_le
365.
▲
by
pacala
8y ago
Polymorphic modules are a necessity for system design. To be used sparingly. Turns out that Java/C++/C# provide a mechanism for polymorphic modules at language level. Beyond that, failures all around. On top of my head: * The insi
366.
▲
by
pacala
8y ago
Exactly right. "OOP" is a system design paradigm. Useful for the 5% of the time one is concerned with big picture system design, and counterproductive for the 95% of the time one is writing mundane functions pertaining to their bu
367.
▲
by
pacala
8y ago
I can write a personal data graph crawler in a weekend. I can’t release it because Facebook army of lawyers. Maybe zuckermort should look into the mirror sometime to find the bad faith actors ruining the internet.
368.
▲
by
pacala
8y ago
For those of us not in Stanford's orbit, HAI stands for "The Stanford Institute for Human-Centered Artificial Intelligence", https://hai.stanford.edu
369.
▲
by
pacala
8y ago
This is a cool service, congratulations for shipping! Reading through the docs I stumbled upon "All the code is available on GitHub and our goal is to provide Kroki as a free service.". There has been definitely a good amount of w
370.
▲
by
pacala
8y ago
s/classification/decision making/ AI systems are better than humans at making decisions. AI systems can scale to millions of decisions per second and beyond. AI systems don't need to spend 3/4 or their time sleeping
371.
▲
by
pacala
8y ago
GKE.
372.
▲
by
pacala
8y ago
If I read this correctly, what you're saying is: * Implicit discrimination is bad. I'm saying: To use that as a guide for your actions you need to have an implicit discrimination detector able to account for all the confounding va
373.
▲
by
pacala
8y ago
Alas, the pictures I took were on film, and it's been lost in various relocations. Very likely it was Amtrak, with the "sightseeing car" and all.
374.
▲
by
pacala
8y ago
> Diverse candidates get two attempts to pass the technical phone interview, non diverse get one. These rhyme with soviet era policies circa 1950-1960 in Eastern Europe. At universities, there was an admission exam for 'healthy orig
375.
▲
by
pacala
8y ago
Never heard of an open and blatant 'women need not apply' in the 20 years I've been in the US. Not in the universities, not in the workplace, not anywhere. Not sure about NFL policies, though there aren't that many 6 foo
376.
▲
by
pacala
8y ago
. and $ syntactic sugar that many will argue make the code easier to write but harder to read. One can compose and build new functions just fine with plain lambdas. Partial application is a mixed bag, as one has to memorize arguments and ar
377.
▲
by
pacala
8y ago
I took a train from Chicago to LA almost 20 years ago. There were 6 passenger cars attached to 60+ freight cars. There was a 20+ hours delay. All the stops were in dilapidated industrial areas. A ridiculous experience. Never again. For a tr
378.
▲
by
pacala
8y ago
Everything you said applies today to the demographic pyramids of the respective 2 countries, with only an 11 years delta. And yet Germany has 5x the GDP. https://www.populationpyramid.net/turkey/2019/ https:&#x
379.
▲
by
pacala
8y ago
Wildly speculative. Turkey is predicted to have 9.1 [some unit], while Germany 6.8 [some unit]. There are two countries with similar demographic profiles, with Germany having 5x the [nominal] GDP of Turkey today. Short of nuclear war or an
380.
▲
by
pacala
8y ago
The unit of reuse in programming is the function. Inheritance is just an often cumbersome mechanism to define bundles of functions.
381.
▲
by
pacala
8y ago
Reproducing AI wants energy. We want energy. Somebody is going to win, and it’s not us.
382.
▲
by
pacala
8y ago
So how do I block the microphone on my MacBook?
383.
▲
by
pacala
8y ago
Indeed, objects should have been larger. As large as a module. Perhaps with interfaces implemented by different concrete modules. Like non-oo programming language were doing, circa late 80s [modula 3, sml]. While at that, “message passing”
384.
▲
by
pacala
8y ago
No! Micro services are value-over-network, hopefully with idempotent semantics. CORBA is object-over-network, with clients holding references to server objects and a protocol that passes around object references over the network. It is true
385.
▲
by
pacala
8y ago
Tip: turn your iPhone screen to black/white, witness significant reduction in screen addiction. Tip: uninstall any app with gratuitous notifications on the spot. Move off the main page notifying apps that you can’t uninstall: mail, cal
386.
▲
by
pacala
8y ago
It’s an operator, there are no optional arguments. Though it’s OK to also have a function like you propose.
387.
▲
by
pacala
8y ago
Well duh. We’ve been sold object oriented platforms for decades with the insistence that everything is an object, hiding its internals from the world. There was tepid support for representing plain data. At the heyday of the madness people
388.
▲
by
pacala
8y ago
The sensible thing is to throw on conflicting keys.
389.
▲
by
pacala
8y ago
I’ve moved to a diet mostly based on unlimited fresh fruits and veggies, plus limited cheese and meat. Three months and twenty pounds later, I can tell with some degree of confidence that it is quite difficult to load up on calories from ap
390.
▲
by
pacala
8y ago
You do run Linux I suppose. Try to compile the Linux kernel from scratch and see for yourself the bewildering complexity hidden in there. Hey, there is a hypervirtualization module hidden in your kernel, with tens and tens of knobs to tweak
More ›