I recently ran into a classic case of "our code is using way more memory than it should". So I took my first dive into memory profiling Rust code. I read several posts about this, including the following
I like to learn, index and retrieve information a lot. I know a lot of others do as well. We share data but I don't think we share our information and rarely our ontologies (a.k.a. our mental models). If we shared our ontologies, I think we could learn more from each other. With this hope in mind, I'm looking for a tool that provides these features:
- Shares my ontology publicly
- Shares my bookmarks publicly
- Provides easy entry, extension and querying of my ontology
- Provides easy entry and querying of my bookmarks
- Shares interesting snapshots of my bookmarks
- Encourages discovery of information that is new and interesting to others
Since I have not found such a tool, I have built a tool that:
- publishes my ontology using https://schema.org/ as a foundation.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$source = @" | |
using System; | |
using System.Runtime.InteropServices; | |
namespace MyTools | |
{ | |
public static class cache | |
{ | |
[DllImport("kernel32", SetLastError = true, CharSet = CharSet.Unicode)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <cmath> | |
#include <GL/glut.h> | |
#include <GL/glu.h> | |
#include <GL/gl.h> | |
void renderScene() // this function is called when you need to redraw the scene | |
{ | |
glClear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT); // clear the scene |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
################################################################## | |
# /etc/elasticsearch/elasticsearch.yml | |
# | |
# Base configuration for a write heavy cluster | |
# | |
# Cluster / Node Basics | |
cluster.name: logng | |
# Node can have abritrary attributes we can use for routing |