Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CuriousCosmic
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
CuriousCosmic
2y ago
> but have they change something where "pointer to an array[5]" is a meaningful distinction to draw This has been a meaningful distinction since at least C99. > "a pointer to an array of X" is simply "a pointe
92.
▲
by
CuriousCosmic
2y ago
The trick is to just assert equal types. Most compilers have extensions that allow you to easily compare type equality (and C23 actually standardizes the `typeof()` operator). So you basically take your ugly type, put it in a #define and th
93.
▲
by
CuriousCosmic
2y ago
the function signature certainly should be type def-ed. i.e. typedef char (*fn())[5]; and then you have the original as fn x [3];
94.
▲
by
CuriousCosmic
2y ago
That's a current wave going through. There's a bit of discourse going on where some users were rage baiting by constantly posting twitter screenshots over to bluesky and people who left bluesky are pushing back about how they don&
95.
▲
by
CuriousCosmic
2y ago
If you are looking for stuff from big publishers then yeah it's gonna be a bit slow/empty but there are a lot of small/indie devs on bluesky and it's awesome being able to interact with them directly without all the spam
96.
▲
by
CuriousCosmic
2y ago
https://news.lockheedmartin.com/2011-12-28-Lockheed-Martin-W...
97.
▲
by
CuriousCosmic
2y ago
Obtanium exists for a very specific use case. 1. You have an app you want to use. 2. That app isn't on the google app store or you don't want to/can't use google services. 3. The app is not open source so it can only be
98.
▲
by
CuriousCosmic
2y ago
> Why isn't the usual Markdown (or the like) approach enough? Because you can't use markdown to design CSS or SVG animations. I want to be able to design an animation with code that describes how the elements move/interact
99.
▲
by
CuriousCosmic
2y ago
Eh to a certain degree. The architecture of the models is very much control theory and then the training is control system tuning (which of course is an optimisation problem like you said). I would definitely agree that optimisation fits th
100.
▲
by
CuriousCosmic
2y ago
Yep. Again, I'm not looking for a perfect global solution. Just some domain specific language for writing sane low-to-no-js web pages or parts of web pages without having to manually fiddle with HTML or CSS in any real amount. Static s
101.
▲
by
CuriousCosmic
2y ago
> As to HTML + CSS: it goes other way around... Yeah that kind of stuff is closer but most of those types of frameworks seem to lean heavily on mapping to JS because they try to be turing complete rather than just being easy to work with
102.
▲
by
CuriousCosmic
2y ago
> - Browsers don't "talk" any other language but JS I'm not looking for browsers to talk with any language. I'm looking for some DSL that directly maps to the 3 layout languages that browsers understand (i.e. HTM
103.
▲
by
CuriousCosmic
2y ago
Yep. I'm well versed with static site generators but every one I've ever worked with has been heavily template based rather than being an actual layout engine that map onto HTML+CSS+SVG. i.e. They all require you to still write in
104.
▲
by
CuriousCosmic
2y ago
FWIW Retr0id is one of the big community bluesky/AT protocol developers and importantly the person who more or less figured this out (or at the very least brought it to the community's attention). Point being that they were just c
105.
▲
by
CuriousCosmic
2y ago
Is there a reason why there seemingly aren't any frameworks to do all the fancy web flourish in a normal language and then have it compile down to plain HTML5 + CSS + SVG?
106.
▲
by
CuriousCosmic
2y ago
> not yet fixed, still being exploited It is actually fixed. Tweets have been showing up with their "Indexed On" date instead of the actual authoring date. The thing that isn't implemented is showing both dates for tweets
107.
▲
by
CuriousCosmic
2y ago
Yeah machine learning is more or less just very complex application of control theory techniques and notably it is usually done by people without formal control theory backgrounds. Super useful for control applications but obviously you rea
108.
▲
by
CuriousCosmic
2y ago
I have to massively disagree here. I'm far more confident about code written in the modern style of C++ than I am in old school C++. Modern C++ with RAII, smart pointers, constexpr, concepts, and heavy instrumentation is so much easier
109.
▲
by
CuriousCosmic
2y ago
NOTE: This is not libcrux the formally verified rust crypto library (and one of the underlying crypto primitives libraries for Firefox's NSS).
110.
▲
by
CuriousCosmic
2y ago
The problem with Teslas almost universally is with lemons. Which is to say if you get lucky your experience will be great. The problem is that there are a fuck ton of lemons and cars that have no problems turn into lemons right around the t
111.
▲
by
CuriousCosmic
2y ago
I don't think so. My passport is somewhere around the house so I can't just grab it to check but last time I came in they just put it on a scanner and took a photograph of me when I went through immigration.
112.
▲
by
CuriousCosmic
2y ago
Plenty of hackers with substantial social media presences but they live in pockets that don't cross over into mainline social media too much.
113.
▲
by
CuriousCosmic
2y ago
In most countries you can get what is called a notarized or certified "true copy" of identifying documents (passports being one of them). The intent is for you to submit them with applications so you don't have to submit the
114.
▲
by
CuriousCosmic
2y ago
> what's at the root of this contradiction? capitalism. > what kind of change could incentivize different behavior? worker ownership. Sorry if that seems terse but really this is the root of the problem. Shareholder value is the
115.
▲
by
CuriousCosmic
2y ago
Yep. You can also do most of it or even all of it with a number of other tools as well. IMHO the main sell is that you can do "all of the above" regardless of what domains you are working with without having to switch tools or neg
116.
▲
by
CuriousCosmic
2y ago
I have a non-commercial license that I use personally. The appeal of mathematica is that it has a library already built into it for just about everything which lets you quickly prototype and reason about fairly complex cross domain problems
117.
▲
by
CuriousCosmic
2y ago
Japan still uses a lot of physical games media. Lots of little game stores still exist (or at least a lot existed before COVID, I know a lot of specialty stores closed up during that) and doujin circles have historically made the bulk of th
118.
▲
by
CuriousCosmic
2y ago
It's far less effective because you have to hit an extremely small target to actually kill a python. Far easier and more reliable to just get up close and personal with it and either bludgeon, impale, or decapitate it after you get it
119.
▲
by
CuriousCosmic
2y ago
That's not what happened. He said quote "which would allow RPs to block you, and something that I have previously rallied against". This is something that has been proposed that Tim fought against but mentioned in the thread
120.
▲
by
CuriousCosmic
2y ago
> Sweating does not make you stinky. Sweat is not stinky. It is bacteria that causes the stinkiness. If your skin is (relatively) clean, there would not be any (food for) bacteria and you won't stink. As much as I agree with your ge
More ›