Better HN
topnewbestaskshowjobs
Log inSign up

youknowone

132 karma · joined Jan 23, 2013 (13y ago) · 45 submissions

https://github.com/youknowone
Submissions

1.

Pyre: New JIT Python interpreter written in Rust(pyre-lang.org ↗)

10 points · by youknowone · 7mo ago · 1 comment

2.

Bit-exact Python compatible math library in Rust(crates.io ↗)

3 points · by youknowone · 8mo ago · discuss

comment 1y ago · link · parent

The article is a bit misleading.

The new law requires the installation of solar panels in all *public* parking lots operated by the government. I checked this through local news sources.

In South Korea, there are already incentives to install solar panels on buildings, including parking lots. If you operate a solar power system with a capacity of over 20 kW, you can sell the generated electricity at prices higher than the market rate thanks to government support programs.

Despite these benefits, many parking lots in South Korea still do not install solar panels. This is mainly because, given the country’s high population density, most parking lots are located on land that is considered potential development sites. Once solar panels are installed, it becomes more difficult to change the land use later for development purposes, and the owners would also have to bear additional costs for removing the panels.

comment 1y ago · link · parent

Congratulations on having been born into an environment where you’ve had the privilege of becoming so fluent in English that you feel comfortable complaining about other people’s stylistic choices in writing. Note: This comment was translated using an LLM.

5.

Rust malachite-bigint is a drop-in-replacement of num-bigint(github.com ↗)

1 points · by youknowone · 2y ago · discuss

comment 2y ago · link · parent

Our team tends to drilling on code more than writing. I know it is not a strategic good way though. Any idea what do you expect to see on the blog?

comment 2y ago · link · parent

Thank you for working with RustPython. I believe kybra made RustPython wasi support a lot more stable.

comment 2y ago · link · parent

If Python community and CPython developers were more open to PyPy, many things could be changed. A group of people talks about how good having a third-party interpreter in Python community while the whole Python eco-system is heavily relying on the old (maybe good-enough) Python C API.

Whenever I meet a C API issue on RustPython project (yes, I contribute to RustPython), I think about PyPy, and check what's going on C API, and realize 15 years was not enough to change things. Now the momentum of PyPy is not that strong as before. I believe Python community lost a huge chance.

Hope HPy or something can save PyPy. Maybe RustPython also will get a chance around there.

comment 3y ago · link · parent

I translated a survey about LK-99 papers to English

https://hackmd.io/DMjYGOJFRheZw5XZU8kqKg

10.

About LK-99 Papers(hackmd.io ↗)

2 points · by youknowone · 3y ago · discuss

comment 3y ago · link · parent

The article is mostly about people and their motivation. And why it is going with noise and trouble.

Please feel free to ask about the article if your machine translator doesn't work for specific sentences.

12.

(Mostly) Non-technical background of LK-99 Room-temperature superconduct(hackmd.io ↗)

2 points · by youknowone · 3y ago · 1 comment

comment 3y ago · link · parent

Thank you. That sounds like an important feature.

comment 3y ago · link · parent

RustPython itself has more bugs. e.g. `dict()` doesn't work well on some multithread scenario yet.

comment 3y ago · link · parent

RustPython didn't adapt the optimization designs yet. One of the current major goal is this optimization: https://github.com/RustPython/RustPython/issues/3244

RustPython even cannot run `1+1` without calling `int.__add__` yet. And it is working on https://github.com/RustPython/RustPython/pull/4615

So it still has long way to go not C vs Rust but from the design level.

comment 3y ago · link · parent

RustPython doesn't have working JIT in the common meaning of JIT yet.

comment 3y ago · link · parent

RustPython doesn't use GIL at all. RustPython use individual lock for each data type. So RustPython has more multithreading bugs.

comment 3y ago · link · parent

Windows utility. Working for AMD chips with multiple L3 cache clusters.

By the developer, it boosts stellaris 50%.

19.

Saturn Affinity: boosting game performance on AMD chips(github.com ↗)

3 points · by youknowone · 3y ago · 1 comment

comment 4y ago · link · parent

preview: https://twitter.com/js1024fun/status/1547183423239897089

This is insane.

21.

Epyt: JavaScript typing game in 1022 bytes with brotli trick (js1024)(js1024.fun ↗)

1 points · by youknowone · 4y ago · 1 comment

comment 7y ago · link · parent

Thanks. I didn't think adding them to the why page. For now, the actual projects work like:

  if DEBUG:
      ring_cache = functools.partial(ring.dict, {}, default_action='execute')
  else:
      ring_cache = functools.partial(ring.redis, client)

  @ring_cache(...)
  def ...

Which is not very good solution at all. I will fix the design and properly document it. Thanks for suggesting why page and mock section.

comment 7y ago · link · parent

agree

comment 7y ago · link · parent

Thanks, I will fix it

comment 7y ago · link · parent

I agree they are missing features but still they are easy goal with small refactoring so it will be solved soon. Issue #129 is about application default. After that, dryrun is just replacing default action from 'get_or_update' to 'execute'

comment 7y ago · link · parent

Will it be correct expression if I fix it to outside? https://github.com/youknowone/ring/pull/133/files

comment 7y ago · link · parent

no dogpile lock but get_or_create exists with different name: get_or_update

comment 7y ago · link · parent

I want to say "not yet". It is shame that I didn't know docpile lock.
12