Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fiedzia
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
121.
▲
by
fiedzia
4y ago
> You can't write any code at all in Python or Java without relying on unsafe operations. There are Python interpreters written in other languages: there is one in Rust, and there is Jython and IronPython.
122.
▲
by
fiedzia
4y ago
> Is there any practical programming language that is memory safe in its "entirety"? Whatever can be compiled to BPF meets this requirement. The price though is that it wouldn't be very useful.
123.
▲
by
fiedzia
4y ago
It's possible and easy (have types for path coming from untrusted source), but it's a matter of a standard library rather than a language.
124.
▲
by
fiedzia
4y ago
>WASM doesn't try to solve the API typing/object interop problem There many initiative around wasm, one of them being WebAssembly interface types, aimed at that problem. This makes using wasm simple.
125.
▲
by
fiedzia
4y ago
> Why not run 1-2 releases behind and test/qualify a later release? This may work for most people, but not all. It's easier to get things fixed while developers still work on something, than weeks/months later. Also if you
126.
▲
by
fiedzia
4y ago
> If some hardware breaks it, the hardware must be seriously broken. And it sometimes is. > If a change breaks it, some one will probably have called read(2) a few times before that kernel is shipped to you. I've seen to many ker
127.
▲
by
fiedzia
4y ago
> Do you really need tests for the read(2) syscall when Linux is running on a billion devices, and that syscall is called some 10^12 times per second globally? Yes, you do, because otherwise you will find that some change or new hardware
128.
▲
by
fiedzia
4y ago
https://www.manning.com/books/relevant-search Also "taming text"
129.
▲
by
fiedzia
4y ago
I'd say that Python is uniquely functional not because of features or authors intention, but by being somewhat flexible and having users interested in writing in this style. So despite its quirks, for many people it is as functional as
130.
▲
by
fiedzia
4y ago
> immutable data sort-of possible now (frozen*) > pattern matching That has been added recently
131.
▲
by
fiedzia
4y ago
> to do R&D themselves that the software team can then refactor and ship to production What academics produce is most likely proof of concept or a prototype, not something you can "refactor" and ship. It's not a matter
132.
▲
by
fiedzia
4y ago
> everyone thinks they are smarter than the "script kiddies" No. People do not perform system updates because a) it's a chore and b) it get's in the way or even breaks things. To do an update I need to agree to give u
133.
▲
by
fiedzia
4y ago
There are midi pickups (or midi guitars) which you can use for this purpose (for future sessions, not for reconstructing existing recording).
134.
▲
by
fiedzia
4y ago
> Pretty much any Rust app that does encryption will be relying on a mix of C and assembly Perhaps, but not directly. It will depend on some libssl-rs which depend on libssl-sys which handles C bindings, so that application authors don&#
135.
▲
by
fiedzia
4y ago
> That's because Rust is tiny and new. Dozens of other languages that are tiny and new do not have good packaging story. Rust does, because it cares about developer experience. > Wait until you have Rust packages which include an
136.
▲
by
fiedzia
4y ago
Rust is verbose, but here you don't need to build response, just return string and Actix will handle that.
137.
▲
by
fiedzia
4y ago
If you mean old style html templates, it's been ready for many years. If you mean React style ssr, it's new but at least some frameworks have it too.
138.
▲
by
fiedzia
4y ago
Modern web will be Python + Django/Flask + Js/Typescript (and maybe Swift or Java for mobile apps). You can replace almost all of that with Rust, so you'll get one language to rule them all, but focusing on Python part only:
139.
▲
by
fiedzia
4y ago
> 3d car models in racing games need to be licensed by the car manufacturer Is it a licence (in practice) for a right to brand name or really the look? Could Forza make a model that looks almost exactly like a Ferrari but name it Furrari
140.
▲
by
fiedzia
4y ago
> My current company spends 4 out of 8 hours every day in meetings. What your company poor time organisation has anything to do with development methodology?
141.
▲
by
fiedzia
4y ago
Docker keeps insanity of irreproducible environments contained (no pun intended) and comparing with all solutions before, it works very well for that purpose.
142.
▲
by
fiedzia
4y ago
Rust has cargo, which just works and doesn't require you to set it up (cargo build --release; hand binary to the client, no makefile required). but... we have clouds now, so even if you find something, development will require CD/
143.
▲
by
fiedzia
4y ago
Not technically shell, but Python can get you fairly close to that.
144.
▲
by
fiedzia
4y ago
> it just really feels like there shouldn't be that many additional features. A couple more of emphasis options, a couple less ways to do the same thing There was a language like that once, it was called HTML. It had very basic set
145.
▲
by
fiedzia
4y ago
> they had a long time to improve their intelligence if it helped them hunt, hide and rear. To catch a chicken you need to be slight faster some of the times, not much of intelligence necessary. (You will need a lot of development of int
146.
▲
by
fiedzia
4y ago
> other formats, like HTML and SVG, are not. You can mandate them to be if you are building something that uses them. If you don't have control, than its up to someone else to decide, and people wanted to be able to link remote reso
147.
▲
by
fiedzia
4y ago
My browser doesn't have one, and even if it did the point is that it should look good without any effort.
148.
▲
by
fiedzia
4y ago
Self-containment is entirely unrelated to a format. You could do self-contained markdown, HTML or anything else if you wanted to.
149.
▲
by
fiedzia
4y ago
Plain HTML would be great, its just browsers holding it back. Without CSS, it looks unacceptably ugly.
150.
▲
by
fiedzia
4y ago
+1 for buying something with Linux preinstalled. Beside the ones mentioned there is Dell XPS and HP dev one available, so there is a choice.
More ›