Better HN
topnewbestaskshowjobs
Log inSign up

cdata

1,505 karma · joined May 18, 2011 (15y ago) · 247 submissions

https://bsky.app/profile/cdata.earth

https://mastodon.social/@cdata

Submissions

comment 6y ago · link · parent

If you don't like the web, nobody is forcing you to use it.

But, your decision not to use it shouldn't come at the cost of someone else's freedom to distribute legitimate software or creative works to those users who seek it out.

Speaking for myself, most of the "apps" I use on my phone and desktop on a daily basis are PWAs, and they are generally indistinguishable from the native apps I use in terms of quality.

comment 6y ago · link · parent

The App Store was always a walled garden with notably tall walls. The power Apple has over who gets into the App Store has been described as the primary virtue and attraction of iOS devices for years. Users love that it is a curated collection with a very high bar for quality, and many are willing to accept the trade-off that not all apps (even technically legitimate ones) will be published there.

This is why the web is so important. More to the topic at hand: this is why Apple purposely, broadly second-classing the web on iOS is so important, and needs to stop.

On Android, a directory-style app would be trivial to distribute on the web as an installable PWA that eventually becomes indistinguishable from a native app from the user's perspective. It's 2020; this is a sub-basement level of capability that all platforms should include by now. Let's stop pretending that ceding all the publishing power to one company is a trade-off that makes sense in the long-run (this goes for Apple, Google, Microsoft, Amazon and all the rest).

comment 6y ago · link · parent

This doesn't address the full scope of your point, but it is worth mentioning that Chromium/Blink engineers contribute to and rely on https://web-platform-tests.org/ in order to ensure some level of conformance and interoperability.

comment 6y ago · link · parent

> the 3rd big gotcha of web components. Attributes are strings. You have to serialize and deserialize from strings. Sure you can listen to when they change via attributeChangedCallback and get immutability for free because of serialization, but that comes at a perf cost. for deeply nested objects, you have to serialize and deserialize from json.

In practice, most libraries built around web components only use attributes when serializing / deserializing HTML strings. When performing updates to existing DOM, it is very common for a library to use a corresponding property instead. This is very fast, supports all types of values, and many libraries enable users to think in terms of attributes while the library updates properties under the hood (conceptually similar to the React mental model).

125.

Enterprise PBR Sample Renderer(dassaultsystemes-technology.github.io ↗)

1 points · by cdata · 6y ago · discuss

comment 6y ago · link · parent

TL;DR take a huge life risk; just don't forget to be both exceptional and successful!

99% of startups fail (a turn of phrase, not a real statistic AFAIK), and that is usually said in reference to those that do take VC money. Tell me: what happens when my bootstrapped startup fails?

comment 6y ago · link · parent

It has been harder and harder every year, and frankly I'm really disheartened and demoralized these days. Articles like this one don't really surprise me anymore. It's not my department, but I feel complicit none-the-less.

But when I look out at the tech industry landscape, it is clear that I can do more good from within, because I have more freedom and influence on the work, and I believe that the work is net positive for the technology ecosystem.

Businesses large and small seem to have their heads on backwards here in Silicon Valley. Their founders are all highly profit-motivated, and don't truly seek to make the world a better place. Those that wear a facade of idealism give me no reason to believe they are any better than Google. If I left Google, where would I go where I can work without shame? I even have a hard time imagining starting my own business without falling prey to the same broken mechanics that brought us to where we are today.

At least at Google, I can say with confidence that there is ongoing work by people I trust - who in turn are given a lot of autonomy by the company - to make the world a better place with technology.

comment 6y ago · link · parent

I like that Deno prefers URLs as module specifiers. Need immutable/content-addressed dependency graphs? Publish and consume modules via IPFS.

comment 6y ago · link · parent

This reminds me of the (indie game dev oriented) I Need A Team: https://www.reddit.com/r/INAT/

In the last few months it seems like there have been a number of these targeted forums that might otherwise have been sub-sections of a larger site like Reddit. I can't escape the feeling that these could potentially turn into a sort of honey pot that will land my email address in the hands of a recruiting business or other advertiser. There is a lot of value to be derived from collecting an audience of skilled workers in a single discussion venue with ambiguous privacy rules.

I guess the barrier to leaving a known quantity like Reddit and signing up for a mom-and-pop forum like this feels a lot higher than it used to. I need to know more about who is running it, what their goals and roadmap are, and have some data to help me reason about the trade-offs of moving discussions there.

comment 6y ago · link · parent

A more accurate remix of this analogy (for the TypeScript case) is that it is like building a wall around the part of the pool that you actually swim in, and allowing that folks can pee all they want as long as it is outside of the boundary you built.

comment 6y ago · link · parent

In this thread there seems to be no end of comments seeking to tear down the project under consideration.

In my opinion, this project is a good initiative and more folks should take a page from this project's book. Even if you think such a project is critically flawed, an effort to thread a needle and help the community deserves praise and constructive feedback. In this particular case, the author(s?) is apparently taking the time to study a broad selection of UI frameworks and synthesize what they are learning into something everyone can benefit from. That's awesome, and I hope they keep up the good work

comment 6y ago · link · parent

Chrome team members are face-palming with the best of us whenever a Google product does backwards things like filtering based on user agent string.

Google isn't a singularity ️

comment 6y ago · link · parent

(NOTE: I am not a medical practitioner, I'm just parroting what I was told in a video)

The Medcram video shared elsewhere in this thread (https://www.youtube.com/watch?v=U7F1cnWup9M) does mention that hydrochloroquine is a relative of chloroquine and is also being administered in some places when chloroquine is not available (at a different dosage). They take pains to point out that they should not be administered at the same time as that can lead to a fatal complication, and also that chloroquine as a treatment overall has not been subjected to a rigorous medical study.

comment 6y ago · link · parent

The stock market is not the economy.

comment 7y ago · link · parent

I usually donate to Wikimedia every year, and I was a donator for WikiTribune and followed it closely as it rolled out. I personally think that Wikipedia is one of the most valuable resources on the internet.

Watching WikiTribune flounder in its early days left me feeling disillusioned. It quickly began to seem like a project lacking clear product vision (or else a team that could execute on such a vision). I eventually gave up waiting for the service to become useful as a daily news source and wrote it off.

Glancing at WikiTribune now, it seems like wt.social is a pivot for the service (https://www.wikitribune.com/wt/news/article/101868/). I hope it turns out well, because I strongly believe that the service Jimmy Wales initially described as WikiTribune is a good idea and something the internet needs. But, I think I'll wait on the sidelines this time around before getting too invested in the idea.

comment 7y ago · link · parent

Speaking as an employee at Google (but not for Google; opinions are all my own), I will offer you this anecdote:

I have met a lot of people in my career who are motivated to do work for the public good in order for the whole world to benefit (e.g., standards, open source, public speaking/education etc.) and not just one company. I met the vast majority of those people after I joined Google, and many of the others had previously worked at Google.

As a lowly engineer, it is difficult for me to speculate about the true motivations of upper management. But, I do feel confident saying that I work alongside a lot of people who are not motivated by evil or "embrace, extend, extinguish" mentality. My colleagues have good intentions, and they act on them.

That said, Google is a big place. It's so big that usually I only hear about user-hostile things like this from the news. I personally find it demotivating and sad, because it undermines the good work that I know is being done elsewhere in the company. It seems like the latest in a long string of incidents, and it probably won't be the last.

So, take that for what you will. But, please also consider that it may not be as binary good/evil as you make it sound.

comment 7y ago · link · parent

The build quality feels great, and it doesn't feel like it is going to fall apart on me (granted, it is brand new). It feels quite solid, it doesn't easily bend or creak, and I feel like I can throw it into a backpack safely enough. Also, the keyboard feels really great, although anything that isn't a modern MBP keyboard feels really great to me these days.

That said, it doesn't feel quite like a single, solid piece the way my 2017 MBP does. I'm not sure why that is, especially since several of the keys on my MBP are actually falling off of it right now.

I would say that it feels comparable to a Lenovo laptop, but I haven't owned one of those for almost a decade.

comment 7y ago · link · parent

Similar story to OP. The MBP I acquired in 2017 has been undergoing rapid disintegration while the 2013 model it replaced is still working just fine.

After stressing over the problem that nothing seemed comparable spec-wise, System 76 released their Adder WS and after reading some testimonials from users online I made the leap back to Linux.

So far, I am very pleased with the choice. Here is what I love about it:

- Amazing 4K OLED display configured with pixel scaling a la Retina out of the box

- Suspend / resume "just works" every time (very different from my past Linux user experiences years ago)

- Connecting an external display "just works" like my MBP

- Pop OS is a well-designed, pretty Ubuntu variant that doesn't get in the way

- I'm really productive on it (I haven't wasted any time trying to get things to work)

- Very high-end hardware all around

Things I don't love about it:

- Battery life is atrocious

- The keyboard has a numpad so home row is offset to the left

- It is rather big (though not gigantic)

- It is rather ugly (though not hideous)

- Huge power brick with a short cable

I can't speak for long-term durability. I guess I will get back to you in a few years.

comment 7y ago · link · parent

Thanks, I definitely looked through your landing page more than once trying to find something like that.

comment 7y ago · link · parent

I mean for this comment to be constructive, but it is steeped in my personal opinions about the web and the rise of social networks within it, so I would like to emphasize that any apparent animus is not directed at your product, which seems nice and good intentioned. That said:

I personally wish that any forum for discussions about the web and related professional and/or creative work would be (wait for it) open and readable by the entire web. To me, the advent of walled-garden / login-gated content silos was a milestone in a long, degenerative process for the web overall. This forum seems to follow in that mold, preventing me from viewing any of the related content without first creating an account, signing some TOS or EULA and logging in. To be honest, this whole arrangement reminds me of ExpertsExchange, which some might recall from the days before StackOverflow was a thing.

I completely agree with the premise of this product, but I will always caution my colleagues to avoid closed forums like this.

[Edit] At the time of writing, there was no obvious way to view content in the site without logging in. OP has since shared a link below showing how to browse the content without logging in.

comment 7y ago · link · parent

Self-confidence (or lack of it) is at least partially (some might say majorly) an artifact of upbringing and socialization.

Women are more empowered to choose their own partners today than at other times in history, for sure. For much of human history, the privilege to choose one's partner was reserved for men (at times exclusively). You can certainly remark that today things are relatively worse for men (for some narrow definition of worse), but hopefully we can agree that it would be best if everyone enjoyed an equal opportunity to choose their partner regardless of gender.

142.

MediaPipe: Cross-platform framework for multimodal applied ML pipelines(github.com ↗)

2 points · by cdata · 7y ago · discuss

comment 7y ago · link · parent

jQuery was originally designed and built in a bygone era (on the web / front-end timescale), includes many features that have landed and/or normalized on the web platform and also does not leverage the modern JavaScript module system.

Let's call it "retro"? :)

comment 7y ago · link · parent

Mentioning here because I found this confusing: these self-titled "web components" don't seem to actually use the body of browser features usually referred to as Web Components (e.g., Custom Elements, Shadow DOM).

comment 7y ago · link · parent

A known good entry point could be delivered over a content-addressed medium like IPFS, and if you layer on SXG the consumer might still be able to validate the origin of the entry point.

https://docs.ipfs.io/guides/concepts/

https://github.com/ipfs/in-web-browsers/issues/121

comment 7y ago · link · parent

Just wanted to jump on the bandwagon and say that you saved us from buying an entirely new grinder about a year ago. Thanks so much!

comment 7y ago · link · parent

I'm no expert, but in this case there are a few strategic definitions that help a lot to both conserve space and obfuscate:

  #define r return
  #define l(a, b, c, d) for (i y = a; y < b; y++) for (int x = c; x < d; x++)
  typedef int i;

comment 8y ago · link · parent

It seemed to me that the OP was making a distinctly different suggestion: the real challenge is offering a better UX.

Emerging distributed tech won't fix a UX problem just because it happens to be technologically sophisticated (he calls out TOR, but I think he is making a general comment here).

Instead, he asks, why not spend some effort giving older tech like RSS a better UX?

I'm inclined to agree, but on the other hand it seems like the marketplace of ideas speaks for itself and we should be keeping our eyes on the future.

comment 8y ago · link · parent

This list looks great. I watched the Wes Bos intro video, and it was a nice high-level overview. Thanks for putting this together.

Speaking as someone already familiar with Redux, React Context seems to be conceptually similar to how I already use Redux in practice (+/- expressing the store and connections as components). Can anyone with better familiarity enumerate the important differences this new API comes with?

1
456
9