Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
by
fiedzia
9y ago
Incidentally I was troubleshooting a new designer machine that uses our dockerised Linux app. On Windows. The problem was that git converted all newlines to Windows format, breaking... absolutely everything. For the first time I've see
302.
▲
by
fiedzia
9y ago
> You've been able to run F# on Mono for ages But you wouldn't want to, because for a very long time Mono was horribly buggy, and no library or application cared for supporting it. It may be better now in terms of .Net itself,
303.
▲
by
fiedzia
9y ago
Because you can then search for it.
304.
▲
by
fiedzia
9y ago
This might be true, but some communities are more attractive than others. There is a big difference for example between communities created around things that require an effort to reach for and those that people use because it is their job,
305.
▲
by
fiedzia
9y ago
I wouldn't say so. This screams "I am an idiot", missing handling can easily pass unnoticed.
306.
▲
by
fiedzia
9y ago
It fails at other things too.
307.
▲
by
fiedzia
9y ago
For storing json? There are some, though for that purpose Mongo provides great combination of features and usability, where using relational database for that feels like fitting square peg in round hole, and usability of sql for processing
308.
▲
by
fiedzia
9y ago
> I'm curious what workloads wasm can improve Those where you have a significant amount of computation. Image/audio/video processing, neural networks, text analysis, games fall there too. Generally, those things are not do
309.
▲
by
fiedzia
9y ago
> Were they entirely to blame? Of course not. If they've made a mistake, someone designed the system that allows this mistake to be made, and to have such consequences. Blaming a person is an enormous lack of ethics and responsibili
310.
▲
by
fiedzia
9y ago
That you are not the only one who wants to use them.
311.
▲
by
fiedzia
9y ago
Machine learning and programming education in general.
312.
▲
by
fiedzia
10y ago
>Would the equivalent amount of DDR5 actually feel any different to DDR4 to the end user? Most likely not at all. Browser speed has more to do with network speed and browser/website design than your hardware. Browsers and websites s
313.
▲
by
fiedzia
10y ago
- FLAVOR: Ubuntu Desktop - HEADLINE: Wayland, Wifi support - DESCRIPTION: numerous wifi dongles still don't work or require unnecessary work
314.
▲
by
fiedzia
10y ago
> Why? You don't have expertise needed to do that yourself? You are taking code criticism to personally. Keep it professional. > point me to this software that was rewritten from unsafe C code and was replaced with memory safe la
315.
▲
by
fiedzia
10y ago
> you can have the same problem in type-safe language Yes, you can. But at least you have a better option and better chance of other people using it, so statistically you'll have less errors. > do not use builtin operators in C
316.
▲
by
fiedzia
10y ago
> Let 100 programmers write these programs in your type-safe language of choice and all will be vulnerable to this. Some will be, some will define inteface as float_meters and define automatic conversion from yards, avoiding whole issue.
317.
▲
by
fiedzia
10y ago
> It's really easy to criticize. Yes, that's the point of this discussion. We are not criticising some code for having one bug a decade that requires 24 steps to reproduce, we are criticising code for having numerous bugs that
318.
▲
by
fiedzia
10y ago
> If you believe that you can rewrite any of those libraries or tools in a nice modern language with no security issues and all the portability that they had (including operating systems and embedded systems), please do grace us with you
319.
▲
by
fiedzia
10y ago
> No amount of 'type safety' will prevent idiots from being idiots But it will limit the damage they do considerably. Having bit of space or trees between lanes on a road saves a lot of lives, even if people drive as idioticall
320.
▲
by
fiedzia
10y ago
Yes, but nothing will stop you from casting pointer to meters into pointer to yards, while many C features force or encourage this behaviour. You also cannot override operators for combining those units. And the value is still just int.
321.
▲
by
fiedzia
10y ago
It could be prevented if you could express units in the type system. Declare numeric_value_in_meters and numeric_value_in_yards as types and problem solved. Sure, it still possible that someone would not do that, but having this option is s
322.
▲
by
fiedzia
10y ago
And is there any reason why Rust couldn't be as portable as the C code that makes up curl? In theory no, in practice yes. Rust is using LLVM project to generate machine code, and that only supports certain architectures. There are howe
323.
▲
by
fiedzia
10y ago
This only listed some 4 i386 packages I had installed.
324.
▲
by
fiedzia
10y ago
https://www.reddit.com/r/languagelearning/comments/1yv1i2/ha...
325.
▲
by
fiedzia
10y ago
> Security in the library used to print colours to your terminal is a bit less important. Printing colors still may provide an attack vector. Latest CVE in Ubuntu comes from a program that eject CD's (and needs root privileges to do
326.
▲
by
fiedzia
10y ago
And I do. Planes crashed and people died because of buggy software. We have lost Mars climate orbiter due to not using type-safe language. In the cases of software that works fine, we are just relying on ridiculous amount of manual verific
327.
▲
by
fiedzia
10y ago
Well said.
328.
▲
by
fiedzia
10y ago
Note: I am discussing using safe languages in general and reasoning for doing or not doing that. If you believe rewrite requests are unreasonable no matter what, don't bother reading that. Or perhaps consider this to be addressed to pe
329.
▲
by
fiedzia
10y ago
Most likely I/O will take more time than whatever code is running, so in that aspect it would make no difference. Memory overhead is main concern here. Rust doesn't use GC, so you'll have full control and there should be not
330.
▲
by
fiedzia
10y ago
> I can't really imagine a seasoned C developer introducing completely new bugs in a code base they are already very familiar with Get a CVE list for some Linux distribution, this will open your mind. Happens all the time.
More ›