skysight-inc/HackerNews huggingface dataset:
Hey, author of Fornjot here.

Rust was chosen as a modeling language for two reasons:

1. Since the whole project is written in Rust, it was the most straight-forward choice. No dealing with bindings to another language or a scripting language runtime for the time being.
2. To provide an interesting alternative. I suspect that there can be a nice niche for Rust, creating infrastructure for writing models (e.g. libraries for generating screw threads, that kind of stuff).

I don't think that Rust is a great language for defining CAD models. Long-term, I suspect that the preferred choice for Fornjot will be something else. But for the time being, this decision allows me to focus on the CAD kernel.

> There also seems to be a goal overlap between Fornjot and DieselCAD

Do you have a link for DieselCAD? Searching on Google only got me car results.
Ask HN: How will Palantir earnings go?
They sell software, I think.
make this change and it will run under Python 3.8 in google colab

#name = name.removeprefix("model/")
name = name[len('model/'):]

in function: load_gpt2_params_from_tf_ckpt in the utils.py module
Typescript won over people who mainly wanted static types I think but not the functional programmers.

I think people preferring FP on the frontend are using ClojureScript, PureScript and ReasonML or ReScript now. Eg here's Dark's interesting story going to ReasonML via automatic translation: https://blog.darklang.com/philip2-an-elm-to-reasonml-compile...

(ClojureScript ecosystem was much bigger than Elm to start with in any case I think)
I'm not sure to which movie you're referring, but the "we're going to use a pointing device we're all born with" is from the iPhone announcement:

https://youtu.be/X1SyRElYGoM?t=1710

Apple pencil isn't required for interaction with the device, unlike old resistive touchscreen devices of the Palm Pilot era, so I doubt that's the reason he's spinning.
This would be great also with MacBook with newer M1/M2 chips, instead of throwing then away because they're locked
XML contains a scheme/validation language, the DTD.

The hard part is getting independent parties to agree on a common data exchange format. Processing the data in code is the easy part.
Use parens and you have S-expressions. No need for all that noise.

(note
(paragraph
"This is a " (code (:vibe . "positive") "remarkable") " text."))

Lisp was invented in 1958 and we routinely rediscover it, and reimplement it badly.
There was this blog post which highlights the issues https://lukeplant.me.uk/blog/posts/why-im-leaving-elm/
>If you want to know what a person is really like, watch how they treat the staff in a restaurant. Power reveals the true character of those who hold it.

This is the only part of the article I am in total agreement with.

The rest is just another variant of the Chinese room argument (https://en.m.wikipedia.org/wiki/Chinese_room).

My own take on this is that people are searching for the magical in the wrong place ("we are so special") rather than seeing things are magical by their very existence
Then let the west (which has by far the largest carbon emissions per capita) lead the way! Show the world that prosperity isn't necessarily 2 cars and a heart attack at 67.

And to people saying it is not possible, I call bullshit.
There are large carbon footprint variations within the West. Of course countries have different circumstances, but it's also very clearly a question of political will.
> (durr, airlines will probably go back up, casinos will probably go back up, cruise lines will probably go back up).

Don't forget the mother of all obvious plays.

"Maybe crude oil's true price is higher than -$40 per barrel" (yes, negative dollars).

EDIT: To be fair, oil traders got burned in the short term by calling the bottom at $10, $5, $0, -$5, -$10, or -$20. Showing the complications around "calling the bottom". Yes, it turns out, that the price of oil can collapse to spectacularly low values. Still, the price of oil did in fact recover above these levels, so buying oil at any of these entry points would have netted easy wins over the next couple of years.
> Mastodon.lol looks to have been around 67k up until recently

75k as of November last year when registration was closed: https://mastodon.lol/@nathan/109374989892780399 (https://archive.ph/IXKx3)

12th largest instance listed on https://instances.social/list/advanced#lang=&allowed=&prohib...
No, you're not victim of misconfiguration. QGIS is very slow with large datasets, no matter what source you use (even if you have Oracle with costly Spatial extensions). It is due to some unfortunate design decisions - the app always loads the full dataset from the source, and draws/shaws every single feature. It is possible (through some recent, obscure check in the prefs) to tell it to skip smaller objects when putting everything on the screen, but generally is not possible to tell it "do not load features from PostGIS that are going to render to only few pixels".

Another reason is that the underlying C++ engine is tied in such way with the fairly-large Python codebase, that it seldom uses all CPU cores. so you have a single process app. Add to this the fact that the GPU is not used extensively and you get one very slow APP.

So, yeah, for datasets larger than 50k points its slow on arbitrary hardware. Some analysis are impossible to run unless you go to PostGIS

To be honest, ESRI is not a company that everyone loves, but they really invest into ArcGIS Pro, even though they also are not there yet. Both QGIS and ESRI shy away from spatial SQL which is like times more effective for spatial analysis.

To be honest, QGIS is quite old-school in design, and the core devs know that it would take enormous effort to implement it from scratch... at least the slow parts. The fact that it works and is open source, does the fundamental things you need does not make it the _top_ software. this "opensource ftw" is really stupid when you have to work with hundreds of layers with hundred Ks of points.
This seems more like following AML rules and not being interested in helping a working class person open an account because its not profitable. If you think retail banking is staffed by 'people who often have some level of personal' _racism_, just say so.
If youtube/rights holders really do not want people finding out ways to archive free content then they should put it behind a paywall like netflix or other OTT apps, nothing to resolve here per se.
I have somewhat conflicting views about this.

On one hand I think that twitter users should be able to prevent the service from mirroring their accounts if they want to. Which would be technically difficult, and, since everyone would probably act on it if presented with the option, it would make the service mostly useless.

On the other hand they posted public messages on twitter. This service provides a slightly more specialized type of indexing from a search engine, so content should be fair game.
You really don't need to throw out all at once, you can just replace those components that profit most from rust guarantees, like where you parse external untrusted inputs first, with FFI one can then integrate that in the current code base without any calling overhead. Rinse repeat with next thing you profit most one, i.e., more like a Ship of Theseus process.

Doesn't even stops at C projects, we integrate rust code for perl using our perlmod crate:
https://git.proxmox.com/?p=perlmod.git;a=summary

E.g., our OpenID Connect integration was done once in rust, and then integrated in our older, still mostly perl based projects using perlmod:

https://git.proxmox.com/?p=proxmox-perl-rs.git;a=blob;f=pve-...

(fyi,above is just the "glue" code, the proxmox-openid stuff is in its own crate in the proxmox workspace).1

There exists something for python too, called pyoxide IIRC.
Without info on how that quantity relates to the lithium deposits elsewhere (eg Australia, US, China, etc) it's a bit hard to tell whether this is significant.
Thanks for the detailed answer! So if I understand correctly you're planning to use a small computer case instead of an eGPU specific one? This is probably a stupid question but I don't quite understand it connects to the laptop
Agile or Scrum?
McCheapest – How much does your nearest Big Mac cost?
Linus Torvalds has long had an ironclad rule, "don't break userspace" which sounds like the same thing

from the hyrum's law link:

With a sufficient number of users of an API,

it does not matter what you promise in the contract:

all observable behaviors of your system

will be depended on by somebody.
I wish I'd had this tech, when I started long ago. I'm curious: is your actionable feedback always going to give an answer / correct the code?

E.g. What's the line between prompting GPT3 (assumption) to correct the code vs. explain the error vs. explain how to think about the problem.
Artifact State of Union
I think the main issue of an object being really high up in the air is the lack of air density which, to achieve equilibrium, will get pulled apart (think: the opposite of being smashed). It's also extremely cold.

I assume a weather balloon can handle those issues though. [0]

[0] https://youtu.be/jaUgTwKu6vs
For the equivalent thing (interfaces with runtime dispatch and without owning the underlying struct) Zig has explicit vtables. I sort of think any new "interfaces" feature should at least partly be about describing constraints on types at compile time.
Thank you! It means a lot to me
... but, most repositories have linters that enforce style uniformity across developers ?!
One possibility is travelling with people you know, just as something interesting and memorable to do together.

It's true that, for example, after travelling for a couple weeks in the American West I don't really need to see another canyon for a while. I've learned to slow down. You don't need to see a lot on one day.

But I'm still glad I took those trips while my dad was still alive and mom was still up to travelling.
Databases on Kubernetes is fundamentally same as a database on a VM
Make this change in utils.py:

def load_gpt2_params_from_tf_ckpt(tf_ckpt_path, hparams):
[...]
#name = name.removeprefix("model/")
name = name[len('model/'):]

and you're cool example will run in Google Colab under Python 3.8 otherwise the 3.9 Jupyter patching is a headache.
> e-ink likes to keep the really good waveforms for themselves and their best customers.

Any real evidence for this?
This does it, but you might still find compile errors later than you'd like in comptime-heavy code.
Was the creator of Napster liable or only the person using it?

If Xerox would allow to copy money they would be liable.
use PostGIS with proper spatial indices, and properly tuned if you have to take the QGIS way. and remember that spatial SQL is always better than using python-based analysis. particularly with newer versions of Postgre where there is chance that the queries be parallelized.
Netflix-style documentary on React.js
They were the only one who didn’t hesitate to express it, most likely.
very much so imo. the standard formatter is one of the things go very much does right

my protests against requiring this, as additional friction for our OSS contributors especially, unfortunately fell on deaf ears. unfortunately i just don't have the energy to beat my more pedantic coworkers over the head with the notion that if these additional formatting rules are that important to them they need to do the legwork to pull them into mainline gofmt

nah, that's actual work. an additional hurdle in the dev environment for some random formatting things that nobody will ever notice though, you can enforce that in a few lines of CI scaffolding, so into the checks it goes
As a European I still don't know how their football fields compare to our football fields. I mentally assume they are the same to have a frame of comparison.
There are some rumors that the ICON was shot down by the Chinese (No facts are found supporting those rumors): https://en.wikipedia.org/wiki/Ionospheric_Connection_Explore...

That happened last month in November 2022. It mysteriously destroyed itself.
Which car? Or you mean a ISO Standard Reference Car?

See also: https://en.wikipedia.org/wiki/ISO_3103
Donate Books App for iOS and Android – Internet Archive
Having a regular salary at all is great. Being able to pay yourself ~market rate is an amazing milestone.
That only addresses superficial concerns like formatting. A linter can't rewrite the code and change the style.
G = S x N x D
> the distribution was not uniform: 2-5 were fine, but it seemed that it was twice as hard to get a 1 or a 6 compared to any other value.

As soon as I saw that, I knew exactly what the problem was. I'm glad I was reading on a small mobile screen, so I didn't feel like I was cheating by getting a hint from the rest of your comment.

Yes, voice of painful experience here!

> The crucial point being to use floor() or ceil() instead of round(), to only round towards one direction. [emphasis added]

Not quite. If the random() function in your language returns a value in a half-open interval like Math.random() in JavaScript or random.random() in Python, only use floor(), never ceil().

Those random() functions return a value n where 0 <= n < 1. In other words, n may be 0 but will never be 1. So floor() is always what you want for a random function like that.

A somewhat related tip for anyone who implements a progress message like "nn% done". You should always use floor() for that number as well. Quite often I see a case where someone has used round() instead, or possibly ceil(). And then what happens is your notification message says "100% done" when the process is not 100% done. It makes me a little crazy when I see that. Use floor() and you won't have this problem.
> I think it's causing more harm than good to keep it unresolved on there.

Sorry, what? You have an open incident that you think should be shown as resolved as not doing so "causes more harm than good"?

Right, so lying to your customers about the state of an incident is better than just telling them the truth?
> I think one mental trap for solo devs is to over identify as SWE and not as online entrepreneurs with SWE skills as a particularly helpful asset.

This is one of those scary truths that chased me out of entrepreneurship.

It's scary because it shines a light on the enormity of the task outside of building the product (and building the product usually isn't easy). Parts of it (sales especially) can be very fun, but a lot of it is painful.

I scratched the itch of "can I make something from nothing" and after that realized there was a reason I didn't major in business in the first place. I left with a newfound appreciation for what they do!
ISO 3103 – a standard cup of tea
15,000 dollars
It is not implemented, it is translated. I wonder how many bugs have been introduced by this translation.
> let you get 1/3 of the way so you are more confident in what you are getting

It's really interesting to see different perspectives here (especially yours, as the CEO). To me, I feel the opposite: I would rather know immediately on page load if I'm going to be allowed to read the whole article or not. If I get 1/3 of the way through and then get hit with a paywall, I get really frustrated, and even if I would consider subscribing, that frustration pushes me away.
From your source it’s pretty’s exact, for the US.

> Twice a day, every day of the year, weather balloons are released simultaneously from almost 900 locations worldwide! This includes 92 released by the National Weather Service in the US and its territories.
Currently it's not technically feasible: https://github.com/mastodon/mastodon/issues/12423
gofumpt is just stricter. It has gofmt as a baseline and adds other rules.
I sort of like that Zig is lazy here, because in C++ a bunch of stuff that works in Zig just doesn't work.

In this line[0] a radix sort selects a function to read the next 8 or 16 bits of the input words. The C++ version of this code has to have readOneByte and readTwoBytes take an additional template parameter to control the return type:

static constexpr auto readBucket = (BYTES_PER_LEVEL == 2) ? readTwoBytes<idx, udigit> : readOneByte<idx, udigit>;

because both parts of the expression are evaluated by the compiler and must be the same type, including the function's return type. This means we end up instantiating nonsense functions like readTwoBytes returning u8. Elsewhere in the same file, some should-be-impossible template instantiations have had to have their static_assert's removed, because C++ will instantiate them and then not insert any calls to them into the generated code. So one cannot use static_assert to say "If this is reachable, that's a bug, please fail compilation and return an error" because template instantiation and the execution of the static_assert does not imply that the function won't be immediately discarded as unreachable.

[0]: https://github.com/alichraghi/zort/blob/main/src/radix.zig#L...
> Gen. Wesley Clark was a huge advocate of the doctrine that you could win wars with air power alone and never have to sacrifice ground troops - that thinking changed after '99

Delusions about winning wars with only air power are very close to a century old now. ( https://en.wikipedia.org/wiki/Bomber_Mafia ) But they seem hugely appealing to parts of human psychology - so "proved horribly wrong, yet again" doesn't do much to cure them.

That said - Gen. Clark was a career Army officer, not Air Force. And "we don't need an army to win" ideas have, ah, limited appeal to career Army folks. My read is that he was a good officer, stuck under a political leader (Pres. Bill Clinton) extremely reluctant to commit ground forces. Clark knew not to contradict his boss, and did what he could within the imposed constraints.
I didn't read the whole paper, but a lot of it looks like that.
Vesna Vulović survived falling 33,330 ft from a plane without a parachute.

It follows that it's likely possible (albeit unlikely) to survive falling from any height .. as terminal velocity limits speed on impact.

On the flip side, people have tripped on flat floors hit their head and died .. is that falling from 0 height, or from their head heigt? Hmmmm.

Where the sematics get gnarly, of course, is falling down a well à la Country Death Song .. is that death by height, by depth, or .. negative height? Hmmmm.

I have no answers here.

ADDENDUM: Looks like jesuscript changed their question .. smooth move.
My main gripe is that the quality really has gone down. I see many people posting on stuff that just isn't worth blogging about.

For example: https://tirthyakamaldasgupta12.medium.com/visualize-the-flow...

How is this important?

It's going the same way as the StackOverflow answers, which, like Quora, are being posts about self-promotion and filled with 'if this answer is correct please don't forget to mark it as such'.
Per chatGPT

"According to Wittgenstein, understanding is not just a matter of having the right information or knowledge, but also involves the ability to use language in a way that is appropriate to the context and situation."
I've seen a lot of very different styles of code over the years, and I can safely say that some of the most productive programmers I've worked with have been ones with surprisingly unusual styles.

That said, using a programming contest as a judge is also likely to bring out the more unconventional styles, like minimised whitespace or indentation.
you are not alone, use of ours is up markedly since ChatGPT came out.
And further, the seller of a product should be responsible for the disposal of waste from that product (subtracting the recyclable parts). For example, supermarkets would be less inclined to wrap _everything_ in plastic if they were on the hook for the disposal of tonnes of wrap arriving at their stores every day and the disposal part of a products lifecycle would have to be taken account of in its costing - if the waste isn't free to the person who makes it, the waste will be minimised in the design
It doesn't? It is only a tiny tiny bit longer than the fmt.Errorf() by itself, which is surely one line, right? The key thing is to then have your syntax highlighter set up to specially handle these lines, to help you 1) know that they are there, 2) know that they are structured correctly, and 3) ignore them (which is safe now that you can see it exists and is in the right format). Unless you set these up as one line, your Go code gets littered with 3x (or even 4x if you add a blank line after each block, which starts to feel better) as much error handling lines as non-error lines.
Yeah it does to be fair. Code style to me means something more than this.
I enjoy errors.Wrap/Wrapf too.
You don't need any AWS certs to deploy a few lambdas and a couple of DynamoDB tables. Come on.

Your codebase, a few shell scripts, a yaml file for your CI/CD config, and another for your serverless framework definition and you're done -- couldn't be easier.
This seems to focus on code style in terms of placement of brackets and new lines. From personal experience, I know there are some programmers with awful code style - random brackets, lines and indents everywhere. But above that low bar? I don’t know how it would matter.

I’d be more interested in the commonality of design patterns and standard data structures and algorithms.
Ahhh I remember when Google was the shining light of the software world.

I'm not sure I'll ever get over my anti-MS bias. I respect them a lot for some things, but I had a couple of real shitty experiences with their university recruiting team about 10 years ago, and I don't like the way they make everything to be managed by others. That they sell consumer software feels like a bit of an anomaly sometimes.
Blog sites that require JavaScript, 10000+ LOC “programs” written in Bash…engineers have always been using the wrong tool for the wrong job
I'm one of those people that don't follow authors and don't explore platforms. I access random pages on random sites from search engines or HN. That kind of solves the problem of quality.

Basically Medium is indistinguishable to me from any of its competitors, except it's quite slow to load so given two similarly promising links I prefer the other one. It's too much JavaScript because Medium can be fast if I turn JavaScript off using either NoScript, uBlock Origin, uMatrix etc.
It depends on your habits and mindset. I use tools to create keyboard shortcuts such as window management, open workspace, etc. That means more preference on keeping my hands on the keyboard area. Therefore I’d rather use my trackpad to navigate for a little inconvenience than bending over to reach the screen. So whether it is convenient once for a while is probably depending on your mindset of how to interact with the device.
How was your experience with job boards compared to LinkedIn? Was it effective?
Let Me Think – Scholarship workshop reimagining academy
Why China is losing the microchip war
Beware of shifting focus from programming to marketing. You may lose your passion and instead just try fitting stuff on the market. Get someone else to do it IMO.
Agreed, i got that too. But i would like to people start noticing and not use general terms often. Nothing wrong with it.

Indians are people, same as Americans. Proper way to represent characters of languages originating from Indian subcontinent is Indic and/or dravidian languages. With Scandinavian language speaking countries we know who they are, maybe we use a similar context. :)
Oh snap, definitely a step in that direction.

I didn't know about that so to me the playing field was open for a curl replacement in rust to take off.
> You are 100% wrong in your analysis, metrics have shown over and over again that people didn't use XUL addons (even if you add the people disabling telemetry).

And yet, the anecedata here on HN suggests that you are probably surrounded of those people that did use them. Deciding that suddenly the longstanding demographic of Firefox users - tech people - are no longer relevant to the company strategy was a shitty move, and it drove them away.