News for hackers. Stuff that matters.

hypothete

Re:Stanford CS248: Implement an SVG Rasterizer on Friday March 20, 2020 @05:29PM (#22641841)
If you're not in a Node.js context, the Canvas API does a decent job of rasterizing SVGs nowadays. Once rasterized, you can call canvas.toDataURL() to get a download link. Here's a demo:

https://codepen.io/hypothete/pen/WNvKLEE

Re:Unveiling the first-ever image of a black hole [video] on Wednesday April 10, 2019 @12:34PM (#19626342)
So that would mean that the right side is tipped slightly away from us, right? Because the matter in the accretion disk starts approaching us at about halfway down the ring on the right side?
Re:Why Webpack? (Or, How Not to Serve JavaScript) on Friday March 08, 2019 @02:42PM (#19341439)
A further improvement would be to switch your CommonJS-style imports and exports out for ES6 notation. This allows for more native interoperability, and works fine with Webpack.

  export const Constants = { version: '1.0.0' };

  // in another file
  import { Constants } from './Constants.js';
Re:New High Resolution Image of Ultima Thule on Thursday January 24, 2019 @07:13PM (#18994361)
You've got it right, Ultima Thule is what's called a contact binary: https://en.wikipedia.org/wiki/Contact_binary_(small_Solar_Sy...
Re:Tonsky's thoughts on where the real-time web is headed on Friday January 18, 2019 @04:29PM (#18943279)
Login required. Is there another way to see the content?
Re:Re-decentralizing the Web, for good this time on Friday January 11, 2019 @07:04PM (#18888442)
I feel you on implementation - every time I make an attempt to try out ActivityPub I get intimidated by the combo of JSON-LD and the verbosity of Activity Streams vocabulary: https://www.w3.org/TR/activitystreams-vocabulary/
I was homeschooled for most of my K-12 education, and unschooled in different degrees during that time. At best, unschooling can encourage a child to dig deep for new ideas, and involve them in activities that build on that knowledge. It can also be a great supplement to more typical subject-based homeschooling, and encourage cross-disciplinary thinking.

But unschooling requires serious engagement on the part of the parent as well. I've seen unschooling families get lazy and end up with 18-year old ballerinas who can't do times tables to save their life, or physicists-to-be who might seem advanced to their parents, but get to college and find themselves far behind their peers. The parents' worldview and involvement can easily become a constraint for their child's growth.

I would also caution potential homeschoolers to be mindful of how they frame their choice when they talk to their children. Making it about the child or taking a strong us v. them stance against other options can be very isolating for the child, especially if they ever feel like they're not getting the education they want at home. Be moderate in your explanations, and leave the door open if you can.

Re:Our Solar System Is Even Stranger Than We Thought on Wednesday October 17, 2018 @10:45AM (#18239569)
The "Jupiter as a shield" hypothesis has been questioned recently: https://phys.org/news/2016-02-jupiter-role-planetary-shield-...
Re:Japan's Hayabusa 2 spacecraft reaches cosmic 'diamond' on Wednesday June 27, 2018 @10:26AM (#17408362)
Outside of Queen, Brian May is an astrophysicist, and his specialty is interplanetary dust composition. It's always cool to see him jumping in and sharing science with those who know him for his music career.
Re:Culture as a Growth Driver on Wednesday May 30, 2018 @12:09PM (#17188893)
This article's thesis is "we improved our business by being deliberate about culture", but unless I'm missing something it doesn't say how they were deliberate at all. I feel like if you're going to make an assertion like that, you should say how you accomplished your goals.
Re:Senate votes to reinstate net neutrality on Wednesday May 16, 2018 @05:20PM (#17086602)
Just because the parent claims to be a single-issue voter on the phone doesn't mean that that's true.
Hi HN, I'm excited to share the public release of Bowlcut with you. At Pollinate we've been developing and using an internal version of this library in production-facing product customizers since late 2013. Bowlcut was originally developed to create vector logos for sports teams, but it could easily be used for more complex graphic design purposes.

There's not a lot out there in terms of frontend SVG text layout and distortion libraries, so I'm eager to see how the greater web uses Bowlcut. Since this is one of our first projects to open source, I would appreciate any feedback you have on the structure and documentation of the library.

Re:First multiuser hologram table [video] on Friday March 09, 2018 @01:00PM (#16553532)
Looks like they track the position of shutter glasses in space, and have some way of positioning the image per user as it gets projected through the tabletop: https://newatlas.com/hologram-tables-euclideon/50868/#galler... They must have a cap for the number of users because of the glasses tracking.
Hopefully the Rendertron will gain support for WebGL in the near future. It seems like more and more graphical apps on the web are using WebGL over the Canvas API for performance reasons.
Re:Using Lua coroutines to create an RPG dialogue system on Tuesday January 10, 2017 @02:22PM (#13368016)
Here's a similar implementation on the PICO-8 platform, which uses a subset of Lua: http://www.lexaloffle.com/bbs/?tid=3833 This author demonstrates a multiple choice ask() function as well.
You might be thinking of Active Worlds: https://en.wikipedia.org/wiki/Active_Worlds