Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dlisboa
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
271.
▲
by
dlisboa
3y ago
> Few of the critics who "knew about programming languages" have created any language that ever made it into the top 10 programming languages in the world. I often encounter some people in programming which I think lack humilit
272.
▲
by
dlisboa
3y ago
Maintaining "clever" code is incredibly hard because the only "clever" person is the one that wrote it, everyone else is "dumb" to it. One can take hours debugging clever code. Obvious code won't wow anyon
273.
▲
by
dlisboa
3y ago
You're thinking all the money of both people has to go in the same join account, but that's not the case. You can have a "for the bills" join account, and then each person has their own separate account. Every month each
274.
▲
by
dlisboa
3y ago
For anyone interested, Dr. Lamport has a book called "Specifying Systems", which has more in-depth explanations of many of the topics in the linked paper: http://lamport.azurewebsites.net/tla/book-21-07-04.pdf
275.
▲
by
dlisboa
3y ago
You could reimplement little things/libraries that have been done before in other languages. I call it “tracing”, like drawing from a known image. Even if it’s something you don’t particularly care about, you’ll be forced to translate
276.
▲
by
dlisboa
3y ago
Wow, I learn something new every day! https://gcc.gnu.org/onlinedocs/gcc/Typeof.html Having learned (old) C in college and taking a closer look at it lately, I was surprised how much you can make it look “modern”,
277.
▲
by
dlisboa
3y ago
Those aren’t gang tags at all, they’re quick and easy graffiti (albeit illegal in most cases) that is done by people trying to either fit in or showcase themselves. Most of the murals shown in this thread that are considered “art” were pai
278.
▲
by
dlisboa
3y ago
Great comment, I think a lot of us can find something in it that we relate to, even if not the whole story. > Nobody wanted to be the team that missed an integration test which came up as a cause of an incident. Our net reliability didn&
279.
▲
by
dlisboa
3y ago
There’s that and also credit cards are usually paid, a monthly or yearly, so not everyone has them. Pix is free so penetration is much higher. The degree of fraud with credit cards is huge in Brazil, so for us it wouldn’t bring about trust
280.
▲
by
dlisboa
3y ago
Seems to me those are all legal recourses, which obviously always existed. But disputing a charge on my card means I don’t have to open a legal case against a company. The money is somewhat in escrow and it’s up to VISA/Mastercard to d
281.
▲
by
dlisboa
3y ago
Company I work for (Clicksign, a Brazilian e-signature company) also uses PIX for signatory verification. We just make a 10 cent charge on a signatory and when he/she pays we get a callback and now we have valid and up to date informat
282.
▲
by
dlisboa
3y ago
Problem with that is that it's global. It can even affect websites if they use a media query for it. I'm ok/enjoy the other animations (I rarely see them, but appreciate when they happen), the only animation I wanted to disab
283.
▲
by
dlisboa
3y ago
> How are they going to send the lasers in a curve from one base station to the next? All you need is a well-placed black hole in Earth’s atmosphere.
284.
▲
by
dlisboa
3y ago
I think that's part of the issue that polarizes people: it's not consistently slow and it's not consistently fast. So you get people who can't understand how it's usable, and others who can't understand how any
285.
▲
by
dlisboa
3y ago
What about tackling a large-ish market but competing on price? As a small bootstrapped business, depending on the cost of the product, you just don't have too many costs. Small companies/single founders have much smaller overhead:
286.
▲
by
dlisboa
3y ago
Not a Rust programmer, but I took the Rust code from the Rust book. Admittedly I didn’t read the whole chapter, perhaps they talk idioms later.
287.
▲
by
dlisboa
3y ago
One thing I don't get (and would honestly appreciate if was explained to me) is how the Result monad differs significantly from Go's error handling, other than being a "true" monad. Most Rust code I see does things like
288.
▲
by
dlisboa
3y ago
I understand all that and apply that day to day. But my thought here is more to think of the possibilities if the performance of most things was brought to its absolute best. There’s a company that went from 30 servers to 2 just by rewritin
289.
▲
by
dlisboa
3y ago
I think that’s it! Really shows my point: the first code was already ok and solved the problem in a reasonable amount of time, in a normal “let’s ship faster” setup the ridiculous speed up achievable would’ve never even be considered. 4 mil
290.
▲
by
dlisboa
3y ago
These stories really expose how fast and efficient computers can actually be. I remember a post (don’t have the link) where someone sped up a Python script by 3000x or something crazy like that with C++. A script anyone would’ve been fine r
291.
▲
by
dlisboa
3y ago
Edit: looks like I made a fool of myself. I didn’t know about Apples other implementation of a similar feature. It seems nice but I think Apple will never implement this for Safari, even if standardized. It’d bypass their AppStore and make
292.
▲
by
dlisboa
3y ago
It’s not even those professionals, I’m talking people who are highly skilled and trained (CS/Engineering degrees). Like they could tell you off the top of their head HOW to build an adblocker, but they don’t use one themselves. That ty
293.
▲
by
dlisboa
3y ago
I’m often amazed at how people I know, full internet “power users”, don’t use it and complain about ads. I have never seen an ad in years, not on YouTube or wherever. How do people who build web stuff daily not know about adblocks? It’s so
294.
▲
by
dlisboa
3y ago
This seems to be precisely what I wanted, although a bit more features than I needed. Thanks!
295.
▲
by
dlisboa
3y ago
Hey, congrats on shipping it. Let me run this by you: I was just thinking of building a CLI tool that I can say “start me a X lang project”, with my preferred dir layout, files and default dependencies. Basically a “react-create-app” or “bu
296.
▲
by
dlisboa
3y ago
There's still truth to that. React has changed a lot in those 10 years. So much so that old code is unrecognizable and would be an anti-pattern today. And that's only React, the ecosystem around it also has changed significantly.
297.
▲
by
dlisboa
3y ago
> we had UI designers and engineers who through much research and trial-and-error produced very nice UIs for us to use. I don't remember that era of great UI. Sites were still inaccessible except no one cared, multitude of dark pat
298.
▲
by
dlisboa
3y ago
The same author also wrote Janet, which is also a nice language from what I’ve played around with. Especially the idea of forgoing Regex entirely and going with PEGs, as well as having “defs” inside functions bind local variables instead of
299.
▲
by
dlisboa
3y ago
I don’t think there is. I’ve compiled books in LaTeX and in Pandoc, nothing but regret filled my veins afterwards. Installing those dependencies is just a terrible experience. Leave it in Docker to save people the hassle.
300.
▲
by
dlisboa
3y ago
Google has been at odds with Brazil's judicial system, likely doesn't want to add more controversial fuel to the fire.
More ›