Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paulirwin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
91.
▲
by
paulirwin
8y ago
Yes, C# does have goto. Ayende made a blog post [1] about some interesting uses of goto for performance reasons. Also likely for performance reasons, async/await state machines in .NET essentially use goto (br.s in CIL). VB.NET has GoT
92.
▲
by
paulirwin
8y ago
It's unclear from your comment if you were actually making this point or not, but climate change is certainly not primarily a "first-world" problem. The people that will be affected most by climate change are in developing co
93.
▲
by
paulirwin
8y ago
I'm pretty sure the "millions" of customers number is artificially inflated with people that just want those discounts. I bought some tools on Amazon for regular household use, and then recently I got prompted to create an Am
94.
▲
by
paulirwin
8y ago
Here are the release notes: https://gcc.gnu.org/gcc-8/changes.html#GCC8.2
95.
▲
by
paulirwin
8y ago
Until all packages published since this incident are reviewed thoroughly, you cannot be confident that you aren't affected if you did an npm install today at all. Other npm package authors likely had their credentials stolen, which cou
96.
▲
by
paulirwin
8y ago
Your assumption appears to be incorrect. If you set up 2FA in "auth-and-writes" mode, it does require a 2FA challenge to publish. Docs: https://docs.npmjs.com/getting-started/using-two-factor-auth...
97.
▲
by
paulirwin
8y ago
It won't spread further... for this specific package. There's nothing to prove that the virus isn't self-replicating and used a different pastebin/source or mechanism when affecting all packages of authors who've ha
98.
▲
by
paulirwin
8y ago
Just to be a little pedantic and to inform those that might not be familiar, LINQ only creates an expression tree when the type of the source object is IQueryable. If the type of the source object is IEnumerable only (such as an in-memory l
99.
▲
by
paulirwin
8y ago
Do you realize that by bringing attention to this, that you're causing people to go find that repo? You're in violation of copyright by making it available, regardless of how many people download/view it. But now, because you
100.
▲
by
paulirwin
8y ago
And, is this a pirated book?! I see nothing on the O'Reilly site or the host site that gives them the right to redistribute this freely, but please let me know if I'm wrong.
101.
▲
by
paulirwin
8y ago
FWIW, you mention databases, but even some database workloads can have better performance with HT turned off. I first learned this from a DBA at a former job when I was curious as to why they turned HT off. A member of the SQL Server team b
102.
▲
by
paulirwin
8y ago
Wait, what? A large ecosystem of libraries that are not included by default but are available for you to use is somehow a bad thing (as "bloat" implies)?
103.
▲
by
paulirwin
8y ago
I was also surprised by that comment. I just checked and React still has on the order of less than 30 methods/properties in its entire public API surface. Vue.js has quite a bit more. If the parent means by byte count, React + ReactDOM
104.
▲
by
paulirwin
8y ago
Also there's FreeRTOS: https://freertos.org/
105.
▲
by
paulirwin
8y ago
Microcontrollers are already there, at least in terms of processing power, and they open up all kinds of possible form factors. The Cortex M0-based Arduinos can be made extremely tiny (see the Adafruit Trinket M0) and run at 48MHz. RISC vs
106.
▲
by
paulirwin
8y ago
Don't forget exercise, which is great for your sleep hygiene.
107.
▲
by
paulirwin
8y ago
I've found the Microsoft Comfort Curve 3000 to be a good hybrid between a standard keyboard and a natural one. It has the curve that puts your wrists in the better posture, without the split so it's easy to get used to, and I like
108.
▲
by
paulirwin
8y ago
My younger brother died from ALL when he was 24, got it at 22. Although he was in his twenties, this was considered the "childhood" form of leukemia. Of course this is anecdotal, but because of my experience as the surviving eldes
109.
▲
by
paulirwin
8y ago
We have had pretty good (albeit not perfect) experience with Skype for Business over the last few years. We use it with Office 365 and the Cloud PBX, so we don't have any PBX/POTS or server hardware in our office, and we haven
110.
▲
by
paulirwin
8y ago
Out of curiosity, what is the rationale for not using the heap with medical devices? Resource constraints are one thing but that is not limited to medical nor is that entirely solved with preventing heap use. If it's for runtime safety
111.
▲
by
paulirwin
9y ago
To answer my own question, now that I'm not on my mobile: it looks like there was an Alpha version of Visual C++ 2.0, as well as a cross-compiler for the 68k Macintosh! [1] I was firmly in VB land at the time (as a ~10 year old) so thi
112.
▲
by
paulirwin
9y ago
So at the time, to compile software for Windows NT Alpha, was there an Alpha IDE and compiler available (something like VC++) such that developers were writing and debugging locally, or would developers usually cross-compile from an x86 mac
113.
▲
by
paulirwin
9y ago
From the article: "It’s important to note that some sites affected by this change may also contain Google ads. To us, your experience on the web is a higher priority than the money that these annoying ads may generate—even for us."
114.
▲
by
paulirwin
9y ago
Agreed, that was always weird. I suppose the point was to allow for data usage alert push notifications so you don't end up with a surprise large bill at the end of the billing cycle.
115.
▲
by
paulirwin
9y ago
It appears this is the study cited: https://www.nrel.gov/docs/legosti/fy98/24772.pdf
116.
▲
by
paulirwin
9y ago
The biodiesel.org site, which is run by the National Biodiesel Board (a biodiesel industry trade group), references [1] a 1998 study that shows biodiesel to have a 78 percent reduction in net CO2 emissions. So not carbon neutral, but signif
117.
▲
by
paulirwin
9y ago
It's also trivial in C# to overload the == operator. The following works in C# Interactive (the Visual Studio REPL). class A { public static bool operator ==(A a, int b) => true; public static bool operator !=(A a, int
118.
▲
by
paulirwin
9y ago
It makes sense that their "quick" solution is to give each customer their own cert/key, but I'm surprised that they didn't go with a reverse proxy approach from the beginning, where the wildcard key would be kept se
119.
▲
by
paulirwin
9y ago
Here's a use case for nullable booleans in the database, at least. Arguably this could be solved with different data modeling, but suppose you have an "Application" model/table that represents an employment or credit app
120.
▲
by
paulirwin
9y ago
Yep. I always installed the documentation CD and loved having fast access to API docs. But arguably Google is still faster.
More ›