HNHacker News
TopNewBestAskShowJobs

jcrben

569 karma · joined October 29, 2014

Just another coder.

bencreasy.com github.com/jcrben twitter.com/jcrben

submissionscomments
jcrben··on Y Combinator’s growth fund to back challenger bank Monzo
All those options, and I still can't find a US bank with an API.
jcrben··on Inside Tesla’s factory, a medical clinic designed to ignore injured workers
If it is state law - and I suspect it is - then the answer is probably even more nuanced.
jcrben··on Tesla’s Model 3 Is Becoming One of America’s Best-Selling Sedans
Depending on what you mean by "break". What about bitrot and software bugs? Quick search reveals articles like https://electriccarsreport.com/2018/06/gm-recalls-model-year... and https://www.theregister.co.uk/2015/07/15/toyota_recalls_6250...

The kind of component matters. Altho in the long, long term we can expect software bugs to trend to 0.

jcrben··on Lenovo Thinkpad X1 Extreme – 64GM RAM and GTX 1050 in an Ultrabook
How's the touchpad and trackpoint experience? Are you using libinput?
jcrben··on Stop writing lambda expressions in Python
First class functions are vital. Not so sure that anonymity is vital.
jcrben··on Welcome to Armageddon: On MUDs (2017)
I've been the crime boss of Armageddon multiple times since I started playing in high-school around 2005. Most recently created a character in 2016 after a 5-year break. Back to a break, prolly for longer this time.

Duties include shaking down noble houses, bribing law enfocement, and executing assassination contracts.

jcrben··on Salmon, a Python Mail Server
But you never actually cited any law. Is this in a Restatement? Contract law is typically state level.
jcrben··on Linux touchpad like a Macbook: goal worth pursuing?
I hope you look into updating libinput first. https://gitlab.freedesktop.org/libinput/libinput

Let's not add more not invented here without at least doing some solid good faith effort to join the existing efforts.

jcrben··on On paying for software
This has existed for a while: https://www.bountysource.com/

It hasn't been a tremendous success story so far - but these things take time.

jcrben··on On paying for software
If you donate, there's no guarantee that everyone else is donating. So you end up supporting the free riders (https://en.wikipedia.org/wiki/Free-rider_problem). Which is a disincentive to donate.
jcrben··on This week in KDE Usability and Productivity: part 17
I'd consider NixOS https://nixos.org/
jcrben··on Outline – Self Hosted VPN by Google's Jigsaw
Dan Guido, the author of AlgoVPN (https://github.com/trailofbits/algo), says this is basically just a copy of it https://mobile.twitter.com/dguido/status/976143448624508928
jcrben··on MacOS Unified Log: why, what and how
It's not really clear if the author views this as an improvement. To me, it seems like needless churn - another reason I'd like to get off Mac.
jcrben··on How to Get Hired: From a Developer and Manager Point of View
Some people must be passionate to be good - or at least I need that passion to be more than average.

Also, skill is an arms race. You do have to be better than the alternatives to get hired.

jcrben··on Nix 2.0 Released
Thanks for linking that discussion. I'm surprised that you didn't get acknowledgment of the UX issues there, and I'm pretty sure there are people who would like to see the UX situation improve. It just takes work... this release represents a large step forward in UX. I think they'd welcome your input in making 3.0 better! I made a couple small docs fixes the other day.
jcrben··on Nix 2.0 Released
I've experienced the opposite.

The fact that this release highlights a new 'nix' command and deprecates a bunch of ugly and verbose baggage shows the commitment to UX.

jcrben··on Writing a Wayland Compositor, Part 1: Hello Wlroots
I was just looking at a similar topic yesterday - trying to find a Wayland-compatible replacement to tools such as xdotool or xcape (see e.g. https://askubuntu.com/questions/956640/equivalent-to-xdotool...).

People keep saying this was "decided" for security, but usually with no sources cited. I wasn't able to find a firm decision and discussion/roadmap. Instead it seems more like it was viewed as "handling this in a secure way is hard, let's skip trying to figure it out". Which is pretty sad, since as far as I can tell users didn't really get much in the way of tangible benefits from Wayland aside from security (altho the KWin maintainer points to Wayland being easier to test automatically https://blog.martin-graesslin.com/blog/2018/01/kwinx11-is-fe...).

I found a RFC on a mailing list: [RFC] Interface for injection of input events (https://lists.freedesktop.org/archives/wayland-devel/2017-Ma...) where the xdotools maintainer chimed in with some thoughts. But it seems to have died quick.

I then scoured the Wayland freedesktop bugs (https://bugs.freedesktop.org/describecomponents.cgi?product=...) and one of the closest things I could find to a discussion of related issues was an open bug "Add an API for taking screenshots and recording screencasts" (https://bugs.freedesktop.org/show_bug.cgi?id=98894) which has to deal with similar security challenges.

Ultimately I, along with other automation-minded folks, will be sticking with x11 until this is figured out. macOS also has a decent automation story, with tools like Hammerspoon, Automator, and so on.

I've got a fair bit of other notes on the topic which I can share with anyone interested - for example I saw "Some way to inject automated libinput events?" (https://bugs.freedesktop.org/show_bug.cgi?id=99800) where the person was actually trying to tune a gamepad.

Also see https://www.reddit.com/r/linux/comments/7bm9az/what_cant_be_... where people are saying that Wayland is further fracturing the Linux desktop world.

jcrben··on Questions to ask yourself when writing tests
Meaning: if I break the feature, will I know about it from a test failure?

Basically, you put the customer first. Make sure your features are tested such that they can't fail without a failing test before writing lower-level tests.

This is also the approach advocated by the popular book Growing Object-Oriented Software Guided by Tests.

jcrben··on HTML 5.2 Recommendation
Domenic Denicola posted similar thoughts on Stackoverflow as well:

https://stackoverflow.com/a/43082734/4200039

jcrben··on Integration tests are a symptom of poor design
And so your tests actually demonstrate working code!
jcrben··on Write tests. Not too many. Mostly integration
The ones I glanced at appear to test output without much mocking, which isn't as tightly coupled as unit tests commonly end up.
jcrben··on Write tests. Not too many. Mostly integration
Are you suggesting that the Linux kernel is unit tested? Last I checked, I couldn't find them. And discussions online say the same (e.g., https://news.ycombinator.com/item?id=9543336 and https://news.ycombinator.com/item?id=9544306). Kernel bugs tend to show up in userspace.

Fortunately, integration-oriented projects have arisen more recently such as https://kernelci.org/ and https://github.com/os-autoinst/openQA/

Anyhow, it would make me a bit sad if the v8 team is writing unit tests tightly coupled to the implementation. I've messed around with the codebase and I didn't see tests like that - could you point to some?

jcrben··on Ask HN: What do you care about the most in a tech job post?
You'll like the new California law AB168:

"California employers can no longer ask job applicants about their prior salary and — if applicants ask — must give them a pay range for the job they are seeking, under a new state law that takes effect Jan. 1."

http://www.calpeculiarities.com/2017/10/12/third-times-the-c...

jcrben··on Saudi Arabia Agrees to Let Women Drive
Maybe it should be a thing for the gun range then. Require people to attach them there and require that they leave them there.

In general, if people are shooting outside in my neighborhood, I'd rather be woken up. That's not the type of thing that should go unnoticed. And I live in the middle of San Franciso where I've watched people get shot and killed.

jcrben··on Why You Should Treat C-Players Like A-Players
It's a nontechnical post.

For technical posts, see https://danielmiessler.com/study/

For several topics, the guy's blog is high on Google and provides detailed, plain introductions.

Anyway, A player is relative to the league and specific to the skill. Tough to judge from a random blogpost. I guess that should be a platitude, but it's worth repeating.

jcrben··on What’s New in Python 3.7
Looks like this came from https://www.python.org/dev/peps/pep-0448/

Seems similar to the spread operator in JavaScript: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

jcrben··on How We're Building a Business to Last
I expect it will conjure an unpleasant instinctive response for a long time.
jcrben··on How to build a company where the best ideas win
Transcript: https://www.ted.com/talks/ray_dalio_how_to_build_a_company_w...

Has anyone ever worked at a company like this? How was it?

jcrben··on A Concise History of Asperger Syndrome (2015)
Hopefully we get better at spotting sensory disorders and perhaps someday "sensory processing disorder" will be a recognized diagnosis with specific evidence-based treatment.

From the article: "field trials showed that DSM-5 ASD has improved specificity at the cost of excluding more cognitively able individuals, including up to 75% of those previously diagnosed with AS". Also from the article: "there is evidence that patients, families, education professionals, and health professionals connote AS with positive features and associate Autism with strange behavior, learning disability and family dysfunction".

Autism correlates with various things and I imagine that these would involve different therapy. For example, the number thrown around is that 1/3 are nonverbal and do not develop functional speech in adulthood (https://en.wikipedia.org/w/index.php?title=Autism&oldid=7996...). In children, about half engage in self-harm (http://onlinelibrary.wiley.com/doi/10.1046/j.1365-2788.2003....) or physical aggression (http://www.sciencedirect.com/science/article/pii/S1750946712...).

See also (not necessarily endorsing): http://nymag.com/news/features/autism-spectrum-2012-11/ https://www.newyorker.com/tech/elements/the-no-label-movemen... https://en.wikipedia.org/wiki/Rosenhan_experiment

jcrben··on A Concise History of Asperger Syndrome (2015)
If someone is high-functioning, why is a diagnosis necessary? Why pathologize personality? I think that was part of what the removal of Asperger's was about. It's unclear if there was any effective therapy for what many don't even regard as a disorder or disability.

There are many personality traits which might be uncomfortable in various situations, but aren't classified as medical disorders. It doesn't mean they aren't worth exploring as part of self-discovery.

With that said, there are some captured into this category who really do need help, which is what the ASD spectrum diagnosis can capture.

← PreviousPage 6 of 8Next →