Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rom-antics
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
1.
▲
Today, I finally understand the anger that led to the creation of Bitcoin
(twitter.com)
3 points
by
rom-antics
4y ago
|
0 comments
2.
▲
by
rom-antics
4y ago
I agree. I gave Zig a fair shake, even went so far as to find the compiler PR that automatically adds `_ = foo` to your source code while compiling[1] and set up the VSCode extension with autofix. I couldn't get used to seeing the line
3.
▲
by
rom-antics
4y ago
Yvette and Ling would be perfect for each other. https://www.lingscars.com/
4.
▲
by
rom-antics
4y ago
> I've been wondering lately whether a new spatial approach can yet again simplify matters. I've been closely following the development of Vale since I first saw it here. Though their approach is slightly higher-level than Rust
5.
▲
by
rom-antics
4y ago
On the other hand though, it brings symmetry to types and values, and makes destructuring feel natural. let i: i32 = 1; let &i: &i32 = &1; let &mut i: &mut i32 = &mut 1; let (i, &mut j): (i32, &mut
6.
▲
by
rom-antics
4y ago
When I was a kid I had a toy electronics kit and one of the circuits was an AM radio that worked without batteries. A normal radio station signal is strong enough to drive a pair of earbuds without any additional power. Since then I've
7.
▲
by
rom-antics
4y ago
You mean due process? Sounds great, sign me up!
8.
▲
by
rom-antics
4y ago
If you want compact, use an array of tuples: const foos = [("foo", 1, "bar"), ("foo", 1, "bar"), ...]; for (str1, num, str2) in &foos { // ... } For a proper struct you
9.
▲
by
rom-antics
4y ago
This is megabytes (at most) of text we're talking about, not gigabytes. And ripgrep is absurdly fast. Grepping a 5MB text file should be pretty much instantaneous.
10.
▲
by
rom-antics
4y ago
> discord has a search feature, but it’s pretty awful Their search makes me want to pull my hair out. Why can't I just search the history with grep? That's a feature I would pay for (if anyone at Discord is reading this and wan
11.
▲
by
rom-antics
4y ago
I can't say I'm impressed. https://i.imgur.com/Iq9DcSY.png
12.
▲
by
rom-antics
4y ago
How about a nice game of chess?
13.
▲
by
rom-antics
4y ago
Well that's a loaded title. (EDIT: The article title, not the changed HN title) Another take: https://www.eff.org/deeplinks/2022/02/enforcement-overreach-... Read the section on Trusted Flaggers to find
14.
▲
by
rom-antics
4y ago
> we are not yet at the point where a voice can be mimicked accurately from a voicemail or a clip on social media See: https://www.thestar.com/business/technology/2023/01/10/micro... > Microso
15.
▲
by
rom-antics
4y ago
The word "fraud" has really lost its punch these last couple years. OpenAI has actual, working products that people think are valuable enough to pay for. The name is misleading, sure, but that doesn't make them a fraudulent c
16.
▲
by
rom-antics
4y ago
I don't see a video in either article. Link?
17.
▲
by
rom-antics
4y ago
That article doesn't support the headline. The closest it gets is saying nobody asked her beforehand, but she doesn't say after the fact that she wants people to stop. Meanwhile, from the people who actually bothered to talk to he
18.
▲
by
rom-antics
4y ago
In this case it was one of the founders of the company. If you can't trust the founders, who can you trust?
19.
▲
by
rom-antics
4y ago
You forgot: 0. Get elected to Congress
20.
▲
by
rom-antics
4y ago
I love that there are so many options that people disagree about which is best. THAT is probably the worst thing that can happen to OpenAI - not just one competitor, but a whole heap of them.
21.
▲
by
rom-antics
4y ago
I wouldn't call codegen adversarial. The optimizer isn't out to get you. It emits the best code it can given a certain set of assumptions. It may just seem adversarial at times because the output can behave in unintuitive ways if
22.
▲
by
rom-antics
4y ago
Lightsail are among the worst when it comes to actual benchmarks. Though you might not notice if your apps aren't very resource demanding. Their fastest instance type is still in the bottom ~15% of this list for example: https:/&
23.
▲
by
rom-antics
4y ago
Maybe if we stopped looking down on people because of the color of their collar, we wouldn't be having these problems. Just a thought.
24.
▲
by
rom-antics
4y ago
I'm claiming that if a program is compiled with LLVM, it must follow must LLVM's rules. One of those rules is that a pointer must be valid in order to be dereferenced. If a program attempts to dereference an invalid pointer and se
25.
▲
by
rom-antics
4y ago
I don't think 0x2 is a valid pointer either. The docs say the pointer value must be "associated with address ranges allocated through mechanisms..." - to me the word "allocated" means it's the result of an allo
26.
▲
by
rom-antics
4y ago
From the same section, - Any memory access must be done through a pointer value associated with an address range of the memory access, otherwise the behavior is undefined. - A null pointer in the default address-space is associated with no
27.
▲
by
rom-antics
4y ago
Is not one of the LLVM rules, pointers must be valid and have a valid provenance in order to be dereferenced? If 0x2 ends up in a pointer that is dereferenced (or 0x0 in a nonnull pointer), has that rule not been broken? And if the rule is
28.
▲
by
rom-antics
4y ago
I'm sure he can spare some of his 19876 internet points, just say it FSS
29.
▲
by
rom-antics
4y ago
I know Zig is not C, that's why I specifically mentioned LLVM. It's fine if Zig has different opinions about UB than LLVM does, but in that case ReleaseSafe builds should not use LLVM, not even optionally. If Zig says some operati
30.
▲
by
rom-antics
4y ago
That's a guarantee on the level of the hardware/OS, but hardware semantics are not the same as language/compiler semantics. Even if according to the source code you're dereferencing a pointer value 0x0 or 0x2, that doe
More ›