Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thomasikzelf
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
thomasikzelf
2mo ago
+ design looks better then the "minimal" style original - dish in the top left is not on the menu (why is it there) -- why is there a malnourished cow on the menu? ++ photos of of the product so you can see what you are gonna get
2.
▲
by
thomasikzelf
2mo ago
I did some energy price forecasting and my neural network learned the morning evening patterns just from historical data, it worked great. Then I tried adding more information to this like wind and solar (and many more). None of these exter
3.
▲
by
thomasikzelf
2mo ago
Cool app! I also had some ideas a while ago that I think the current breed of aim trainers are still missing. In-game practice like the Range, DM, and Team DM still feels like the gold standard to me. I generally only use aim trainers when
4.
▲
by
thomasikzelf
3mo ago
I have visited factories for work and my experience is the same. There is so much stuff that could easily be automated but is not because it is too expansive for too little value to make a custom one off machine. The big high volume things
5.
▲
by
thomasikzelf
3mo ago
It looks like one stole the design from the other, I don't know which one, haha.
6.
▲
by
thomasikzelf
3mo ago
Nice, I will be following your posts! I just bought a robot arm myself, the seeed studio B601DM (€1500 6+1 axis), it works great and is open source hardware as well and a bit more solid then the so101. I also opted to not use ros, I don
7.
▲
by
thomasikzelf
4mo ago
firefox android does not support CSS animation-timeline, and firefox desktop needs layout.css.scroll-driven-animations.enabled. This probably should not be used for any critical features.
8.
▲
by
thomasikzelf
4mo ago
You can make some really cool stuff with css scroll animations. I used SVG paths with a scroll animated dash offset to draw an image while scrolling. Zero javascript, it feels so smooth. https://thomaswelter.nl (the background)
9.
▲
by
thomasikzelf
6mo ago
The declarative vs imperative example is strange here. Why is the imperative example so convoluted? This is what one could write in js: badge.textContent = count > 99? '99+' : count badge.classList.toggle('show'
10.
▲
by
thomasikzelf
8mo ago
I was also banned from claude. I created an account and created a single prompt: "Hello, how are you?". After that I was banned. An automated system flagged me as doing something against the ToS.
11.
▲
by
thomasikzelf
10mo ago
I recently implemented a Hindley Milner type checker. The algorithm itself is not necessarily super difficult (once you get your head around it ofcourse) but the way it is explained is. It seems like HM is mostly explained by people with a
12.
▲
by
thomasikzelf
10mo ago
Really, that is surprising to hear. There are a couple of differences but most of the syntax looks the same to me, what part do you find alien? The reskill problem is of similiar difficulty with learning a new framework I think. Especially
13.
▲
by
thomasikzelf
10mo ago
Have you seen ReScript? Of course it is not as popular as typescript but it improves on all the bad parts of typescript. You'll get sound types with the pain points of javascript stripped out. Because it compiles to readable javascript
14.
▲
by
thomasikzelf
10mo ago
If Typescript is javascript with types bolted on, Rescript is javascript with types the way it should have been. Sound types with low complexity. https://rescript-lang.org/
15.
▲
by
thomasikzelf
10mo ago
You might be using the webgl lines (LINE_STRIP), those are always thin. The other way is to build a mesh that looks like a line (which Three.js also has functions for). select the line type here to see the difference: https://thr
16.
▲
by
thomasikzelf
10mo ago
This looks good! It feels a little bit similiar to ReScript. I like the idea to have nodeMain, browserMain and buildMain. The Roc language had something similiar with platforms and I love that idea! In general I prefer a better language ove
17.
▲
by
thomasikzelf
11mo ago
I agree separating your UI into components is important. If React learned us one thing it is that keeping related stuff together is the way to go. Separating into components and keeping your functions as pure as possible gives you 95% of wh
18.
▲
by
thomasikzelf
11mo ago
<select id=dropdown> <option value=a>a</option> <option value=b>b</option> </select> <select id=a style="display: none">...</select>
19.
▲
by
thomasikzelf
11mo ago
I do use abstractions to make my life easier. The main abstraction is a function called tag: const tag = (tagName, props, ...children) => { const el = document.createElement(tagName) for(let k in props) el.setAttrib
20.
▲
by
thomasikzelf
11mo ago
If you are writing the same DOM update code in each event handler you can abstract it into a function.
21.
▲
by
thomasikzelf
11mo ago
If you go to the React website you need to click "Learn React". A library often does not make you learn new concepts. It is just functions with input and output. On the first page "Quickstart" all code blocks contain cod
22.
▲
by
thomasikzelf
11mo ago
I don't think this has to be true. If you think of a framework as a piece of code that calls you where you sort of supply it with configuration you could do that when writing vanilla js but you don't have to. When I write vanilla
23.
▲
by
thomasikzelf
11mo ago
I build a figma clone for animation ( https://moos.app ). It is by no means a super large project (I think 40k loc) but is has reasonable frontend complexity. Most stuff is just composed of simple functions. For example routing is
24.
▲
by
thomasikzelf
1y ago
You should try ReScript. The language has improved a lot recently. If Typescript is javascript with types bolted on then ReScript is javascript redesigned the proper way. The lsp is also surprisingly good. All that while still being in the
25.
▲
by
thomasikzelf
1y ago
Writing simple code is also much harder then writing complicated code. If you write some complicated code at the limit of your mental capabilities you can not debug it, but you might also not be smart enough to write the simple code. I gues
26.
▲
by
thomasikzelf
1y ago
ReScript changed their api from data-last to data-first for this reason. Coupled with amazing type inference you will almost always receive correct autocompletions (that are type valid as well). It is a great experience. It is sometimes sti
27.
▲
by
thomasikzelf
1y ago
Of course Brett Victor has the essay on his website: https://worrydream.com/refs/Lockhart_2002_-_A_Mathematician'... It is a great read!
28.
▲
by
thomasikzelf
2y ago
I used the W5100 before with Arduino but I am not sure about "gold standard" quality. I had a lot of issues with random disconnects several times a day with this board. Maybe it's the board, or maybe it's the arduino cod
29.
▲
by
thomasikzelf
2y ago
I really liked https://webglfundamentals.org/ for learning the webgl api coming from a web background as well. The state diagram was also useful to understand the complicated api. There is also https://webgpufund
30.
▲
by
thomasikzelf
4y ago
cool demo. I loaded my own codebase to look around in it. I could really see this being added to an IDE to get an overview of a code base (and it also looks good). It reminds me of the following demo: https://wdobbie.com/pdf
More ›