Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tomkwong
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
tomkwong
1y ago
I had done something slightly different. I would ask LLM to prepare a design doc, not code, and iterate on that doc before I ask them to start coding. That seems to have worked a little better as it’s less likely to go rogue.
2.
▲
by
tomkwong
4y ago
I have learned to not worry about coding style anymore, not because I don’t care, but because too many people care about that. Having worked with one of the largest monorepo, I’m happy enough to align with others with a standard coding styl
3.
▲
by
tomkwong
4y ago
> you just have to keep in your head all the methods that are expected to exist for a given type. Technically, you don't need to keep that in your head :-) The general approach is to define generic functions and also write docs abou
4.
▲
by
tomkwong
4y ago
There’s no privacy agreement to sign when setting up the fridge? I had to click on the Agree button several times when I started with my LG TV!
5.
▲
by
tomkwong
4y ago
100% click bait title and opening statement. Is journalism that bad these days? Ironically I quite like some of the points in the main content.
6.
▲
by
tomkwong
4y ago
First, I want to say that this is a great post. You always grow stronger when you make mistakes. Writing it up solidify understanding in the learning process. This story resonates with many people here because many experienced engineers had
7.
▲
Yann LeCun's 5-year prediction for AI/PyTorch
(twitter.com)
10 points
by
tomkwong
5y ago
|
0 comments
8.
▲
by
tomkwong
5y ago
I agree for the most part. However, IMHO using these words (just, simply, etc) occasionally can make the doc more lively and fun to read.
9.
▲
by
tomkwong
6y ago
I started walking for at least 30 minutes every morning before work, and it has become a habit during this pandemic. I realized that the best ideas of solving problems came from this little exercise. Subsequently, I’ve learned to start tap
10.
▲
by
tomkwong
6y ago
Storing larger data sets in CSV format is a recipe for disaster. As tech industry we should really come together With a standard binary format for data exchange. Maybe Arrow?
11.
▲
by
tomkwong
6y ago
Building queries in a programming language is more flexible and the data operation is explicit. You rely on good programmers to do it right. By contrast, SQL is more constrained about what it can do. It's declarative and you rely on th
12.
▲
by
tomkwong
6y ago
Congrats! Thanks for sharing. I think one of the best decisions you made was the choice of the domain name. It feels authentic.
13.
▲
JuliaCon 2020 was awesome The virtual experience is better than physical
(ahsmart.com)
1 points
by
tomkwong
6y ago
|
1 comments
14.
▲
by
tomkwong
6y ago
This statement is so wrong. I am using Julia for at least two mission-critical production systems by now (financial services industry). I have a complete dev ops workflow plus integration with enterprise databases, messaging systems, and
15.
▲
by
tomkwong
6y ago
I love SQS but it isn't quite comparable to Kafka because it is poll-based. It's a solid queue but not suitable for streaming.
16.
▲
by
tomkwong
6y ago
How is Kinesis crappy?
17.
▲
by
tomkwong
6y ago
The power of multiple dispatch is an eye opener for me personally when I first learned about Julia. It's hard to get back to OOP once you're used to multiple dispatch. It's so natural and gets rid of the the question of &quo
18.
▲
The Meaning of Functions in Julia
(ahsmart.com)
2 points
by
tomkwong
6y ago
|
0 comments
19.
▲
by
tomkwong
6y ago
This discourse post seems useful https://discourse.julialang.org/t/writing-a-parser-in-julia/... Not sure about what kind of parser you're thinking about. If you like to do it in Julia, I suggest that you get
20.
▲
by
tomkwong
6y ago
I have a working situation where I need to work with Python and Julia. I'd like to say that there are great interoperability between these runtimes, so you can easily call a Python function from Julia and vice versa. Clearly, if you f
21.
▲
Naming Things Properly
(ahsmart.com)
1 points
by
tomkwong
6y ago
|
0 comments
22.
▲
by
tomkwong
6y ago
It’s more than that though. Once the list is sorted, the next time you come back to it, the list is still more or less in the right priority. So the work for prioritization becomes easier.
23.
▲
by
tomkwong
6y ago
> It’s also rather annoying to type them, but that’s also probably because I just haven’t developed a workflow for it. That's true. I remember hitting C-c and C-v a lot... XD
24.
▲
by
tomkwong
6y ago
I don't know if there's any name about this specific refactoring change :-) In general, it is best to create small functions that takes few dependent variables for the intended flexibility. The first judgment here is to decide wh
25.
▲
by
tomkwong
6y ago
>You've just introduced an exponential explosion into your testing burden. The pay-off: additional functionality that might be useful later. > edit On reflection I suppose it's not a 'exponential explosion', it
26.
▲
by
tomkwong
6y ago
I'm delighted to learn about this perspective. Appreciate the note. I believe in reusability with software engineering. The reason why legos is so much fun is because you can compose and build things out of simple shapes. I also agree
27.
▲
by
tomkwong
6y ago
OP here. Thanks for the note. The intention to illustrate the power of abstraction. Based upon yours and other people's comments below, perhaps it wasn't the best example. I did correct the typo about 'url'. Best rega
28.
▲
by
tomkwong
6y ago
OP here. The code presented in the blog post was just an example although your points above are well taken. Practically, the decision to do abstraction or not depends on the use case and requirements.
29.
▲
by
tomkwong
6y ago
Right, there is also difference between short-term value and long-term value.
30.
▲
by
tomkwong
6y ago
Another way to express semantics is the use of Unicode in source code. For example, I have this Julia package that performs Box-Cox transformation, and I was able to use bold face for vector data and greek letters for the parameters as fou
More ›