Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
paavohtl
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
181.
▲
by
paavohtl
5y ago
We send the team that would be working on the project, to the extent it's known at that time. But yes, bigger consultancies absolutely do this.
182.
▲
by
paavohtl
5y ago
Not _every_ company does this – the consultancy I work at does not. We never outsource to third parties without the customer being involved, we do not hire [juniors or anyone else] for specific projects.
183.
▲
by
paavohtl
5y ago
I wonder what you're referring to because Finland doesn't really have counties.
184.
▲
by
paavohtl
5y ago
OpenGL is not a framework. It's a standardised relatively low level API for graphics programming.
185.
▲
by
paavohtl
5y ago
Which of those architectures are relevant in 2021?
186.
▲
by
paavohtl
5y ago
It's easy to deny, as long as we include libraries in the definition of "software". ZLib is bundled with macOS, iOS, basically every Linux distribution, every game console and even every Windows 10 installation [1] [2]. Same
187.
▲
by
paavohtl
5y ago
All of the projects you mentioned except Nextcloud are owned and developed by non-profits.
188.
▲
by
paavohtl
5y ago
> I mean the GPL actually defends your right to do whatever you want with the software including selling or renting it out. But realistically, practically, you can't. There is nothing to sell if the software has to be open source. T
189.
▲
by
paavohtl
5y ago
I really don't think that's realistic. They would get sued by every single one of their major customers for leaking confidential information.
190.
▲
by
paavohtl
5y ago
I've relied on the order of keys for URL routing in JavaScript / TypeScript. Each route of the web application is unique, and the order matters - it's surprisingly easy to end up with otherwise ambiguous routes like /pro
191.
▲
by
paavohtl
5y ago
Screen readers work just fine with regular browsers and JavaScript - it's not like visually impaired users are using Lynx.
192.
▲
by
paavohtl
5y ago
Pedantry time: there is no such thing as a vanilla JS way of building web applications, in the same way there is no vanilla C way of writing compilers. JavaScript as a language does not concern itself with web browsers - that's the res
193.
▲
by
paavohtl
5y ago
By this logic no C or C++ developer in history is a professional programmer. Approximately zero non-trivial programs have been written in C or C++ without memory management problems and/or vulnerabilities.
194.
▲
by
paavohtl
5y ago
> Long story short, it's now possible to use C# and .NET to directly interop with C/C++. Function Pointers, structs and all. Note that this has always been possible - good native interop has been one the design goals from day 1
195.
▲
Windows 11 – Feature deprecations and removals
(microsoft.com)
12 points
by
paavohtl
5y ago
|
4 comments
196.
▲
by
paavohtl
5y ago
There is no requirement for anyone to use an open source license or even to have source code in a GitHub repository. It is of course expected by most people, but this is not a special privilege only granted to Microsoft.
197.
▲
by
paavohtl
5y ago
They might have different standards and I'm not a pilot, but in my opinion having multiple seconds of UI lag in vitally important interfaces is not good enough nor deserves certification.
198.
▲
by
paavohtl
5y ago
I guess one challenge with this is that old school Win32 doesn't really support anything resembling automatic / responsive layout. All controls are of a fixed size in a fixed pixel location. This means you can't for example c
199.
▲
by
paavohtl
5y ago
As far as I know Project Reunion is not really a UI framework - it's more about refactoring Windows APIs into individual libraries which can be used across different OS versions. This should enable apps targeting all versions of Window
200.
▲
by
paavohtl
5y ago
With the caveat that you have to use _nightly_ Rocket straight from GitHub (but still stable Rust, which is definitely preferable).
201.
▲
by
paavohtl
5y ago
Indeed. One of the earliest use cases I remember is Valve using them for decals, text and UI elements in Source Engine since 2007: https://steamcdn-a.akamaihd.net/apps/valve/2007/SIGGRAPH2007... .
202.
▲
by
paavohtl
5y ago
I have very rarely seen symmetric broadband plans available in Finland. In the past I've had 10/1, 24/1, 100/10 and now I have 1000/100. With ADSL connections being asymmetric was basically necessary because the ban
203.
▲
by
paavohtl
5y ago
I get how those concerns would apply to a C dialect, but not really to Rust. Since Rust is an entirely new language you shouldn't expect it to work exactly like C, unlike you would expect of a C-derived language. Most of Rust's sa
204.
▲
by
paavohtl
5y ago
There are a couple of options: - Repeating the vector using the built-in method `Vec::repeat`. This allocates a new vector, but `reserve` is likely to do the same, just implicitly. https://play.rust-lang.org/?version=stable&
205.
▲
by
paavohtl
5y ago
Initial builds are indeed quite slow, especially when a project has a lot of dependencies. However, in most cases further builds are not that bad. I have never built Alacritty from source so I don't really know if there are any specifi
206.
▲
by
paavohtl
5y ago
You've mentioned the printing issue a couple of times in this thread, and it sounds pretty weird to me as a someone who has used Rust for a couple of years. Without knowing the specifics I can only assure you that if you know the basic
207.
▲
by
paavohtl
5y ago
This should be about equivalent. It does not compile, as expected. https://play.rust-lang.org/?version=stable&mode=debug&editio...
208.
▲
by
paavohtl
5y ago
It's not that Rust catches these issues like a sanitizer or linter would, it's that they can't exist by design. The compiler is aware of potential type-, lifetime- and ownership safety issues, and you don't need to run a
209.
▲
by
paavohtl
5y ago
In TypeScript perhaps the most important use case for literal types is the ability to to create discriminated unions, or algebraic datatypes (ADTs). Many modern languages have a separate feature for this (such as enums in Rust), but in Type
210.
▲
by
paavohtl
5y ago
Literal types quite simply means that values are types. For example in TypeScript the literal type "Foo" is a special string type, where the only valid value is the literal "Foo" – assigning "Bar" to a variable
More ›