HNHacker News
TopNewBestAskShowJobs

ptrott2017

445 karma · joined January 12, 2017

submissionscomments
ptrott2017··on ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable
C-smile (OP) ported Fabrice Bellard's gcc code to standard C (without gcc extensions).

The Sciter engine currently uses TIScript - a language c-smile orginally developed and the kickstarter proposal is to open source Sciter as is, then replace TIScript with the QuickJS engine. (TIScript is a very nice scripting language in itself that is easily picked up by JS devs)

The standard C version of QuickJS can be compiled using visual studio on windows as can be seen in this repo: https://github.com/c-smile/quickjspp

(Edit to update to latest repo)

ptrott2017··on ElectronJS alternative: SciterJS – HTML/CSS/JS in 4.5 MB executable
Sciter is a very nice engine with a solid API/SDK and rock solid engineering behind it. For developers building efficient UI apps it can be a real alternative method to things like electron or as a lighter alternative to QT with QML script. However until now it was only available under commercial licence.

Andrew Fedoniouk ( a.k.a. c-smile Sciter's original developer) has a kickstarter to fund open sourcing and supporting additional development to make it more accessible javascript developers. Learn more here:

https://www.kickstarter.com/projects/c-smile/open-source-sci...

ptrott2017··on Dylan Playground
@cgay be great to see this integrated with the OpenDylan homepage (interactive examples) and a nice blog write up on how it works on the news/articles section. Very cool.
ptrott2017··on Fossil
If you include the ticket ID e.g. [ticket-id] in the commit's description, the commit will automatically be linked to that ticket. You can view the list of all associated commits with a ticket by clicking the 'Check-ins' menu item on the ticket's page. When an item is closed - the link appears struck-thru.

I dont automatically close tickets on commits - since our workflow is commits get reviewed before closing an item- but it is straight forward to write a small few line script to do this if thats your workflow.

ptrott2017··on James Gosling: Java, JVM, Emacs, and Computing History [video]
For a more balanced view of what this is quote refers to see: https://en.wikipedia.org/wiki/Gosling_Emacs
ptrott2017··on Crab – an interpreter for a tiny subset of Logo
Is turtlespace planned to be open source? Wondering if possible to contribute. Its a very nice platform - congrats.
ptrott2017··on Webots robot simulator went open-source
If you are unfamiliar - Webots is a fantastic robotics simulation platform. Originally developed at EPFL in Switzerland and then as commercial software by Cyberbotics - its now* available under the Apache 2 license (with commercial support available from the Cyberbotics team).

*edit - Webots went open source with the 2019 release. see: https://www.cyberbotics.com/doc/blog/Webots-2019-a-release

It ships with a good collection of modifiable models including full robots as well as multiple sensors, actuators etc. Its is also simple to build and add your own robot models or integrate with other simulators. Controller programs can be written in C, C++, Python, ROS, Java or MATLAB via an easy to use API. Hopefully the open source edition will drive increased adoption.

Learn more here: https://www.cyberbotics.com/ and parent discussion link goes to the github source code.

ptrott2017··on The CDC has failed: Ex-health officials urge states to abandon agency
Minor note on Europe - Several European countries relaxed border travel restrictions and internal restrictions on dining / socializing in June in time for traditional summer holidays in July / August. Current surges are likely to be a result of relaxing of previous lockdown rules. For an early discussion of this see [1]

[1] https://fortune.com/2020/08/15/europe-covid-cases-second-wav...

ptrott2017··on Writing a Lisp to x86-64 compiler
@nils-m-holm - Having thoroughly enjoyed mLight's codebase and playing with mLight in general and worked through your SubC compiler - very much looking forward to the upcoming book.
ptrott2017··on Lynn Conway's Retrospective (2003)
I remember reading Introduction to VLSI when I was a student and it is still one of my favourite books. I always thought of Carver Mead and Lynn Conway as electrical engineering and computer science magicians who not only invented a new type of tech magic but then pulled off a small miracle by making it accessible and understandable with a thoroughly great book.

Michael Hiltziks excellent book, Dealers of Lightening, touches on Lynn's career at Xerox PARC (Dealers is one of the better history's of early innovation at Xerox PARC). However I had no idea of Lynn's full life story and her incredible life journey or the myriad of challenges she had overcome. Not only a brilliant innovative engineer and awesome educator but a truly remarkable person. @tofu-fu thanks for submitting this.

ptrott2017··on Meso-computing and meso-data: the forgotten middle
This is a good article about the gaps that are hit between going from Laptop to something larger when your problem doesn't quite need a super computing cluster i.e. the intermediate stage that many scientists and researchers go through. Definitely worth a read.
ptrott2017··on Squeak Smalltalk on a PostmarketOS Cellphone
This looks awesome. I really like Tonyg's actor library for Squeak so this is great to see and will be definitely following this closely.

Neilv's old DrRacket on pmOS also looks very interesting.

Ok - Time to take another look at pmOS.

ptrott2017··on Jaron Lanier on social media
@S1mon - I think that is unfair, though he is a first class media hacker and quote giver. He has had a high-ish industry profile from his time as a developer at Atari Research in the early 1980s. He, Thomas Zimmerman and Mitch Altman et al formed one of the first commercial VR companies - VPL Research in 1984 and developed early generations of the data glove, eyephone (VR Headset) and datasuit (body tracking) and a visual programming language (VPL -BodyElectric) for building early VR apps. And its this which propelled him into the press visibility.

He got popular with press because he can give a great quote, hold an interesting conversation / PoV / interview and was accessible and very visible with the first generation of VR hype. VPL Research ended in bankruptcy circa 1991/92 with its patents eventually going to Sun Microsystems. After VPL - he worked on Tele-immersion at Internet 2 - doing remote telepresence over high bandwidth networks and also did some telepresence stuff with SGI. Since then he is probably better known by his books, industry commentary, press quotes (or music depending on your interests). However a bunch of the tools we use today (Occulus/Vive, visual programming in the likes of Unreal, telepresence robots etc) can be considered descendants of some of the stuff he helped pioneer or at least the ideas he helped plant for later generations of developers to run with.

Please see Don Hopkins note below for more history and correct product names :-)

ptrott2017··on Solaris 10 Zones on Illumos Tribblix
Just a note to say Tribblix is a fantastic Illumos distribution that works well on AWS. Peter Tribble deserves much applause for maintaining this. If you are curious re: Illumos and need a place to start - Tribblix is a good one. Have fun.
ptrott2017··on All about Modelica: An equation-based language for modeling physical systems
While most Modelica's applications are primarily engineering related, it is used for stock and flow models and there are some folks digging into use it for economic modeling (as there are others using it for environmental and biological systems modelling). If you are looking to get started using Modelica for economics modeling these might be of interest:

https://openmodelica.org/images/M_images/Moses206/moses2016-...

https://openmodelica.org/images/M_images/Moses206/moses2016-...

https://ep.liu.se/ecp/157/037/ecp19157037.pdf

ptrott2017··on All about Modelica: An equation-based language for modeling physical systems
You can plot variable outputs in 2D and 3D plots, use values to drive simulation based animations (2D and 3D) and via Functional Mockup interface standard (fmi-standard.org) you can interconnect external simulations and interactive visualizations (2D, 3D, VR etc). For examples of these in OpenModelica see the user guide here: https://www.openmodelica.org/doc/OpenModelicaUsersGuide/Open...

There is also a notebook UI that lets you do a lot of Ipython/Jupyter style dev with feedback plots and visualizations, in addition to code tools and visual authoring.

ptrott2017··on All about Modelica: An equation-based language for modeling physical systems
There are commercial ones like ones like Altair SolidThinking, Wolfram System Modeller, ESI's SimulationX and there are open source ones such as OMedit. Which meets your needs will be partly budget / workflow / toolbox support based. If your new to Modelica - then OpenModelica and OMEdit (OMEdit comes as part of the OpenModelica download) are great starting points. To get an idea of the available commercial and open source options see:

https://www.modelica.org/tools

and https://openmodelica.org/openmodelicaworld/tools

ptrott2017··on All about Modelica: An equation-based language for modeling physical systems
This is a great overview of Modelica. For those looking to get started - check out OpenModelica (https://openmodelica.org/) and if you are curious how to approach deploying and using Modelica in web services the article's author as a rather awesome open source project called LambdaSim see(https://github.com/mbonvini/LambdaSim)
ptrott2017··on SimRefinery Recovered
Re: Drones - not in the sense I think you are imagining, but you can pull data from some of the mining equipment and I have seen 3D scanners mounted in situ at test sites to capture specifics. (it didnt work well - got remodelled later).

The general workflow I have seen would be familiar to anyone in game or animation pipelines. A team models from the mine layout map in traditional 3D tools (e.g. Blender, 3DS Max) this may be combined with telemetry information from cutting machines (distances, seam heights, cutting rates etc) and then add additional visualization and environmental affects in game engine such as Unity or Unreal for example adding particle systems for dust etc. There are also industry specific specialist simulation and training engines.

If you are working with an equipment manufacturer, equipment models are usually converted from CAD data, then UV mapped, textured and keyframed either in traditional 3D tools or use programmed procedural animation in engine. Though you can purchase equipment model assets - features have to match depending on training fidelity. Equipment control is usually matched to actual physical controllers - so you read the input from a real world controller and trigger the corresponding virtual model animation in the virtual environment. The mining equipment manufacturers have training teams who create the assets and could configure layouts for specific client scenarios. As KineticLensmen pointed out - its the last stage of customization for specifics that usually takes longest since its crucial for the spatial awareness of teams being trained.

ptrott2017··on When SimCity Got Serious: Story of Maxis Business Simulations and SimRefinery
Assuming you mean Simulink rather than Matlab its not quite a direct alternative. You can use Modelica and Simulink for modeling the same type of problems but they use different modeling approaches. Simulink uses cuasal modeling, where signals flow via connections between individual blocks, transmitting values of individual variables from the output of one block to inputs of another block. Modelica uses acuasal modeling - in Modelica, individual components of the model describe the equations directly and by interconnecting individual components, the systems of equations become connected.

If you are looking for a direct open source causal modeling alternative to Simulink, then SciCos (www.scicos.org) is worth a look. I would recommed playing with both Open Modelica and SciCos to see which is the best fit for you.

ptrott2017··on When SimCity Got Serious: Story of Maxis Business Simulations and SimRefinery
well - will check the blog regularly and very much looking forward to reading hello world stages :-)
ptrott2017··on When SimCity Got Serious: Story of Maxis Business Simulations and SimRefinery
For anyone interested in exploring Modelica - Open Modelica is strongly recommended:

https://www.openmodelica.org/

Ivan - Since I regularly recommend your maths and physics books (and use and do research with Modelica)- very very interested in this. Good luck and please let us know when it can be pre-ordered.

ptrott2017··on OpenIndiana Hipster 2020.04 Released: Phase Out Python 2, GCC7 as Base Compiler
30K+ users according to the Micah Lee video on their website.

I didnt know CubesOS till ncmncm posted about it in this thread, but it looks interesting enough to test drive for a while. If you want to learn more, recommend watching the video here: https://www.qubes-os.org/video-tours/

ptrott2017··on Peacetime CEO/Wartime CEO (2011)
Its easy to forget that Attlee was Churchill's deputy during the ww2 and that the various labour leaders who led govt departments (Morrison, Gaitskell etc) or in opposition (e.g. Bevan) in ww2 established their legitimacy to govern post-war. Similarly When Churchil was re-elected back to power in 1951 he recognised that Attlee's government key achievements like the National Health service (whch Churchill had originally fiercly opposed) were for the benefit of the country and did not dismantle them. Attlee and Churchill in some respects had combination of both war and peace time leaders that isnt always recognised.

(Edit: clarity and spelling)

ptrott2017··on APL a Day
re: Nial -still alive - QNIAL latest updates were in 2019 see https://github.com/danlm/qnial7
ptrott2017··on Ask HN: Is RSS dead?
Firstly - call out to Dave Winer - his work on outliners and RSS have both proven incredible useful, influential and long lasting.

Is RSS dead? No not by a long shot. Is it as visible as it was in bloggings early days nearly 20 years ago when the spec had been written (2002) and the orange logo was displayed on websites - certainly not.

I think the question needs context - Are you aiming to use it to syndicate content and expect an audience boost because your using RSS- then unlikely - but thats more to do with the state of blogging and syndication in general versus alternative publishing platforms such as facebook and medium.

Are you looking to use it for a syndication standard to base an implementation on for an app or tooling? If the later then you will find RSS has proven itself a rather nice spec that is utterly boring and stable - which is exactly what you want. It is not sexy, nor is it fashionable but it can be foundational - you can build on it and it does what the spec says. No one is likely to applaud your choice - its an old format but a goodie and if you coose to build on it for what its designed for then your likely to get the job done. If you dont like XML and prefer JSON - Manton Reece and Brent Simmons' JSONFeed also does a great job.

ptrott2017··on Clickhouse Local
Curious, as a sometimes MOneyDB user, be interested to know why did you choose DuckDB over MonetDB?
ptrott2017··on Windows 10 to offer Paint and WordPad as optional features
As ac said - use something like X410 for xserver in windows and in wsl set: export DISPLAY=:0

for other approaches see:

https://askubuntu.com/questions/993225/whats-the-easiest-way...

ptrott2017··on A Tour of Standard ML
ALiceML is indeed a rather nice set of extensions to SML. If you pull the code from here:

https://github.com/aliceml/aliceml-alice

and make sure you have all the dependencies installed first, it does build on linux and its fun to play with.

I am currently working on a AliceML derived language and if there is any interest I'll post a note on HN - once its a bit futher down the line.

ptrott2017··on Godot 3.2
I also totally missed this last time i looked at Godot - so off to to play again - thanks for highlighting this.
← PreviousPage 2 of 5Next →