Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hgs3
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
28 ms
·
391.
▲
by
hgs3
3y ago
Become an expert in a domain, i.e. compilers, computer graphics, cybersecurity, bioinformatics, etc... Developer skills that age poorly are those for building CRUD apps.
392.
▲
by
hgs3
3y ago
> I think it does. Many people working office jobs are barely doing anything, esp. compared to manual labor in hellish factories just 100 years ago. And, for that puny amount of office work, we live so much better than people 100 years a
393.
▲
by
hgs3
3y ago
Automation and technology should be reducing the need for most people to work. Capitalism warps the role of technology: instead of technology freeing you up, it risks destroying your livelihood. Just look at the economic anxiety surrounding
394.
▲
by
hgs3
3y ago
Try assembly (maybe RISC-V), then C.
395.
▲
by
hgs3
3y ago
Nirvana fallacy is only true when the argument is completely implausible, like "when humans sprout wings, we won't need airplanes anymore." However, the article is making the valid point that copyright is just a social constr
396.
▲
by
hgs3
3y ago
Source-code annotation language (SAL) [1]. [1] https://learn.microsoft.com/en-us/cpp/code-quality/understan...
397.
▲
by
hgs3
3y ago
C23 improved struct compatibility so you might be able to leverage that to craft macros that better emulate slices. [1] There is an RFC proposal for the Clang frontend for adding bounds checking reminiscent of Microsoft's SAL. [2] [1]
398.
▲
by
hgs3
3y ago
Python does return 5. JavaScript returns 7. Python is returning the number of code points, JavaScript is returning the number of UTF-16 code units.
399.
▲
by
hgs3
3y ago
"Character code" is short for "character code point" or just code point. All Unicode algorithms and properties are defined in terms of the code point. UTF encodings are just a way of encoding a code point. From Unicode&#
400.
▲
by
hgs3
3y ago
Review chapter 2.2 Unicode Design Principles in the Unicode Standard: "Plain text is a pure sequence of character codes; plain Unicode-encoded text is therefore a sequence of Unicode character codes." Text elements are an abstract
401.
▲
by
hgs3
3y ago
Python 3's approach is the most correct: Unicode defines text as a sequence of code points. UTF-whatever is an implementation detail.
402.
▲
by
hgs3
3y ago
Huge literals do occur in programmatically generated source code. I'm working on a project now where I generate C source code with large, static tables. Paraphs this is not a common scenario for Swift's target use cases.
403.
▲
by
hgs3
3y ago
I agree, but I don't see globalism as a recent phenomenon. In the United States the bourgeoisie has been importing labor since the countries inception, whether it was the slave trade, the railroads, the industrial revolution, or guest
404.
▲
by
hgs3
3y ago
> There is a huge opportunity, IMO, for more players here. There are quite a few embeddable scripting languages [1]. I think these days it's less common to embed a language mostly because there are good high-level languages that app
405.
▲
by
hgs3
3y ago
Life is unfair and some people will use anything they can, whether it be race or whatever, to get ahead. I did the same thing when I was younger: I wrote a book at age 15 and marketed it as being written by a teenager to get sales. In this
406.
▲
by
hgs3
3y ago
> There's no reason why I/O space addresses (for example), machine registers, etc. can't have types or bounds. Machine registers are usually typed, i.e. there are floating-point registers with specialized instructions and
407.
▲
by
hgs3
3y ago
> But there is something becoming more familiar to me as I go back to the wild west of C programming (where very little happens behind the scenes I might point out - no garbage collection here!). I share this sentiment. I pursued compute
408.
▲
by
hgs3
3y ago
> And how to force country to do it? You cannot force a country to do anything. They have to want to do it. > If, for example, country don't have resources to do itself? That's a difficult question without a simple answer.
409.
▲
by
hgs3
3y ago
The biggest difference is the mindset. C++ is a complex language whereas C is relatively simple. This greatly impacts the audiences and culture both languages attract.
410.
▲
by
hgs3
3y ago
> How one country can do it? It is not one countries responsibility, it is every countries responsibility to retain their own talent and grow their own tech-sector.
411.
▲
by
hgs3
3y ago
Here is a better solution: the countries foreign workers are coming from should do a better job of retaining them. When countries lose their talent, they are brain-drained and this stunts the growth of their own tech-sectors. Ideally, forei
412.
▲
by
hgs3
3y ago
Work visa programs shouldn't exist. They undercut supply and demand. i.e. If there is a demand but a low supply, then the price should go up. Here there is a demand for workers and, according to Big Tech, an "insufficient supply&q
413.
▲
by
hgs3
3y ago
Don't define your career by the technologies you've used, but rather by the problems you've solved and the knowledge and experience you've acquired.
414.
▲
by
hgs3
3y ago
> Who is the audience for new features in C? Folks like myself who use C to write system software. > Is this stuff likely to make its way through to embedded toolchains? Embedded toolchains based on GCC or Clang will presumably see th
415.
▲
by
hgs3
3y ago
> At least with HTML email, I can already link text to an arbitrary link. The sender doesn't have to link to anything. Merely writing some non-whitespace characters, followed by a dot, followed by a TLD can trigger client software t
416.
▲
by
hgs3
3y ago
Message someone and mention a file with a .zip extension, like "Go to Trusted Bank and download financials.zip". Since .zip is now a TLD, software could auto-link it to https://financials.zip . The receiver will think t
417.
▲
by
hgs3
3y ago
Yes, Objective-C deserves more love. I find it perplexing that the language never took off for open source Unix development. For example, I tried GTK 4 not that long ago and was surprised how similar its design was with Cocoa (it even had a
418.
▲
by
hgs3
3y ago
There is an excellent explanation on proggit [1] that describes an attack vector for .zip TLDs. More specifically, it explains how a trusted source might inadvertently link to a malicious file. [1] https://reddit.com/r/
419.
▲
by
hgs3
3y ago
> I don't do app development, is targeting Apple Silicon difficult? For GPU accelerated applications, like Unreal Engine, you need to reimplement all the rendering logic in Apple's Metal graphics API. That's no small feat
420.
▲
by
hgs3
3y ago
> It applies if the maintainers if the project sell support. Support is a gray area. Not only are there different kinds of support that have nothing to do with code, like selling training material, but there is also selling ones expertis
More ›