Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
robalni
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
robalni
5y ago
A few minutes ago, github.com didn't load at all for me but now it works again.
182.
▲
by
robalni
5y ago
When looking at the benchmark result and image size, it seems like this format is good at images that have horizontal structures or where the same color is repeated often. It's not good at vertical structures, including images with enl
183.
▲
by
robalni
5y ago
Programming really is like magic. In Harry Potter: You say magic words, that make things happen. In programming: You type words in the computer, that make things happen.
184.
▲
by
robalni
5y ago
That's not your laptop so you don't decide what should run on it. (When I said user I really meant owner)
185.
▲
by
robalni
5y ago
A good rule of thumb is: Would the users do it to themselves? It think that's pretty easy to guess. Would the users try to make themselves not run the browser they want to run? No. Would the users try to avoid malware? Yes.
186.
▲
by
robalni
5y ago
Is Windows even an operating system any more? An operating system is software that is supposed to make it easy to run other applications on your computer. Here it seems like Windows is trying to prevent people from running the applications
187.
▲
by
robalni
5y ago
> So there is, in fact, a performance level that's good enough: faster than doing it manually, or as fast/slower but more correct. I would not call a 30 minutes website load time good enough, even if it takes 31 minutes to trav
188.
▲
by
robalni
5y ago
> Performance is meaningless once it's good enough. There is no level of performance that is "good enough". One person's "good enough" is another person's "pain to use" and it's someone e
189.
▲
by
robalni
6y ago
Is it enough to have competing social networks to Facebook? What's the point of competition, isn't it that if one product is bad, someone can make a better one so that people can use that one instead? If I think Facebook is bad, c
190.
▲
by
robalni
6y ago
I don't think commercial use is incompatible with an SA license. Maybe it depends on how you define commercial use but if you define it as "any activity in which you use a product or service for financial gain", there would b
191.
▲
by
robalni
6y ago
This reminds me of when I tried to write HTML code in bash. <html> hi </html> a This code when run as a bash script reads from a file with name "html" and writes to file "hi". It also reads from
192.
▲
by
robalni
6y ago
Do you have an example of when a name change has generated such discussions?
193.
▲
by
robalni
6y ago
Yes, we should be happy as long as these words are not cursed.
194.
▲
by
robalni
6y ago
I'm fine with changing a word if there is a good reason to. But I don't like this "wordophobia" where people are afraid of using words and we just keep adding new words that people can't use. It reminds me of the Ha
195.
▲
by
robalni
6y ago
I thought about this too when I read the article but then I thought that it might not always be possible to rewrite the code like that in other cases. Maybe the example used in this article was just not the best example.
196.
▲
by
robalni
6y ago
This reminds me of when I made a program faster by adding a print statement to it. I am not able to find the program but I was able to create a new one as similar to it as I remember and it seems that this weird trick works in this program
197.
▲
by
robalni
6y ago
By "computers" I really meant "the complexity in the software that computers run". Computers do very complex things and most of those things can't be directly seen. So if you want to tell someone about what some sof
198.
▲
by
robalni
6y ago
My point is that it's not just what information is being taken that matters. Even if you don't take anything it's still wrong to do things inside someone's computer or home without permission. Maybe VS Code asks for perm
199.
▲
by
robalni
6y ago
How right or wrong it is to collect information about people and what they do is not entirely determined by how much personal information there is to get. Just like how right or wrong it is to break into someones house is not entirely deter
200.
▲
by
robalni
6y ago
There are many things that can help you learn programming. Problem solving is one of them. Language/syntax is one. I don't think it's wrong to teach kids one of them, but yes, we should not forget the other ones. I think it&#
201.
▲
by
robalni
6y ago
I don't think the main problem in this article is that "," doesn't look like a function because we are told that it is overloaded so we know it's a function. The problem is that the behavior of the code silently cha
202.
▲
by
robalni
6y ago
I would rather call this "the subtle dangers of function overloading". One thing I like about the C (not ++) language is that it's always clear what function that is being called by looking at the function name. In C++ you ha
203.
▲
by
robalni
6y ago
They all have some differences and that's ok; you would not normally expect different operating systems to work exactly the same way. But it's still usually much easier to take a program written for Arch and make it work on Debian
204.
▲
by
robalni
6y ago
> I think too many distributions is part of the problem. I think that's the wrong way to look at it. We should not look at the distributions as a choice people have to make once they have decided to use Linux. It's a choice peo
205.
▲
by
robalni
6y ago
No, I'm just saying that what memory is allocated (as in the language) is not necessarily the same as the memory that is allocated as in your intentions. It's possible to allocate (as in language) an array that is longer than what
206.
▲
by
robalni
6y ago
I would not even say that Rust (or any other language) is or can be perfectly safe in "safe" code even with a bug-free compiler. It is possible to access unallocated memory in 100% "safe" Rust, because what memory that i
207.
▲
by
robalni
6y ago
This is not only important for string comparisons. I think in general if you have a loop that needs to run really fast you should avoid calling functions inside that loop that might not get inlined, like the standard library functions.
208.
▲
by
robalni
6y ago
I looked a bit closer at their cookies. The two cookies that they send are called "__cfduid" and "tdukey". Both of them look like hash values. __cfduid seems very random. It changes every time I reload the page. tdukey s
209.
▲
by
robalni
6y ago
I know how to solve their problem. If they only use cookies for the reason written here (to remember preferences) they should not need to store any cookies as soon as I just visit their site and therefore they should not need to show any an
210.
▲
by
robalni
7y ago
"Similarly, there’s nothing intrinsically wrong with a system in which we stop crediting the original source of the idea—one would just need to find a way to make it practicable. There is no moral bedrock in which prohibition of plagia
More ›