Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
joejev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
1.
▲
by
joejev
1y ago
Isn't the entire point of an optimizer to convert "bad code" into "good code"? Your proposed solution is to have the user manually implement a hash table, but if you have a good optimizer, users can focus on writing
2.
▲
by
joejev
6y ago
Interesting idea, but this implementation has UB: typedef void* var; struct Header { var type; }; // ... #define alloc_stack(T) header_init( \ (char[sizeof(struct Header) + sizeof(struct T)]){0
3.
▲
by
joejev
6y ago
It's not an ad-hoc turing complete language, it is just a programming language. Makefiles are just programs. There are some strange implicits, but that isn't unique to the Make programming language.
4.
▲
by
joejev
7y ago
I think they meant that the bytecode itself reads like a forth. The data stack works just like it does in forth within a single Python function.
5.
▲
by
joejev
7y ago
> The argument comes down to when the undefined behavior occurs: is it at the deference to create the reference, or is it on the first memory access using the reference? The language pedants will say the former, but in practice, it'
6.
▲
by
joejev
8y ago
> And regardless of that, if my employer is willing to pay our CEO over 20x what they pay their average employee, they are not in a position to niggle over the kinds of systemic inefficiencies they would suffer under a union. Do you not
7.
▲
by
joejev
8y ago
I work on a library for doing Python bytecode transformations like this, but with a more abstract API. Here is a similar transformation with this library, which works with Python 3: https://github.com/llllllllll/codetra
8.
▲
by
joejev
8y ago
So, like some sort of shared library that my programs dynamically communicate with? How is this functionally different from a shared object?
9.
▲
Principles of Performance
(llllllllll.github.io)
1 points
by
joejev
8y ago
|
0 comments
10.
▲
by
joejev
8y ago
I've been to chiles, not surprised to see that on the top of the list.
11.
▲
by
joejev
8y ago
You need to know how the character is written regardless because the stroke order is part of the character. There are some basic rules like working left to right and top to bottom. Also, each component has the same order when written out.
12.
▲
by
joejev
8y ago
What about a 9 hour flight? Bring 2 sets of pilots?
13.
▲
by
joejev
8y ago
You must work fast: https://numba.pydata.org/numba-doc/dev/user/pycc.html
14.
▲
by
joejev
9y ago
Great write up. I am a maintainer of a project you opened a PR on, but the diff is large and seems to include unrelated changes. Maybe you based of a fork and the opened the PR to upstream? If the bot had worked as intended I would have tho
15.
▲
by
joejev
9y ago
> elipsoid earth theory Do you actually know this is true? Have you tested this?
16.
▲
by
joejev
9y ago
I'm also in Cambridge, for a long time they were replacing some pipes under my street. This would cause weird, seemingly ambient sounds.
17.
▲
by
joejev
9y ago
Why does it matter if the users are high income? Twitter can still serve ads to low income users.
18.
▲
by
joejev
9y ago
With enough wrapping, the templates can be okay to write. For example https://github.com/llllllllll/wired looks like a shitty lisp.
19.
▲
by
joejev
9y ago
This pattern was possible with a scoped class in c++ 98.
20.
▲
by
joejev
9y ago
Many games (by common definition) are strictly execution based. For example, most rhythm games (e.g. Osu!, Beatmania, DDR, Guitar Hero, etc) do not have any element of randomness or strategic requirements, yet some people find them very fun
21.
▲
Show HN: Pickle support for Python generators
(github.com)
1 points
by
joejev
9y ago
|
0 comments
22.
▲
by
joejev
9y ago
> 1. BTC is useful as a store of wealth. > 8. Don't put in more money than you're willing to lose. Cryptocurrency-think
23.
▲
by
joejev
9y ago
I can see the art being preserved as a critical feature for adventure games, but with StarCraft remastered it seems everyone loves the new art. The most important thing for that game was to keep the gameplay exactly the same while supportin
24.
▲
by
joejev
9y ago
I love osu!, but there are no strategic actions, you just click the circles.
25.
▲
by
joejev
9y ago
> For too long, Blizzard was far too afraid to make sweeping changes to their game in the same vein as DotA or League. Why are big changes a good thing? As someone who started playing brood war since the remastered release, I really like
26.
▲
by
joejev
9y ago
I get newsletters for a few music labels to see their new releases. I also get announcements for local music shows.
27.
▲
by
joejev
9y ago
Interesting article, including the subtitle, "Their case against frugality", may help people understand what the article will be about. The article title alone is quite vague.
28.
▲
by
joejev
9y ago
Filco also has this.
29.
▲
by
joejev
9y ago
More syntax makes a language harder to read. The point isn't that making this special syntax would be harder, because it's not that hard. The point is that you don't need new syntax. In this case, the new syntax saves a few
30.
▲
by
joejev
9y ago
Why is (x=1, y=2) more practical than nt(x=1, y=2)? Also, we have a very efficient implementation for tuples. collections.namedtuple is quite fast and the article shows cnamedtuple (which I am the author of) which is a C implementation that
More ›