Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
morelisp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
50 ms
·
631.
▲
by
morelisp
3y ago
Again, "compile to an IR" isn't exactly ground-breaking. The devil will be in the details.
632.
▲
by
morelisp
3y ago
Pyrex, Cython, mypyc, Codon... we've been down this road before plenty too. If Mojo succeeds it will be purely based on quality of implementation, not a spark of genius.
633.
▲
by
morelisp
3y ago
I'm arguing against > most bit-errors... are handled in userspace error-detection If there really are a significant number of bad-RAM errors getting caught at the TCP layer, then there are also a significant number happening after t
634.
▲
by
morelisp
3y ago
Any RAM-caused bit flip that happens e.g. before the TCP checksum is as likely to happen after the TCP checksum, it's using about the same memory either way.
635.
▲
by
morelisp
3y ago
Why? Taylor Swift seems like at least as good as businessperson as the median FAANG executive, plus has an actual skill.
636.
▲
by
morelisp
3y ago
Maybe they should learn to code.
637.
▲
by
morelisp
3y ago
It's still substantially cheaper for Stanford graduates with friends on Sand Hill who can mumble the words "crypto LLM" than even the most ambitious Burundian with a great idea.
638.
▲
by
morelisp
3y ago
> ISO C Not being in ISO C(99, I'm less sure about 89) doesn't make it a GNUism. At best you're disagreeing with GCC over its default standards version. Clang only changed the default in 2022, for example. https:/&#x
639.
▲
by
morelisp
3y ago
That defense is not really believable given the emails that came out. The punishment is egregious (esp. jail time), should've been something like 3x his profits, but the guy definitely sold ROMs (and other people's circumvention s
640.
▲
by
morelisp
3y ago
What's the GNUism here? Silently casting ints to pointers is a time-honored C tradition.
641.
▲
by
morelisp
3y ago
Yes in that context "whole damn point" means the key, salient aspect of the discussion being only allowing use of the thing once. In English it's normal to not speak 100% literally. I'm guessing you're not a native
642.
▲
by
morelisp
3y ago
> The only downside is that C++'s moves leave the moved-from object accessible but invalid while the Rust compiler will not let you access them. "Except for the whole damn point, it's the same." Oh, ok.
643.
▲
by
morelisp
3y ago
There are a lot of people in this thread eager to brag about their C++ bona fides without giving fair consideration to the problem the article is really discussing. The video is interesting for several reasons but it doesn't go towards
644.
▲
by
morelisp
3y ago
> As long as your final handle has the correct type Come on. Ensuring that is the whole game!
645.
▲
by
morelisp
3y ago
In C++ (or another language of your choice without strict linear types) how would you design a pin library to prevent someone from using a pin as both input and output enforced at compile time ?
646.
▲
by
morelisp
3y ago
Switching the pin mode should be exactly what Rust is offering over potentially more advanced C++ solutions, because you can take a "raw" pin as an input pin and ensure you don't use it as an output pin for exactly the durati
647.
▲
by
morelisp
3y ago
The code is correct for the output but the prose gets confused about whether it's talking about the valid or invalid case. It shows code for the invalid case but presents it as if it was the valid case.
648.
▲
by
morelisp
3y ago
I program MCUs in C++ as a hobby, and I'm not sure how I would do this in C++. Idiomatically I believe you could use move semantics to invalidate a "handle" to a pin when switching its type, but that wouldn't fail at com
649.
▲
by
morelisp
3y ago
SVN took over the hobbyist area rapidly due to its workflow/UI similarity to CVS, but P4 held fast professionally until at least 2015, as well as Source Safe if you were an MS shop. (And conservative places never switched off CVS at al
650.
▲
by
morelisp
3y ago
Board history does not matter. Grid.prototype.randomAvailableCell = function () { var cells = this.availableCells(); if (cells.length) { return cells[Math.floor(Math.random() * cells.length)]; } };
651.
▲
by
morelisp
3y ago
Ferries technically have a barrier, which you'll appreciate once you're on the water. The Berlin F24, on the other hand...
652.
▲
by
morelisp
3y ago
You are haltingly recapitulating Evgeny Morozov's essay "Why You Should Ride the Metro in Berlin" (which is really about public transit in a large portion of Europe). The inspectors don't slow things down. (They do cause
653.
▲
by
morelisp
3y ago
For once, that everyone agrees scroll handlers are godawful but yet after years they're still omnipresent is germane to the article's topic.
654.
▲
by
morelisp
3y ago
> I've convinced you that chatbots are a terrible interface for LLMs. I was already convinced of this. What I'm not convinced of, and the article has little to say about, is > Chatbots Are Not the Future... chatbots are not
655.
▲
by
morelisp
3y ago
The code block is fine but the screenshot is definitely busted: https://github.blog/wp-content/uploads/2023/04/bash-screensh...
656.
▲
by
morelisp
3y ago
A C64 in 1983 cost the equivalent of ~$900 today.
657.
▲
by
morelisp
3y ago
Please ask this question, it makes it much easier for me to hire.
658.
▲
by
morelisp
4y ago
Boston is one of the least car-dependent cities in America and Germany is one of the most car-dependent countries in Europe, so I suspect there's significant overlap. But this is also some deep begging of the question - if you charge m
659.
▲
by
morelisp
4y ago
100€ just for one/two Länder would've been a huge improvement for most people I know. It can be a huge improvement but we can still demand better.
660.
▲
by
morelisp
4y ago
At 50 it's affordable to almost everyone. It's a big improvement, but still incremental. At 10 (or less) it's a safe assumption for everyone. You can start building things with zero provisions for cars, no excuses. It'
More ›