Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
erezsh
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
Five unexpected Lark features you probably didn’t know about [Python]
(blog.erezsh.com)
2 points
by
erezsh
5y ago
|
0 comments
62.
▲
Unexpected Lark features you probably didn’t know about [Python]
(blog.erezsh.com)
1 points
by
erezsh
5y ago
|
0 comments
63.
▲
by
erezsh
5y ago
So, I think the main reasons are - - Lark is already very fast. It's a lot easier to optimize something that takes 3 minutes :) - There is still some Python code that is being run. For example, in the tree constructor. That can be solv
64.
▲
Lark-cython lets you double the speed of Lark's LALR parser (Python)
(github.com)
3 points
by
erezsh
5y ago
|
2 comments
65.
▲
Lark-cython lets you double the speed of Lark's LALR parser (Python)
(github.com)
2 points
by
erezsh
5y ago
|
0 comments
66.
▲
by
erezsh
5y ago
It seems people here are really interested in alternatives to SQL. So perhaps you'd also like to have a look at https://github.com/erezsh/Preql (Same name, same goal, different approach, and already working)
67.
▲
by
erezsh
5y ago
This is breaking news, and not yet confirmed. And yet everyone even slightly tech-related in Israel is currently talking about this. It even sparked intense arguments in some security related forums that I shall not name. To say "nobod
68.
▲
by
erezsh
5y ago
Prismata is a little known online card game with very simple rules but it's incredibly hard to master. The community is pretty small, but active enough that you can usually find an opponent if you wait a few minutes. (But try to beat t
69.
▲
by
erezsh
5y ago
Looks like a great start. I'd love to see a feature that says where travelers are going to be, not just where they are. Also, a list of interests / desired activities, so I can see what we have in common.
70.
▲
by
erezsh
5y ago
Thanks! I'm planning to make a short youtube video that shows how to use it. The user interface is open-ended, which I consider a strength, but it means not all the uses are immediately obvious. Things I'm thinking of adding: - Al
71.
▲
by
erezsh
5y ago
I'm building Total Recall ( https://github.com/erezsh/TotalRecall/ ), a keyboard-first browser extension for bookmarks that's fast and useful. It lets you search through your bookmarks using a local full-t
72.
▲
by
erezsh
5y ago
Yeah, and let me tell you, it's an absolute nightmare to get to work when you need two features that weren't written to compile at the same time. I'm not saying it's necessarily a bad idea. Just that it isn't a repl
73.
▲
by
erezsh
5y ago
Meanwhile, half the world start-ups base their entire tech stack on the goodwill of amazon and google, not to pull the rug from under them in hundreds of legal ways.
74.
▲
by
erezsh
5y ago
I'll rephrase it - programming is the only field I know deeply enough to be deeply impressed by the accomplishments I'm seeing. I'm sure I interact with well designed entities all the time, without even knowing it. One of the
75.
▲
by
erezsh
5y ago
"Ever" is a tough one but .. Python is still the best-designed language I ever used, warts and all. It's often grouped with Javascript because they're both interpreted and "duck-typed", but imho the gap betwee
76.
▲
by
erezsh
5y ago
What if I'm feeling cynical about humankind but for very different reasons? Like historical trajectory, discrepancy of growth between technology and culture, or even cynical about the very idea of life?
77.
▲
by
erezsh
5y ago
> ERROR: Cross-origin localStorage blocked by browser but required for devserver. > Please enable 3rd party cookies or add an exception for stackblitz.io to resolve. You know, I don't think I will.
78.
▲
by
erezsh
5y ago
Just because you code like it's the 90s doesn't mean everyone else has to. But I'm pretty sure even in the 90s everyone had word-wrap, so the 72 columns thingy never really made sense for texts that don't have indentatio
79.
▲
by
erezsh
5y ago
The unique value Google has is the mass of users who provide them with data, by clicking (or not clicking) their search results. It's the same way with most of the big websites - they wouldn't get to where they are if they started
80.
▲
by
erezsh
5y ago
> For instance, there is no need for generics and enums, sum types and null coalescing are all the same thing. Can anyone qualify that claim? How does one translate type generics to Cue?
81.
▲
by
erezsh
5y ago
Thanks for the stimulating conversation. I'm almost out of juice, so I'll just reply to a few things -- > both of us are making propaganda That may be. As long as we're being honest about it, I think that's fine. I fe
82.
▲
by
erezsh
5y ago
> having a bunch of other people come in who fundamentally do not understand why those distinctions exist or why they matter The "fields on endeavor" clause is a disputed clause. It wasn't a widely-accepted tenet when the
83.
▲
by
erezsh
5y ago
Exactly. They're trying to phrase it like a philosophical non-judgemental distinction. But if it contains no judgement, then what's the point? In my view, the whole thing is a fallacy. Freedom is always in degrees. I can't ta
84.
▲
by
erezsh
5y ago
If you're using a good parser, switching between begin-end and curlies should be a one minute job. Now, updating the tests and the library code.. that's a different story.
85.
▲
by
erezsh
5y ago
You write "accordingly" as if it's obvious what's the correct course of action for a company that's in direct competition with a titan, and any other course of action must disappoint their users. What would you have
86.
▲
by
erezsh
5y ago
> created: 1 day ago nice!
87.
▲
by
erezsh
5y ago
I actually have a prototype of something like that, built on top of Lark. It's still far from being complete or user friendly, but I'm already successfully transpiling a subset of Python to Javascript. It still needs a lot of hand
88.
▲
by
erezsh
5y ago
It's a good start, but there are many other differences. a[i] can mean getattr (but usually not), and can throw a KeyError. Similarly, a.b may return null if it doesn't exist, while in Python it will throw an AttributeError. You m
89.
▲
by
erezsh
5y ago
FBI arrests in Israel have happened in the past.
90.
▲
by
erezsh
5y ago
> but won't change the world nor the game I don't think that was ever the point. In a game of cat-and-mouse, you don't skip on a chance to spray the cat.
More ›