Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lake99
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
lake99
10y ago
I don't doubt their intentions, but their execution leaves a lot to be desired. The Youtube app used to have a setting where we could make it only show videos only in low-res mode. It's gone now, and family members who are not tec
152.
▲
by
lake99
10y ago
> as light as in the day It's got nothing to do with intensity, which would be impossible to achieve, for all practical purposes. The article misused the word here. Rather, it's about color temperature. I think this problem is
153.
▲
by
lake99
10y ago
Not partirarchal, rather, it's about near-deification of elders, which includes the mother-in-law. Paternalistic attitudes pervade village life, and to some extent, the lives of most Indians. For example, among quite a few girls/w
154.
▲
by
lake99
10y ago
No, the US healthcare is in serious trouble. My point was about a line of approach for the problem. In fact, India can give a few good pointers here, which you can see from how little I pay for my own, rather excellent, healthcare. Indian h
155.
▲
by
lake99
10y ago
Nah, this will go the way of Microsoft Tay and Facebook's automated curation. 4chan will run the system to generate jokes for themselves, until Google finally kills it.
156.
▲
by
lake99
10y ago
I don't think we can generalize from Wikipedia lists for complex issues when the lists contain very diverse countries. I have spent some time in Europe and in India. I have a couple of chronic conditions that requires daily medications
157.
▲
by
lake99
10y ago
I probably am. I spent some time in northern Europe, where the temperature would go as low as -25°C, around the time I stayed. I was loath to deglove my barely warm hands, and used my nose instead, for some basic operations.
158.
▲
by
lake99
10y ago
Actually, this is something that can get replaced overnight, were it not for the serious lack of manpower. Most people use Gnome or KDE. They will continue to do so when their distros quitely replace X11 with Wayland, overnight. Except th
159.
▲
by
lake99
10y ago
I agree with all you have written, but there is a way to zoom in or out without using your other hand: use your lips. "Muaa" zooms out, and "auum" zooms in. This will make public transport journeys more interesting (for
160.
▲
by
lake99
10y ago
Hit the directions button. You see two text fields, with the first one already filled out as "Your location". Change that. Enter the destination next. This was on Android. Is your UX any different?
161.
▲
by
lake99
10y ago
The phrase "middle class" is misleading here[1]. If you are talking about people with IT industry jobs, they certainly have enough disposable income to spend on flights or cars. Even lower income migrants travel home for major hol
162.
▲
by
lake99
10y ago
> authoritatively declaring it to have 'vanished', has not vanished by a long shot. I agree with you completely. Indians are quite guilty of giving really weird ideas of India to outsiders. I mean, the culture is vastly differe
163.
▲
by
lake99
10y ago
> Being in a train without air conditioning... I can almost guarantee that if you're traveling in a non-AC compartment in India, the windows stay open. People only close them before sleeping at night, because when trains invariably
164.
▲
by
lake99
10y ago
I lost track of this discussion! > If you use an "int", you have specified that it must be at least 16-bits wide. Few people write code for PCs with the assumption that an int could be 16-bits wide. They all assume that it
165.
▲
by
lake99
10y ago
Some people extoll the virtues of long-form writing. But even a site like HN is far too information dense to spend so much time reading one article. It's a different matter when we're learning something of an academic nature, of
166.
▲
by
lake99
10y ago
Yeah, brushing teeth at night, with some caffeine may not be a bright idea.
167.
▲
by
lake99
10y ago
Not to mention, they employ many stalwarts of CS, like Simon Peyton Jones and Leslie Lamport.
168.
▲
by
lake99
10y ago
> As I've said - I don't really care what things are called. I think this is where our disagreement lies. To me, this counts as "make a decision as to the width of an integer every time I declare a function". We are d
169.
▲
by
lake99
10y ago
> But your solution also doesn't involve deciding on the width of an integer - your solution is to use integers that have a minimum width. We declare the minimum width for all variables. We don't use "int" in for loop
170.
▲
by
lake99
10y ago
> If that is the case, then it sounds like this whole thread has been miscommunication :-) I am not sure about that. The original poster wrote 'I have never once thought: "You know what, I'd like to make a decision as to
171.
▲
by
lake99
10y ago
These are good, but some of our codebases predate these conventions. We don't even use // for commenting, because the code could find its way to a compiler that can't handle C99. Secondly, the overriding principle here i
172.
▲
by
lake99
10y ago
This miscommunication was my fault. We don't use uint8_t or other such things, we use uint8, uint16, etc. These are typedefed to compiler-specific types that guarantee a required minimum size. This is also the reason we are not allowed
173.
▲
by
lake99
10y ago
I did not expect you'd say "char", because it's a fixed size numeric type. Isn't that what you have been arguing against so far? Anyway, I'd get yelled at if I checked in code where I do math on char. It has to
174.
▲
by
lake99
10y ago
> Take some correct code that works with int16_t, and replace the "int16_t" with plain "int". What breaks? Memory. Defaulting to 16-bits when an 8-bit variable will do can be incredibly wasteful on an 8-bit µC. Keep i
175.
▲
by
lake99
10y ago
You can only check for overflows if you err in favour of larger architectures and declare all integers as "long int", and then check for overflows. Even the 8-bit compilers I have seen will allocate 32-bits for long int. And doing
176.
▲
by
lake99
10y ago
> How do you port it to a machine without a 16-bit type? The problem is made more severe when you use "int" and let the compiler decide the size of the variable. I guess I don't know what you're advocating. > The s
177.
▲
by
lake99
10y ago
Looks like you haven't worked on embedded systems. We need to be very careful with sizes of ints here. Not just because we run the risk of overflows, but also because when we create code that may have to be ported from one architecture
178.
▲
by
lake99
10y ago
No, I don't think you can fix the 'remember choice' feature. Practically all apps ask me for that when I click on a domain I haven't clicked on before. 'Remember' will only remember the choice for that domain.
179.
▲
by
lake99
10y ago
I have five privacy tools on this browser: uBlock Origin, Privacy Badger, HTTPS Everywhere, NoScript, and a free VPN. It was quite tedious to go through each of them before I figured out it was an HTTPS issue.
180.
▲
by
lake99
10y ago
For me, it was HTTPS Everywhere that was causing the problem. Disabling it showed me the pictures.
More ›