Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
duijf
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
duijf
1y ago
> It's just that function calls can only appear in very limited places in the program (only inside `steps`), and to define a function, you have to create a Git repository. FYI there is also `on: workflow_call` which you can use to d
2.
▲
by
duijf
2y ago
All the Nix commands that take an 'installable' can take GitHub URLs. For instance: $ nix run github:NixOS/nixpkgs#hello Hello world! That command will download nixpkgs from GitHub, evaluate the `hello` flake att
3.
▲
by
duijf
3y ago
Wow it's great seeing this here again. The first uni assignment I made for CS101 was a Mandelbrot set renderer. I got it to work, but that's all the merit it had. I didn't have a clue about what I was actually doing. When I r
4.
▲
by
duijf
3y ago
Line of business, I think
5.
▲
by
duijf
3y ago
> Ports below 1024 can be opened only by root. Or processes running with the CAP_NET_BIND_SERVICE capability! [1] Capabilities are a Linux kernel feature. Granting CAP_NET_BIND_SERVICE to nginx means you do not need to start it with full
6.
▲
Cloudflare Performance Issues
(cloudflarestatus.com)
3 points
by
duijf
4y ago
|
1 comments
7.
▲
by
duijf
4y ago
Working on that API gateway with you was a lot of fun :) To be fair, we did run into some issues with the GHC garbage collector performance initially. That took some time to figure out and wasn't the easiest thing ever. Like all tools,
8.
▲
by
duijf
4y ago
Channable has a tech blog where you can find more details. The most popular ones discussing technology choices (with HN discussion): - Haskell ( https://news.ycombinator.com/item?id=13782333 ) - Nix ( https://news.y
9.
▲
Still Learning
(brunolauwers.nl)
3 points
by
duijf
4y ago
|
0 comments
10.
▲
by
duijf
5y ago
Here's a way you can do this with git. This trick relies on `git merge --allow-unrelated-histories`. Assuming you have repos `foo` and `bar` and want to move them to the new repo `mono`. $ ls foo bar # Prepare fo
11.
▲
by
duijf
5y ago
Form a corporate perspective: 2FA would still force a unique secret per user. That can be useful when your users tend to reuse passwords for different sites or choose poor ones. I have seen folks use password managers to store their poor no
12.
▲
by
duijf
5y ago
Thanks for working on this! I've been using this on and off over the last two months (tend to forget I have it installed and fall back to old habits), but it's really really cool stuff!
13.
▲
by
duijf
5y ago
More likely May 2021, the date format at the bottom of the post is probably YYYY-MM-DD as common in Germany where the author seems to be located. EDIT: If Germany has the same conventions as The Netherlands, DD-MM-YYYY is probably even more
14.
▲
Show HN: DVC Studio – Git-Based ML Experiments Management
(studio.iterative.ai)
19 points
by
duijf
5y ago
|
3 comments
15.
▲
by
duijf
5y ago
> What is the story in nix for packaging untagged branches of software Most Nix packages define their sources using `src`. You can pass in whatever you want. E.g. fetch a tarball from GitHub with `fetchUrl`, fetch from a git repository,
16.
▲
by
duijf
5y ago
> Also, regarding DevOps, the tooling around Nix makes it a little brittle for anything event based--rapidly changing configurations on the fly due to network conditions (Consul, Ansible, etc). This is where configuration management is h
17.
▲
DVC 2.0 Release – open-source version control for machine learning
(dvc.org)
10 points
by
duijf
6y ago
|
0 comments
18.
▲
by
duijf
6y ago
There are numerous valid HTTP payloads that are larger than a single TCP/UDP packet. Ordering is important in these cases.
19.
▲
by
duijf
6y ago
From https://github.com/ghc-proposals/ghc-proposals/blob/master/p... .g is a field selector. f.g is field selection of a record. f . g is function composition. f. g is function composition.
20.
▲
by
duijf
6y ago
My favorite real world example of how you can use these techniques to reduce bugs: -- Bad. data Session = Session { authenticated :: Bool , challenge :: Maybe Challenge , userId :: Maybe UserId } -- Go
21.
▲
by
duijf
7y ago
Rust looks pretty cool.
22.
▲
by
duijf
7y ago
Re availability: We had a hard time keeping the system based on Spark available. There were days when the cluster would freak out multiple times in a single day. The 'fix' would be: restart a bunch of spark workers. We spent a lot
23.
▲
by
duijf
7y ago
> Reading this article it seems like yet another example of "you don't have big data". Yes definitely. This thing was a big exercise in "You aren't going to need it". > so in the end it's mostly...ju
24.
▲
We decided to go for the big rewrite
(tech.channable.com)
167 points
by
duijf
7y ago
|
70 comments
25.
▲
by
duijf
7y ago
If you haven't seen https://haskell-at-work.com/episodes.html yet, I can recommend it
26.
▲
by
duijf
7y ago
That depends entirely on how/where you implement this. You can make your application code check the authorization header, get the username from there and do authorization based on that.
27.
▲
by
duijf
7y ago
There aren't too many standard onrs. Most people seem to either write a custom (embedded) DSL for their tool or go with something more widely known. If people are curious about examples of DSLs in Haskell projects, they can look at cab
28.
▲
by
duijf
7y ago
Dhall heavily borrows both ideas and syntax from the ML family of languages. E.g. Haskell, OCaml, Elm, Purescript Colons are used for type signatures. Commas are presumably required because you can have multi line and nested records. (don&#
29.
▲
by
duijf
7y ago
We were able to flip this switch on our services through their API, as we have our Cloudflare config in Terraform. The API wasn't working perfectly, but with some retries we were able to change the config for our domains.
30.
▲
Meltdown Redux: Intel Flaw Lets Hackers Siphon Secrets from Millions of PCS
(wired.com)
7 points
by
duijf
7y ago
|
0 comments
More ›