Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
csande17
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
59 ms
·
751.
▲
by
csande17
7y ago
Svelte has an option to output Web Components, so it might be a good option if you want to use them while still writing your code in a React-y "declarative UI" style.
752.
▲
by
csande17
7y ago
> Is there a better way to blockquote? Personally, I just stick the > in front even though HN doesn't apply special formatting to it. Most people are familiar with that convention, either from Markdown or from stuff like emails.
753.
▲
by
csande17
7y ago
It seems like a Hackintosh would actually be the better choice if you're worried about Apple moving to ARM, since you could run Windows or Linux on it without relying on Apple for driver support.
754.
▲
by
csande17
7y ago
I don't really like Gatsby's product, but I've got to admit that their business strategy makes a lot of sense. It's a pretty good three-step approach: 1. Convince the WordPress/enterprise crowd to switch over, both
755.
▲
by
csande17
7y ago
Google kinda sorta sometimes executes JavaScript on pages it crawls, but much less frequently and less reliably than regular HTML indexing.
756.
▲
by
csande17
7y ago
Doesn't the Swift Playgrounds app let you download, compile, and run Swift code?
757.
▲
by
csande17
7y ago
At least in the typical Desmos Test Mode use-case I've seen, the teacher never actually touches the device -- the student just holds up their phone with the confirmation screen when they hand in their test. Yes, the teacher could do a
758.
▲
by
csande17
7y ago
Yup, a student could easily write an app that fakes the Desmos Test Mode confirmation screen, just like how a student could write a TI-BASIC program that displays "MEMORY CLEARED" on the screen. What's old is new again...
759.
▲
by
csande17
7y ago
> People will pay 5$ for 50 cents of coffee beans and enough sugar to drown a fly a day, but they will never pay 5$ a month to access nearly the entirety of mankind's collective knowledge at their fingertips in milliseconds I pay a
760.
▲
by
csande17
7y ago
Right, yeah, it's linear algebra combined with a few non-linear functions. The point is that Salesforce didn't come up with an algorithm that generated English text by writing a grammar or thinking really hard about what sentences
761.
▲
by
csande17
7y ago
One use case I've seen is autocomplete -- people have used GPT-2 to build things like TabNine[1] and Write With Transformer[2]. [1]: https://tabnine.com/ [2]: https://transformer.huggingface.co/
762.
▲
by
csande17
7y ago
Salesforce has created a computer program where you put in a small prompt, like "Wikipedia page about badgers" or "News article starting with the line, 'Donald Trump was impeached today'", or "French trans
763.
▲
by
csande17
7y ago
I've never really gotten why AI types are so concerned about text-generation models. Like, sure, I can kind of see why you wouldn't want to make the Deepfakes program public; it currently takes a lot of time, effort, and expertise
764.
▲
by
csande17
7y ago
There's an even more compelling reason why Apple's waiting a while before announcing the tracking tags: crowdsourcing. At WWDC this year, Apple announced that all iOS devices would begin reporting nearby devices' locations ba
765.
▲
by
csande17
7y ago
I could totally see Apple only ever using this for the tracking tags (with a hastily-thrown-together the AirDrop feature so they have something to show off when the phone launches) and never letting anyone use it for anything else, regard
766.
▲
by
csande17
7y ago
I dunno, Apple's put some pretty single-purpose hardware into their devices in the past. Like the sensor array that's pretty much only useful for Face ID, and the Force Touch stuff. (And Macs used to have an IR receiver, which IIR
767.
▲
JavaScript Packages in Debian Stable
(packages.debian.org)
1 points
by
csande17
7y ago
|
0 comments
768.
▲
by
csande17
7y ago
> Their implementation is littered with uses of "unsafe" which means its almost impossible for the compiler to eliminate the bounds checks. Does `unsafe` actually impede optimization in this way? I thought it just disabled cert
769.
▲
by
csande17
7y ago
I'd imagine Python is so slow in this benchmark because it doesn't have any kind of optimizing compiler. All the other languages are either compiled ahead of time or just-in-time compiled into more efficient machine code. I wonder
770.
▲
by
csande17
7y ago
Yeah, React seems to have been designed under the assumption that DOM operations are the only thing front-end code can do that takes non-zero time. Like, here's the first line of their document describing how to use to improve performa
771.
▲
by
csande17
7y ago
> not all hooks break pureness Sure, if you define a function called useWhatever that doesn't actually call any hooks, that might be a pure function. But the restrictions described in https://reactjs.org/docs/ho
772.
▲
by
csande17
7y ago
I'd argue that hooks didn't really make anything better, they just replaced the pitfalls with different obtuse pitfalls and unergonomic solutions. Hooks have their share of weird issues; they explode if they're called in
773.
▲
by
csande17
7y ago
It's always bugged me that iOS creates specialized one-off APIs for accessing things like Health and the photo library, instead of a generic, extensible interface that third-party apps could use to create their own shared data stores.
774.
▲
by
csande17
7y ago
> Passwords, on average, have around 40 bits of entropy (or 0 if they're in any existing list, and some lists are 500M strong) If you choose a password by randomly selecting from a list of 500M passwords, surely it has log_2(500,000
775.
▲
by
csande17
7y ago
Settings, Phone, SMS, and maybe App Store are probably the only iOS system apps that actually deserve to be special.
776.
▲
by
csande17
7y ago
Apple does this in other areas, too. In 2017, for example, they encouraged/pressured video-streaming apps to integrate with their new "TV" app which, at the time, they claimed was just an aggregator for all your streaming ser
777.
▲
by
csande17
7y ago
Sure, they should have to use the Keychain APIs just like everyone else.
778.
▲
by
csande17
7y ago
They already have: https://developer.apple.com/documentation/usernotifications/...
779.
▲
by
csande17
7y ago
The solution to being bad at security isn't to establish quotas (that's a great way to make sure DevOps engineers get rebranded as Dev-Ops-Sec engineers, and not much else), but to get better at security . Imagine if any other fi
780.
▲
by
csande17
7y ago
If you already wrote the solution for your own personal use, it can only benefit you to open-source it so other people can contribute improvements. (But sure, it might benefit you even more to sell it or distribute it as adware or somethi
More ›