Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
munk-a
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
721.
▲
by
munk-a
2y ago
In the long term the market will absolutely adjust to more efficiently using that potential - but that's the long term. If America suddenly socialized health insurance millions of people[1] would be out of a job. The long term outloo
722.
▲
by
munk-a
2y ago
Bankrupting other countries' socialized healthcare programs is an unacceptable solution. Canada already has to contend with frequent medication shortages due to the stress American health tourism puts on the system.
723.
▲
by
munk-a
2y ago
Medicaid in particular is managed by states and the service, reimbursement and access varies wildly between different locales. There is an elephant in the room that rarely gets the attention it deserves is that 17.3% of the US GDP is contai
724.
▲
by
munk-a
2y ago
I have used CTEs with dynamic query stitching to solve this problem (specifically my business operates over two very similar but distinct domains which we keep in separate buckets). If you build the majority of your logic into a CTE that p
725.
▲
by
munk-a
2y ago
Ignoring luck is a requirement - conditions born from luck may be worth consideration but past luck is not a predictor of future luck. I'd clarify - trying to ignore someone's education because it's a result of their citizens
726.
▲
by
munk-a
2y ago
I think it's more charitable to interpret their statement as "for all metrics" rather than "run this experiment once and arbitrarily just chose a single metric". Their statement is a lot more actionable because as
727.
▲
by
munk-a
2y ago
One thing I'd like to highlight though is that there were mountains of terrible advice out there around PHP from novices who had figured out a way to make things work - around the time of PHP 5.3 the community ran an ambitious initiati
728.
▲
by
munk-a
2y ago
I'm not certain about OP's objection but for me it's less the function name and more the terrible history of how PHP tried to automatically fix SQL injection and instead made everything a thousand times worse. If you're
729.
▲
by
munk-a
2y ago
Or, alternatively, use `__call`
730.
▲
by
munk-a
2y ago
While these are certainly a better option automatically generated default getters and setters have been pretty do-able through magic methods for a while now - and with the more robust reflection we now have access to they can be implemented
731.
▲
by
munk-a
2y ago
And yet in this wonderful laboratory of a multitude of languages the growth of a language doesn't destroy as much as it offers a larger variety of choice - with good features being stolen by other languages and less good features remai
732.
▲
by
munk-a
2y ago
I've written some auto-getter and setter spawners and with reflection it's pretty do-able to implement proper type checking as long as the type you want to check for matches the type declared on the property. PHP meta-coding is a
733.
▲
by
munk-a
2y ago
I've always been a fan because if a property turns from a simple value to a more complex interaction that might involve DB operations or other side effects then if a getter is in place you can modify the logic without needing to update
734.
▲
by
munk-a
2y ago
> Letting users create full custom PostgreSQL tables can get complex - do you want to manage tens of thousands of weird custom tables in a PostgreSQL schema somewhere? Yea, I'd be fine with that - postgres has the concept of databas
735.
▲
by
munk-a
2y ago
As someone with ADHD I can't understate how disruptive advertising is to my workflow and peace of mind. When I first started using spotify in the free-tier those occasional ads would completely derail my focus - ditto, with youtube, m
736.
▲
by
munk-a
2y ago
Imagine how awesome and accessible those sites would be if they didn't feel the need to ask for massive tracking cookies. I'm in Spain at the moment and most of the government run service sites don't have this issue and the
737.
▲
by
munk-a
2y ago
For Chromium based browsers... why would the advertising based company make it any easier for users to opt out of advertising. The optimal resolution for Alphabet is users clicking "Accept All" and writing their member of the EU
738.
▲
by
munk-a
2y ago
Most of which don't even properly comply with the law... but I always delight in clicking one and getting to refuse needless tracking cookies.
739.
▲
by
munk-a
2y ago
Often times it isn't as that can be abused by bad actors that attempt to insulate themselves from liability by foisting it off on others. I think in a lot of cases markers of intent may be useful here - if you specifically request a c
740.
▲
by
munk-a
2y ago
> Put another way, LLMs make the easy stuff easier, but royally screws up the hard stuff. This is my experience with generation as well - but I still don't trust it for the easy stuff and thus the model ends up being a hindrance in
741.
▲
by
munk-a
2y ago
You are an excellent user of AI code generation - but your habit is absolutely not the norm and other developers will throw in paragraphs of AI slop mindlessly.
742.
▲
by
munk-a
2y ago
You'd be surprised how long it takes to enshittify a piece of tech as well established as Google. The MBAs may be trying but there are still a lot of dedicated folks deep in the org holding out.
743.
▲
by
munk-a
2y ago
PHP strings tend to have better syntax highlighting with here/now docs (i.e. starting with `<<<TOKEN`). I've found SublimeText to have excellent SQL detection when using these tokens to delineate queries (and the syntax
744.
▲
by
munk-a
2y ago
I think fighting in PRs over syntax preferences is pretty useless so dev shops should generally have code style guidelines to help keep things consistent. In my company we use all caps casing since we have momentum in that direction but I
745.
▲
by
munk-a
2y ago
Ditto - if I'm throwing out an inspection query just to get a sense of what kind of data is in a column I won't bother with proper readable syntax (i.e. a `select distinct status from widgets`). I only really care about code I&#x
746.
▲
by
munk-a
2y ago
Does this also hold for rogue planets? I was under the impression that some rogue planets could form outside of any star's accretion disk.
747.
▲
by
munk-a
2y ago
While postgres is indeed case sensitive usually writing queries with keywords in all caps is an effort to increase legibility for visual pattern matching. It absolutely isn't needed but if I'm debugging a query of yours I will se
748.
▲
by
munk-a
2y ago
> If you come from a language where braces define scopes [...] Rust's behavior may be surprising but it's consistent and correct. The object is immediately out of scope. As someone from a language background where braces define
749.
▲
by
munk-a
2y ago
Bernie, while being Vermont's Senator, has secured the democratic party primary every time he's run. He has pushed hard for policies that align with democratic voters and he's been extremely consistent. He's also fundr
750.
▲
by
munk-a
2y ago
I think that, effectively, the corpus of research papers and citation links is this knowledge database. It isn't structured the way I would structure it in postgres but it seems to be working quite well for the professionals in this f
More ›