Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shoo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
301.
▲
by
shoo
3y ago
i agree. make is a tool for defining recipes to derive target files from dependency files. archetypal use case would be compiling and linking a bunch of C source and header files into an application binary. make isn't specialized to bu
302.
▲
by
shoo
3y ago
we could re-frame by distinguishing problem statements from implementations Problem A: read a stream of bytes, parse it as JSON Problem B: read a stream of bytes, count how many bytes match a JSON whitespace character Problem B should req
303.
▲
by
shoo
3y ago
yep. another use case, specifically for mac minis, is (was?) build servers. buy 20-30 mac minis, lock them in a dedicated room in the office, use them to execute build & test CI jobs for company's ios app. no one is carrying them
304.
▲
by
shoo
3y ago
I love a good migration post-mortem, thank you to the author for publishing it! There's a bit of extra detail I'd be curious to know, as someone completely unfamiliar with both Vercel & Fly.io: Re: "we required a lightwe
305.
▲
by
shoo
3y ago
i agree that in typical business situations often the main constraints to solve for aren't squeezing the most compute out of a CPU, it's rarely the bottleneck (although of course some people can no doubt chime in from contexts whe
306.
▲
by
shoo
3y ago
> I'd like to provide a cheaper option that runs locally on a person's device (say, 1$ a month vs 3$) separately from pricing and ethics, another aspect is your expected support costs. one classic attraction of SaaS (to the s
307.
▲
by
shoo
3y ago
articles like this aren't pointless, i don't think it is meant to be framed as a fair comparison of "rust-the-language is 5 orders of magnitude faster than python-the-language". this article does offer examples of how to
308.
▲
by
shoo
3y ago
as a rule of thumb, pure python code is often 1000x slower than naively written unoptimized native code. code in pandas can be very slow (standard pure-python speed) or "fast-for-python" depending on if you are going with or again
309.
▲
by
shoo
3y ago
logicalincrements gives relative performance comparisons of gpus vs a current fast gpu - https://www.logicalincrements.com/
310.
▲
by
shoo
3y ago
what are you trying to achieve from the side project? do you have a goal in mind?
311.
▲
by
shoo
3y ago
dont forget to click here
312.
▲
by
shoo
3y ago
zip-file-as-a-container-format seems pragmatic: it's a way to bundle multiple files into one file (easier to manage than scattering multiple files), it avoids introducing a new proprietary format, it can optionally be compressed, suppo
313.
▲
by
shoo
3y ago
devil's advocate: what's are the costs to the users / customer / business if defects are shipped? how does that compare to the value of rapidly adding new features? if the cost of shipping defects is much lower tha
314.
▲
by
shoo
3y ago
one thing people haven't mentioned is habits. if there's something you want to do, and it takes a lot of discipline to do, how can you adjust your life so that it takes less discipline to do it? One way to reduce the amount of di
315.
▲
by
shoo
3y ago
A sibling comment linking to Johnson's algorithm shows a way to do it. To me, adding a constant to all edges seems like an obvious idea to try-- but one issue is that it will distort the ranking for paths that have different numbers of
316.
▲
by
shoo
3y ago
this is pretty close to what regulated tobacco packaging has looked like in australia for the last decade. a giant message with a health warning ("SMOKING HARMS UNBORN BABIES") paired with an often gross / confronting photo
317.
▲
by
shoo
3y ago
Go Mexico! Unregulated markets often don't produce great outcomes for society. Regulate them for the public good. I live in Australia, this reminds me of our tobacco plain packaging legislation [1]. A post implementation review was co
318.
▲
by
shoo
3y ago
are you planning to scale this up by adding more kids?
319.
▲
by
shoo
3y ago
Another facet of this might be the changes in interest rates. It's easier to bet lots of money on speculative startups when interest rates are so low that money is approximately free to borrow, opportunities for good investments are in
320.
▲
by
shoo
3y ago
Some of the larger recruitment firms gather data about the market. Hays publishes an IT Salary guide, their latest FY 23-24 doc was created in May: https://www.hays.com.au/documents/276732/1102429/Hays+Salary.
321.
▲
by
shoo
3y ago
auto-restarting after a failure is a reasonable first order workaround for transient environment issues (network or external dependency goes away for a bit) or perhaps rare per-request issues that aren't handled correctly. arguably it&
322.
▲
by
shoo
3y ago
Yeah, the problem is certainly real. I remember working with a much smaller python monorepo some years ago (probably 100x fewer python modules but the beginnings of multiple client-specific variants that depended upon a swathe of core libra
323.
▲
by
shoo
3y ago
> prevent accidental duplication sometimes sections of code can be syntactically duplicate at some point in time but aren't really semantically duplicate. e.g. in terms of the example in the post, of having different client-specific
324.
▲
by
shoo
3y ago
facsimile refers to communication by fax machine, an ancient method of written communication over telephone lines that was popular pre-email, and is still popular in remaining pre-email societies such as federal government departments and j
325.
▲
by
shoo
3y ago
A lot of Ed's writing will resonate if you've served as a programmer in an enterprise environment for a tour of duty or two. I found reading Ed's writing therapeutic while going through culture shock of working in an enterpri
326.
▲
by
shoo
3y ago
> This can be done efficiently via, eg, Dijkstra’s algorithm, but since this is such a small graph, we can also easily enumerate all 36 paths and sort for efficiency. Brute force enumeration for small problem instances is pragmatic. For
327.
▲
by
shoo
3y ago
The objective here is framed as "I want to find a cheapest path that visits a sequence of nodes with specific goal weights [W_1, ..., W_n], in ascending order". This is a bit like a spatial path-finding problem where the objective
328.
▲
by
shoo
3y ago
logicalincrements & pcpartpicker are excellent resources Other misc thoughts: Don't try to save a few dollars getting a cheap, low-quality PSU. One upside of PCs is modularity. If you're on a limited budget, one option is to
329.
▲
by
shoo
3y ago
see also: Jeff Schmidt's book Disciplined Minds > In this riveting book about the world of professional work, Jeff Schmidt demonstrates that the workplace is a battleground for the very identity of the individual, as is graduate sch
330.
▲
by
shoo
3y ago
this is a marketing piece from a vendor of cloud services, if they have a comparative matrix, the matrix will support a decision of purchasing one or more of this vendor's services
More ›