Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
aylmao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
44 ms
·
511.
▲
by
aylmao
6y ago
I'm always awe-struck thinking about the fact we know this. For example the ATP synthase motors in the Mitochondria— we have figured out ways to discover these sorts of things without seeing them, just by chemical analysis, computer mo
512.
▲
by
aylmao
6y ago
TBH this sounds like it should be a new transform, not in the default one. Speaking for myself, I rather this be an alternative so I can get the best perf on my React apps, but have the option to switch to this when experimenting with using
513.
▲
by
aylmao
6y ago
> 2. The JSX transform (part of the JSX spec. & what parser/compiler must represent the language as) Ah, ok I see where this misunderstanding stems from. See, this is not part of the spec. With JSX, there's a very popular t
514.
▲
by
aylmao
6y ago
JSX has always been SGML/XML-inspired, but not SGML/XML compliant, so nothing is changing there. And the thing is, even if it were, what a parser/compiler does to represent a language is its own completely independent thing.
515.
▲
by
aylmao
6y ago
What cut does Microsoft take on IAPs? I think this is the main issue at stake here— the fact that apple takes 30% from IAPs too, and that you can only use Apple's systems to receive IAP payments.
516.
▲
by
aylmao
6y ago
I think another good move here is to ban the use of cartoon characters to promote unhealthy food. It's outright targeting of the population group most vulnerable to this marketing. In Chile they implemented regulations on the packaging
517.
▲
by
aylmao
6y ago
> Also, banning sales to children doesn't solve the real culprit - parents buying the junk food for their own children. At least in America, watch any parent fill up their carts and pay attention to what they buy. I grew up in Mexic
518.
▲
by
aylmao
6y ago
> Mexico is known for disregarding laws on alcohol sales to minors..what exactly do they expect the outcome of this to be? I grew up in Mexico. You can definitely get booze before you're 18 if you're crafty and find the right s
519.
▲
by
aylmao
6y ago
The drinking and smoking age is 18. You can definitely get cigs and booze before your 18th birthday if you're crafty, but I've never seen a shop outwardly sell these and bribe cops, nor are cigs and booze trafficked by cartels— th
520.
▲
by
aylmao
6y ago
Yes, to some degree, but it's also not uncommon for kids to use their allowances to buy junk food at the store. I remember growing up (I'm from Mexico) chips often had promos where you could find collectibles with cartoon characte
521.
▲
by
aylmao
6y ago
Oaxaca and now Tabasco too. Oaxaca was first a couple of weeks ago and Tabasco just voted this in recently [1]. [1] https://www.milenio.com/estados/comida-chatarra-tabasco-proh...
522.
▲
by
aylmao
6y ago
+1 on these shortcomings, though I think it's also worth celebrating what they do right. Namely, I'm glad the system has the concept of "desktop" and "mobile" scales, and doesn't use the same size componen
523.
▲
by
aylmao
6y ago
> A lot of people will disagree with you on principle (they view internet access as a "right" rather than a privilege) Well, sure. But that's why the concept of "criminalizing" is key. Criminal behavior curtails
524.
▲
by
aylmao
6y ago
Probably the corpus it was trained on. I can only imagine whomever was collecting the data is in into that stuff, so they biased it a bit by collecting from accounts they know.
525.
▲
by
aylmao
6y ago
Most drugs are coming from South America, so Canada isn't really in the way. My guess is amongst other things, there's better conditions for growing them there. Apparently there is some drug trafficking through Canada [1] mostly c
526.
▲
by
aylmao
6y ago
I doubt this is for the profit in that industry itself. It's probably more to do with the negotiation power they can get if they control an important export to the USA, maybe partly using avocado distribution chains for drugs, and mayb
527.
▲
by
aylmao
6y ago
React is built to interop with "general" JavaScript, so in theory you can use it with other rendering frameworks. I used React and D3 all the time. Performance-wise, it IS better to stick to a single framework, so I see what you m
528.
▲
by
aylmao
6y ago
> For me, the most interesting aspect was that it's part of standards, requiring no dependency, so it means that I can use this app for decades without having to maintain it. I mean, you can also do that with React. Just don't
529.
▲
by
aylmao
6y ago
> Vue can be used without build tooling if you choose to use the Vue lib with the compiler included but we use the pre-compiled way for max performance and smaller Vue runtime (without compiler). +1. And likewise, you can use React witho
530.
▲
by
aylmao
6y ago
Note: if you're building your whole page on top of a library, a larger library isn't necessarily bad. If a library is larger because it does more, useful things, and this means you have to write less and/or smaller components
531.
▲
by
aylmao
6y ago
This is bad news for URMs. I am hispanic and was an international student— looking back there's many "extra" things that added to my feeling anxious before interviews. The imposter syndrome was real and I worried about wether
532.
▲
by
aylmao
6y ago
+1. Either this, or I have an offer in hand and so I don't have to care anymore. The role of anxiety in interviewing became very clear to me during a season when I failed all my interviews until I got my first (and a very good) offer.
533.
▲
by
aylmao
6y ago
Guess it's time to re-structure the economy away from "who can consume and produce most".
534.
▲
by
aylmao
6y ago
India can offer both the cheap labour and the large market. In the coming decades as the rest of India gets connected to the internet, it will become the biggest market since at its current population growth it'll surpass China's
535.
▲
by
aylmao
6y ago
There was definitley a lot of corruption in the USA before Trump. I do think it's also the case that under Trump things got more shameless, and so the administration "dares" to go further. This is worrisome, especially if you
536.
▲
Building Linus Torvalds' PC Build (video)
(youtube.com)
4 points
by
aylmao
6y ago
|
1 comments
537.
▲
by
aylmao
6y ago
I think funnily enough, one thing that made these old websites more interesting is how slow the web was back then. In a way it was "animation"— I'd look at images more closely as they "scanned" into the page and not
538.
▲
by
aylmao
6y ago
I remember reading somewhere that most (modal) dialogs are just lazy design. It's easier to have a dialog component and throw whatever notice or controls in there. It's a predictable and flexible canvas. Your password is incorrect
539.
▲
by
aylmao
6y ago
macOS 11 will support Intel and ARM.
540.
▲
by
aylmao
6y ago
Having different shapes is also great for recognizing items quickly. Sigh, here comes a trove of white-background icons to macOS. Relevant: https://medium.com/swlh/let-s-talk-about-white-app-icons-ce2...
More ›