HNHacker News
TopNewBestAskShowJobs

jsharf

524 karma · joined April 14, 2014

submissionscomments
jsharf··on DearPyGui
Oh, I love Dear Imgui -- it's very simple to use and has a nice... "engineering"/scientific aesthetic. Good to hear it's been ported to python.

If you're looking for an end-user product, this may not give you the control you're looking for. But if you're looking for a dead-simple way to create a quick GUI for a side project, this is perfect.

jsharf··on Wind and solar are cheaper than thought, admits UK government
You can't just buy more wind farms -- the wind in an area is correlated. That means if one wind farm isn't producing power, the wind farms nearby aren't likely to be producing power either.

But nuclear power plants? Completely uncorrelated. If each one produces power 85% of the time, then you need two, and you'll almost always have power.

jsharf··on Automotive Grade Linux
It's very easy to choose these trade offs yourself by modifying the kernel and creating your own version. Linux gets far higher real world use, meaning that even if there are errors, they will be patched upstream and you can integrate those into your patch. Code re-use helps us in this respect.

Barring a few small details, it's possible to configure linux to be a deterministic-scheduled RTOS or whatever you want, really. I think it's a good idea to use a (hardened) version of linux for these systems, and other rigorous design principles will handle the rest (for example, testing, signed binaries, program determinism, fault tolerance and redundancy).

jsharf··on Uber and Lyft shutdown in California averted as judge grants emergency stay
haha, point taken. But I'd say it's good that they care. Developers are in a different income bracket. Concern is far better than cold indifference, which is what usually happens...
jsharf··on Run for Your Life
He doesn't actually say anything negative about the runner -- he just pointed it out to say that there's two kinds of people doing ultramarathons. (1) Professionals and (2) people who are chasing a high and don't care about their health (74% of runners would continue doing it even if they knew it was bad for their health)
jsharf··on For black CEOs in Silicon Valley, humiliation is a part of doing business
Christmas feels weird to me -- It feels vaguely exclusive.
jsharf··on Tesla Model 3 Drives into Overturned Truck in Apparent Autopilot Failure
I think that your definition of "NP-Hard" is incorrect. It would be better to instead say "Exponentially bound in required training data size"

I say this because having a solid model of these terms is required when making "intuitive conjecture" about what is and isn't feasibly possible. Driving is NP-Hard? It would hint that humans have brains capable of computation more powerful than a turing machine. Which... suffice it to say we probably don't. I'm not aware of any proven algorithms that humans can compute which computers cannot.

In images free of distortion and noise, computers were outperforming humans in image recognition 2 years ago! [0]. Since then, with advances in GANs (which specifically addresses the noise/distortion issue), I suspect we are close to achieving super-human image recognition. The last missing piece is "context" or prior knowledge. If you only see a whisp of hair sticking out from behind an object, you have prior knowledge that hair grows on humans, and that there's probably a person there. This last piece is being addressed by multi-modal networks [1].

If you have any doubt of the power of computer vision, my last hope is to link you to this paper from 2017, look at the "regions-hierarchical" results:

https://cs.stanford.edu/people/ranjaykrishna/im2p/index.html

[0] https://arxiv.org/pdf/1706.06969.pdf [1] https://www.themtank.org/multi-modal-methods

jsharf··on In Praise of AutoHotKey
It's a data entry script. If it fails they just do their job the old way until the guy fixes it. It's typing text into forms. Just make everyone do things the "old way" once a week so they still know how to do it if the script ever fails.
jsharf··on Most new NY coronavirus hospitalizations are from people who stayed home
I think there's some really invalid assumptions going on with the reasoning here. I don't have an exact answer, but I can challenge these assumptions.

You don't leave a "virus cloud path" behind you. It just follows the wind in random directions and quickly disperses within a few feet to concentrations that are safe (studies have shown that viral load of initial exposure is a significant factor in disease severity). Below a certain concentration, your immune system will just handle the few viral cells which landed on you.

I would challenge the 3ft vs 10ft thing as actually being a big stretch. I think further research is needed to say anything about that for sure, but keep in mind that beyond some certain distance, probably around 10 feet, distance stops mattering. In some sense, 100 ft is the same as 1000 ft. I would guess the threshold where distance stops mattering is somewhere between 6ft and 10ft, and realistically 10ft should be safe.

jsharf··on WHO Director: "Covid-19 does not transmit as efficiently as influenza"
Yeah, but as soon as they were aware of a single case on board, everyone single person on the ship was informed, told to stay in their room, and became paranoid about further transmission. I don't know if we'll have similar levels of obedience in the rest of the world.
jsharf··on California’s housing crisis: how a bureaucrat pushed to build
This is actually a very American misconception of public transportation. If you're in an area with excellent public tranportation (London, Barcelona, Montreal), it's actually much faster (I've traveled to these places and tried it).

Even in SF, there's some places where public transportation is faster. But in very very limited situations because SF transportation is horrible. But an express Caltrain is often much faster than driving MTV-SF if there's any traffic. With all the (super delayed unfortunately) infrastructure projects going on (new SF subway being installed, Caltrain electrification), things will hopefully get better...

jsharf··on California’s housing crisis: how a bureaucrat pushed to build
If I'm not mistaken, most of the value of the home in places like the Bay area is not the house itself, but the land it sits on. In that case, it's super reasonable to expect it to appreciate in value, just like any other commodity. Arguably more so.
jsharf··on California’s housing crisis: how a bureaucrat pushed to build
I think YIMBY is about city restrictions and ordinance. This sounds like the private building developers just wanted to save money and cheaped out on building additional parking space. Unless the city itself imposed a restriction on parking

That being said, I'm not aware of any YIMBYish laws that outright restrict parking in residential areas. The only thing equivalent I can think of is the Market street law in SF, but that's not a residential area, so it actually makes sense.

jsharf··on Coronavirus Forces World’s Largest Work-from-Home Experiment
This is a horrible "experiment".

Duuuude I was just asked to stay at home for 2 weeks because I might have coronavirus (I was in Shanghai "recently"). Sure as heck I'm not going to be productive. (I'm a software engineer in mountain view, and my company has asked me to WFH for 2 weeks)

Following reasons:

- Emotionally it's a tiny bit scary. hard to focus.

- I didn't have ANY time to setup -- a lot of my gear is still at work.

- My team didn't have time to prepare -- we still have daily standups which are hard to join from VC.

jsharf··on Working for someone vs. doing your own thing
It's possible for past hardships to leave you emotionally messed up for years, which could make it harder for you to deal with future hardship.

I don't think there's a hard rule on this, and it depends on the mentality of the individual. It's possible for people from rich and poor backgrounds alike to be resilient.

But I do think emotional security helps you deal with challenges in life. It's not the only thing and it's possible there's other ways of dealing with it. But growing up in a secure environment makes a difference (note, this doesn't necessarily mean rich. It means stable. If you're rich, but a close family member dies when you're young or some other hardship occurs, you can still be emotionally hurt despite having an otherwise secure environment -- that's why it's a bad idea to judge people on their backgrounds, you never know the full picture)

jsharf··on The Strangeness of Grief
seconded, it was well written
jsharf··on People who tend to be optimistic are likelier to live to 85 or more: study
I feel like usually the pessimistic complaining posts like this in hackernews are much more negative. It feels like there's a lot of hesitancy in this one and it's much more accepting/positive because you're afraid of being pessimistic because of the article :P

(Mostly just being cheeky. It's not fair to judge people on the internet when you don't know them)

jsharf··on Why Child Care Is So Expensive
Yeah but kids can smile and bond with you. Computers can't. It's hard work, but it's a bad idea to compare the two either way. One might come naturally to some people, even if they're (gasp) computer programmers.
jsharf··on Tetrachromats: people who see colors invisible to most of us (2014)
It seems like this one is really easy to test, like via the clothing example the top comment mentioned -- just see if the person can reliably differentiate between them
jsharf··on Writing userspace USB drivers for abandoned devices
This seems pretty formal/professional for an HN comment. Is there some reason you're writing summaries of HN posts with this degree of effort?

Also, thanks.

jsharf··on Writing userspace USB drivers for abandoned devices
Google search "lkmpg pdf"

It's part of tldp (also google searchable)

jsharf··on Cutting the speed of ships has benefits for humans, nature and climate – report
Too easy to fake. Maybe instead base it off of fuel consumption. At the end of the day, they can't fake a full tank of gas -- Require it to be documented when they buy fuel and use that to approximate what they're using for a cross-seas voyage (giving appropriate margin so that in case of storm/emergency they can still make it, but perhaps tax them if they eat into buffer)
jsharf··on Working asynchronously
I'm not the same person, but I have a small notebook and pen. Any time I think "Shit, how am I going to remember this if I get interrupted right now?", I quickly scribble down as much as I can and continue working. This is invaluable when I do get interrupted.

I do this basically any time I feel like my short-term memory is overwhelmed with facts, and as a result the notebook has effectively become NVRAM for my brain.

jsharf··on The invented Chinese names of the 2019 Canadian federal election – ranked
That's mostly used in Taiwan for typing, I don't think it's really common in China. I could be wrong though.

Also, I think it would be weird to have a name made of those characters. They're strictly phonetic -- I've never seen a Chinese name made out of bopomofo letters.

jsharf··on International Repair Day
Why are there so many fixit events in Europe and so few in the US?

Northern California should have no shortage of tech workers with the skills necessary to fix devices. We only have a single event?

And China isn't even on the map, in terms of events. But I find that not so surprising.

jsharf··on Language Is the Scaffold of the Mind
There's still generic variation to the point where for some people this isn't a drive. Sure, it's a trait which self-selects itself for removal, but it's likely polygenic, which means it is much more likely that it can persist across generations despite being selected against. A lot of these things are non-intuitive, like how altruism can persist across generations despite being similar.
jsharf··on McDonald's is to replace human servers with voice gen in its US drive-throughs
I'm not sure when the last time you tried the assistant was, but Google's speech-to-text is getting ridiculously good. I think most of the time, it would be able to get even complicated orders correct.

Anyways, I'm sure that for the 10% where it doesn't work, they can install an interactive touchscreen for correcting orders (or have an app). And for the 90% of the rest, they save a ton of money by having computers do the task instead of humans.

jsharf··on Elon Musk Gambled Tesla to Save SolarCity
Perfectly true facts can still create bias, by selectively focusing attention. None of this needs to be wrong or distorted.
jsharf··on “Bicycle of the Mind”
They never thought to test a condor riding a bicycle. Sounds like flawed experimental design
jsharf··on Japanese anime studio Khara moving to Blender
but blender isn't CAD, right? it's not a replacement for cad software (such as openSCAD, autodesk, etc...)
← PreviousPage 3 of 5Next →