Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mwilliamson
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
mwilliamson
11y ago
The post mentions borrowing ideas from GraphQL and Falcor: if I used GraphQL or Falcor, is there some pain I'd hit that Om Next would avoid?
32.
▲
by
mwilliamson
11y ago
Made to Stick, by Chip and Dan Heath [1]. They ask "how is it that certain ideas seem to stick our minds better than others?", and give concrete advice on how to improve the stickiness of your own ideas. I've found it useful
33.
▲
Farthing: generate type annotations for Python source code by running it
(github.com)
1 points
by
mwilliamson
11y ago
|
0 comments
34.
▲
Nope: a statically-typed subset of Python that compiles to JavaScript and C#
(mike.zwobble.org)
1 points
by
mwilliamson
12y ago
|
0 comments
35.
▲
by
mwilliamson
12y ago
And that feature disparity includes security updates. If a library is updated with a security fix, you'll need to update everything that uses that library to get the fix, rather than just the shared dynamic library.
36.
▲
by
mwilliamson
12y ago
A made a tool called Whack [1] as an attempt to solve a small part of the problem. The idea was that you could write scripts that would build statically-linked versions of binaries, such as Apache HTTPD [2]. Then, you could run a command li
37.
▲
Ask HN: How can technology improve education?
6 points
by
mwilliamson
12y ago
|
2 comments
38.
▲
by
mwilliamson
12y ago
This article has a few examples of basic income experiments, with encouraging results. For instance, when the town of Dauphin had basic income implemented, hospital visits went down by 8.5%, which suggests real benefit rather than just friv
39.
▲
by
mwilliamson
12y ago
I believe they're all still Red Gate folk. Specifically, if you take a look at their About page: > Regard is an open source product built by a team working for Red Gate Ventures in Cambridge, UK. Only just noticed that it's ope
40.
▲
by
mwilliamson
12y ago
I think this is an excellent idea. It lets companies retain the benefits of analytics, but gives users the appropriate power over information concerning them. A couple of questions occurred to me. Firstly, how much do end-users worry about
41.
▲
by
mwilliamson
12y ago
I think a problem is that we tend to overgeneralise our own experience. When we try out ideas, such as TDD, we (hopefully) get a good feel for how they work (or don't work) for us. Reading articles or getting advice might help us to un
42.
▲
by
mwilliamson
12y ago
Having built something similar [1], the reason I didn't use "grep -ri license" is that I wanted to generate the list of licenses for both my project and all of its dependencies. Using grep would still require matching up each
43.
▲
Moving from Practice to Production with Test-Driven Development
(simple-talk.com)
1 points
by
mwilliamson
12y ago
|
0 comments
44.
▲
Mammoth: convert .docx documents to simple and clean HTML
(mwilliamson.github.io)
1 points
by
mwilliamson
13y ago
|
0 comments
45.
▲
by
mwilliamson
13y ago
I tend to prefer using testing for getting recent packages on a desktop -- packages automatically migrate from unstable to testing if no bugs are reported within 10 days, which tends to mean a slightly more stable system, but still with rea
46.
▲
by
mwilliamson
13y ago
Software developer, Stat.io - Cambridge UK, or REMOTE We aim to allow users to understand the socio-economics of any location, from the population of a country to the crime rate of a postcode. Organisations can then use this data to improve
47.
▲
by
mwilliamson
13y ago
I suspect it's because there are backwards-incompatible changes between 0.x versions, whereas 1.x should (arguably) be backwards-compatible.
48.
▲
Converting docx to clean HTML: handling the XML structure mismatch
(mike.zwobble.org)
2 points
by
mwilliamson
13y ago
|
0 comments
49.
▲
by
mwilliamson
13y ago
Software developer, Stat.io - Cambridge UK, or REMOTE Stat.io is building a web application that lets people use open data to improve decision-making. Our vision is to aggregate data from hundreds of open data portals, which can then be acc
50.
▲
by
mwilliamson
13y ago
I used to be a developer for some technical websites (publishing articles, blogs, newsletters, that sort of thing), mainly around SQL Server and .NET. Almost all of the authors used Microsoft Word, the main value being familiarity and using
51.
▲
by
mwilliamson
13y ago
Software developer, ProjectPolicy - Cambridge UK, or REMOTE ProjectPolicy is a startup building Stat.io, a web application that lets people use open data to improve decision-making. Our vision is to aggregate data from hundreds of open data
52.
▲
Language Ignition - Reference for managing programming language environments
(mwilliamson.github.io)
2 points
by
mwilliamson
13y ago
|
0 comments
53.
▲
by
mwilliamson
13y ago
Originally, I tried using similar tools (I think I used chrpath, I can't remember whether I tried patchelf) to implement whack, but I found it quite time-consuming to get things working, and had limited success. I chose the current imp
54.
▲
by
mwilliamson
13y ago
I'm no Linux security expert, so any advice on that front is hugely appreciated. whack-run is supposed to drop any privileges it holds when it runs "setgid(getgid())" and "setuid(getuid())", and it exits early if ei
55.
▲
by
mwilliamson
13y ago
whack-run is a separate C binary for this very reason: https://github.com/mwilliamson/whack-run Whack itself is run with normal privileges.
56.
▲
by
mwilliamson
13y ago
Containerization solves this problem, but it also solves many more. Whack is intentionally narrow in scope, which means that there's relatively little to learn as a user. Whack certainly isn't a replacement for Docker and the like
57.
▲
by
mwilliamson
13y ago
You're absolutely right, but "relocatable" was the best word I could find that's used for the concept that was relatively accurate. The other usual adjective is "portable", but I felt that was misleading since
58.
▲
by
mwilliamson
13y ago
You just need to be root to install whack-run, since whack-run requires the setuid flag. Once you've installed whack-run, you can install the applications as an ordinary user.
59.
▲
by
mwilliamson
13y ago
Yes, so long as the hard-coded path for the the config file is within the output directory, the program will find the right config file for that particular installation. You still won't be able to put the config file in an arbitrary lo
60.
▲
by
mwilliamson
13y ago
In my experience, a lot of Linux programs aren't straightforward to compile statically. Having said that, that might just be my ineptitude! Which bit of the caching isn't clear? If you're happy that whack creates relocatable
More ›