HNHacker News
TopNewBestAskShowJobs

bryik

345 karma · joined January 25, 2016

I'm a Data Engineer (...really Full Stack) working at Corteva Agriscience in Boulder, Colorado.

website: https://pyrik.dev/

submissionscomments
bryik··on What's New in React 18?
> There is nothing functional about React.

There is literally an example React component in that article that the author calls "pure and referentially transparent". How can this be if there is "nothing functional about React"?

bryik··on Canistilluse.com
> We’re on a long, slow path to deprecate and remove window.alert/confirm/prompt and beforeunload handlers due to their role in user-hostile event loop pausing, as well as phishing and other abuse mechanisms. We’ve been successfully chipping away at them in various cases, e.g. background tabs, subframes with no user interaction, and now cross-origin subframes. Each step is hard-fought progress toward the eventual goal, and we should consider carefully whether we want to regress, even in an opt-in manner.

https://groups.google.com/a/chromium.org/g/blink-dev/c/hTOXi...

bryik··on Launch HN: Evidence (YC S21) – Web framework for data analysts
It's great how naturally the charts and data are integrated into Evidence reports. I spent today trying to accomplish a similar style in a Metabase dashboard and was largely unsuccessful due to the limited text controls and layout options.

SQLite support would be nice!

bryik··on Project includes a dependancy that has a license that forbids its use
Not really. The JSLint license is funny because objecting to the "The Software shall be used for Good, not Evil." requirement looks like an admission of malintent. Doubly funny that it compelled IBM to ask for explicit permission to use JSLint for evil.

Your project, on the other hand, just looks like it was designed to waste people's time. Congrats I guess?

bryik··on Artists, shrug off that imposter syndrome – the tech world needs you
> UI design isn't really art

Who are you to say what is and is not art?

bryik··on Here's How Ford got F-150 Lightning EV pricing so close to the gasoline truck
Tesla's standard range Model 3 warranty is not just "similar", it is equivalent to Ford's:

"8 years or 100,000 miles, whichever comes first, with minimum 70% retention of Battery capacity over the warranty period."

https://www.tesla.com/support/vehicle-warranty

bryik··on Reviews of Android TV launcher after Google added ads to the homescreen
Previously, I bought Pixel devices with confidence in Google's stewardship and taste. Now that Google has injected ads into a $200 device I bought a year ago, I can only assume that all Google products will eventually have ads. Why would I ever buy another pixel phone? $699+ for a phone that will some day have ads on its home screen? No thanks.
bryik··on History of Programming Languages
Oh cool! "JavaScript: The first 20 years" looks like pretty deep internet lore; perhaps I'll finally find out what happened to ES4.

https://dl.acm.org/doi/pdf/10.1145/3386327

bryik··on How Basecamp Blew Up
"hacker" isn't gendered.

> 1. A person who enjoys exploring the details of programmable systems and how to stretch their capabilities, as opposed to most users, who prefer to learn only the minimum necessary.

http://www.catb.org/jargon/html/H/hacker.html

bryik··on Has UML died without anyone noticing?
The UML specification is 796 pages[0]. It is amazing how humanity can take simple concepts like flow charts and inflate them into insane, hyper detailed legalistic rule books that almost no one understands or uses.

0 - https://www.omg.org/spec/UML/2.5.1/PDF

bryik··on All my career rejections
"Why are manhole covers round" is an infamous Microsoft interview question.

https://wiki.c2.com/?MicrosoftsManholeCoverQuestion

bryik··on Zapier reached a $5B valuation with $1.3M of funding
> ...with these internet companies, they usually do not turn a profit or if they do, their PE ratios usually lingers in from ~100 to 1000

What "internet" company has a P/E ratio above 100?

  Facebook: 25
  Apple: 31
  Netflix: 81
  Google: 36
Netflix is close, I guess.
bryik··on Don't use functions as callbacks unless they're designed for it
> Before you scream that this is stupid, please mind that this is actually used out there

That is stupid though. It's like saying changing a private field in Java is a breaking change because someone might have used reflection to access it.

Taken to the moronic extreme: any detectable change is a breaking change because someone could write a function that pulls your latest release and depends on every bit being identical with the previous release.

bryik··on Don't use functions as callbacks unless they're designed for it
FWIW, Wikipedia's defines "callback" as "any executable code that is passed as an argument to other code; that other code is expected to call back (execute) the argument at a given time" and synchronous callbacks are mentioned explicitly [0]. I don't think Jake's usage of the word is atypical.

0 - https://en.wikipedia.org/wiki/Callback_(computer_programming...

bryik··on Why software ends up complex
This is a good point. I once worked on a system that checked projects met various legal standards and rules before allowing changes to be saved. This system was complex because the rules were complex, the only way to make it simpler would have been to convince the government to make the rules simpler.
bryik··on Ask HN: Can the ARM Macs/PCs end the web as we know it?
So the choice would be: build an Android app and an iOS app, or build a web app? Eh, I'd rather build a web app.
bryik··on Java Turns 25 – Whats Next? [pdf]
Uber: https://eng.uber.com/uber-tech-stack-part-two/
bryik··on A Critique of React Hooks
> With class components, my state/props are clearly defined within the constructor and/or PropTypes.

What do you mean? PropTypes work just as well with functional components as they do with class components.

bryik··on Prettier 2.0 – Opinionated JavaScript formatter
Well, there is

  //prettier-ignore
https://prettier.io/docs/en/ignore.html#javascript
bryik··on For tech-weary Midwest farmers, 40-year-old tractors now a hot commodity
u-blox's ZED-F9P chip is capable of 10 mm (0.39 inch) accuracy [0]. AFAIK, high accuracy requires being relatively close to a terrestrial correction station. Some states, such as Iowa, run a network of these stations and provide free access to the public [1].

0 - https://www.sparkfun.com/products/15136

1 - https://iowadot.gov/rtn/IaRTN-resources/About-the-IaRTN

bryik··on For tech-weary Midwest farmers, 40-year-old tractors now a hot commodity
Trimble GPS receivers go for around $10k (USD) [0], so I'm not surprised farmers try to build their own devices. Here's one who built an RTK GPS system out of a Raspberry Pi (and various other parts) for £250: https://www.youtube.com/watch?v=Kwxpo04AC5Q

0 - https://trimble-exchange.com/store/item/used-trimble-r10-gns...

bryik··on Gatsby raises $15M Series A for its modern web development platform
> I have set up the same blog maybe 3 times and I always stop posting because I need to be in my coding environment to do so

I had a similar problem and solved it with Forestry[0] and Netlify. Forestry has a nice web interface for writing posts; saving causes the changes to be committed to a GitHub repo. Netlify[1] watches the repo and rebuilds/redeploys the blog.

It sounds a bit complicated, but I've run this setup for 9 months now without any serious issues. To write and publish a new post, all I need to do is: login to Forestry, write the damn thing, and hit "save". The cost is $0.

0 - https://forestry.io/ 1 - https://www.netlify.com/

bryik··on Ask HN: Configuration Management for Personal Computer?
Darch[0]?

>Think Dockerfiles, but for bootable, immutable, stateless, graphical (or not) environments for your everyday usage.

[0] - https://godarch.com/

bryik··on Tell HN: Pluralsight and the dark-pattern of auto-renewals
It's not about the monthly fee, it's about the fee to cancel the subscription. Automatically transitioning someone from a free trial to a yearly membership with a penalty for early termination is insane.

I mean, why stop at 1 year? Why not move free trial users to a 100 year contract with a $10,000 early termination fee? A certain percentage of users won't read the fine print--easy money!

bryik··on Tell HN: Pluralsight and the dark-pattern of auto-renewals
Adobe hit me with an unintended annual renewal out of a trial. I just wanted to try Adobe Premiere Pro on a school project...well, final exams happened and I forgot to cancel the subscription. Then I moved to a different country, started a new job, and continued to forget about Adobe. A month later I see the credit card bills and try to cancel. Somehow I have an annual contract that carries an early termination penalty.

Take the money you dogs; it's the last you'll get.

bryik··on Ask HN: What do you do when you suddenly feel like not working anymore?
Write documentation. I know that sounds the same as "keep working on it", but it's surprising how often going through updating/fixing docs gets me unstuck. And if it doesn't, at least I've done something productive.

If the docs are fine, there are usually other things to improve or experiment with (file organization, build process, tests, editor plugins...etc).

bryik··on A-Terrain - a cartography component for A-Frame
Cool project!

A year or two ago, I used A-Frame to visualize some of NASA's Martian terrain data[1]. The hardest part was processing it. QGIS could not understand the projection, so slicing out a parcel of land and lining it up with a texture was messy. The best output format was obscure (ENVI) and required arcane GDAL commands to produce. For a GIS noob, it was a lot to handle.

But with this component, all you need to do is specify lat and lon--can't get much easier than that! The repo suggests that different data sources can be used[2], I wonder how hard it would be to standup a Martian terrain source?

1 - Github: https://github.com/bryik/aframe-terrain-model-component Example: https://www.wsundine.com/misc/noctis-terrain

2 - https://github.com/anselm/aterrain/blob/master/src/TileServe...

bryik··on The Life and Death of the Touch Bar: Revisiting the MacBook Pro
If they put the CPU in the keyboard, it wouldn't be able to detach.
bryik··on No correlation between headphone frequency response and retail price
> Price has never been correlated with quality, for any product, ever.

That is an incredible assertion.

I am willing to bet $10,000 that I can find a product where price is correlated with quality (assuming we can agree on a definition of "quality" for a particular product). How about GPUs with "quality" measured by average FPS in a selection of AAA games at 4K?

bryik··on Programming as a Way of Thinking
I'm not sure I understand. The problem with symmetric/antisymmetric is that the names make students think they are related and this can lead to misunderstanding (e.g. "since this relation is antisymmetric, it cannot be symmetric"). Arguably, this confusion would not exist if they were named differently.
← PreviousPage 2 of 3Next →