Skip to content

Instantly share code, notes, and snippets.

View hwhw's full-sized avatar

HW hwhw

  • Göttingen, Germany
  • 19:12 (UTC +01:00)
  • X @hilse
View GitHub Profile
@hwhw
hwhw / AI-in-universities.md
Last active April 11, 2023 09:05
please write a paper about how a university should deal with the advent of AI text generation. Focus on courses and assignments and outline how teaching staff should deal with it.

Introduction:

Artificial Intelligence (AI) text generation has become an increasingly popular tool used in various fields, including academia. The use of AI text generation has made it easier to automate some tasks, including writing, data analysis, and summarizing information. However, its increasing prevalence raises concerns about academic integrity and ethical considerations. In this paper, we discuss how a university should deal with the advent of AI text generation, focusing on courses and assignments, and outline how teaching staff should deal with it.

Background:

The use of AI text generation has gained momentum in recent years, especially in the field of natural language processing (NLP). This technology has enabled the creation of intelligent machines that can read and interpret human language. The advancement in AI text generation has facilitated the development of chatbots, voice assistants, automated content creation, and other applications.

AI Text Generation in Academia:

@hwhw
hwhw / cc2538-and-openocd.md
Last active November 16, 2023 20:20
Flashing CC2538 using OpenOCD (&UART)

Flashing CC2538 using OpenOCD (&UART)

Problem description

CC2538 SoCs are Cortex-M4 based SoCs by Texas Instruments for 802.15.4 PAN networking, especially for Zigbee communication using their Zigbee Stack solution. It also is a solid foundation for hobbyist-grade solutions involving Zigbee communication, especially for running a self-implemented Zigbee coordinator (often called "Zigbee gateway" in commercial distribution of similar tech). Software-wise, this is usually done by running "ZNP" (Zigbee Network Processor) firmware on the SoC and using a separate controller/computer to act as the "ZAP" (Zigbee Application Processor). In a hobbyist setting, the former is usually a cheap module from china containing the chip, capacitors and an antenna or antenna connector, while the latter is e.g. a Raspberry Pi or an Intel NUC or whatever floats your boat. The API between both components is specified and so the software side on the ZAP does not need to bother with Zigbee communication states but can act on a

@hwhw
hwhw / flut.lua
Last active December 25, 2019 19:58
Pixelblaster_v6 by @HIlse
--[[
Pixelblaster_v6 by @hilse
Needs LuaJIT & ljsyscall (syscall.lua & syscall/...)
and lodepng
This is a perfect example on how to not do things correctly while still using Lua.
Run this with enough rights to send raw packets
Usage:
/* compile with gcc -lhackrf */
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <libhackrf/hackrf.h>
/* table of cos/sin pairs for x=0..1023:
* cos(x*pi*2/1024) * 127, sin(x*pi*2/1024) * 127
*/
static const int8_t cos_sin_tbl[] = {
127, 0, 126, 0, 126, 1, 126, 2, 126, 3, 126, 3, 126, 4, 126, 5, 126, 6,
@hwhw
hwhw / hopo-stilbrvch-on-fire-2.md
Created June 9, 2015 10:59
HoPo: Wenn ein ADF-AStA eine Party veranstaltet...

Wenn ein ADF-AStA eine Party veranstaltet...

June 9, 2015 at 8:24am

...zahlt die Studierendenschaft. Aus dem Bericht der Rechnungsprüfer (das ist also eher Zufall, dass sowas auch mal so genau unter die Lupe genommen wird):

Bei der Abrechnung der Veranstaltung "Stilbruch on Fire II" kam es zu Unregelmäßigkeiten, welche unseres Erachtens dazu führen, dass es noch eine Forderung der Studierendenschaft gegen die für diese Veranstaltung verantwortlichen Personen in Höhe der im Folgenden dargestellten Differenzen besteht.

Die "Prüfliste für Veranstaltungen der Studierendenschaft" mit Stand vom 15.09.2014 wurde ausgefüllt und ohne Angabe eines Datums von zwei Projektverantwortlichen sowie dem AStA Finanzreferenten abgezeichnet.

Dieser beigefügt ist eine Vorkalkulation, welche mit Einnahmen von € 2.400,00 bei Ausgaben von € 2.990,00 zu einem erwarteten Defizit von € 590,00 führt, welches auch in der Prüfliste genannt wird.