Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Merad
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
29 ms
·
361.
▲
by
Merad
5y ago
Both are true. When the request input is blatantly the wrong type like this, you shouldn't even be attempting to execute the sql query. But of course JavaScript encourages developers to be lazy and not even think about such things.
362.
▲
by
Merad
5y ago
> I did not know about that aspect of nuclear plants and in my non-expert view it would be a major point against nuclear plants in the discussion how to solve climate change It's a reasonable criticism to make, but I think it tends
363.
▲
by
Merad
5y ago
They're easy to shut down, but when the reactor is first turned off the core is full of unstable isotopes that are byproducts of the fission reaction. Those isotopes continue decaying even with the reactor "off" until the bec
364.
▲
by
Merad
5y ago
The very short version is that by synchronously blocking on the async method your thread may end up holding a resource (thread context info or the calling thread itself) that the async method needs in order to run its continuations. Here a
365.
▲
by
Merad
5y ago
Note that it's recommend that you avoid using these because they carry a risk of deadlock. Unless something has changed recently .Net doesn't have a 100% safe way to synchronously call an async method from a non-async method.
366.
▲
by
Merad
5y ago
A lot of the changes are aimed at making it easier for people to get started with Asp.Net, and most of those aren't breaking changes. Traditionally Asp.Net has had a lot of boilerplate around project setup and configuration, and things
367.
▲
by
Merad
5y ago
The landscape has been changing rapidly since .Net Core (now just .Net) matured 3-4 years ago. As you say there are a LOT of big enterprise shops out there using .Net, but more and it's catching the attention of small companies and sta
368.
▲
by
Merad
5y ago
Volcanic eruptions are rated on a logarithmic scale from 1 to 8. It looks like there hasn't been a formal rating assigned to Tonga yet, but it's believed to be the largest of the 21st century so far, and there was already a VEI 5
369.
▲
by
Merad
5y ago
It probably depends on the company. Most gas pumps in the US only support swipe payments (as opposed to chip based EMV or contactless). The gas station gets charged lower credit card network fees if they submit address info with the swiped
370.
▲
by
Merad
5y ago
> So I reach out to the manager and ask what is going on. This is a simple task, I said. Why does it take an entire quarter for your team to deliver? He doesn't have an answer. Have you never worked on a team that had work planned o
371.
▲
by
Merad
5y ago
Pretty tame compared to some stories out there, but I recently worked for a company that had the most amazing process for importing customer data when customers migrated to our SaaS from a competitor. First the data dump provided by the cus
372.
▲
by
Merad
5y ago
Sounds like they should probably be using a SQLite database instead of trying to make a custom hand rolled solution using raw files.
373.
▲
by
Merad
5y ago
It's definitely feasible, you basically just end up with something very similar to a military bunker. The structure ends up being mostly underground and the entrance or above ground areas are mostly made of reinforced concrete with he
374.
▲
by
Merad
5y ago
12 years of experience with .Net here - it’s been a long time since I used log4net and I was never intimately familiar with it, but I’m not aware of any built-in or common .Net functionality that will make a web request and remotely load co
375.
▲
by
Merad
5y ago
Encoding that in the log message itself still seems a bit crazy. I’m not familiar with log4j, but the .Net logging libraries I do know (NLog and Serilog) completely separate writing log events from processing (writing, sending, whatever) t
376.
▲
by
Merad
5y ago
> I’m going to get skewered for saying this … but the story feels like it’s pandering to current social political trends - i.e. the obsession with diversity. How do you think HZD pandered to diversity? The main point that I have heard b
377.
▲
by
Merad
5y ago
> Well here's another issue with .net I ran into... really unclear guidance from numerous sources who all really wanted you to use THEIR stack and thus end up paying THEM. Meaning no offense, but it’s hard to see how you ended up so
378.
▲
by
Merad
5y ago
It's interesting to think about the possibilities... On one hand, wagon travel to the west didn't totally die off until the late 1890s, so the woman could easily be part of the greatest generation (WW2 generation) and the encounte
379.
▲
by
Merad
5y ago
> everyone is looking into trendy redux replacements now A lot of people are probably soured on redux forever (that's how these things tend to work) but they've done a really great job with their hooks based API and especially
380.
▲
by
Merad
5y ago
What are some of the libraries you're thinking of?
381.
▲
by
Merad
5y ago
> Only upgrade when absolutely necessary. Gotta disagree with this part. If you're making a web app package updates really need to be done on a regular cadence, ideally every quarter, but twice a year at minimum IMO. In the .Net w
382.
▲
by
Merad
5y ago
+1. I have a Brother HL-5250 that's 15 years old. I think I paid $250 for it, but it has to be one of the best pieces of technology I've ever bought. It's been a while since I looked at its internal counters but it probabl
383.
▲
by
Merad
5y ago
Alternative headline: Home Depot discovers a way to introduce power tools that can fail due to software bugs.
384.
▲
by
Merad
5y ago
Can you elaborate? The Postgres documentation leads me to believe this would work fine with the default (READ COMMITTED) isolation level. If multiple transactions attempt to modify the same row (incrementing the counter) they're forc
385.
▲
by
Merad
5y ago
I'm sure someone will correct me if I'm wrong, but isn't it simpler to manage this sort of functionality by putting a counter in a table and using a CTE to increment it along with the insert? Something like with u as (
386.
▲
by
Merad
5y ago
I don't know about use of the store in general, but if you use the MS store to buy a Windows license they automatically convert your account and link the license to that account. Source: built a new PC a few weeks ago and naively assum
387.
▲
by
Merad
5y ago
With respect either you left out some major details or you have a skewed perspective of what it means to be "doing ok." My position matches what you stated almost exactly (low 6 figures, single, childless, 17 year old Toyota) and
388.
▲
by
Merad
5y ago
It sounds like (based on this comment and several of your other replies) that you get joy out of running a business and using them to play games to minimize your taxes. That's great, you do you, but to me it all sounds exhausting. If
389.
▲
by
Merad
5y ago
The USAF is acutely aware of the risk, and there are already policies in place, according to articles I read a few years ago, limiting usage of the anti-ballistic missile defenses for this reason. For example if North Korea launches a miss
390.
▲
by
Merad
5y ago
What they mean is that, with a normal React SPA, the html content sent to the client will be little more than something like `<div id="react-app"></div>`. After the JavaScript loads, react hooks into this div and
More ›