Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
antonhag
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
antonhag
9mo ago
Congrats! Being able to run a nice company bootstrapped seems amazing. Turning 10, you might want to stop ditching WordPress for being 15 on your homepage though ;) Your customers demand blazing-fast digital products, web standards are
2.
▲
by
antonhag
1y ago
From the readme: VSCode Extension 1. Open VSCode 2. Go to Extensions (Ctrl+Shift+X) 3. Search for "mbake Makefile Formatter" 4. Click Install
3.
▲
by
antonhag
2y ago
I often reach for jq to understand what unicode is in a string, e.g.: [wl-paste|xclip-o|pbpaste] | jq -R --ascii-output It doesn't provide any per-character explanation, but it is local and I already have jq installed.
4.
▲
by
antonhag
2y ago
AWS has good base building blocks (ALB, EC2, Fargate, RDS, IAM etc). But it takes knowledge to put the pieces together. Thus AWS tries to create services/tools that orchestrate the base blocks (Amplify, Beanstalk) for you, which in my
5.
▲
by
antonhag
2y ago
For AWS the solution for container deployments (without dealing with VMs) is Fargate, which imo works reasonably well.
6.
▲
by
antonhag
2y ago
+1, but I'm not sure if the "simple is robust" saying is straightforward enough? It opens up to discussion about what "simple" means and how it applies to the system (which apparently is a complex enough question to
7.
▲
by
antonhag
2y ago
I like the house analogy, but I like to think of it as if the people building the house did not know how it was supposed to look (or function). This is mostly true, since very few developers know exactly how the end result (product/ser
8.
▲
by
antonhag
2y ago
> I'm currently building a skyscraper on the foundations of a bikeshed. Not sure if you are joking or not, but I often hear similar things and I believe that it misses the point. What constitutes a good foundation in software is ver
9.
▲
by
antonhag
2y ago
My bad - I got confused as the original DIS+BIS took ~60s on my machine. I reproducing the Custom 1 implementation locally (before seeing your repo) and it took ~48s on the same machine. JFR (which you honestly can trust most of the time) s
10.
▲
by
antonhag
2y ago
Aren't the versions that take 10% of the time only reading each city name once, and then doing an array lookup rather than a hashmap lookup?
11.
▲
by
antonhag
2y ago
That's nice - I'd encourage you to play around with attaching e.g. JMC [1] to the process to better understand why things are as they are. I tried recreating your DataInputStream + BufferedInputStream (wrote the 1brc data to separ
12.
▲
by
antonhag
2y ago
From the code samples it's hard to tell whether or not this has to do with de-serialization though. It would have been fun to see profiling results for tests such as these.
13.
▲
by
antonhag
2y ago
I don't actively use it, unfortunately. The main inspiration was to faster sort inputs into the https://github.com/BurntSushi/fst crate, which I in turn used to try to build a search library.
14.
▲
by
antonhag
2y ago
Hi! Crate author here, happy to see my old project getting mentioned. Let me know if you have any questions!
15.
▲
by
antonhag
3y ago
fwiw, works on my machine (linux+ff). No failed requests in inspector.
16.
▲
by
antonhag
3y ago
This got me thinking - the salinity of the water in the bothnian bay is very low (seems to be about 1/10th of ocean water). Wouldn't that effect electrolysis?
17.
▲
by
antonhag
3y ago
This assumes a clear interface. Which assumes that you get the interfaces right - but what's the chance of that if the code needs rewriting? Most substantial rewrites crosses module boundaries. In micro services changing the module bou
18.
▲
by
antonhag
3y ago
Most times you won't need a well-formed (REST) API to start with, and many times you will never need it. Most small projects should start without one and create one when need arises.
19.
▲
by
antonhag
3y ago
Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations.
20.
▲
by
antonhag
3y ago
Elasticsearch is decent at using non-text criteria provided that they are: 1. In the same document (a document in ES is a JSON object) 2. You have indices for them. ES (and Lucene) supports indices on raw text values and numbers as well. ES
21.
▲
by
antonhag
3y ago
An alternative if you want a bit more help with charting, without client side JS, is to use d3-shape ( https://github.com/d3/d3-shape ) to server-side render SVGs.
22.
▲
by
antonhag
3y ago
It depends - even when you run into an "everything is slow" problem, it might be that it's like 1 endpoint out of 2000 that causes performance issues. In this case, you might need to focus very much on performance for that en
23.
▲
by
antonhag
3y ago
It is quite common that you only need to optimize very small parts of a program to this level. The rest of the program can be written in more conventional styles. You could of course FFI into e.g. C for those parts, but that is usually hard
24.
▲
Commit referring to using LSP in Intellij Svelte plugin
(github.com)
1 points
by
antonhag
3y ago
|
1 comments
25.
▲
by
antonhag
3y ago
I find this interesting because: 1. It seems like the svelte plugin for intellij has been lagging behind the language server quite a bit 2. As far as I know, Jetbrains have not been very keen on integrating LSP before.
26.
▲
by
antonhag
4y ago
I have kept building on https://blunders.io - a profiling tool for the JVM. Will soon no longer be a side project though, looking forward to spending more time on it!
27.
▲
by
antonhag
5y ago
For what it's worth, this is most likely not a JVM configuration issue and more likely an ES/OpenSearch issue.
28.
▲
by
antonhag
5y ago
I built https://blunders.io , a profiling tool for JVM applications. I think that I have a decent product but I'm not a great salesman :)
29.
▲
by
antonhag
6y ago
One thing I love about Svelte/Sapper is that it can be used for both the server-side rendering and the interactive map. And it doesn't feel like an afterthought - idiomatic usage leads to server-side rendered html with progressive
30.
▲
What Does Lucene Benchmark?
(blunders.io)
1 points
by
antonhag
6y ago
|
0 comments
More ›