Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Touche
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
Touche
7y ago
This is great! On my tablet the perf isn't great though (no fault to the author). I'm wondering what CSS properties cause perf to degrade on a use like this? Looking at the CSS myself I'm guessing it's the box-shadow usa
272.
▲
by
Touche
7y ago
Yes, this is a major flaw of HTML, it is very specific about where certain elements can and cannot be, so you can't really even design a solution like the above.
273.
▲
by
Touche
7y ago
You do opt into them, by using label. if you want an element with no behavior, that's what div and span are for.
274.
▲
by
Touche
7y ago
The tags are defined so that there is reasonable default behavior. For example <label> is used to label a form field. Clicking the label focuses the form field.
275.
▲
by
Touche
7y ago
I don't disagree, seems weird that the author made such a big deal of the 99% vs 100% thing when 100% is not something Rust has.
276.
▲
by
Touche
7y ago
So not 100%. Kind of defeats the argument, imo. Now we're just talking about shades of grey.
277.
▲
by
Touche
7y ago
You don't have a 100% guarantee if unsafe is being used.
278.
▲
by
Touche
7y ago
Doesn't Rust have unsafe?
279.
▲
by
Touche
7y ago
XUL wasn't native.
280.
▲
by
Touche
7y ago
> I would like to have that confined and isolated in an app 100% separate from my browser, which is already having a hard time staying secure. So instead of having all of the security features that browsers have you would prefer to run t
281.
▲
by
Touche
7y ago
Stop quoting people and stating that the opposite of what they say is true. You just did it again, after the parent pointed out that doing so is problematic. You can state your exact same opinion without it coming across as dismissive just
282.
▲
by
Touche
7y ago
I read this a couple of times and I can't tell how they are sponsoring the Rust Project. Apparently Rust uses some AWS services, are they now getting these for free, is that the sponsorship?
283.
▲
by
Touche
7y ago
> it's always a hacked-together mess from an engineer who's likely no longer with the company. (obviously this is VERY anecdotal to my career) That's what programming is.
284.
▲
by
Touche
7y ago
> This is like saying that backend's gone crazy because people are loading MBs of frameworks just to print "Hello World" on the screen. They are not equivalent at all, you can add as much bloat as you want on your backend
285.
▲
by
Touche
7y ago
If doing `obj.firstName = el.value` is too bad of an experience for you that you need to add 5kb to make it better you're going to get to that MBs pretty quickly.
286.
▲
by
Touche
7y ago
Front-end has gone completely off the deep end. I'm looking at the source code and there must be 4 or 5 dozen modules, totally 5.1kb gzipped! And as far as I can tell all it does is copy el.value onto an object. What ever happened to c
287.
▲
by
Touche
7y ago
Is Apollo making money? If so, how? Did Meteor make money? If so, how?
288.
▲
by
Touche
7y ago
I didn't say either of those things.
289.
▲
by
Touche
7y ago
There are many types of "John"s out there. I worked for a John who was a highly accomplished engineer. It doesn't make it any better to have someone constantly micromanage you knowing that they are technical, it only makes it
290.
▲
by
Touche
7y ago
"resigned"
291.
▲
by
Touche
7y ago
> Neither Elm, nor any language in the Typed FP family, can do that. I didn't think so. So claims like: > In my experience, Elm code is only ever in a state of "horribly broken, won't compile" or "works".
292.
▲
by
Touche
7y ago
That's interesting. How does Elm statically know if the logic of your app is correct? Since I don't know Elm I'll use some pseudocode: if condition pourCoffee() else pourTea() Is Elm able to determine that t
293.
▲
by
Touche
7y ago
Right, and it's almost impossible to eat so much fruit that the fructose causes harm.
294.
▲
by
Touche
7y ago
Not all sugar is the same. Fruits are extremely healthy for you.
295.
▲
by
Touche
7y ago
Article seems suspicious. How were these measured 100 years ago? Same techniques as today? Can we verify the 100 year old data?
296.
▲
by
Touche
7y ago
All I'm saying is fasting doesn't work if you make up the calories during non fasting hours.
297.
▲
by
Touche
7y ago
If you have the willpower to ignore your body telling you its hungry, then yeah fasting will work for you. Most people can do this for only a little while though, and then revert to what they used to do.
298.
▲
by
Touche
7y ago
Change what you eat, not how often you eat. A yogurt and some fruit is fine for breakfast.
299.
▲
by
Touche
7y ago
I've found that to be true as well. One thing I do is I eat before dinner (especially when going out for dinner). If I'm really hungry I'll order the largest thing on the menu and overeat. If I have a banana before going out
300.
▲
by
Touche
7y ago
Dave was fired because every time his boss walked by his desk he was staring at his desktop.
More ›