Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bcheung
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
bcheung
7y ago
Not inside of useEffect.
152.
▲
by
bcheung
7y ago
Overall I think React hooks are an improvement. My codebase is usually shorter and there is a lot less typing involved. But hooks creates abstractions the developer needs to deal with that never existed before. Hooks are not functional bec
153.
▲
by
bcheung
7y ago
Not sure what you mean but Amazon is doing a lot of research into things like drone deliveries and robotic vehicles which can be powered from renewable energy. Fuel costs money. Ultimately delivery efficiency is better for business and for
154.
▲
by
bcheung
7y ago
Bummer, I've been curious about learning it.
155.
▲
by
bcheung
7y ago
I think it depends a lot on previous experience, what type of thing you are developing, and your tooling. I'm very comfortable and happy bouncing between C# in Unity, React and JS, and Haskell for more CS / intellectual curiositi
156.
▲
by
bcheung
7y ago
> what's left of F# Has it been abandoned? What did you mean by this?
157.
▲
by
bcheung
7y ago
I'm supportive of this. Children should not be held accountable for "the sins of their parents". My parents started charging me rent when I was 18 and told me I had to pay for college entirely by myself. I don't see w
158.
▲
by
bcheung
7y ago
I generally prefer FP style for most things as well, but sometimes FP can be taken too far. Trying to understand type signatures that are 3 lines long with nested class types/generics and getting your code to fit into some kind of mona
159.
▲
by
bcheung
7y ago
If it was feasible for companies to manufacture in the US they would. Effectively blocking China without a concomitant investment in US manufacturing is a lose/lose situation.
160.
▲
by
bcheung
7y ago
Tied to the engine is orthogonal to tied to the language. You can compile C, C++, and Rust to WebAssembly. But you still can't compile JS to WebAssembly. Given the large amount of code in JS and the number of JS developers, not being
161.
▲
by
bcheung
7y ago
C# is the largest language for sure but it was designed for multiple languages from the start. There are things you can do in CIL and other languages that you can't do in C# even. Functional languages and pattern matching can be expr
162.
▲
by
bcheung
7y ago
I'm a full time React developer but I would much rather see the CLR than WASM as a universal platform target. The CLR already supports a larger variety of programming languages from dynamically typed languages like Ruby and Python, to
163.
▲
by
bcheung
7y ago
That's largely the belief system that is behind Google, Facebook, YouTube, etc being banned in China.
164.
▲
by
bcheung
7y ago
Why does academia still tolerate the archaic scientific publishing world when there is the Internet? The fact that people are still so dependent on these useless hegemonies sickens me. It only takes a little bit of courage and everyone else
165.
▲
by
bcheung
7y ago
So what's the alternative to not using CDN's for those of us who don't have 100% of our customers in or near Germany?
166.
▲
by
bcheung
7y ago
Love how the probability distributions are presented. I wish those diagrams were in the material when I was first learning probability. Would have communicated the concepts so much faster and easier.
167.
▲
by
bcheung
7y ago
The website lets you pay $0 for tip so you can tip in cash. I haven't found a way to set the tip in the app. Unfortunately, the website is much less reliable than the app and frequently has issues.
168.
▲
by
bcheung
7y ago
What is this for and why would someone want to use it? There's basically nothing on the website but the API. No decent overview or tutorial or even why someone would want to use this project.
169.
▲
by
bcheung
7y ago
Amazon cardboard boxes have so many uses from Maker projects, to mulch, to shredding and sticking in the compost.
170.
▲
by
bcheung
7y ago
> Apple said the update does not require any user interaction and is deployed automatically. I think this scares me just as much. #singlePointOfFailure #rootKit
171.
▲
by
bcheung
7y ago
It also strengthens the ability of people to get along despite having opposing views and philosophies. When you insulate people and teach them to be offended at the slightest "micro" aggression, then people become intolerant and u
172.
▲
by
bcheung
7y ago
This makes sense to me. The question to me is should platforms like Twitter, Facebook, YouTube, etc be subject to common carrier laws / net neutrality laws? The Supreme Court has repeatedly ruled that hate speech is protected as free
173.
▲
by
bcheung
7y ago
Apple has a history of really bad design ideas in my opinion. Anyone remember the older Mac towers. Whose bright idea was it to stick razor sharp edges on the handles to pick up a 30 lbs box? Or requiring people to use a metal file on thei
174.
▲
by
bcheung
7y ago
5) High-contrast motion graphic ads right next to what you are trying to read.
175.
▲
by
bcheung
7y ago
Even if the OS supports it, many apps still write their own UI primitives and won't scale with the OS scaling, or when they do, it's not uniform so the text is either obnoxiously huge, or the UI affordances are way too small. Work
176.
▲
by
bcheung
7y ago
Which IoT devices does this affect? Is it just devices that run Linux and have an exposed SSH? Wondering if things like the Particle.io / Obniz / ESP8266 are affected.
177.
▲
by
bcheung
7y ago
Realistically I hope they work solidly through USB-C. I'm tired of piling up expensive high quality monitors I can't use because they keep changing the connections every 3 or so years. And they really need to have larger displays
178.
▲
by
bcheung
7y ago
Wow, those screenshots bring back memories. Used that same exact IDE to make games when I was a kid. It was an amazing time to be programming.
179.
▲
by
bcheung
7y ago
Is the motivating idea behind this that patients can demand the same price that insurance companies are getting and ultimately lessen the monopoly insurance companies have? Maybe even just get much cheaper insurance for true emergencies an
180.
▲
by
bcheung
7y ago
For me it's understanding how a CPU works at the lower levels. Seeing complex functionality arise from such simple things like transistors is quite amazing.
More ›