Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dlisboa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
241.
▲
by
dlisboa
2y ago
I'm not a full-time Gopher but I had a similar thought a few weeks ago, this idea of just having template partials for components and maybe a function constructor. Templ has a similar feeling but you can get most of what you want with
242.
▲
by
dlisboa
2y ago
That's a rather reductionist view of it. Companies don't exist in a vacuum, they have a social contract. It seems in your view there's nothing we can complain about them as we can always just not buy the drugs, freeing them o
243.
▲
by
dlisboa
3y ago
I’d also go as far as saying most of the value added to these open core projects is contributed by employees of the companies themselves. The fact that they do it out in the open with the possibility of someone else forking it is a plus, we
244.
▲
by
dlisboa
3y ago
> Keeping all of your application logs and telemetry forever is expensive, and I can't recall a single time when having more than a day's with of history was ever useful in tracking down an operational issue. A day is a pretty
245.
▲
by
dlisboa
3y ago
Corners are being cut by Boeing right in the USA.
246.
▲
by
dlisboa
3y ago
In the app I work on a huge percentage (60% in the timeframe I analyzed) of the errors are errors a type system would catch. Nil references, long method chains where the middle call returns a different object than expected, bad refactorings
247.
▲
by
dlisboa
3y ago
I'm becoming interested in comparative mythology and religious historiography, it seems you have some pointers in this area. Do you have any books to recommend? I'm very interested in a materialistic explanation of religion, the r
248.
▲
by
dlisboa
3y ago
Do you have some idea of how many jobs per minute or hour do you have? Just want to compare with what we have on Redis at work. Do you also have any idea on the concurrency? How many workers you have pulling from Postgres. I’ve used this ap
249.
▲
by
dlisboa
3y ago
> Unfortunately (1) is unavoidable when you're trying to automate GH itself (role assignments, tagging, etc.) Can't you just use the Github API for that? The script would be triggered by the YAML, but all logic is inside the sc
250.
▲
by
dlisboa
3y ago
Set theory might seem almost mundane in many cases, but it's really powerful to express certain solutions in a very concise way. I've refactored code into much simpler code by just thinking about it in terms of set manipulation, v
251.
▲
by
dlisboa
3y ago
Since you mentioned them I think it's worth telling people to take those benchmarks with a larger grain of salt. They've become such a pissing contest that I don't know if they can be called "real-world". There does
252.
▲
by
dlisboa
3y ago
Companies should devote actual work time for studying, because relying on personal time is not just unethical, but inefficient. It's way cheaper to pay people to study in-house than paying for outside training or bootcamps. Not everyon
253.
▲
by
dlisboa
3y ago
There should be a lot more focus on "total cost of ownership" of Ruby/Python/JavaScript. Yes, it is faster to develop initially, but after N years and an established product that development speed gets outweighed by othe
254.
▲
by
dlisboa
3y ago
One reason would be reliability. Almost all of the errors on the application I work on are nil references or errors that were expected, but just weren't handled. Rust forces you to handle those at compile time, ending with a better all
255.
▲
by
dlisboa
3y ago
Although I agree in part, usually new languages are brought in not just because they’re hyped, but because they provide better abstractions to deal with the complexity that made the original codebase unmaintainable. That’s certainly the cas
256.
▲
by
dlisboa
3y ago
Can’t you “vendor” the crate and compile it yourself? Much like cargo does with workspaces, setting the local path to it. I’m still learning the Rust environment but usually vendoring is what you do when you want full control.
257.
▲
by
dlisboa
3y ago
I have the opposite experience, though in a different country than yours. Most people I've met in the industry that did not have a formal education (or an interest in one) would end up scratching the surface and not really dig deeper.
258.
▲
by
dlisboa
3y ago
Vultr has some very cheap offerings and maybe worth a look. I can't speak to their reliability or service, but they have DCs everywhere even in South America and Africa where there are few cloud options outside of AWS. They're mor
259.
▲
by
dlisboa
3y ago
Similarly, but on the opposite spectrum, I also wonder how far you can go on vertical scaling nowadays. For 200 EUR/month on Hetzner you get a dedicated 80-core ARM CPU, 128GB ECC RAM, 2TB SSD...using a good performance multi-threaded
260.
▲
by
dlisboa
3y ago
https://developer.mozilla.org/en-US/docs/Web/API/Navigation_... I believe that’s the use case for the Navigation API.
261.
▲
by
dlisboa
3y ago
You can just respond back anything and it'll work. You can just respond a flat non-hypermedia JSON and have some JavaScript listen to the event and process it with whatever semantics you want (although it'd be weird for you to do
262.
▲
by
dlisboa
3y ago
To be fair you can learn outside your job. I wouldn't call him lazy just because he stuck with a company for a long time. Most jobs will only require a small percentage of a programmers' knowledge, so people supply their urges wit
263.
▲
by
dlisboa
3y ago
That's probably more of an issue in the US. Not that commuting doesn't pollute, but in other countries a great part of the daily commute is done by public transportation or much more carbon efficient personal transportation (scoot
264.
▲
by
dlisboa
3y ago
> I wonder if the language influences the aesthetics. The community does. You’ll notice that JavaScript command line tools are much fancier than other languages, with emojis and cool spinners. Being that many JS programmers are web devel
265.
▲
by
dlisboa
3y ago
Most people don't know all the tools at their disposal, or how to use them. I certainly don't and I consider myself above average in this regard. Chrome DevTools has that issue since it's always changing, adding new things, a
266.
▲
by
dlisboa
3y ago
Also, learning certain idioms from one language and using it in another can also produce cleaner code than otherwise.
267.
▲
by
dlisboa
3y ago
Maybe you didn't see the more complex examples, but some of the SQL queries it abstracts are very unintuitive to write by hand. PRQL turns it into something more readable and closer to the expected mental model. For people who can writ
268.
▲
by
dlisboa
3y ago
I learned about computer architecture in my CS curriculum. It seems there’s great variance to these courses, so it’s hard to assume your experience is the same everywhere. Mine had a good deal of practical applications, prefaced by theory.
269.
▲
by
dlisboa
3y ago
I've been interested in learning more about them and how to best utilize them in my company. What graph database and query language would you recommend (regardless of stack)?
270.
▲
by
dlisboa
3y ago
That’s not a great way to look at it. You can be passionate about the craft and not passionate about the product. You can usually find interesting problems relating to craftsmanship even when doing things you’re not thrilled to do. Let’s be
More ›