Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bern4444
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
bern4444
4y ago
I also love F#. One of the most interesting languages that I've ever seen. This is certainly another great aspect of it.
182.
▲
by
bern4444
4y ago
The primary driver of my view on real estate is that it should not be treated as an investment grade security. Attempts to leverage real estate as an investment grade security should be outlawed by the government. Owners of rental units sho
183.
▲
by
bern4444
4y ago
Returning a 404 makes more sense and you can still include a response body status: 404, body: { "result": false, "errorMessage": "No employee found for ID 100" }
184.
▲
by
bern4444
4y ago
> The bond and eurodollar markets have been signally for about a year now that the nasty thing will be a recession that will force the Fed back into accommodative mode as early as this year. I've heard this quite a bit but I don
185.
▲
by
bern4444
4y ago
> A language with semantic relations This is a cool idea especially around a formal structure to express relationships between parts of your code. As to the example in the article on this, it seems property based testing is a decent way
186.
▲
by
bern4444
4y ago
To push back a bit, JavaScript the language hasn't really changed all that much in the last few years... Yes there are lots of libraries and frameworks but as a language, everything feels quite steady. With each ES version, perhaps the
187.
▲
by
bern4444
4y ago
You can but it’s a lot a nicer to set key bindings. For example I hit ,gd which I have mapped to the go to definition. I also have ,fr mapped to find references. You can come up with whatever mappings you want. I have K (so shift + k) to sh
188.
▲
by
bern4444
4y ago
IMO the fed should be raising rates a little more aggressively. They should have done a full percent last time and they should consider a full point the next couple of times. A full point raise would demonstrate a stronger commitment to fig
189.
▲
by
bern4444
4y ago
Yes, there is spacevim: https://spacevim.org
190.
▲
by
bern4444
4y ago
for neovim with lspconfig: formatting code: `lua vim.lsp.buf.formatting_sync()` go to definition: `lua vim.lsp.buf.definition()` rename variable: `lua vim.lsp.buf.rename()` type information: `lua vim.lsp.buf.hover()` find references: `lua v
191.
▲
by
bern4444
4y ago
What is the difference between margin trading and leveraged trading? Margin is leverage and is like buying stocks and paying with your credit card.
192.
▲
by
bern4444
4y ago
The difference is, there is no universal answer, everyone has their own beliefs and answers. Making the right to an abortion an individual decision allows everyone to decide for themselves. Banning that ability is the government deciding fo
193.
▲
by
bern4444
4y ago
Testing generally can be either a great or painful experience. The more mocking you have to do (or setup for your testing environment) the more painful it is. I try and avoid mocking, or mock as low as possible. Ideally mocking only happens
194.
▲
by
bern4444
4y ago
This is why Apple's Hide My Email feature is incredible. If you don't know, it generates a random email that forwards to your real iCloud account. You have full control on both deactivating the email (pausing it) or deleting it (p
195.
▲
by
bern4444
4y ago
New York
196.
▲
by
bern4444
4y ago
A company I was at followed this approach. But of course putting it in writing then meant it had to be shared and approved or "reviewed"(reviewers of course thought they were approvers which was never the case). We called them TDD
197.
▲
Debug Driven Development
(sambernheim.com)
3 points
by
bern4444
4y ago
|
0 comments
198.
▲
by
bern4444
4y ago
Dalio likes to think of himself and wants to be a thought leader. I don’t know why. Maybe he’s bored with all the money he’s made but I truly don’t believe he has anything insightful to say beyond how to invest money and even then, his appr
199.
▲
by
bern4444
4y ago
Is that not true generally of people regardless of where they live?
200.
▲
by
bern4444
4y ago
Presumably the company already has indicators and metrics they use. You just continue using those same indicators and validate there is no significant change.
201.
▲
by
bern4444
4y ago
4 day work weeks are clearly here to stay and a huge quality of life improvement but taking a 20% pay check reduction for it is absurd. You are doing the same amount of work in less time, not less work. Company goals do not change, nor do t
202.
▲
by
bern4444
4y ago
Thanks - Yeah I've been looking for a YNAB like tool but for investments and I haven't been able to find one I like and I've looked at all of them. Started building my own so I'm interested to see what he says.
203.
▲
by
bern4444
4y ago
Can you share a link to the talk? Would enjoy listening to it
204.
▲
by
bern4444
4y ago
My own fun math mind reading trick: https://sambernheim.com/blog/the-party-math-trick
205.
▲
by
bern4444
4y ago
Even easier: export const hideElementById = (elementId) => { document.getElementById(`#${elementId}`).style.display = 'none' }; Or perhaps export const toggleElementById = (elementId) => { const element
206.
▲
by
bern4444
4y ago
I think the parent comment is referencing how much is built into JS natively today that people used to use jquery to do. Jquery is also a library not unlike any other a la react, redux, observables etc. Jquery was successful but now there a
207.
▲
by
bern4444
4y ago
A particularly interesting bit from the article: > Voyager has already relied on backup systems to last as long as it has. In 2017, the probe fired thrusters that were used during its initial planetary encounters during the 1970s -- and
208.
▲
by
bern4444
4y ago
What's critical is that this remains an informal process. The moment this process becomes codified into a formal doc that requires approvals and reviews across teams, is the moment this ends up becoming a far larger part of the work th
209.
▲
by
bern4444
4y ago
I love cloudflare. I see them becoming as big as AWS/Azure/GCP etc. They are moving fairly quickly but extremely deliberately and I agree with you that them being down recently has been a great time to buy.
210.
▲
by
bern4444
4y ago
Oh interesting, good to know.
More ›