Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nequo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
81 ms
·
841.
▲
by
nequo
4y ago
Loosely speaking, it’s a type signature for a function that 1. takes an immutable reference to a vector of strings and 2. returns an immutable reference to a string, 3. with the constraint that the strings in the input vector must not be fr
842.
▲
by
nequo
4y ago
I also wonder if the service industry labor shortage was somehow related to the tech hiring boom, if indirectly.
843.
▲
by
nequo
4y ago
It does mean that tactful social interactions require conscious mental effort for a person with ASD. If you’re busy using your mind for something else, tact might get lost along the way. Or so I understand.
844.
▲
by
nequo
4y ago
Do you have any that you would recommend specifically?
845.
▲
by
nequo
4y ago
Yes. Parent also said that they are not real computers. What I am saying is that they are.
846.
▲
by
nequo
4y ago
The binary would most likely work correctly so they could restart the coal plant, and read the Rust manual later to understand the source code.
847.
▲
by
nequo
4y ago
iOS devices are running a derivative of straight up macOS that your MacBook is running too. As computers, they are as real as any. The "only run approved software" part is a restriction imposed by Apple. It is not because of a phy
848.
▲
by
nequo
4y ago
> How do you get around it though? Genuinely asking. Parent only talked about Apple so it could be that they're running Windows on a "PC" instead. But Linux is also perfectly usable. If you're someone who tinkers with
849.
▲
When Rust hurts
(mmapped.blog)
296 points
by
nequo
4y ago
|
198 comments
850.
▲
The next big step for compiled languages to take (2017)
(graydon2.dreamwidth.org)
2 points
by
nequo
4y ago
|
0 comments
851.
▲
by
nequo
4y ago
That's great for you! Then stick with your current setup. I don't already know C++. For me, learning Rust is easier than learning safe C++. I imagine that there are many people in a similar situation for whom Rust makes more sense
852.
▲
by
nequo
4y ago
Parent may have meant that the second implementation might perform better, even if it’s in the same language, because you learn from the first implementation.
853.
▲
by
nequo
4y ago
It seems inherently difficult to define strict categories around the soft constraints that you are listing. But it would be interesting to try to approximate something like those categories. The project repo[1] contains the following call f
854.
▲
by
nequo
4y ago
Why did you end up going with a Peruvian supplier instead of a Chinese one?
855.
▲
by
nequo
4y ago
When you get sufficiently close to the metal, the performance gains seem to be coming from better algorithms rather than from the programming language. Like you are saying: > The reasons for these gaps can include things like it being ha
856.
▲
by
nequo
4y ago
Just a guess but WASM?[1] [1] https://www.infoworld.com/article/3665128/rust-is-most-popul...
857.
▲
by
nequo
4y ago
This one-sentence prompt could inspire so many sci-fi dystopias, from cheap to intricate.
858.
▲
by
nequo
4y ago
And Emacs, GCC, coreutils, and GNOME.
859.
▲
by
nequo
4y ago
There is also `secmodel_sandbox`, a proof of concept for a Lua-based application sandbox on NetBSD: https://github.com/smherwig/netbsd-sandbox I really wish it was picked up more. NetBSD has a lot of innovative ideas a
860.
▲
by
nequo
4y ago
That is true. But it is weaker than GPL in that it permits mixing CDDL code with non-CDDL code. The argument that the essay appears to be making is that large companies want to establish themselves as monopolies by requiring that competing
861.
▲
by
nequo
4y ago
This is based largely on an essay from 18 to 20 years ago.[1] The claim that GPL benefits large companies that want to maintain monopolistic market power is not supported by several developments in the years up till today. Intel’s stealth c
862.
▲
by
nequo
4y ago
Haskell has `&` in Data.Function. You can try it in ghci: Prelude> f a x = a * x Prelude> g x = x + 2 Prelude> g $ f 3 $ 5 17 Prelude> :m +Data.Function Prelude Data.Function> 5 & f 3 & g 17 It
863.
▲
by
nequo
4y ago
> Which publicity stunt? The one that they themselves admitted at the end of their post: Now, is it really because we compete with Github? Honestly, probably not, but controversy drums up interest and we need interest ... Another
864.
▲
by
nequo
4y ago
That legal duty is at best questionable: https://en.wikipedia.org/wiki/Dodge_v._Ford_Motor_Co.#Signif...
865.
▲
Call for volunteers: Haskell security response team
(discourse.haskell.org)
2 points
by
nequo
4y ago
|
0 comments
866.
▲
by
nequo
4y ago
The word "always" may have lost its significance to us. Maybe it carried more meaning to writers who were only familiar with natural languages, not programming languages.
867.
▲
by
nequo
4y ago
> Rust is officially in the kernel now and will run on bunch of computers shortly, no matter if you want it to or not To me as a user, what difference does it make if the binary that I run was compiled from Rust, not from C? It is machin
868.
▲
by
nequo
4y ago
It's a good first episode! One suggestion from me (with no podcasting experience other than as a listener): a good microphone can improve the audio quality by a lot. It sounds like your microphone doesn't pick up the lower frequen
869.
▲
by
nequo
4y ago
"Mathematical" and "optical" alignment is not the best wording I think. It seems that "align by weight, not by width" would be a better way to summarize the author's advice. But apart from that, it is good
870.
▲
Using Notes to Document the Glasgow Haskell Compiler (2022)
(gitlab.haskell.org)
2 points
by
nequo
4y ago
|
0 comments
More ›