Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petilon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
931.
▲
by
petilon
9y ago
I agree JSX is the best part of React. The second best part is dom diffing and incremental screen update. Obviously this second part is only useful if your application needs to update screens it previously rendered. In fact I'd argue t
932.
▲
by
petilon
9y ago
I have seen multiple doctors, including sleep specialists, about my insomnia, and all they wanted to do is put me on prescription sleep meds for life. Those meds are addictive. I didn't want sleep meds. As a software engineer I was mor
933.
▲
by
petilon
9y ago
Swagger is a de facto standard for automatically generating JSON descriptions of REST API and for generating UI for invoking/experimenting with REST APIs. Swagger codegen is good but not terrific. Alternatives would be welcome. I recom
934.
▲
by
petilon
9y ago
Can't you already do this using Swagger Codegen? I use swashbuckle to automatically generate swagger https://www.nuget.org/packages/Swashbuckle/ Then paste swagger definition into the online editor to generat
935.
▲
by
petilon
9y ago
Actually you run into the one of Excel's biggest problems when you do this, namely "Multiple versions of the truth". Here's how that happens: The central database often contains bad data. Users "fix" the bad da
936.
▲
by
petilon
9y ago
And now Luxottica is buying the largest maker of ophthalmic lenses: Essilor. https://www.bloomberg.com/news/articles/2017-01-15/luxottica...
937.
▲
by
petilon
9y ago
Your Angular example appears to be an incomplete example, the jQuery one is more complete, so is this a valid comparison? When using jQuery you can still embed logic inside templates using something like https://github.com/w
938.
▲
by
petilon
9y ago
No, I don't know anything about such a filter, and did not give them any PII.
939.
▲
by
petilon
9y ago
I have T-Mobile prepaid and they have all my info except my first/last name. They must have collected this info when I used my credit card for refilling.
940.
▲
by
petilon
9y ago
The reason glasses cost so much is because one company owns: (1) nearly all brand name frames including Ray-Ban, Oakley, Prada eyewear, Armani eyewear and so on, (2) nearly all retail stores such as LensCrafters, Pearle Vision, Sears Optic
941.
▲
by
petilon
9y ago
This magnesium spray works for me and has high ratings on Amazon, see: https://www.amazon.com/gp/product/B010V8TPU6/ref=oh_aui_sear...
942.
▲
by
petilon
9y ago
Using the information leaked from Equifax, hackers can lift your freeze. All they need to know is your address, SSN and Date of Birth. See: https://www.experian.com/ncaconline/freezepin
943.
▲
by
petilon
9y ago
>> All of the conversations I overhear are from my team members, and are thus relevant to me. That's a problem for me. When I know conversations are not relevant I can tune out. When I know the conversations may be relevant I c
944.
▲
by
petilon
9y ago
Flat UI makes interfaces harder to figure out. Many examples here: http://uxcritique.tumblr.com/
945.
▲
by
petilon
9y ago
Save $1500 per month, invest in index funds, such as QQQ. If you are lucky and your investments grow 15% every year then in 15 years you will be a millionaire. More realistically, if you assume 9% growth then in 20 years you will be a milli
946.
▲
by
petilon
9y ago
I use Alexa to turn lights on and off (Philips Hue lights) using verbal commands. Works really well, actually.
947.
▲
by
petilon
9y ago
I highly recommend Samsung ATIV Book 9. In my opinion they are better than macbooks. https://www.amazon.com/dp/B06X19MJZZ/ref=psdc_13896615011_t3...
948.
▲
by
petilon
9y ago
It was Steve Ballmer and Steven Sinofsky that killed Windows Phone. They killed it first by being late: Android released September 2008, Windows Phone was released November 2010. Two years behind Android!! They killed it also by being not s
949.
▲
by
petilon
9y ago
Jenn failed my test. Me: what are some good tourist destinations? Jenn: I am not sure I understand your question. Me: where can I fly to cheaply? Jenn: I am not positive that I understand what you are asking. Me: do you have any package dea
950.
▲
by
petilon
9y ago
The documentation for view.js seems to highlight a custom syntax that cannot be verified at compile-time: https://vuejs.org/v2/guide/#Conditionals-and-Loops If you are interested in HTML, JavaScript and Styles in
951.
▲
by
petilon
9y ago
Vue.js is a step backwards, relative to React, in my opinion. What I love about React is JSX (or TSX if using TypeScript). JSX is a combination of JavaScript and HTML syntaxes. You don't need to learn a new syntax in order to incorpora
952.
▲
by
petilon
9y ago
You can have a centralized store in MVC. Here's a simple MVC framework (less than 500 lines) that works with React: https://github.com/rajeev-k/mvc-router In this framework the Application object holds the centra
953.
▲
by
petilon
9y ago
The reason healthcare costs so much in the US is insurance. When insurance pays for everything patients don't care how much the medical providers are charging, and patients don't care if medical providers are providing unnecessary
954.
▲
by
petilon
9y ago
For home and personal devices, Apple's approach is fine. But for business and education, central management is essential.
955.
▲
by
petilon
10y ago
When you are bumped on an overbooked airline, here's what you should know: Airlines start offering compensation and travel that is less than what is required under the FAA rule hoping that people who haven't been properly informed
956.
▲
by
petilon
10y ago
If it was just that the flight attendants fucked up by calling in the cops in a situation that didn't really call for it that would be one thing. But it was more than that. The CEO made the situation worse by not apologizing and instea
957.
▲
by
petilon
10y ago
The problem when you use Web Components in JSX is that there is no way to wire up any custom events fired by the Web Component. JSX will only wire up "known events".
958.
▲
by
petilon
10y ago
Not true. I have the 13.3" which I bought from Best Buy and it is retina. http://www.bestbuy.com/site/samsung-notebook-9-spin-13-3-tou...
959.
▲
by
petilon
10y ago
In terms of industrial design, Samsung's ultrabooks are excellent, in my opinion: http://www.samsung.com/us/computing/windows-laptops/12-14/no...
960.
▲
by
petilon
10y ago
For people who do not already have heart disease, statins have no apparent benefit. For people who have had a heart attack, statins are indeed useful. Not because of its cholesterol lowering effect, but due to its ability to dial back infla
More ›