Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lou1306
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
751.
▲
by
lou1306
9y ago
A colleague got stuck trying to parse a 1-million-lines CSV for a while, then he found out that the last line was a PHPMyAdmin timeout error. Maybe they should add "All CSV contain no error messages" to the list :)
752.
▲
by
lou1306
9y ago
> What does Facebook do to keep ahead of its competition It's just the network effect. Google Plus was ahead of Facebook in multiple ways, but it just couldn't take off (sure the fact that Google set unrealistic goals and follo
753.
▲
by
lou1306
9y ago
Hah, same in my household but with Age of Empires II and Caesar 3. Strategy games are particularly fun/engaging when played cooperatively as a single player.
754.
▲
by
lou1306
9y ago
> I think it used to be like this for a lot of people in the developed world as well when computers were new and most people did not have computers and those that did had only one in the whole household. Heck, I'm not that old and
755.
▲
by
lou1306
9y ago
Is the "Call Jony Ive" in the header picture a subtle stab at Apple? If so, well done.
756.
▲
by
lou1306
9y ago
> the robot has a model of itself and the world around it, and when it "looks at the world" it's actually looking at that model. That would be the classical "sense, plan, act" approach to AI. There is also a whol
757.
▲
by
lou1306
9y ago
I'm constantly amazed at how little effort Twitter put into UX. Many of the features were only adopted after 3rd parties made them popular (RTs, pictures) or because people found ways to circumvent the platform's limitations (Peop
758.
▲
by
lou1306
9y ago
On the other hand, software often follows the Pareto principle: 80% of the time is spent executing 20% of the code [^1]. Optimizing/migrating just that 20% would yield most of the benefits of a complete rewrite. (Good luck if that 20%
759.
▲
by
lou1306
9y ago
Just my two cents, but BEAM has some nice features when it comes to distributed systems. You can basically exchange messages with any other process, provided that you know where it runs. If you have the right permissions, you can even spawn
760.
▲
by
lou1306
9y ago
Using exceptions is totally common, but this seems to raise/catch/log 6 errors each time it tries to parse a `for` statement. I'm a noob when it comes to compilers, but maybe a token -> function dictionary would be a bette
761.
▲
by
lou1306
9y ago
Not sarcastic at all, just a young-ish person who never used slashdot that much.
762.
▲
by
lou1306
9y ago
What they meant is that you should use an official HP Envy laptop :)
763.
▲
by
lou1306
9y ago
Thank you! Never heard of the term "Beowulf cluster". Sad to see the Wikipedia page never mention good old Linda, which was developed precisely to allow collaboration in heterogeneous systems. https://www.nytimes.com&#x
764.
▲
by
lou1306
9y ago
Mostly Reddit and (sigh) Facebook. Recently I've been experimenting both Mastodon and micro.blog [^0]. Different approaches to federation/decentralization, both quite interesting. [^0]: https://micro.blog/
765.
▲
by
lou1306
9y ago
> Generally, isometric grids don't work well in gameplay. As with any general rule, there are some great exceptions, such as RTSs (Age of Empires, Starcraft) and city builders (SimCity 3000, Caesar 3).
766.
▲
by
lou1306
9y ago
I wish HTML/EPUB was as popular as PDF in academia... That would solve so many problems for mobile reading.
767.
▲
by
lou1306
9y ago
First slide says "Not covered: spreadsheets". Edit: however, a little more recognizion to spreadsheets would have been nice, since some of the UIs are so evidently rooted in that metaphor
768.
▲
by
lou1306
9y ago
I don't find it "premature" optimization at all. IMHO it is barely "optimization" if you're just using the right tool for the job (namely a hash table instead of a list when you need key-value lookup).
769.
▲
by
lou1306
9y ago
And about optimizing compilers, neural networks, and static program analysis four decades ago. Computer science is a fast-moving field, sure. But not all of today's research bring tangible results by the end of the week, and we should
770.
▲
by
lou1306
9y ago
> which will make finding the wrong-doings and the people much harder This is exactly the point: to push hate-mongering back into the fringe it belongs to. Law enforcement will still be able to crack down on them, have no fear.
771.
▲
by
lou1306
9y ago
I mean, probably many elementary code smells (e.g. those related to null references) just pop up over and over again in a sufficiently large code base, so an AI could reasonably be trained detect them and thus prevent some of the bugs that
772.
▲
by
lou1306
9y ago
Not "at the time", but Terry Gilliam did this in The Imaginarium of Dr. Parnassus after Heath Ledger's death.
773.
▲
by
lou1306
9y ago
TL;DR He uses tabs, not spaces. [^1] But then again, I guess it was quite common in the earlier days? [^1]: https://www.reddit.com/r/IAmA/comments/80ow6w/im_bill_gates_...
774.
▲
by
lou1306
9y ago
Yes, this puzzles me too. Maybe the fact that you can redefine both the methods of `foo` and the function `Foo` at any time? And you can also change `foo.prototype`, I guess?
775.
▲
by
lou1306
9y ago
May I chime in? A gentle introduction to process algebras [^1] shows some examples of how you can represent programs as (possibly infinite) state machines. Essentially you define some operators to compose smaller programs (aka. processes
776.
▲
by
lou1306
9y ago
> The only downside is how they display PDFs. Sadly this is not just a "downside". PDF is so endemic that e-readers would flourish if they supported it better.
777.
▲
by
lou1306
9y ago
Exhibit A: CSS centering. Exhibit B: The so-called "Holy Grail" layout. [^1] [^1]: https://en.wikipedia.org/wiki/Holy_grail_(web_design)
778.
▲
by
lou1306
9y ago
I do reach for Markdown/Pandoc whenever possible, but on longer documents one will end up using lots of LaTeX tricks to get the job done (newcommands, subfigures, or that strange package that respects the typesetting conventions of y
779.
▲
by
lou1306
9y ago
Well, at least an active Github account is a sufficient (but non-necessary) proof that you have at least a basic understanding of Git. But still, there are lots of ways to captivate employers: a good old coding blog can beat many a LinkedIn
780.
▲
by
lou1306
9y ago
Lower. High SNR = Much signal, little noise Low SNR = Much signal, much noise
More ›