Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hamdouni
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
hamdouni
3y ago
"... your code is technically correct. But let’s consider its performance." Drop the "but" and you'll engage even more with your mentee. It's like saying that considering performance is a natural thing to do af
122.
▲
by
hamdouni
3y ago
Maybe. Or maybe it is not obvious with a small example. Not sure about the anti-pattern, but I'm sure an anti-conventional coder ;-)
123.
▲
by
hamdouni
3y ago
Avoid deep nesting by testing error case first and exiting/returning immediately. Instead of : If foo then bar Else baz Endif Now I write: If foo then bar return Endif baz Exit early makes the code
124.
▲
by
hamdouni
3y ago
Good job ! Glad to see yet another tools in this overcrowded field. It confirms my choice to never use one and stick to a text editor like neovim : key M-J to open a daily file, type in what ever I want and abuse using search and grep via t
125.
▲
Victor 6000 last hope for Titanic sub
(metro.co.uk)
2 points
by
hamdouni
3y ago
|
0 comments
126.
▲
Svelte 4 [video]
(youtube.com)
1 points
by
hamdouni
3y ago
|
0 comments
127.
▲
by
hamdouni
3y ago
TLDR; avoid big consumer market, target small b2b market
128.
▲
by
hamdouni
3y ago
What a nice bubble to live in ! Boss thankful to be corrected by subordinate, smart people around you happy to help and retired top level exec driving limos.
129.
▲
by
hamdouni
3y ago
In all the article, no reference to the business those abstractions or duplications are made for. I mean the way to decide if it is a "good duplication" is to ask ourself if it is a coincidence that it is the same code: 2 business
130.
▲
by
hamdouni
3y ago
Rich people benefit from poor people too
131.
▲
by
hamdouni
3y ago
Yes, way down to the making of the keyboard used to type it. 100% organic ;-)
132.
▲
by
hamdouni
3y ago
What ever is the age, nobody wants to work with a rude and dismissive person.
133.
▲
by
hamdouni
3y ago
Report it as "non phishing". Hope it helps.
134.
▲
by
hamdouni
3y ago
I recommend to stick with Linux if you want to stay a learner. Linux forces you to keep up and adapt. If you choose the confort of an obscure black box that do all for you, then you'll loose this. Is it bad to let go this habit to alwa
135.
▲
by
hamdouni
3y ago
If the client doesn't care to double the cost to double the leads, why not double the ads ?
136.
▲
by
hamdouni
4y ago
Nice to see improvements in podman startup and how the team achieve it... Constraints (car env) drive creativity !
137.
▲
by
hamdouni
4y ago
TLDR; there is a study that compare DNA of dogs from Tchernobyl area and 10 thousands miles away, but we won't tell you the results.
138.
▲
by
hamdouni
4y ago
Enthusiasm aside, I'm waiting a few years from now to see how easy it will be to self manage all those hardwares, change or upgrade servers, disks, ram, etc... I'm not an advocate for the cloud (all my businesses are served from s
139.
▲
by
hamdouni
4y ago
I recognize that some people have the luxury to pick their client but definitely not every people.
140.
▲
by
hamdouni
4y ago
I thought I will find a hands on intro to Rust for polyglot programmers with code comparison with other languages but it was a long theoretical description
141.
▲
by
hamdouni
4y ago
I was in the same dilemma when I stumble on the pwabuilder[1] news a few days ago... I will use pwa for my next project as it involves the same app for web, desktop and mobile. [1] https://www.pwabuilder.com/
142.
▲
by
hamdouni
4y ago
That will surely help in my heterogenous servers environment with multiple OSes ... No more need to use Docker as a builder !
143.
▲
by
hamdouni
4y ago
We can use "I" then. "404 I don't find your page" "501 I'm broken"
144.
▲
by
hamdouni
4y ago
I see some comments about users having a hard time cleaning their home directory and advices to use tools (boxxy?). But I read this post as an advice for developers not for users. A long crusade for standardisation may I say ;-)
145.
▲
by
hamdouni
4y ago
Oh, I rather use this version : package main func main() { a := [2]int{1, 2} b := a[0:1:1] c := b[0:2] println(b[0], c[1]) }
146.
▲
by
hamdouni
4y ago
This ! Content > Form, but Form brings attention and alas we are in an attention economy.
147.
▲
Practical Discipline
(wisdomination.com)
2 points
by
hamdouni
4y ago
|
0 comments
148.
▲
by
hamdouni
4y ago
I don't get it. In their example of fibo(15), they already wrote the fibo function but how do they know it is correct ? Ok it is nice to have an autofill for expected value but not from the same 'thing' that I want to test...
149.
▲
by
hamdouni
4y ago
If you already know how to code in python, a framework like django may be a good foundation for a simple web app that can grow to something more complex.
150.
▲
by
hamdouni
4y ago
Marie Skłodowska Curie wasn't "crazy" and her radium extraction method from pitchblend ignited an industry
More ›