Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ddek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
23 ms
·
181.
▲
by
ddek
6y ago
So, a member of my immediate family is senior management at Public Health England, the civil service institution that should have been planning for this. When the government announced they were shutting down PHE, in an attempt to copy the R
182.
▲
by
ddek
6y ago
Hmm. I don't agree with you. My degree is chemistry from a good-not-great institution. Since getting into SE, I've progressed to technical leadership very rapidly. I have dedicated myself to applying for jobs, but it's not th
183.
▲
by
ddek
6y ago
Never, ever, ever do this in production. This will block at least two threads, which will cause premature thread pool starvation at spike loads. This pattern, 'sync-over-async', is to be avoided at all costs, at all times. You&#
184.
▲
by
ddek
6y ago
I question a lot of advice like this, and agree with you. I’d generally far rather use NSubstitute than have to write fake classes, but I can see the utility in some cases. My honest response is this: Writing tests should be quick and painl
185.
▲
by
ddek
6y ago
Techempower says no, and it’s not even close.
186.
▲
by
ddek
6y ago
Here's Hejlsberg on why C# doesn't have checked exceptions: https://www.artima.com/intv/handcuffs.html .
187.
▲
by
ddek
6y ago
It does track spin, they often show stats measuring rpm. Additionally spin is a big part of the trajectory model - the Hawkeye cameras are only 60fps, so the trajectory is interpolated. However, I doubt it’s the cameras measuring spin. It’s
188.
▲
by
ddek
6y ago
On ‘in vitro’ and ‘in vivo’. Maybe we’d have more success communicating this difference if we didn’t expect the layperson to know jargon? Yes, it’s two words, but they’re pretty similar so confusion is inevitable.
189.
▲
by
ddek
6y ago
Yeah, I haven’t done any research but this feels like Masterclass themselves made or are responsible for this. The ‘how’s’ are only a small subset of their courses, less than an episode. The illustrations are high quality. The production va
190.
▲
by
ddek
6y ago
Agreed. It’s got to the point now where Windows is in a bubble - I have a 64 GB nvme that windows is installed on, and absolutely nothing else. The number of times I’ve had to reinstall Windows, it just makes sense to have it isolated so I
191.
▲
by
ddek
6y ago
Electron is a full instance of chromium. Running an electron app is essentially running a browser, which is a heavy application. All that heft translates to inefficiency.
192.
▲
by
ddek
6y ago
Avalonia is a cross platform port of XAML, that is ready for app development. I’m waiting for it to move to .Net 5 though. There’s also FuncUI, an elm-like layer over Avalonia written in F#.
193.
▲
by
ddek
6y ago
I’m not overly enthusiastic about most of his suggestions. I thin C# has, or is gaining, more appropriate alternatives for all of these. In C# we don’t like functions with more than a few arguments. If you have 10 fields in your class, a co
194.
▲
by
ddek
6y ago
No? If your call is implemented in the current class, the 'this' is implicit. If the call is implemented in a base class, and not overriden, the base class method is still available through the 'this' keyword. If you do
195.
▲
by
ddek
6y ago
It’s a rock bottom 2:1. I find this odd. Generally a 2:1 equals a GPA between 2.8 and 3.2, depending on how strong it is. The UK degree requirement is very soft in comparison to the others.
196.
▲
by
ddek
6y ago
Ahh, I didn’t know that. I just assumed that (smooth) REPL == interpreter. Thanks :)
197.
▲
by
ddek
6y ago
They’re quite different languages in almost every way. Rust is a low level systems language, where you care about memory. You may not be malloc’ing, but you’re borrowing. Conversely OCaml is an interpreted functional language. It has a much
198.
▲
by
ddek
6y ago
Eh, I disagree with a lot the fundamentals here. I don’t believe that windows devs who have avoided Linux so far are going to ‘try out’ WSL at all, let alone be converted. I work in a .Net house, and the only people who use WSL at all are t
199.
▲
by
ddek
6y ago
The obvious justification is that increased government spending is balanced by increased tax revenues, which hasn’t happened in this situation because no one is able to work or spend. I don’t see how the cost of furlough is an argument agai
200.
▲
by
ddek
6y ago
There is a change I’d make though - I’d memo-ise the click handler with useCallback. By using the function ‘overload’ on setState, which is guaranteed not to change, the callback will only be calculated (?) when the onclick handler changes.
201.
▲
by
ddek
6y ago
> It sounds cliche, but “scratch your own itch” Couldn’t agree more. What better way to learn development than actually experiencing the direct results of your actions. Not only do you practice app development, your UX design skills will
202.
▲
by
ddek
6y ago
Had the original typo been corrected, TS would have also caught your reply and told you to update it. This is the main value we get out of TS. If we rename a property on a viewmodel, we then update a TS file containing all the models. In th
203.
▲
by
ddek
6y ago
This is particularly prevalent where you have software teams working in a non software business. That’s an environment where you get execs pushing for ‘unity’, whatever that is, and every team must use jira (or Monday/notion etc). Even
204.
▲
by
ddek
6y ago
Burpees are actually super high impact. Done warm, let alone cold, they can cause patellar tendonopathy, back strains and hamstring strains. This paper says cycling - I’d be inclined to agree. Obviously that’s a barrier to entry, because yo
205.
▲
by
ddek
6y ago
I can call ‘setTimeout’ from the component? I honestly don’t see the issue with your example. I’d use an event handler to work out when something happened. This would set the timeout, and the handle would be stored as a ref. I’d have a use
206.
▲
by
ddek
6y ago
Could you explain why, in terms of the reasons for react I gave in my previous comments, any of your suggestions are better than react?
207.
▲
by
ddek
6y ago
In the context of a website , I completely agree with you. No blog needs react. Reddit is worse because of react. However, given websites aren’t the only use of react I strongly disagree with your overall sentiment. My organisation uses re
208.
▲
by
ddek
6y ago
Does the issue become individual corrections? On the one hand, Lightroom corrects my lens distortion and vignette from a saved profile of that lens; but I’d think at a smartphone level, where the parts are smaller, they’re also less even? I
209.
▲
by
ddek
7y ago
I agree here - given the pressures of an interview are much higher than on the job, enforcing a time limit should only prevent extremes rather than add yet more pressure. I think I’d be fine if someone gave me 3 hours to complete a typical
210.
▲
by
ddek
7y ago
Most people who play cricket are oblivious to the physics, but they know what’s going on at a high level. Cricketers know that shining the ball will cause swing, and they also know that (usually) the most swing occurs on mild, partly cloudy
More ›