Sign Up Now!

Sign up and get personalized intelligence briefing delivered daily.


Sign Up

Articles related to "use"


Show HN: Tiny 1k rust binary on Windows

  • GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
  • Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
  • Work fast with our official CLI.
  • If nothing happens, download GitHub Desktop and try again.
  • If nothing happens, download Xcode and try again.
  • If nothing happens, download the GitHub extension for Visual Studio and try again.
  • We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
  • You can always update your selection by clicking Cookie Preferences at the bottom of the page.

save | comments | report | share on


Why Equinix Doesn't Think Its Bare Metal Service Competes With Its Cloud-Provider Customers

  • Informa PLC's registered office is 5 Howick Place, London SW1P 1WG.
  • Equinix in October went live with Equinix Metal, a fully automated and interconnected bare metal-as-a-service offering at its data centers in Silicon Valley, Ashburn, New York Metro, and Amsterdam.
  • However, Smith said that in the long term plans are for bare metal as a service to be universally available at Equinix's colocation data centers.
  • Although some users will want to incorporate the service as a permanent part of their infrastructure, Smith said perhaps a bigger use case will be customers who want to try something on for size before committing racks of equipment to a colocation region.
  • For example, a company that's seeing an uptick in business from Asia might want to see if it helps to have compute sitting in a data center in, say, Singapore or Tokyo to improve their customers' experience.

save | comments | report | share on


Busybox-based Linux distro from scratch

  • I needed to prepare a Linux distro for myself to be able to run it on my PC.
  • Busybox works the way, that, if linked statically, requires only one, single binary to be able to work correctly.
  • This is the path, I chose, because I don’t like leaving multiple copies of kernel sources on my hard drive, so I prefer to have one, central clone of repo and use for any project, I need it to.
  • Because EFI shell allows us to experiment with kernel parameters, by simply typing them, as we would start new user program.
  • As we have initramfs in separate file, we still have to use EFI shell to start it manually.
  • It still has few things to improve, like logging of kernel messages, but generally it is a usable Linux system.

save | comments | report | share on


Lambda Calculus with Brainfuck for side effects

  • Edit2: I think the "." And " ' " operations can be performed using pure lambda calculus, so I'm going to leave them in but score them out.
  • It also means you can have long variable names and even whole function definitions as parameters, which could probably work normally, but it means you can also define things on separate lines of you'd like to format the code better.
  • Usually having "=" for assigning functions to variables isn't a part of lambda calculus, and it isn't really clear how it would function syntactically.
  • Strictly speaking the functions in lambda calculus always takes exactly one argument, although it is common to include syntactic sugar for currying.

save | comments | report | share on


Deploy a Dockerized FastAPI App to Google Cloud Platform

  • This Docker image now accessible at the GCP container registry or GCR and can be accessed via URL with Cloud Run. If you prefer using the GUI, skip to the next section.
  • Visit GCP cloud run and click create service, be sure to set up billing as required.
  • You’ll be brought to the GCP Cloud Run service details page where you can manage the service and view metrics and build logs.
  • Locally, create a new file called .env and add the connection string for your cloud database as DB_CONN,shown below.
  • Be sure to add the above line to your database.py file so that it ready to connect to the cloud!
  • Then we covered how to store a Docker container in Google Container Registry and deploy the container with the Cloud Build CLI and GUI.
  • Next, we set up a cloud SQL database and connected it to our FastAPI app.

save | comments | report | share on


Purpose-First Programming

  • Katie started her PhD research studying how students traced code when trying to understand and predict program behavior.
  • As you’d expect, students who traced programs line-by-line were more likely to get prediction problems (What is the output?
  • These were data science students who did program successfully, but they were unwilling to trace code at the line-by-line level.
  • Katie decided to build a new kind of curriculum that addressed her data science students and April’s conversational programmers.
  • How do you teach programming to students who (1) don’t want to become professional programmers and (2) are dissuaded from high cognitive load activities like tracing code?
  • She used Github repositories and expert interviews to identify a few programming plans (just like Elliot Soloway and Jim Spohrer studied years ago) that were in common use in a domain that her participants cared about.

save | comments | report | share on


Dijkstra Was Wrong About 'Radical Novelty'

  • Dijkstra’s argument is that computers represent "radical novelty." There’s nothing like them in human experience, and we cannot use our past experience to understand them.
  • She had a paper this last summer at the 2020 International Conference of the Learning Sciences about the embodied metaphors that teachers use when teaching recursion (see blog post summary here).
  • I particularly like how students shift metaphors, e.g., talking about the recursive function "going" and then being "stopped" by the base case, then talking about "going down" the stack and execution being different "on the way back up." We know that there is no "down," "back," or "up" in a computer process — these are examples of using concepts from our everyday, physical world to understand computational processes.
  • Using a constructivist lens on learning about computing, we can better understand how to help students use their everyday knowledge as metaphors to learn computer science.

save | comments | report | share on


LuckysheetServer – Google Sheets-like realtime collaborative spreadsheet

  • GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
  • Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
  • If nothing happens, download GitHub Desktop and try again.
  • If nothing happens, download Xcode and try again.
  • If nothing happens, download the GitHub extension for Visual Studio and try again.
  • Please consult the attached LICENSE file for details.
  • All rights not explicitly granted by the Apache 2.0 License are reserved by the Original Author.
  • We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.

save | comments | report | share on


How to Build Custom Context Managers in Python for Data Science Workflow

  • Programmers often work with external resources such as databases, files, connections, etc.
  • Since these operations are so common, Python has built-in tools called context managers which allow programmers to efficiently handle external sources.
  • The code you write before yield is called setup.
  • In the setup, you should write all the logic that should be executed within the context like connecting to a database, opening a file, etc.
  • Since Python uses indents for code blocks, writing a single unindented statement indicates to Python that we are out of the context.
  • More often than not, when context managers accept arguments they yield the results of the setup code.
  • When a context yields a result, it can be accessed as keyword like we are doing in the above read_only function.
  • Of course, the above code-block could have been executed without a context manager but you get the idea.

save | comments | report | share on


OpenZFS 2.0.0

  • Documentation - Updated OpenZFS documentation for Linux and FreeBSD.
  • Module options - The default values for the module options were selected to yield good performance for the majority of workloads and configurations.
  • They should not need to be tuned for most systems but are available for performance analysis and tuning.
  • See the module parameters documentation for the complete list of the options and what they control.
  • Learn more.
  • We use optional third-party analytics cookies to understand how you use GitHub.com so we can build better products.
  • You can always update your selection by clicking Cookie Preferences at the bottom of the page.
  • For more information, see our Privacy Statement.

save | comments | report | share on