Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
marvy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
241.
▲
by
marvy
10y ago
That sounds super neat, and also super hard to specify and implement, in either C++ or Ruby.
242.
▲
by
marvy
10y ago
Okay, but with copy_if, you need an extra resize step at the end, which is annoying in C++ and that Ruby users currently have the luxury of avoiding. And this seems fundamental. The reason that copy_if can't call resize for you is th
243.
▲
by
marvy
10y ago
Not clear what you're suggesting here. Can you implement reject! using your propose more general interface? If so, how? Is it more efficient than just creating a copy and then overwriting the original, like this? ary = ary.rejec
244.
▲
by
marvy
10y ago
you're welcome :)
245.
▲
by
marvy
10y ago
Found the answer: do nothing! http://secondenumerations.blogspot.com/2017/02/episode-4-in-... http://studiahumana.com/pliki/wydania/In%20Praise%20of%20Pas...
246.
▲
by
marvy
10y ago
Just the name is similar; these folks are just trying to rewrite Windows, no JS involved.
247.
▲
by
marvy
10y ago
yep, seems like we agree. now, what to do about it??
248.
▲
by
marvy
10y ago
Why use it? It's the default, and otherwise you have to find a math font and text font that go together all on your own. At least that's why I use it: laziness. I agree at 200dpi is not quite enough for Computer Modern. But I c
249.
▲
by
marvy
10y ago
Okay, so you're not saying it's always hideous; you're saying it's hideous on screen. I think you're wrong even there: some of the screens that have come out in the last few years have resolutions near that of chea
250.
▲
by
marvy
10y ago
What I meant to say was that in the hands of the right person, it would be effective and productive, but since you're not particularly convinced by anything on that page, I think I'll have to concede this point. You win :)
251.
▲
by
marvy
10y ago
On the one hand, I tend to agree with you. I used LaTeX (with beamer) to make several slideshows over the past few years, and it seems safe to say that this is not the exactly the kind of thing that plays to TeX's strengths. On the ot
252.
▲
by
marvy
10y ago
How is Computer Modern much worse than, say, Times New Roman?
253.
▲
by
marvy
10y ago
Not sure I agree with you. Suppose I want to fix this problem, and I decide I need political power to do it. Which of the following strategies would you recommend? Option A: get elected, spend first few years of my time in office trying
254.
▲
by
marvy
10y ago
If Py4 is compatible with Py3, why bump the version number? If not, you better be careful which one you get!
255.
▲
by
marvy
10y ago
On Ubuntu, "sqlite" starts sqlite2.x; if you want sqlite3.x, you must type "sqlite3". The last version of sqlite2 came out in 2005. As far as I know, hardly anyone still uses sqlite2 for anything anymore. (I could be
256.
▲
by
marvy
10y ago
Avoiding bugs is what you try to do by default in any language, yes. But success is not guaranteed :) I agree that in general, if you have a pointer DSL that can lead to bugs, replacing to with a more complex one just makes things worse, a
257.
▲
by
marvy
10y ago
Did you read the article I linked to? It wasn't fair and square. MS gave the PC makers a discount with strings attached: don't sell PCs that can dual-boot into another OS. I think you can agree this is pretty anti-competitive b
258.
▲
by
marvy
10y ago
hey, I never said the situation is good, just that it's better than the worst possible situation.
259.
▲
by
marvy
10y ago
But this hasn't changed since the 90s, has it?
260.
▲
by
marvy
10y ago
https://en.wikipedia.org/wiki/Dell_n_Series
261.
▲
by
marvy
10y ago
Is that still true today? I think these days it's possible to buy a computer with no OS preinstalled from some manufacturers. It might even be slightly cheaper than the identical model with Windows. (Of course, only select models, e
262.
▲
by
marvy
10y ago
Wow, that big a change? Then maybe they should have changed the name after all. Purl?
263.
▲
by
marvy
10y ago
I'm no Perl user, but surely 800 is pretty good for a one year old language? How many did Perl 5 have when it was one year old? (That's a trick question: CPAN was officially launched about year after Perl 5 came out; see here h
264.
▲
by
marvy
10y ago
As someone who knows neither version, I find this surprising. Surely, even if none of your code works, switching from Perl 5 to Perl 6 is much less of a "culture shock" than switching to, say, Ruby or Python?
265.
▲
by
marvy
10y ago
The thing that should be illegal is the kind of secret deals that MS makes with PC manufacturers; see this for example: http://www.theregister.co.uk/2002/02/20/be_inc_sues_microsof...
266.
▲
by
marvy
10y ago
These days you can get computers with Linux preinstalled. What you can't get is a computer that has both Windows and Linux preinstalled in some kind of dual boot or VM setup. That you must still do yourself. You can get the choice t
267.
▲
by
marvy
10y ago
2 years? Your profile says that your account was created 205 days ago.
268.
▲
by
marvy
10y ago
> teach people how to recognize domain name You say don't assume people are idiots. I agree, most are not. I will go further and say that, even among those who fall for these scam sites, most are not idiots (though the proportion
269.
▲
by
marvy
10y ago
That might be a good reason to not write programs in shell, but it sounds like mastering the interactive features might still be worth the time.
270.
▲
by
marvy
10y ago
Annoying, but not puzzling. Nobody wants to break old sites that rely on the old defaults.
More ›