Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zaidhaan
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
zaidhaan
1y ago
I am not aware of any approaches that work consistently across all major browsers. This matter is nothing new -- there's a Bugzilla report[0] from 13 years ago about this behavior that remains open. Since there's no spec for globa
2.
▲
by
zaidhaan
1y ago
One thing to note about these two APIs is that they affect how the session history (the back/forward stack) behaves, but the global browser history (entries shown in the History tab) is separate. Most browsers record every change i
3.
▲
by
zaidhaan
2y ago
I too share your sentiment about VS Code. Its extension API[0] is extensive and approachable, often with examples[1] for each API. Just a small anecdote: At work, I found it frustrating not being able to quickly locate where views for Djang
4.
▲
by
zaidhaan
3y ago
A little off-topic, but I'd love to see a tool similar to this that provides real-time previews for an entire shell pipeline which, most importantly, integrates into the shell. This allows for leveraging the completion system to comple
5.
▲
by
zaidhaan
3y ago
Honestly, upon further thought I think it should be fine as long as the diffs look good. I just personally would feel more confident with using perl for anything to do with multi-file substitutions. In theory, ripgrep with `--passthru` and
6.
▲
by
zaidhaan
3y ago
It might be worth noting that while ripgrep doesn't support in-place file editing, it's still possible to replace matches using the `-r` flag, couple that with a tool like `sponge` from moreutils[0] and you can effectively perform
7.
▲
Rosetta Code
(rosettacode.org)
1 points
by
zaidhaan
3y ago
|
0 comments
8.
▲
by
zaidhaan
3y ago
The author has also written a few other similar articles[0] that are also worth taking a look at. [0] https://hn.algolia.com/?q=zsh%20tricks%20you%20may%20not%20k...
9.
▲
Zsh tricks you may not know
(leahneukirchen.org)
1 points
by
zaidhaan
3y ago
|
1 comments
10.
▲
by
zaidhaan
3y ago
I'm very fond of looking at problems in a different light to come up with solutions or approximations that can be computed with ease mentally. Do any folks here have pointers to related techniques or resources?
11.
▲
by
zaidhaan
4y ago
One thing I really appreciate about Wikimedia is the openness and quality of documentation for their infrastructure (which can be found at https://wikitech.wikimedia.org/wiki/Wikimedia_infrastructure ). It's an exc
12.
▲
by
zaidhaan
4y ago
They do note that the models "tend to do better when prompted with longer code generation tasks". But yes, the choice of scales for the graph was rather peculiar.
13.
▲
by
zaidhaan
4y ago
Pretty cool! Does anyone know how open-source alternatives like GPT-J compare to ChatGPT? I've heard that it's comparable to GPT-3, but nothing close to GPT-3.5. I'd much prefer using a tool that I know won't eventually
14.
▲
by
zaidhaan
4y ago
The brython appears to only have been used for SVG manipulation. I would have been more interested in seeing the audio being generated dynamically based on the swing ratio, but instead it just plays pre-rendered mp3s.
15.
▲
by
zaidhaan
4y ago
What do you typically use perl for? I thought it was most commonly used for scripting and running cgi scripts. I find bash to be much more readable and tend to use it or python for most of my scripts
16.
▲
by
zaidhaan
4y ago
Thanks for the clarification. That seems fair, I suppose the title of the article gave me the impression that they were claiming such an ability would be widespread in all crows (despite the study being done on two carrion crows), when in f
17.
▲
by
zaidhaan
4y ago
Not sure why I got downvoted. If my assumption is wrong then I'd be really curious to hear from someone that knows better.
18.
▲
by
zaidhaan
4y ago
> Adapting the protocol used in the 2020 paper, the team trained two crows to peck pairs of brackets in a center-embedded recursive sequence. > Two of the three monkeys in the experiment generated recursive sequences more often than n
19.
▲
by
zaidhaan
4y ago
To get it to work, I just copied the contents of both the scripts using the command below and ran it in the developer console. wget -q -O - http://kathack.com/js/kh.js http://ajax.googleapis.com/ajax
20.
▲
by
zaidhaan
4y ago
Link to the paper: https://www.dgp.toronto.edu/~mooncake/papers/SIGGRAPH2001_Tu...
21.
▲
Tupper's self-referential formula
(en.wikipedia.org)
1 points
by
zaidhaan
4y ago
|
1 comments
22.
▲
In vitro neurons learn and exhibit sentience in a simulated game-world
(cell.com)
6 points
by
zaidhaan
4y ago
|
0 comments
23.
▲
Idiomatic Awk (2010)
(backreference.org)
7 points
by
zaidhaan
4y ago
|
0 comments
24.
▲
by
zaidhaan
5y ago
Hackaday is also great for folks interested in hardware hacking or electronics in general. https://hackaday.com/
25.
▲
by
zaidhaan
5y ago
Yep, totally. I had some issues with Bluetooth coexistence on my Realtek WiFi card, tried installing various different drivers but nothing fixed it. Replaced it with an Intel one and it worked flawlessly.
26.
▲
by
zaidhaan
5y ago
Exactly. I feel like the costs of swapping out such components for better ones likely wouldn't exceed $200. Maybe pwg is right and the discounted price with Windows is due to the paid pre-installed software. But that still leaves the c
27.
▲
by
zaidhaan
5y ago
A bit off-topic, but if that's the case, then why don't you just buy the Windows version, then wipe the disk and install Linux on it. You effectively save yourself $200. Is there something I'm missing? Does selecting the deve
28.
▲
by
zaidhaan
5y ago
As someone without a background in EE I find it fascinating how we are able to build hardware that operates and deals with data at high speeds that it needs to be debugged using statistical analysis. How is it even possible to have correctl
29.
▲
How JPEG image compression works [video]
(youtube.com)
2 points
by
zaidhaan
5y ago
|
0 comments
30.
▲
by
zaidhaan
5y ago
This is a pretty decent cheat sheet. It might be worth noting that not all these commands may be available on every Linux distribution. In fact, there is no set of commands or packages guaranteed to be installed on every distro. Though I&#x
More ›