Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
graftak
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
graftak
3y ago
The proposal for pattern matching syntax seems more akin to what they're looking for. https://github.com/tc39/proposal-pattern-matching
92.
▲
by
graftak
3y ago
Highest key number + 1
93.
▲
by
graftak
3y ago
Just took a quick glance at the source[0] and the generic type for an object schema is a record of other schemas too, similar to Zod. At least that irk won't be solved by this and for me at least it’t the biggest one because it makes t
94.
▲
by
graftak
3y ago
I don’t really like Zod at all, it has very finicky and verbose types/generic params and it’s object generic won’t allow you to pass a data type, but instead you must pass zods own schema types as properties which are very messy and un
95.
▲
by
graftak
3y ago
Typescript is a superset of Js/tsdocs so you’ll probably get a long way but at some point the types will be dumbed down.
96.
▲
by
graftak
3y ago
It’s also really nice to have annotations describing what a function or object does, consuming a library is considerately worse without them, as they often prevent the need for looking up documentation, and they can even link to the right d
97.
▲
by
graftak
3y ago
You can set the touchbar to display the regular keyboards function keys which are static and don’t animate.
98.
▲
by
graftak
3y ago
This would be solved by dividing it up on 2 distinct fields, a business name field and a title field. Then a business can put their SEO crap in the title field and google maps can decide how much of the info to display when. Of course moder
99.
▲
by
graftak
3y ago
Medication is often sealed with brand specific seals and sometimes comes with instructions what it should look like or otherwise be returned.
100.
▲
by
graftak
3y ago
Our local big online retailer proxies emails sent to customers by third party vendors on their market place. There’s absolutely no need to share your email address. In those mails there usually is an incentive in the form of a review/d
101.
▲
by
graftak
3y ago
If you’re a mac shop I recommend the LG ultrafine 4K. It’s the only 24" 4K display so you get 186 ppi. It has thunderbolt, display port and 85w power over usb c, with a few additional ports on the back. It also integrates with macOS br
102.
▲
by
graftak
3y ago
And it’s called a honeypot.
103.
▲
by
graftak
3y ago
I believe this is one of those don't attribute to malice what you can attribute to incompetence type deals. Many websites and apps (don’t) do this.
104.
▲
by
graftak
3y ago
Flat file means that there is no database but instead a bunch of text files are used to store data, usually 1 file per entry. Sometimes these files are being kept in memory by the server to offer very fast read access. This is used to keep
105.
▲
by
graftak
3y ago
I have the cheapest microwave offering from Ikea, it has 2 dials, no buttons. It is by far the best UI in my household.
106.
▲
by
graftak
3y ago
It’s prone to MITM attacks and it allows snooping for what pages are visited. Some US ISPs use(d) this vulnerability to inject ads into pages. On a public/shared network you might be vulnerable to automated attacks.
107.
▲
by
graftak
3y ago
Except that most of these appear to be served over http, sans s.
108.
▲
by
graftak
3y ago
Apple already does this except increasing the cost they don’t sell factory batteries at all.
109.
▲
by
graftak
3y ago
A common misconception about this legislation is that phones will require a tool-less lid with all of its drawbacks. It does not. It stipulates that a battery must be replaceable without proprietary tools, and without the use of glue or s
110.
▲
by
graftak
3y ago
The issues they face and will face with copyright is a big can of worms. They let users pay for prompts that fail because of errors on their side. And last but not least they require a phone number when signing up, for no apparent no reason
111.
▲
by
graftak
3y ago
OP takes issue with their being obtuse about it.
112.
▲
by
graftak
3y ago
Removable meaning without glue or similar adhesives, and without proprietary tools. Not removable in the when you drop your phone the lid jumps off kind of way.
113.
▲
by
graftak
3y ago
Why not, the tech isn’t all that impressive, just needs a lot of time and money, something that will never happen before google docs are cut off.
114.
▲
by
graftak
3y ago
> refactoring becomes almost trivial in most cases And when it does not become trivial, it is an indicator it would be borderline impossible without it. After a rather extensive refactor I once did the compiler gave me over 4.000 typescr
115.
▲
by
graftak
3y ago
It is when a bank phone app is being used as a second factor (or, when on your phone, it redirects to it). This has been used in the Netherlands for almost 2 decades[1] for online payments (iDeal) and card fraud is basically a non-issue. [1
116.
▲
by
graftak
3y ago
That’s like saying a pencil weighs 1000kg because the machine that makes them does.
117.
▲
by
graftak
3y ago
You can. And there’s a website too, that will soon be installable as a PWA.
118.
▲
by
graftak
3y ago
Apollo had a slew of widgets for a variety of use cases. In fact the Apollo dev was quick to jump on many of the new ios APIs and had many nifty little features that will never make it to the official app. Guess it’s all a moot point by now
119.
▲
by
graftak
3y ago
You forgot to mention that it runs on AA batteries instead of a built in batteries that allow you to simply charge the controller. Truly an outdated design that would force me to manage a fleet of rechargeable batteries, something I have ze
120.
▲
by
graftak
3y ago
With Apple Music you can add your privately owned music to the library too. It even outdates Apple Music with a now legacy service called iTunes Plus that allowed you to stream your private music collection with iTunes from ‘the cloud’ for
More ›