Better HN
topnewbestaskshowjobs
Log inSign up

flowless

132 karma · joined Feb 14, 2013 (13y ago) · 69 submissions

lambda calculus is fun
Submissions

comment 8y ago · link · parent

I'm totally in the you-dont-really-need-web for everything group but yes, this can be considered targeting consumers as-in ordinary people who want to use localized version of TTN.

I don't really approve use-cases like running a webserver to control lights on ESP8266 where simple TCP sockets would do.

Btw I've written an implementation of ZRE protocol which you might possibly find interesting - https://github.com/vpsfreecz/haskell-zre

comment 8y ago · link · parent

I've left master CS studies to be able to do robotics and be free to learn stuff I want/need. After number of years hacking stuff all around in local hackerspace I'm finally getting onto something which is an attempt to create distributed motion control system (https://distrap.org) which is also one huge experiment with generating code from Haskell utilizing Ivory Tower framework made by Galois (https://ivorylang.org/). During the process I've realized the potential of this framework and started writing a book about it (http://48.io/~rmarko/book/) so people don't have to spend half a year reverse engineering it.

Beside that we're also building vpsAdminOS (https://vpsadminos.org/) for running LXC on top ZFS. At https://vpsfree.cz we currently run openVZ with the intention to migrate to vpsAdminOS which is currently tested by members.

In my experience you gotta sacrifice stuff (like well paying job) so you can do stuff you really want.

comment 8y ago · link · parent

Nice, I'm building something similar with TTN - using Haskell to glue MQTT/SQL/WebSockets to be able to stream data from sensors and also optionally store data in timescaledb. For web fronted I really want to try miso (https://haskell-miso.org/).

comment 8y ago · link · parent

Cardano is really nice and also a very good Haskell marketing opportunity ;)

comment 8y ago · link · parent

With noscript it doesn't even get a chance to load.

comment 8y ago · link · parent

Care to explain what's new in 5.0 regarding library management?

I'm considering rolling out a standalone library (package) management for Kicad re-using infrastructure from Haskell (stripped down Hackage + Stackage servers). This way there would be a versioned repository people could upload their libraries to and from your own project you can depend on these libraries. Stackage would then create a snapshots of these so even stuff built years ago can still find correct version of Kicad and libraries.

comment 8y ago · link · parent

Kind-of +1 about this, I don't really want to run dedicated Ubuntu for something like this but I have no problem running virtualized Ubuntu with GPU via VTd passthru. Recently we've built such host - server board with 2 GPUs that now runs two powerful virtualized desktops. Host uses NixOS and libvirt.

comment 8y ago · link · parent

I don't feel like adoption of another proprietary platform is the way. I like the idea of open data, APIs or even open IoT networks like TTN that can be used and even improved by anyone. How are you planning to handle various integration requests with other services the cities run?

comment 8y ago · link · parent

This needs some samples

  https://dood.al/oscilloscope/#-0.05,-0.8,0,0,0,0,0.0,3,1,sin(a*t-t/5)*cos(a*t/b)*cos((a+b)*t),sin(a*t+(t/11))*cos(t*t/(b*a)),3,5,0,0.74,125,0,0,0

  https://dood.al/oscilloscope/#-0.05,-0.8,1,0,0,0,0.0,3,1,sin(22*a*t-t/15)*cos(a*t+t/12+t/30),sin(a*t+t)*cos(t/a+t/3),2,5,0,0.74,125,0.07,0,0

comment 8y ago · link · parent

+1

We've also built https://github.com/vpsfreecz/vpsadminos recently which is based on not-os / NixOS

comment 8y ago · link · parent

My mother suffers from depression and is medicated already for quite some time. Every year when autumn comes her condition gets worse and she ends up in hospital for few weeks where they change her medication and let her recover just to experience the same during the next year. What's especially stunning to me is the reaction of my father and my family who instead to provide her with support and peaceful environment just sends her to hospital instead.

From my perspective this all seems to be caused by the lifestyle she lives and her immediate surroundings - she's like under constant pressure to behave the way the rest of the ppl expect from her and she cares too much about what other ppl think about her. Another cause which I think is quite relevant is that she doesn't have much friends or hobbies of her on own so she's too dependent on my father who mostly cares for himself.

I'm trying to talk to my larger family about this problem but most of the time they just dismiss my claims about her not having a good life, cause they don't want to make more of a drama by talking to my father to change his habits - they see it like everything is ok and the problem is with my mother who is just mentally ill. This is escalating as I'm slowly getting more and more reluctant to even talk to my farther, sister and the rest of the people who don't see this as a problem. I'm even thinking of translating articles like this so they can read this and possibly understand that's not everything is about drugs. Any ideas of what can I do are welcome as this is the source of my depression and anxiety for quite some time.

comment 8y ago · link · parent

Same here. One of the most disturbing scenes I'm witnessing like every night is couple of homeless people sleeping in front of the church while each morning there are these noble ignorants walking around them who even call them selves Christians..

Anxiety is just another term for caring too much in some cases (This was mentioned here on HN last time I was reading similar discussion).

comment 9y ago · link · parent

Former Ferment built on top of Scuttlebutt can be considered - https://github.com/LolaShare/LolaShare

comment 9y ago · link · parent

The thing is - there is no black box tech. Bitcoin paper is so clear you can explain the tech behind Bitcoin to a person in few minutes/hours depending on their math background.

Same holds for virtually any cryptocurrency although the tech gets a bit more complicated (for example zero-knowledge proofs used by Zcash are not that easy to comprehend and explain).

There are many benefits of cryptocurrencies, one of them is IMHO pretty important - it is much harder to manipulate the prize of currency, or to create new amounts of currency at will - everything is backed by math and computational power.

comment 9y ago · link · parent

It implements GDB stub directly so you don't need to run OpenOCD to be able to attach to it from GDB.

Also UART bridge is nice but this might be supported newer in ST-Link too. I haven't used STLink for a while - flashing all the stuff with blackmagic right away.

comment 9y ago · link · parent

I really like F3 and F4 discovery boards. You can re-flash dedicated stm32f1 with blackmagic probe (instead of ST-Link) and bridge UART to it to get really awesome development board.

After this is done you'll get /dev/ttyACM0 and ACM1 for GDB interface and UART bridge. From GDB you can connect to it directly with 'target extended-remote /dev/ttyACM0' (no need for OpenOCD middleware).

https://wiki.base48.cz/STM32#Running_BMP_on_Discovery_boards

comment 9y ago · link · parent

I've been looking for such thing for a long time as I don't really like C for embedded programming. Was following https://zinc.rs/ for a while but then I've discovered ivory/tower framework made by Galois (http://ivorylang.org/). It's basically haskell DSL and C code generator for embedded world, currently targeting stm32 family.

Compared to these early rust attempts they've written a port of ArduPilot in ivory/tower called smaccmpilot (http://smaccmpilot.org/).

In one of the papers they even compare ivory with rust in terms of memory safety.

I'm now trying to port ODriveFirmware written in C (+CubeMX/CMSIS) to ivory and so far I'm pretty surprised how well it goes. I'm going to start documenting this process on a blog soon, if interested I've created a wiki page collecting resources about embedded programming in Haskell at https://wiki.base48.cz/EmbeddedHaskell

comment 9y ago · link · parent

We're building a set of Ansible roles for self-hosting services with a complete mailserver based on dovecot and postfix. See https://wiki.base48.cz/Nestihacky and https://github.com/nestihacky/ansible-role-mailserver for more details. Originally inspired by https://github.com/sovereign/sovereign/ but with focus on Centos/Fedora (due to SELinux) and re-usability (separate Ansible roles).

comment 10y ago · link · parent

You don't need web apps would be nice as well :)

comment 10y ago · link · parent

New attack incoming https://www.dynstatus.com/incidents/nlr4yrr162t8

comment 10y ago · link · parent

There's even a ros project for that https://github.com/CPFL/Autoware

comment 10y ago · link · parent

Kernel support improved a lot and we now have https://pignus.computer/ running mainline kernel. Graphics and camera support are still missing but we'll eventually get there with 4.5 kernel.

comment 10y ago · link · parent

Exactly. And limited to 15MB/s writes.

comment 10y ago · link · parent

Good to know, thanks!

comment 10y ago · link · parent

I would like to see actual comparison of both. I'm going pg way myself but due to millisecond precision of timestamps required for handling scientific data.

comment 11y ago · link · parent

I would love to see this for Fedora as Anaconda is both graphical and text-based horror game of luck.

comment 11y ago · link · parent

If you append /hls to the URL you'll get to the HTTP Live Streaming player.

comment 11y ago · link · parent

Thanks. Wasn't sure as the chat is live.

comment 11y ago · link · parent

Any idea how to play this on Fedora without flash? I've tried gnome-twitch that crashes a LOT and now trying to use livestreamer-twitch-gui which is not able to find the stream.

livestreamer http://www.twitch.tv/twitchinstallsarchlinux says it cannot find any streams on this URL.

123