HN user

bilalhusain

1,462 karma

Seeking opportunities.

https://twitter.com/by1x

Posts62
Comments129
View on HN
web.archive.org 4y ago

Common Programmer Health Problems (2010)

bilalhusain
3pts0
blog.rust-lang.org 4y ago

Rust 1.57

bilalhusain
57pts9
judy.sourceforge.net 4y ago

Judy IV Shop Manual [pdf]

bilalhusain
1pts0
redbean.dev 5y ago

Redbean now supports Lua, SQLite and SSL

bilalhusain
2pts1
blog.cloudflare.com 5y ago

Kernel Bypass (2015)

bilalhusain
2pts1
pijul.org 5y ago

Changes on Binary Files

bilalhusain
4pts0
www.mail-archive.com 5y ago

Dr. Richard Hipp responds to a bug report (2012)

bilalhusain
31pts5
sosna.de 5y ago

PostgreSQL, Memory and the Cloud

bilalhusain
211pts57
github.com 5y ago

Entish – a declarative Datalog-like language for formal RPG rules

bilalhusain
1pts0
www.possiblerust.com 5y ago

How to Read Rust Functions

bilalhusain
4pts0
harelang.org 5y ago

The Hare Programming Language

bilalhusain
4pts0
blog.rust-lang.org 5y ago

Rust 1.53

bilalhusain
186pts95
fasterthanli.me 5y ago

So you want to live-reload Rust

bilalhusain
1pts0
developers.google.com 5y ago

Radish – Indoor Solar-Powered Calendar Display

bilalhusain
1pts0
www.slavevoyages.org 6y ago

Timelapse of movement of 31,164 Slave Ships

bilalhusain
1pts0
emilk.github.io 6y ago

Egui – An experimental immediate mode GUI written in Rust

bilalhusain
2pts0
en.wikipedia.org 6y ago

Rosetta

bilalhusain
2pts0
blahg.josefsipek.net 6y ago

Rust Pointers for C Programmers (2018)

bilalhusain
2pts0
thewire.in 6y ago

First hand account of how India's PM Modi subdues media critics (2018)

bilalhusain
1pts0
www.youtube.com 6y ago

Leadership Without Management (2013)

bilalhusain
1pts0
blog.rust-lang.org 6y ago

Rust 1.39

bilalhusain
209pts21
doodle.notch.net 10y ago

Unmandelboxing with sound – raymarching with distance fields in 4kb html

bilalhusain
3pts0
sparktg.com 11y ago

How we store 400M phone numbers with fast lookup

bilalhusain
76pts54
sparktg.com 11y ago

How we store 400M phone number data with fast lookups

bilalhusain
3pts0
www.lispcast.com 11y ago

Willy Wonka and the core.async Guidelines

bilalhusain
2pts0
speakerdeck.com 11y ago

Making Twitter UI Infrastructure

bilalhusain
4pts0
engineering.linkedin.com 11y ago

SlideShare's first experience with iOS and Swift

bilalhusain
3pts0
github.com 11y ago

Transducers in C++

bilalhusain
2pts0
www.cs.drexel.edu 11y ago

CARDIAC

bilalhusain
7pts0
github.com 11y ago

A Clojure Library for HN API

bilalhusain
10pts1

It is interesting to note how it compares to "choose" (also in Rust) in the benchmarks.

single character

    hck           1.494 ± 0.026s
    hck (no-mmap) 1.735 ± 0.004s
    choose        4.597 ± 0.016s
multi character
    hck           2.127 ± 0.004s
    hck (no-mmap) 2.467 ± 0.012s
    choose        3.266 ± 0.011s
The single pass optimization trick[1] seems to be helping a lot in single character case.

Of course, doing away with a pass is suppossed to give 2x, and I am wondering whether the regex constraint lead to this "side-effect".

[1] fast mode - https://github.com/sstadick/hck/blob/master/src/lib/core.rs#... https://github.com/sstadick/hck/blob/master/src/lib/core.rs#...

I've learned ... instead to simply say "I have a lot of experience with that technology" and leave it at that.

Shows Brendan's maturity.

I am not sure what should be the appropriate reaction or corrective measure in these situations. We should talk more about handling these unfair situations.

Someone else can become more successful building on top of one's open source project. On a resume, a top contributor and a minor contributor to open source project might have same weightage depending on how you present it - making the situation unfair for a person dedicatedly working on a single project (quality) vs minor contributor to multiple projects (quantity).

But deleting name and credits is wrong. An acknowledgement from the benefitting person (if not the recognition/reward) has far more positive impact on career than justifying to other's that your work was stolen.

It was a bit strange to read some of the initial negative comments. I see Brendan being a sport. I would argue that reading the story as a report against unknown persons at Sun makes more sense. I don't see much sense in blaming victim. And, in my opinion, the VIP had a good run but he isn't the bad guy here.

Modi's BJP is a power hungry party unlike anything I have seen. I doubt they care about anything (nation, economy, welfare).

The way it has been going on is that government announces something or passes some bill because they have to do something on a particular topic (say black money, taxes, Covid). However, they are incompetent or don't have the willingness or interest in actually carrying it out. So, these changes turn out to be catastrophic. They take toll on economy as well as anyone impacted because of the decision making.

Agriculture reforms are much needed in India. However, the government did it in hurry by-passing rules and without consulting farmers. I guess, they just want to do something so that they can let the marketing take care of the rest (that the goverment has done something for farmers - doesn't matter what or irrespective of whether it really helps them).

With these bills, the concern is that it will let private players take over and exploit farmers because of insufficient provisions to take care of farmers' interest. And then nobody will care (very much a risk because no one raises voice of oppressed which might show government in bad light because of the sold-out media). And the government will push narrative that they did the "reforms" (backed by fake data which is a hallmark of this government).

I am talking about Justice Loya [1].

By the way, the govt has been very active in making sure that they have their loyal representatives in bureaucracy as well as in judiciary. Recently, the Supreme Court convicted a prominent lawyer for a tweet criticizing them [2]. It is very easy for them to dismiss cases which might show them in bad light. Media has no independence either. Eg. the case of Punya Prasun Bajpai [3] who's show was blacked out and eventually cancelled because it was critical of Modi.

[1] https://en.wikipedia.org/wiki/Brijgopal_Harkishan_Loya

[2] https://www.nytimes.com/2020/08/31/world/asia/india-bhushan-...

[3] https://thewire.in/media/punya-prasun-bajpai-abp-news-narend...

Since the title mentions the idea as well as the govt, let me add that while the idea is excellent, the current (Modi) govt is incompetent when it comes to execution, or may be has some other interests. Examples - failed demonetization, poor implementation of Goods and Services Tax (GST), failed Covid-19 lockdown. Most of what the govt does benefits select corporates (eg. rise of Jio). Interestingly, Paytm benefited the most during demonetization (2016) which is mentioned in the article and might have catalyzed the idea. The important part to notice is that demonetization was aimed at wiping out black money, GST was supposed to improve taxation, Covid-19 lockdown was supposed to dampen the long-term effect. However, these steps which were supposed to improve economy turned out to be counter-productive. Due to the poor or misdirected execution, India's economic is tanking down. So, although self-dependence is the stated goal, I am not sure where it will land. Moreover, the authoritarian tendencies don't help either. They are known to blackout journalists, assassinate lawyer, conduct media trials and put anyone speaking against them in jail. They will be a bigger bully than Google/Apple and pose a bigger risk to privacy.

Facebook Gizmo 6 years ago

Radish sounds pretty fascinating. Any suggestions for a cheap Cholesteric LCD screen (which retains displayed image even when off)?

'sqlite3VdbeMemRelease' doesn't alter the value of 'c' but may alter the value of 'pmem->flags' which is what the compiler replaced 'c' with.

from the post by Dr. Richard Hipp "From the -S output, it looks like Clang-11.0.0 is compiling these three lines as if there were written as:"

      sqlite3VdbeMemRelease(pMem);
      pMem->flags = MEM_Str|MEM_Term|(pMem->flags&(MEM_AffMask|MEM_Subtype));
Rust 1.39 7 years ago

Another fix (one mentioned in detailed release notes) is where asinh(-0.0) used to return 0.0

These unexpected behaviours are tough to nail down when one is trying to get the code/setup working. Really appreciate the time these fixes potentially save for future users. The complex nature probably also hints at maturity of Rust codebase.

Rust 1.39 7 years ago

Completely agree. That ways discussion would be at one place and front page won't be hogged with possible duplicates.

Right now the other post is enjoying more attention and has meaningful engaging discussion. Requesting @dang to remove this (21473257) from front page and possibly tag the other one (21473259) with 1.39.0 release.

[dead] 7 years ago

As a firefox user, switching to Reader mode (Ctrl + Alt + R) and then refreshing the page (Ctrl + R) works for me.

Our solution maintains the data in a simpler scheme because keeping the data in a maintainable format is important aspect when the data is ever changing - every couple of days millions of people update their preferences and we need to be able to apply these changes. When choosing a single data structure for all the numbers, we need to optimize for space or for faster inserts/updates. Our solution is a trade-off between these options.

You are right, they were mainly around pointers. As long as they are a handful and their meaning doesn't change (as opposed to using in a DSL), its easy to get used to them. Still, I find the explicit keywords a familiar territory and better to read.