Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DanielHB
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
49 ms
·
811.
▲
by
DanielHB
2y ago
I think the issue of file-watching is that the libs usually support multiple implementations (with different tradeoffs and with multiple fallbacks) for file-watching with a lot of them being platform specific.
812.
▲
by
DanielHB
2y ago
Am I the only one who doesn't like atomic commits (or stacked PRs like graphite)? When I work on large PRs I often rewrite and move things around so much that trying to keep all commits in sync is a nightmare. I do try to split the wor
813.
▲
by
DanielHB
2y ago
The fact is that dependency jungle is the prevalent way to get shit done these days. The best the runtime can do is embrace it, make it as performant and safe as possible and try to support minimum-dependency projects by having a broad std
814.
▲
by
DanielHB
2y ago
Even setting up your automated tests on multiple platforms can cost a ton of money on CI infra alone. Besides increased server costs some architectures cost a lot more to rent on cloud-CI systems ( cough macOS) and setting up the local inf
815.
▲
by
DanielHB
2y ago
> low barrier to entry > they want manufacturing jobs Shame most of those jobs in high tech factories are not low barrier to entry...
816.
▲
by
DanielHB
2y ago
oh wow, I was very wrong, I don't know why I got this notion that electron shared the runtime environment between non-browser and browser code. Thanks for the clarification. I am pretty disappointed about this, it severely limits the u
817.
▲
by
DanielHB
2y ago
What you really want is to get a reference to those SharedArrayBuffers in the native code like you can do with WASM
818.
▲
by
DanielHB
2y ago
From my understanding the main difference between electron and other WebView Containers (besides built-in APIs) is that electron runs your nodejs code in the same process as your browser code. So there is no cross-process communication, tru
819.
▲
by
DanielHB
2y ago
You use touchscreens to turn on your headlights because it is cheaper, touchscreens and embedded SoCs are so cheap these days that adding one to your car (as long as it is rectangular) is tons cheaper than wiring multiple buttons on your da
820.
▲
by
DanielHB
2y ago
All this immutability discussion is more about going against "old school object orientation" which promoted keeping state spread out around a lot of mutable object instances.
821.
▲
by
DanielHB
2y ago
Sorry I missed a () there console.log(eval(text)())
822.
▲
by
DanielHB
2y ago
This behavior is required because eval exists: function test(text) { const a = 1 function inner() { console.log(eval(text)) } inner() } test("() => { return a }") prints 1 to the console This h
823.
▲
by
DanielHB
2y ago
I dunno, I have been around and I never seen an on-prem infra being more reliable than your average cloud. The only difference is that when on-prem goes down you can shout to your infra engineers, when cloud goes down you shout at your ente
824.
▲
by
DanielHB
2y ago
It is pretty complicated for the average person to install custom certificates on their OS. I didn't even knew that BankID supported it, pretty much every one uses the app.
825.
▲
by
DanielHB
2y ago
Sweden solved this problem years ago with BankID https://en.wikipedia.org/wiki/BankID It is amazing what a little cooperation between public and private institutions can achieve. It is the only way to login and 2fa to
826.
▲
by
DanielHB
2y ago
Yeah, this is what I was thinking too. The rebalancing on AVL is a bit tricky but once you grok it, it is not that much code...
827.
▲
by
DanielHB
2y ago
> Later I looked at AVL trees... and they still give me a headache. Why? From what I remember AVL trees were much easier to implement than B-trees. Especially if using recursion.
828.
▲
by
DanielHB
2y ago
I think it is because CS is such a broad field, every little nook has a ton of different algorithms to study and, like you said, it is not that hard to tell students to implement algorithm X as projects. While my EE roommates would often ju
829.
▲
by
DanielHB
2y ago
Apple does and other big tech are just an acquisition away from being able to do it as well. In fact if memory serves me right Apple in-house chips were originally derived from an acquisition. I wouldn't be surprised if Microsoft or Go
830.
▲
by
DanielHB
2y ago
Yeah I agree with you, if you see these programmers doing very advanced stuff they often have degrees in physics and the like. The hardest problems in CS today are all very math-focused. The original quote from the OP was about why Lisa Su
831.
▲
by
DanielHB
2y ago
It has huge implications because it makes competing in that market much harder due to licensing issues. Intel and AMD have a duopoly on the x86 market which compromises a huge chunk of server and personal computing, but that is changing fas
832.
▲
by
DanielHB
2y ago
No I did not read it, we just arrived at the same conclusions although you were a bit earlier than me to realise this. What opened my eyes was the easy of transition to the ARM-based macs. I fully agree with all your points and that has bee
833.
▲
by
DanielHB
2y ago
Even if that is the case and they can just port their designs to ARM they will still be facing much more competition, not only from Qualcomm but also from the cloud vendors in the server space (AWS, Azure, GCP). All the cloud server hardwar
834.
▲
by
DanielHB
2y ago
In my point of view AMD is going down not because nVidia, but because of ARM and Qualcomm. AMD Ryzen x64 cash cow is going to start declining soon both in the server and consumer space. I saw this clear as day when M1 Macbooks came out and
835.
▲
by
DanielHB
2y ago
Most bachelor's and master's level CS is comparatively easier than EE because EE requires much more hard math. The theory at least, but project-wise CS is more demanding. I had two EE roommates in college, their exams were HARD, b
836.
▲
by
DanielHB
2y ago
Also CUDA first released in 2007, I remember researching GPUs at the time and wondering what the hell CUDA was (I was a teenager). They were VERY early to the party and has A LOT of time to improve. Everyone is catching up to ~10 years of a
837.
▲
by
DanielHB
2y ago
She worked as a researcher in the field for decades. Moore's law only kept up because of some of the techniques she developed. > During her time at IBM,[6] Su played a "critical role"[7] in developing the "recipe"
838.
▲
by
DanielHB
2y ago
That sounds fun, I designed the instruction set on my CPU myself and I didn't get around writing a compiler for it (I only wrote an assembler). Since I designed the instruction set I made some very quirky design decisions to make the t
839.
▲
by
DanielHB
2y ago
The article is more about getting people started in the industry than climbing the career ladder after they already landed a job. Unless you are implying people should just grind unpaid for years until they have enough experience to land a
840.
▲
by
DanielHB
2y ago
This is a really hard problem in supply chains, it is not like buyers wouldn't change supplier if they knew about the abuses it is just that it is VERY expensive and time consuming to have proper traceability of everything in your supp
More ›