HN user

psuter

1,520 karma

https://psuter.net

Posts28
Comments163
View on HN
www.wsj.com 3y ago

Lasers Can Guide Dangerous Lightning Strikes to Safer Paths

psuter
7pts6
lichess.org 6y ago

Improved chess game compression (2018)

psuter
109pts35
synsh.dev 6y ago

Synsh: Shell Pipeline Synthesizer

psuter
3pts1
psuter.net 7y ago

An informal survey of z-index values found in the wild

psuter
3pts0
typesandtimes.net 7y ago

How the Government Shutdown Warps Time Itself

psuter
70pts69
psuter.net 8y ago

Serverless QBasic

psuter
107pts39
lichess.org 8y ago

Improved chess game compression (2018)

psuter
3pts0
database.lichess.org 9y ago

170M chess games

psuter
2pts0
github.com 9y ago

Unix History Repository

psuter
4pts2
www.apiful.io 9y ago

API Harmony Hits the Next Major Version

psuter
8pts2
developer.ibm.com 9y ago

Writing OpenWhisk (serverless) actions in Scala

psuter
5pts0
blog.solarimpulse.com 10y ago

Solar plane completes first transatlantic flight

psuter
1pts0
www.apiful.io 10y ago

An Analysis of the JavaScript Package Ecosystem Npm

psuter
6pts0
bryanbraun.github.io 10y ago

After Dark in CSS

psuter
8pts2
www.scala-lang.org 10y ago

New Year Resolutions

psuter
3pts0
swift.org 10y ago

Swift is Open Source

psuter
1824pts432
www.solarimpulse.com 11y ago

Solar Impulse Flying Over the Pacific Towards Hawaii

psuter
3pts0
bostinno.streetwise.co 11y ago

MIT CSAIL Students Are Launching a Cybersecurity Startup Program

psuter
2pts0
www.solarimpulse.com 11y ago

First Round-the-World Solar Flight Route Announced

psuter
1pts0
www.technologist.eu 11y ago

Technologist: A new magazine from a consortium of European universities

psuter
11pts2
itunes.apple.com 12y ago

Show HN: Tileswap: my first iOS game

psuter
2pts0
psuter.net 12y ago

Show HN: Tileswap: a puzzle game for Android

psuter
1pts0
article.gmane.org 12y ago

Scala turns 10

psuter
72pts64
www.ibm.com 12y ago

Watson is open for business

psuter
3pts0
archive.org 12y ago

Public domain movies (Streaming & DL)

psuter
1pts0
actu.epfl.ch 12y ago

Translucent solar cells installed in windows of new EPFL building

psuter
1pts0
www.suasnews.com 12y ago

SenseFly releases swarm technology for mapping

psuter
1pts0
slideshot.epfl.ch 12y ago

Congress on Privacy & Surveillance - Talks by Schneier, Bowden & more.

psuter
1pts0

Congrats! We tried something similar a few years ago (also at the TC Disrupt Hackathon [1]), but had to take a lot of shortcuts to get to something working. I'm impressed you had the time to train a proper model (we went with old school CV hacks).

Looking forward to seeing what BoardBoss could become. These days I've been wanting a CV app to track backgammon games. Those dice can be pretty tiny though :)

[1] https://devpost.com/software/chesseye

That's correct. If you're curious about the architecture: the vision part detects a chessboard, then corrects the perspective and restricts the image to just the square of the board, then looks at each square and has some simple thresholds to decide if it's occupied by a piece, and of what color. From there, the camera is treated as a black box sensor that continuously streams two 64-bit masks, for where it thinks it sees white and black pieces. There is a second program (controller) that turns that stream into a stream of chess positions (and a Unix pipe in between). The sensor is faulty of course and the controller has logic for ignoring bits from the mask where there cannot possibly be pieces etc.

We built a barely working version of that during a hackathon a while back: https://github.com/chesseye/chesseye (README has a link to a video).

It takes a lot of shortcuts, works with just the right lightning, etc., but worked great as a proof-of-concept :)

We got away with not identifying the pieces by just detecting the color, assuming the game started from the initial position, and assuming only legal moves (the whole game is unambiguous using these assumptions).

It's all old-school computer vision with hand-written features, and I'm pretty confident there is tons of low-hanging fruit, but who has the time.

A friend+former colleague of mine is the lead author of ReactiveML, a synchronous extension to OCaml: http://rml.lri.fr/

We worked on a hackathon together where we built a physical chessboard interface (https://github.com/chesseye/chesseye). He built the controller, which handles among other things the output from the video recognizer and messages the chess engine, in ReactiveML. I didn't know much about the language beyond first principles then, but was impressed by how easy it made it to compose parallel processes.

We tried to convey some of those conclusions in a later presentation, even though looking at it 2 years later I realize it's probably hard to get the insights without the verbal delivery: https://github.com/chesseye/chesseye/blob/master/presentatio...

(I understand there was a ReactiveML tutorial at ICFP last Saturday: https://icfp18.sigplan.org/program/program-icfp-2018, not sure if this post is related.)

Serverless QBasic 8 years ago

It was definitely a little confusing, as there seems to be many ways of exiting. From the QBasic docs in the IDE:

END: Ends a program, procedure, block, or user-defined data type. [...] If no argument is supplied, END ends the program and closes all files.

STOP: Halts a program.

SYSTEM: Closes all open files and returns control to the operating system.

You may be thinking of:

SHELL: Suspends execution of a Basic program to run a DOS command or batch file.

Serverless QBasic 8 years ago

Thank you!

On a "warm" invocation, almost all the time goes into DOSBox + QBasic.

Not precise measurements but: on my MacBook Pro, running the QBasic interpreter from within DOSBox consistently takes about 1.5 seconds & running DOSBox + QBasic from the shell in "headless" mode takes about 2.4 seconds.

OpenWhisk also gives me the logs of the invocations, which include debug lines produced by DOSBox, and from the timestamps in those I can tell that invocations do typically spend >2s running DOSBox.

Do you foresee an enlargement in the total number of speakers? Why?

In total number of speakers, it's possible, and I think it's been the case historically (just by general population growth). In relative numbers (fraction of the population), it's been shrinking and I don't see this changing. Main reasons are that:

  a) as mentioned in the BBC article, people move, and it's very difficult to keep the language after one or two generations if you don't live in that region,
  b) even if you were to move to a Romansh-speaking area (as a Swiss national or as an immigrant), the incentive to learn is low because almost everyone also speaks (Swiss-)German.
(just my non-expert opinion)

national language

It has a slightly different status than the other 3 languages, Wikipedia explains it well [1]. I don't know if you could get citizenship that way but you'd definitely be on the news.

[1] https://en.wikipedia.org/wiki/Romansh_language#Official_stat...

I'm not sure it was ever the goal that everyone would _speak_ Rumantsch Grischun, as it is called, but the hope was that at least it would be used in writing (e.g. in school books) [1]. The resistance there is arguably more surprising.

[1] This is not too different from the situation with High German being used in education even though everyone speaks in dialects.

OpenAI Baselines 9 years ago

zenodo.org lets you archive code and data, generates DOIs, has a GitHub integration, and is maintained by a reputable team. I recommend it wholeheartedly.

One thing JIT compilers are good at is specializing methods for common (runtime) types; e.g. you have a method operating on Iterable but it turns out most of the time you get a List as input; you can generate code that bypasses the method lookups for .size etc. The question of whether this pays off is usually only answerable at runtime.

From [1]:

08/24/1993: Ken signs employment agreement with Apogee Software Productions. A special provision on the contract says that Apogee cannot interfere with Ken's education.

Inferring from the first entry in the timeline, he must have been 17 or 18 then.

[1] http://advsys.net/ken/build.htm