HNHacker News
TopNewBestAskShowJobs

cfstras

238 karma · joined August 4, 2014

submissionscomments
cfstras··on The Problem with Git Flow
This is an entirely different problem - your customer doesn’t install releases, but they do install fixes? What is the reason for that?
cfstras··on Show HN: Chartss.css – accessible HTML/CSS charts with markdown support
I get where you’re coming from. Just know that at least in Germany, no company will ever use or support your library/product publicly with a name like that. If you don’t care, that’s fine.
cfstras··on Show HN: Chartss.css – accessible HTML/CSS charts with markdown support
Just so you know, that name won‘t fly in Europe. Google „SS“ if you want to know why.
cfstras··on ISS Docking Simulation
This is way more fun to play to: https://www.youtube.com/watch?v=m3zvVGJrTP8&feature=youtu.be
cfstras··on On WD Red NAS Drives
I‘d guess that the german „Sachmangel“ would apply here. However, this law applies to the seller - so every dealer would have to start arguing with WD about getting their money back. Sachmangel does not apply to the same extent for business customers...
cfstras··on Hardware Microphone Disconnect in Mac and iPad
The microphone would probably sound pretty bad when obstructed... I've heard that complaint from a few ThinkPad-owners since everybody is doing homeoffice.
cfstras··on Dgit: Git with decentralized remotes
Thanks for the example, looks easy enough :)
cfstras··on Dgit: Git with decentralized remotes
Thanks for the info.

Is there a simple way right now to use another storage backend than Sia? E.g. If I have a group of people that want to participate in hosting, but only want to host data from the people in the group?

Essentially, can you use dgit to store a repo decentralised without having to set up git synchronisation tools, but while still having control over the hosting infrastructure?

cfstras··on Dgit: Git with decentralized remotes
The description says that my repo is uploaded to the "decentralized service Skynet" -- But I can't seem to figure out how one would participate in hosting this service. Does only Sia, the company, host nodes for Skynet? Or is this a plot to increase the visibility of Siacoin?
cfstras··on A note of reflection after 10 years of “A successful Git branching model”
the way to go here is probably creating an "administrator" account which is used by those merging scripts, and allow push access to protected branches for administrators.
cfstras··on A note of reflection after 10 years of “A successful Git branching model”
There exist scripts and workflows to perform auto-merges from all release branches back to master. This way, you only have to care about branching off releases, and hotfixes will automatically land on develop once released.

(Assuming master is your "next release", and develop is your main development branch)

cfstras··on Bash Argument Parsing and Quoting (2016)
shellcheck. It's great. Use it.

It has plugins for most IDEs, and just reading the wiki entries for the error messages you encounter will teach you a lot of useful things about bash.

cfstras··on Revolution Pi – The Industrial Raspberry Pi
Awesome, thanks for the info!

Does the hardware watchdog work when halted because of over-temp?

cfstras··on Revolution Pi – The Industrial Raspberry Pi
The spec limits ambient temperature to -44–55°C. As the low temperate range of the regular Pis was the major limiting factor for use in industrial applications (0–50), is there some module that goes further? Think of devices deployed in a street cabinet in summer heat f.ex., those have to endure much higher temps.
cfstras··on GitLab 12.5
Depends on your market.
cfstras··on 35% Faster Than The Filesystem (2017)
This might be the answer on how to make file-heavy tools like npm/yarn work adequately on windows...
cfstras··on How annoying is too annoying?
reminds me of administering an EC2 instance hosted in australia from a remote wimax connection in the rocky mountains.
cfstras··on Hundreds of exposed Amazon cloud backups found leaking sensitive data
Oh god, how much I hate articles that don‘t list their sources. Where are the slides from?

The talk description is here: https://www.defcon.org/html/defcon-27/dc-27-speakers.html#Mo...

cfstras··on What does an unprocessed RAW file look like?
Try https://github.com/anuejn/batic - a shadertoy-like experiment where you can to implement a shader to convert the bayer-pattern.
cfstras··on GCC should warn about 2^16 and 2^32 and 2^64
these are signed, so you‘re getting -2^16... so many warnings to emit!

/edit: had that mixed up in my head. Interestingly, clang does warn about the overflow:

    main.c:6:17: warning: implicit conversion from 'int'
      to 'int16_t' (aka 'short') changes value from
      65536 to 0 [-Wconstant-conversion]
  int16_t s16 = 65536;
cfstras··on New Dell XPS 13 developer edition now available
I had an 9360 for a few months and found it awful. Firmware bugs (some with Windows, a lot with Linux), maddening coil whine, flimsy power plug.

The Linux TB3 support was sadly not really „ready“ (mainline Kernels April~July 2018) in that there were constant panics when hotplugging/unplugging monitors or the docking station.

cfstras··on Road Tripping Around Europe in a Tesla Is Less Fun Than You’d Think
the first offer I found for the first offer i found for german CC terminals (sumup.de): - 2.75% on credit card tx - .95% on EC tc (popular form of debit cards) - no base fee

I only found secondary sources for the direct way, but they state (zahlungsverkehrsfrafen.de) - .3%, at least .08€ for EC tx - 2-4% for CC tx, depending on provider

cfstras··on Road Tripping Around Europe in a Tesla Is Less Fun Than You’d Think
there are neither references nor a timestamp on that article.

at least in germany, where OP was trying to charge along the route, there is a minimum transaction fee charged by most payment providers.

cfstras··on Road Tripping Around Europe in a Tesla Is Less Fun Than You’d Think
credit/debit transactions are too expensive for these small transactions to be viable. many stores have a „no cards below 10€“ policy because of this.
cfstras··on Download all of your GitHub data
I‘m using the setup linked below to sync a few repos to gitlab. It uses GL pipelines to do the sync, and a webhook to do it instantly (however you can trigger pipelines using curl, or on a timer in GL)

https://gist.github.com/cfstras/5e40ea264517552e29caf61bbd28...

cfstras··on Cloud Computing Without Containers
Gary Bernhardt kind-of predicted this. https://www.destroyallsoftware.com/talks/the-birth-and-death...
cfstras··on The IRS’s Effort to Convert Its Assembly Codebase to Java
I don’t know how much validation the code does, but every single number in your tax forms is related to another by some statement in the law, and these change constantly. Validating them means codifying every single rule.

Germany figured this out a while ago and built a rule engine with GUI and small DSL where the lawyers can input tax rules to the database - meaning better code and you can emit for any platform. It’s called ElsterRules (Elster is the online tax filing program) and runs even in your browser... I wonder if there’s something similar in other countries.

cfstras··on Debugging an evil Go runtime bug
Hah. I remember Bryan Cantrill complaining about this exact thing. Glad that it's fixed.

Turns out somebody else did, too: https://twitter.com/bcantrill/status/774290166164754433?lang...

/edit: spelling

cfstras··on Date/Time Inputs Enabled on Firefox Nightly
Obligatory XKCD: https://xkcd.com/1179/

I agree, though. Browsers allow users to customize fonts and zoom levels, so the date formats should probably be a user-configurable setting, too.

cfstras··on A camera that snaps a GIF and ejects a cartridge that displays it
I love the work you did! There was some rambling about the RPi setup process - I fully agree that it can be time-consuming.

A good way to make that better is building one's own OS image. Once you get the scripts running (which is fairly easy), you can customize them to your liking, preinstall your software and config, etc. There's a lot of opportunities to save power and make the bootup quicker if you look through the scripts.

https://github.com/RPi-Distro/pi-gen

← PreviousPage 2 of 3Next →