Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chlorion
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
421.
▲
by
chlorion
5y ago
According to this analysis from Mozilla, over half of "in the wild" exploited vulnerabilities in chrome use bugs in the javascript JIT compiler. https://docs.google.com/spreadsheets/d/1FslzTx4b7sKZK4BR-Dp
422.
▲
by
chlorion
5y ago
shuf has flag to make it use an alternative source for randomness. If we pass in a secure source of randomness such as /dev/urandom would shuf work for crypto purposes?
423.
▲
by
chlorion
5y ago
I do honestly wonder if there is some sort of campaign against Mozilla and Firefox at this point. It might not be a paid thing or some sort of conspiracy, but just an echo chamber effect that keeps getting more intense over time. In every s
424.
▲
by
chlorion
5y ago
It doesn't have to be fully specific to the error type, you can have a "must use" attribute that can be applied to any type, and then support for that in the compiler. This allows it to be used for other things like Option as
425.
▲
by
chlorion
5y ago
In some areas you have no choice, otherwise your entire house will be swallowed by tall weeds and other stuff. It also can create safety issues with snakes and other creatures coming close to the house. I can't imagine living in a hous
426.
▲
by
chlorion
5y ago
Whatever the geekbench multicore test is testing doesn't seem to actually benefit from extra cores very much. Not all real world workloads will scale perfectly with moar cores, but considering that the test is supposed to benchmark mul
427.
▲
by
chlorion
5y ago
Would a regular non-virtual non-template method be considered single dispatch? I am pretty sure this is correct but I've never actually thought about this until I read your comment!
428.
▲
by
chlorion
5y ago
You could very easily say the same thing about goto vs structured loops, for example: "I hate this. I don't know why people insist on forcing this programming style into every language. Goto and labels exist for a reason. They
429.
▲
by
chlorion
5y ago
You seem to have misunderstood what I was saying. I never said its not your job to distribute your software to your users in general, I said it is not your job to distribute via distro specific packages and repos. Even if you wanted to do
430.
▲
by
chlorion
5y ago
Creating packages for various distros is not your job as a software developer, and it never was intended to be your job in the first place. At least part of this stance is based on a misunderstanding of how Linux package manager style softw
431.
▲
by
chlorion
5y ago
What cost(s) are you referring to? I can develop software comfortably on a $100 laptop and whatever choice of FOSS operating system. You can get a workable but less comfortable setup with an inexpensive device like the raspberry pi or a use
432.
▲
by
chlorion
5y ago
>How do you signal the failure of a function that returns a pointer without having to return a struct with a pointer and an error code (which is inefficient since the return value doesn't fit a single register)? Rust does this with
433.
▲
by
chlorion
5y ago
I actually use the GCP free tier to run a few small things, it works really well for me! There is a small catch though, getting a static IP for the instance is not free, and your egress traffic starts costing after you reach 1GB outgoing da
434.
▲
by
chlorion
5y ago
As well as smart pointers as others have mentioned, standard library containers (other than smart pointers) are another way to handle dynamic allocations in certain situations. The vector container is probably the best example here, it alon
435.
▲
by
chlorion
5y ago
I don't think programs should be aware of globbing at all except in special circumstances, like with the `find` command. It could be helpful in a few rare circumstances I guess, like with 'rm' as you showed, but you can have
436.
▲
by
chlorion
5y ago
I think unsafe rust is a lot more awkward to work with and easier to cause UB with compared to c and especially c++. This is just my opinion though! &mut aliasing is a good example of running into instant UB in unsafe rust, but there ar
437.
▲
by
chlorion
5y ago
I am not so sure that this is really as big of a problem as it's made out to be. To me it seems like people trying to make Linux software management work like Windows because that's what they are used to, so if the experience is d
438.
▲
by
chlorion
5y ago
Even if the things you say about lsp-mode are true (which I don't think they are), lsp-mode has many features that eglot has no alternative to at all. I also feel that lsp-mode's features are higher quality overall, with the downs
439.
▲
by
chlorion
5y ago
The original title was "Writing a DNS resolver in 80 lines of Go". The comment might seem like its being dismissive with the current title "A toy DNS resolver", but at the time of writing it was not just a shallow dismis
440.
▲
by
chlorion
5y ago
1000 processes in half a second is very slow when you take into consideration how much work a modern CPU can do in a second. You could have ran though hundreds of millions of loop iterations doing some non-trivial task in the same amount of
441.
▲
by
chlorion
5y ago
Please don't tell people to not roll their own crypto. Instead tell people to roll whatever they want, but not to use it or allow others to use it for anything serious. There is a big difference between these two things, and having you
442.
▲
by
chlorion
5y ago
I am not the person you asked, but I also use both lsp-mode and eglot and prefer eglot overall by a very small margin. The main reason I prefer eglot is because it's much more integrated with emacs and in general a lot less complicated
443.
▲
by
chlorion
5y ago
Regular user mode software can be sandboxed by running the games in their their own user/graphical session dedicated to that specific game. Kernel mode software can by pass all security features implemented in the OS however. If you ru
444.
▲
by
chlorion
5y ago
This is exactly what I have been planning on setting up when I can save enough money for a new system, and when hardware is available again. It would be very unwise to entrust your main system to any of these companies, which is exactly wha
445.
▲
by
chlorion
5y ago
Yeah I am wondering the same thing. There have been several times in the past where it was said chromium would lose some of its adblocking abilities and so far that has not actually happened. This is one of those things that I will believe
446.
▲
by
chlorion
5y ago
I personally have a much easier time reading and digesting documentation in this format than the normal format that is presented from inside of Emacs, so this is really nice for me. Thanks for working on this!
447.
▲
by
chlorion
5y ago
It's worth mentioning that Emacs is not a text-only editor, but is able to function in a text only environment if configured to. I think many people never consider giving Emacs a shot because they think it's purely a terminal base