Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ForkMeOnTinder
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
151.
▲
by
ForkMeOnTinder
3y ago
If they list their real raised prices on the menu, it is not undisclosed. If they expect customers to magically know about the extra fee ahead of time, and add it to the bill after the meal, it is undisclosed.
152.
▲
by
ForkMeOnTinder
3y ago
Yeah, GP's comment is on the same level as the senator who tried to disprove global warming by showing everyone a snowball. https://www.youtube.com/watch?v=3E0a_60PMR8
153.
▲
by
ForkMeOnTinder
3y ago
I watch youtube a lot and I've never seen one of these adblocking popups. I use uBlock Origin. Does this actually affect uBlock Origin for some users, or is it just hitting the people who download one the thousands of other weird "
154.
▲
by
ForkMeOnTinder
3y ago
Can anyone recommend a good self-contained "hello triangle" example with SDL2 + Vulkan? Just yesterday I was trying to start a project, and I tried building the top 4 example repos on github but couldn't get any of them to co
155.
▲
by
ForkMeOnTinder
3y ago
Christmas lights also use as much electricity as entire countries.[1] If the energy usage is what these people actually care about... where's all the moral outrage about Christmas lights? Obviously something used by millions of people
156.
▲
by
ForkMeOnTinder
3y ago
This comment might have made sense 10 years ago. Nowadays JS frameworks are a tiny minority of release announcements on HN. https://hn.algolia.com/?dateRange=pastMonth&page=0&prefix=tr...
157.
▲
by
ForkMeOnTinder
3y ago
I personally like the flexibility of i3's keybinding config.[1] For each binding it lets you choose either: - a keysym (the letter Z, wherever it happens to be in your current layout) - or a keycode/scancode (the physical button u
158.
▲
by
ForkMeOnTinder
3y ago
> At least with a language like Go, it somewhat makes sense, and has been attempted: https://gioui.org/ Gio UI is an immediate-mode UI, and immediate-mode UIs map very nicely to Rust. egui is quite expressive and easy to
159.
▲
by
ForkMeOnTinder
3y ago
> To beginners it might seem like “wasting memory” by using a 32-bit boolean Maybe I'm a beginner then. He lists a few cases where it's not worse than sticking to 8-bit bools, but no cases where it's actually an improvemen
160.
▲
by
ForkMeOnTinder
3y ago
It does exist, there are at least dozens of such tools. Here's a random one I found with a quick search. https://photostructure.com/getting-started/automatic-library... But if it's not powered by AI it won&#x
161.
▲
by
ForkMeOnTinder
3y ago
Another estimate from a known crypto skeptic puts an upper bound at 3% illegal activity.[1] > For example, illegal transactions, scams and gambling together make up less than 3% of volume. Either way this 0.12%-3% range doesn't begi
162.
▲
by
ForkMeOnTinder
3y ago
Interestingly the non-Pro pixels have been trending in the right direction for size. The Pixel 6 is 6.4" The Pixel 7 is 6.3" The Pixel 8 is 6.2" If the trend continues we only have to wait 3 more years for a < 6" phon
163.
▲
by
ForkMeOnTinder
3y ago
That strip is part of the deal if you're buying a pixel. https://www.gsmarena.com/google_pixel_6-pictures-11037.php https://www.gsmarena.com/google_pixel_7-pictures-11903.php https://www.gsm
164.
▲
by
ForkMeOnTinder
3y ago
Nothingburger. It also removes the widget if you add "is awesome" to the end. If you've already decided what you think of a company and you're telling google as much, the reviews won't change your mind so they aren&
165.
▲
by
ForkMeOnTinder
3y ago
Huge fan of ollama. Although this is the first official linux release, I've been using it on linux already for a few months now with no issues (through the arch package which builds from source). Getting started was literally as easy a
166.
▲
by
ForkMeOnTinder
3y ago
There's another strategy that has good storage efficiency and keeps the ability to iterate over elements. vec #1 is a list of tags, vec #2 keeps the byte offset of each element, and vec #3 (not really a vec) is the packed variant data
167.
▲
by
ForkMeOnTinder
3y ago
I used to kind of unfairly disparage perl, but now I regret never learning it. I've written a lot of scripts for munging text/files that outgrow bash, and when I rewrite in Python they get twice as long. Seems like perl would be a
168.
▲
by
ForkMeOnTinder
3y ago
Copying a file isn't great protection against bad blocks. Modern SSDs, when they fail, tend to fail catastrophically (the whole device dies all at once), rather than dying one block at a time. If you care about the data, back it up on
169.
▲
by
ForkMeOnTinder
3y ago
Here's how you return a hashmap from a function: fn buildMap(allocator: std.mem.Allocator) !std.AutoHashMap(u64, u64) { var result = std.AutoHashMap(u64, u64).init(allocator); errdefer result.deinit(); try result.
170.
▲
by
ForkMeOnTinder
3y ago
> If I were to use indices out of range, presumably that would that give me a compile time error? Yes, if all operands are comptime-known (or comptime-length-known), bounds checks happen eagerly at compile time. > Could I use variable