Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petilon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
901.
▲
by
petilon
8y ago
When you have a highly interactive component you're going to need to make a lot of DOM calls to get the current state of the elements and so on. jQuery makes this easy. The benefits of jQuery over making raw DOM calls have been mention
902.
▲
by
petilon
8y ago
For filtering as you type?
903.
▲
by
petilon
8y ago
Did you miss the fact that this component is interactive? You can't do interactivity declaratively.
904.
▲
by
petilon
8y ago
PayPal tried to take money from my checking account because Consumer Reports "autorenewed" my subscription -- without my knowledge or explicit authorization. As soon as I saw this I reported this as an unauthorized transaction on
905.
▲
by
petilon
8y ago
Any Apple engineers reading this, please give users control over this. This is a privacy hole.
906.
▲
by
petilon
8y ago
Bothering to think about your data from the get-go doesn't mean you need actions and reducers. We don't have a new problem today that didn't exist 10 years ago. iOS apps don't need actions and reducers, so why do web app
907.
▲
by
petilon
8y ago
Did you start developing apps, like yesterday? Patterns such as MVC have been around for decades and used in many different platforms such as web and mobile and did not need anything like Redux or Flux. Are there new problems that cropped u
908.
▲
by
petilon
8y ago
From the page you linked: "Events emitted by a Web Component may not properly propagate through a React render tree." React components are brittle, that's not FUD. For example, CSS classes used by React components can clash w
909.
▲
by
petilon
8y ago
The benefits of React (such as its templating syntax) can be had with much simpler libraries, such as this one: https://github.com/wisercoder/uibuilder The much touted benefit of React, DOM diffing, is useful if you ha
910.
▲
by
petilon
8y ago
Far superior in what way?
911.
▲
by
petilon
8y ago
Pretty sure this will be the first change after the acquisition. Microsoft has to ease the path from checking in code to Github to building and deploying it on Azure.
912.
▲
by
petilon
8y ago
Keep in mind that the distinctive 3D look of Windows 95 UI was inspired by NeXT. If you like how controls look in Windows 95 then what you really like is NeXT.
913.
▲
What You Don’t Know About How Facebook Uses Your Data
(nytimes.com)
2 points
by
petilon
9y ago
|
0 comments
914.
▲
by
petilon
9y ago
It is actually very simple. Ask the user. If the user says he lives in Berlin, then apply EU laws to his data. If Facebook tries to "discern" the domicile and incorrectly discerns the domicile then that's Facebook's prob
915.
▲
by
petilon
9y ago
Would a LIDAR have correctly identified the barrier? Maybe Elon should rethink LIDARs. https://www.theverge.com/2018/2/7/16988628/elon-musk-lidar-s...
916.
▲
by
petilon
9y ago
It doesn't.
917.
▲
by
petilon
9y ago
>> which tracks every one of its users throughout their daily lives Actually you don't even have to be one of its users! Facebook has what they call "shadow profiles" for tracking people who haven't yet created F
918.
▲
by
petilon
9y ago
From the story: > They seemed to be entirely focused on limiting their liability and exposure rather than helping the country address a national security issue. This is a national security issue. That seems like the most pertinent issu
919.
▲
by
petilon
9y ago
You live in Los Angeles (according to Google). How will GDPR help you? Companies such as Google and Facebook aren't going to implement European laws for their American customers!
920.
▲
by
petilon
9y ago
Memory related bugs (buffer overruns etc.) are the reason for most security bugs. Rust avoids these entire class of bugs. Yes, bad programmers can write bad code in any language, but you'd have to be really bad to cause memory relate
921.
▲
by
petilon
9y ago
>> You can learn React in a day. You can't build an application using React alone. You also need to learn ReactRouter and Redux, which add lots of complexity. Not to mention, if you spent only one day learning React you're p
922.
▲
by
petilon
9y ago
You can build Web Components using JSX using this library: https://github.com/wisercoder/uibuilder (The lib is 200 lines, so it is almost the same as VanillaJS)
923.
▲
by
petilon
9y ago
The only way the US can maintain its high standard of living is through immigration of the best from other countries. The Chinese government is investing heavily in artificial intelligence. (See https://www.technologyreview.com&#
924.
▲
by
petilon
9y ago
Here's an example of a report sold by The Work Number: https://www.theworknumber.com/samples/The-Work-Number-Employ... Notice that one of the items they disclose about you is Workers' Comp. If you are injured
925.
▲
by
petilon
9y ago
This is bad news. People like Sergey Brin, co-founder of Google, Elon Musk, founder of Tesla and SpaceX, not to mention CEOs of Google, Microsoft and Adobe all came to the US as students. Without the immigration of the brightest on the plan
926.
▲
by
petilon
9y ago
>> lowering prices so much that those goods are then sold If you lower prices so much then you may have to sell at a loss, and this is the reason smart businesses won't increase supply unless they know demand exists. Demand has
927.
▲
by
petilon
9y ago
It's a hardened belief that jobs are a zero-sum game — and from this arises the idea that every skilled immigrant takes away a job from a U.S. worker. This isn't true. More skilled, educated workers will actually add to the econom
928.
▲
by
petilon
9y ago
Going back to the fast food example, if there is higher demand the restaurateur can get bank loans to hire more employees and produce more Big Macs. Entrepreneurs are always looking for demand and then fulfilling that demand in order to gen
929.
▲
by
petilon
9y ago
>> If you increase the supply of fast food you increase competition which lowers prices That presupposes that restaurateur was making fat profits. If he isn't, then increasing supply in the absence of higher demand will only re
930.
▲
by
petilon
9y ago
>> the size of an economy will closely follow the amount of aggregate supply I find this hard to understand. Consider your local McDonalds franchise. According to this theory, if the franchisee makes more Big Macs (i.e., increases s
More ›