Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tuukkah
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
511.
▲
by
tuukkah
4y ago
... because var is function-scoped, not block-scoped like let.
512.
▲
by
tuukkah
4y ago
Good point. With that in mind, e.g. WebChatGPT using DDG may be a matter of working around the Bing API costs.
513.
▲
by
tuukkah
4y ago
Or DDG?
514.
▲
ts-reset – improving types for common JavaScript APIs
(github.com)
3 points
by
tuukkah
4y ago
|
0 comments
515.
▲
by
tuukkah
4y ago
In my mind, what you are describing is the responsibility of the teacher. I was thinking more along the lines of how parents help their children in their homework. Like the grandparent wrote: > who can sit down with you and explain thin
516.
▲
by
tuukkah
4y ago
It'll be cheaper for the school, the parents or the social services to provide you access to an AI tutor than to more human instruction. Already, learning games can prevent or cure (some) learning disabilities via engagement and repeti
517.
▲
by
tuukkah
4y ago
You can ask ChatGPT why your code is not working right, and often it will give a helpful suggestion. Sure, the suggestion may be wrong or misleading, but it can help you get unstuck in any case.
518.
▲
by
tuukkah
4y ago
For a reasonable interpretation, I offer this (in the context of programming): "The course recognizes that interactions with classmates and others can facilitate mastery of the course’s material. However, there remains a line between e
519.
▲
by
tuukkah
4y ago
WebChatGPT does almost what you suggest. However, it does not actually scrape the result pages but instead uses the snippets on the DDG result page as the context to ChatGPT. https://github.com/qunash/chatgpt-advanced
520.
▲
by
tuukkah
4y ago
Got a reply from GitHub that they fixed the problem, so here's the pull request: https://github.com/jonatron/fosdem2023whisper/pull/1
521.
▲
by
tuukkah
4y ago
I used GNU sed on Ubuntu. The only difference I notice is that you have one space where I had two, but that difference shouldn't matter actually. Perhaps your sed has a different opinion on which of the backslashes should be there. You
522.
▲
by
tuukkah
4y ago
Does it not work to put a track element inside an audio element?
523.
▲
by
tuukkah
4y ago
You can git pull from here for subtitles in the WebVTT format: https://github.com/tuukka/fosdem2023whisper/tree/feat/webvtt (I'm not able to make a pull request because GitHub is giving me the pink
524.
▲
by
tuukkah
4y ago
It's even closer to WebVTT, just had to add the line "WEBVTT" to the top and replace all square brackets with line breaks: curl https://jonatron.github.io/fosdem2023whisper/files/celebrating_25_
525.
▲
by
tuukkah
4y ago
Wow! Is there an easy way to combine these subtitles with the video in the browser?
526.
▲
by
tuukkah
4y ago
The trick in general is to focus on the types of (top-level) functions. This way, it can be super concise and machine-readable API documentation. (In Haskell, it's great how the type is defined above the function, where documentation a
527.
▲
by
tuukkah
4y ago
Massive move of usage to new services should be enough for a massive amount of startups that build those new services. No need for expansion, I think.
528.
▲
by
tuukkah
4y ago
Usually, you think of the shadowing variable and the shadowed variable as different variables though. They just happen to use the same variable name.
529.
▲
by
tuukkah
4y ago
"Immutable variable" is not an oxymoron, because the value of a variable can and typically will vary via other means than mutation. The value of a variable is potentially different every time it comes to scope, e.g. whenever a fun
530.
▲
by
tuukkah
4y ago
The long-distance trains say they have a selection of craft beer in the restaurant cars: https://www.vr.fi/en/facilities-and-services/restaurant-car Some check-ins: https://untappd.com/v/ravin
531.
▲
by
tuukkah
4y ago
Great algorithm! The paper is from 2017. Anyone using this so far? Slides of a tutorial by the original author: https://harabor.net/daniel/index.php/2019/03/20/gdc-2019/ Here's the origina
532.
▲
by
tuukkah
4y ago
The account was not cancelled.
533.
▲
by
tuukkah
4y ago
Here you can see how an older version of quadsort beats some benchmarks that include the number of comparisons: https://www.raygard.net/2022/03/09/Re-engineering-a-qsort-pa...
534.
▲
by
tuukkah
4y ago
Thank you for these insights! To measure the energy efficiency as simply as possible, I wonder if it could be sufficient to run a big-enough benchmark on a laptop and check the battery charge level before and after.
535.
▲
by
tuukkah
4y ago
Good point, so it's not more esoteric than Timsort which is used in production a lot. With quadsort, fluxsort, piposort etc., you have an impressive coverage of the design space of sorting algorithms!
536.
▲
by
tuukkah
4y ago
> Not if it does lots more memory accesses, which is not clear from the page. They say it reduces comparisons, moves and temporary allocation. To me this sounds like fewer memory accesses, although they note that quicksort can use L1
537.
▲
by
tuukkah
4y ago
In the code it looks like the seed to the benchmark can be provided as the 4th command line argument if necessary: https://github.com/scandum/quadsort/blob/master/src/bench.c#...
538.
▲
by
tuukkah
4y ago
TLDR: A visualisation of how QuadSort adaptively combines various novel strategies to achieve the best performance on a wide variety of inputs: https://github.com/scandum/quadsort#visualization Benchmarks of how it bea
539.
▲
by
tuukkah
4y ago
F-Droid does not always install the very latest versions by default unless you turn on Settings > Expert mode and then tick Unstable updates.
540.
▲
by
tuukkah
4y ago
"Warning: This app may track your GPS position" or similar. Not totally unexpected of a maps app.
More ›