Hacker Newsnew | past | comments | ask | show | jobs | submit | wartron's commentslogin

Im gonna need to dive further into this, I do js canvas and webgl rendering to videos with the chrome/puppeteer via 'puppeteer-screen-recorder'.

But they do at times cause some issues. Latest 3d renders have been causing memory issues that I think would be solved with bigger boxes but havent need to investigate for a little while.

Have thought about it just outputting frames and then later having ffmpeg sticth them into a video, but havent gotten around to really testing it.

Im guessing this limited to 2d canvas, but excited to check it out. Thanks!


> Im guessing this limited to 2d canvas

WebGL/3D works fine, just with some additional dependencies (e.g. mesa drivers) and a little more setup in Nodejs to create the context and copy the framebuffer to node-canvas to do the image encoding.

Here's a little 3D animation I've rendered using a similar technique (plus WebGL) in a docker container:

https://www.carvana.com/shareyourcarvana/MjM2MTc2OTpBbGV4YW5...

The main thing to watch out for is whether you need specific WebGL extensions that might not be supported. Array instancing is the main one I use, which is supported.


San Francisco


Sounds like art imitating life.


You should play some https://www.geoguessr.com/


Before this was a "feature phone" the Nokia 9000, i loved it.

When this was out I was using the OG Motorola Droid. I wanted one of these but they were not available on my carrier so I stayed on the Droid line. The hot-dog slide keyboard was amazing. I had full terminal control from these.

Nowadays I actually still rock a 2017 iphone SE; dimensions wise I don't want anything bigger in width or height, but i would gladly add some thickness to get a full tactile keyboard again.


I used an N900 for a few years (got one with the early adopter discount when it was released). While the keyboard was miles ahead of all the on-screen stuff at the time I don't think I want to go back to that keyboard from a current decent touch-screen phone. The keys were a bit too small for fast typing...


I wonder how it compared to the keyboard on the N97. Though it was a symbian based phone, the putty client allowed you to connect to a server and attach to a screen or tmux session, which worked okay with that keyboard and a few on-screen buttons.


The key size is alright, I'm able to type on it much faster than on a touchscreen - provided that I don't need to use anything else than regular letters. The most painful thing on that keyboard is lack of 4th row of keys.


I forget what its called, but if something is gonna fail... its most likely to fail on the maiden launch (or like first 100 miles for cars)



This might not be the answer your looking for, but i do this with just the chrome profile-directory command line flag to have a separate chrome for personal, work, and sometimes one for testing or contract work.

The only downside or issue i've run into is when some application wants to use some web login and it just launched the default browser. sometimes copy and pasting the url into the browser with the profile i want to use works, sometimes not.


Why is geothermal not more prominent?


Apparently you can have too much geothermal. Their first plant got knocked offline by the 2018 eruption. https://en.wikipedia.org/wiki/Puna_Geothermal_Venture

There's also this bit:

> Additional concerns and opposition to the plant have been raised by Native Hawaiians, who view all forms of volcanic activity as manifestations of the goddess Pele. To the Native Hawaiians who revere Pele, geothermal wells and energy production are a desecration of her body and spirit.


But no sun or wind gods that we need to worry about?


Probably you don't drill into sun or wind, thus not producingj any unholy disturbance to the relevant deities.


Wind turbines do locally screw with the wind, that's why you can't put them too close to each other. But it's temporary and goes away when the turbine get decommissioned, so maybe that's the difference. Or maybe the wind is traditionally meant to be harnessed (boats) but volcanic energy is not?


It is used on the Big Island, which is the newest island. Unfortunately most people live on the older islands, which aren't above the volcanic hotspot anymore. And the islands are far enough apart that they all have their own independent electrical grids.


Even if they ain't directly on the hot spot, couldn't they still be close enough to it for there to be a useful temperature differential?


There were attempts to use the ocean for a heat sorce/sink for downtown AC.


Thank you for pointing this feature out. IA never cease to amaze me.


This title makes it sound like a bad thing, but this is good.

Edit: I think the title was changed between me posting this. Please ignore it.


The title is the worst part of the story. It seems tautological that a person will not be arrested when the police hand off that person to people who don't carry out arrests. It'd be a bit like saying that in the first six months of marijuana legalization, there were zero arrests for marijuana possession.

The more interesting (and heartening) aspect is that the police and the white van brigade appear to be working together and helping each other do what they do best, with benefits to the community.


The white van has the right and ability to call the police to make an arrest.

In the past, these 750 incidents, which did not require police intervention would have likely led to a police squad wasting time on these 750 incidents as opposed to spending time on other real crime issues.

The problem is that such white vans don’t exist in other police forces.


If the mental health personnel can't resolve the issue on their own they call for police backup to make arrests. The fact there were zero arrests means the mental health personnel were able to handle every case they encountered.

I agree it's worded strangely.


Exactly. If the police decide they're making an arrest these guys aren't getting the call.

These guys get called when the police feel like helping but can't justify spending their time on it.


Whether no arrests is a good thing depends on the crimes.

Only the most ideologically blinded would defend having a social worker team like this respond to car break-ins and the other broad daylight petty theft that has plagued California since they passed that ballot measure awhile back (and a couple other specific cities with similiar legislation).

If using this program as an alternative to police response for drunk and disorderly conduct, teenagers doing teenager things, homeless person trespassing and other "no immediate victim" type crime (which is what it sounds like from TFA) then it's a good thing.


You're assuming that every time the police are called, there is a crime. You can scroll up in this post to see examples of people calling police when they are concerned for someone's welfare, and no crime has been committed. It happens regulary for want of other options.


If the breakins are people who need food and shelter, maybe they can help. Or if they can convince people to switch from crime to legitimate income.

In other words I'd be okay with lesser penalties for someone smashing my window if in exchange there was a very high likelihood of getting caught, and of that event leading to reformed lives.


I'd love to see stats on how many of the people involved in these incidents end up leading reformed lives.

The mental health team diffuses the situation and no one gets arrested. That's great on paper, but what happens tomorrow?

If someone is smashing car windows to pay for their drug addiction, what's stopping them from doing it again tomorrow?


> what's stopping them from doing it again tomorrow?

Giving medical help to a drug addict is more likely to reduce the likelihood that they commit another crime than giving them a criminal record.


Anecdotally, I can confirm this by seeing someone who made one very real but economically insignificant mistake have their career ruined for years over a misdemeanor charge. They needed financial and emotional help. Instead they got a plea bargain steamroller, no chance to talk to counsel, etc.


Funny, I read the title and immediately thought it was a good thing.

Only after I read your comment did I consider the alternative :)


Why not the actual title (though that title is a little awkward too)

“In the first six months of health care professionals replacing police officers, no one they encountered was arrested”


Character count, sadly. I’m not a fan of editing either.


Agreed, the "but" in the bolded text[1] further confuses, but the article highlights some great progress.

>> STAR, has responded to 748 incidents." >> about 3 percent of calls for DPD service, or over 2,500 incidents, were worthy of the alternative approach

[1] "Chief Pazen is thrilled with the success of STAR, but the time and money it saves will go toward fighting crime, he said."


That new title confused me at first... maybe I'm the only one. The actual title of the article is more clear to me.

Actual title: "In the first six months of health care professionals replacing police officers, no one they encountered was arrested"

HN title: "Zero arrests in 6 months of health care professionals replacing police officers"


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: