Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hetman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
151.
▲
by
hetman
9y ago
I think you've misunderstood the author's point. He would like a fast solution that also looks as simple as the Python example. Even if you have a synchronous file read function that's doing partial file reads, you can not us
152.
▲
by
hetman
9y ago
I never understood this line of thinking (it kind of reminds me of the sci-fi trope of the killer virus from outer space). In order for two life forms to be able to interact significantly at a bio-chemical level (let alone eat each other),
153.
▲
by
hetman
9y ago
I mean, that's not technically true, there's definitely a module system. In fact, in some ways Ruby's module system is more powerful than Python's since it's completely divorced from the concept of the file. You can
154.
▲
by
hetman
9y ago
I should preface this by saying that I prefer Python for my projects for a few reasons, however I agree with parent that Python is less powerful than Ruby. Both languages have metaclasses but Ruby's are simpler to grasp and more fluid
155.
▲
by
hetman
9y ago
I used to have a preference for Ruby but Python has a single killer feature missing for me from Ruby and that is explicitly imported module symbols. When looking at new unfamiliar code in Ruby there's just no way of instantly knowing w
156.
▲
by
hetman
9y ago
Everyone is saying: just work on your local repo. But GitHub is way more than just git. There's bug tracking, code review, continuous integration, etc etc. Making your organisation too dependent on a remote service can indeed be a scar
157.
▲
by
hetman
10y ago
These tend to be imitations of an existing style at best with a sprinkling of randomness thrown in, and nonsensical at worst. Certainly nothing fascinating enough to have people queuing to experience it paid ticket in hand. Still, artistic
158.
▲
by
hetman
10y ago
I feel like that difference is overstated. Weaving was once a highly skilled profession requiring intricate control by an intelligent operator yet it was increasingly automated even before the advent of computing. I think the difference in
159.
▲
by
hetman
10y ago
Choosing aspirated unvoiced consonants as "typical" of English is very weird. Native English speakers do not consciously distinguish aspiration but they do distinguish voicedness so it seems it would be more accurate to call the a
160.
▲
by
hetman
10y ago
Definitely not. Russian has no aspirated consonants at all, nor would they pronounce them in the Latin alphabet. In fact a Russian would pronounce the roman "T" exactly the same way a Mandarin speaker would pronounce the pinyin &q
161.
▲
by
hetman
10y ago
You seem to be confused about the difference between "aspirated" and "voiced". Both these words are unaspirated for native English speakers.
162.
▲
by
hetman
10y ago
Ah, I see what you mean. A standard API for synchronising non-local events would definitely make life easier.
163.
▲
by
hetman
10y ago
This is why clock_gettime() allows you to specify which clock to use. According to POSIX, CLOCK_MONOTONIC is not supposed to have any sudden jumps due to time adjustments or leap seconds, but can be adjusted for the gradual drift the clock
164.
▲
by
hetman
10y ago
It's probably a little disingenuous at this point to claim there is only a single bad actor, though the bad actors do remain a minority. I hope we can all talk through this without getting too emotional about it though. I think the ter
165.
▲
by
hetman
10y ago
Yes, a quick look at the late Roman Republic period makes our modern politics look down right polite and restrained. Certainly all the same themes as we see in modern politics, but turned up several levels in intensity.
166.
▲
by
hetman
10y ago
But Northern Ireland _is_ an example of freedom through bloodshed. There was decades of violence before the UK conceded to give them genuine choice. Arguably Scotland benefited from this change in the UK's public opinion as a result of
167.
▲
by
hetman
10y ago
The comment at the bottom of the article reminds me why secession is virtually impossible in most places in the world. Any such attempts falter because they're instantly declared unconstitutional by the parent country. The global commu
168.
▲
by
hetman
10y ago
That's like having users start deleting things out of your /usr/lib and then complaining the fault is clearly with the OS designers for not securing that folder sufficiently.
169.
▲
by
hetman
10y ago
I think the most astonishing thing to me about the Rust language project is not the language it self (sure it's innovative but there's also still a lot of work to be done to make it get out of your way). It's the speed and te
170.
▲
by
hetman
10y ago
This was in fact the original concept as envisioned by Dyson. He pointed out that a solid sphere would be mechanically impossible but the logical way to build such a structure would involve a "swarm of objects".
171.
▲
by
hetman
10y ago
What exactly do they lose by doing this? I doubt they have a shortage of applicants.
172.
▲
by
hetman
10y ago
I'm curious where Rust fits in on your hierarchy with their emphasis on "zero cost abstractions". Of course that's more a lofty ideal than reality but it means that at least in some cases it does much better than C++. Is
173.
▲
by
hetman
10y ago
All the benchmarks you posted suggest that Rust is faster than Nim, not the other way around. Did you have something else in mind?
174.
▲
by
hetman
10y ago
While I'm sure it's an interesting exercise, using a language that already had this property without any additional effort, still seems like the best path for most people trying to produce practical results.
175.
▲
by
hetman
10y ago
I'm using Rust at work because it proved a bit more well suited for our purposes than Nim. However, it's still exciting to see steady progress on Nim; it has some really great and innovative language ideas and I hope its increasin
176.
▲
by
hetman
10y ago
Power plants are a lot more efficient at extracting energy out of fossil fuels than your internal combustion engine. Even factoring in the efficiency of power generation, power distribution and your EV's electric motor... you're s
177.
▲
by
hetman
10y ago
What do you mean? All Rust strings are UTF-8 encoded, and all Ruby strings have an associated encoding.
178.
▲
by
hetman
10y ago
I was hoping to see some changes to the error handling. The extensive use of implicitly unwrapped properties always makes me nervous because basically we still have the null pointer dereference problem. Also, optional chaining seems really
179.
▲
by
hetman
11y ago
What imperium does Finland control exactly?
180.
▲
by
hetman
11y ago
But not every 8-bit byte string is valid UTF-8 so that could still cause a world of pain.
More ›