skysight-inc/HackerNews huggingface dataset:
If I understand correctly, I believe elixir carries similar benefits:

https://elixir-lang.org/getting-started/optional-syntax.html
> (i.e. function coloring)

I really wish people stopped using this concept, especially in the context of Rust because the `async fn`/“regular function” split is strictly equivalent to the `try_something()`/`something()` split (the first one being failible and returning a `Result` in case of failure). `Result`s and `Option`s are coloring the stack in exactly the same way a `Future` does (and `async` is pure syntactic sugar on top of future).

So, someone may like exceptions and green threads more than `Result` and `async` (and this is a completely valid PoV, even though I personnaly like the explicitness better), but thinking `async` is somehow special is just a conceptual mistake.

BTW, in the original blog post the “red” functions were actually functions with a callback parameter, which is actually very different.
Ukraine war has triggered a crime wave in rural England for farm machinery parts
I'm pretty sure my brother doesn't know what RAII is, but he's a way better C++ developer than me.

The principle of scope, and scope-bound (and scope-bound objects) really took of recently, and i'm pretty sure a better name than RAII exists now (especially since RAII doesn't mention deletion, and resource deletion is litterally the point of RAII).

He might know about SFINAE, i didnt (but i never got into C++ metaprogramming, and he did).
Apple Flexgate repair success for post-2016 MacBook
Curious if anyone has had any success with a flexgate claim for later models than 2016 like this
Your comment implies that the RP2040 is incapable of booting Linux, not just that it's slow.
My original point was about an incorrect reading of what the network is there for; the distraction into strikes and whatnot might be of interest but not on that specific point - which holds regardless of your rather silly supposition.
> Why on earth would you try to rewrite python CRUD apps in Rust?

Because Rust has a lot of incredibly helpful features that make bigger systems far less of a pain to maintain. I work in Java/Kotlin, and my entirely gut-based estimate is that 66% of problems wouldn't happen in Rust.

My big favorites are:
- Sane, well-defined, enforced, opt-out error handling
- Sane, well-defined, enforced, opt-out handling of "missing" values
- Exhaustive switching
- WITH usable ADTs (enums) for encoding valid state

None of the web languages I know have all of that.
> but I would be interested to see if any of the cardholders were black

So are you implying that black police officers don’t hand out these cards and/or black people refuse to accept them. This seems to be an issue almost entirely related to wealth/income inequality than anything else.
Good music: spotify algorithm.
Good movies: somewhat unsolved problem for me. Mostly coverage in traditional news formats, movie industry awards, friends, imdb.
Anyone read Luminous by this author?

It's an action packed short story about math truths. Super good.

> A truly wonderful story in which two math grad students discover that the things we consider to be "truths" in number theory are actually part of a dynamical system, subject to change over time and in competition with alternative "truths" that are equally valid at other "locations" in the number system.

https://www.amazon.com/exec/obidos/tg/detail/-/1857985737
Thank you for the feedback.

Unfortunately, Firefox (my daily driver for all things but OrgPad) is even slower than Chrome/ium for rendering. We, or mainly my colleague, will at some point rewrite most of the rendering into WebGL which should speed things up greatly. On the way there, we might rewrite even more stuff to canvas rendering but there are diminishing returns especially because font drawing in canvas is rather slow - we have to do a lot of caching which makes memory consumption a problem. Btw. you can probably confirm most of this using the browser profiler - you should see that OrgPad code usually occupies a fraction of the ~16 ms needed for smooth 60 Hz rendering. The rest is usually compositing on the GPU, something we can only affect by doing even more rendering on our own. How sad, in 2023 we are not able to draw a few hundred divs on a screen with absolute position without lag.
Aren’t you just describing the modern prison system? I believe the fascism comes from doing it to non-criminals, or communism if you count china’s re-education camps. Also, the British invented concentration camps during the Boer war.

Work camps were a thing in the USA during the Great Depression. Supposedly a good thing, but I guess it depends on perspective.
And while the cable repair ship is repairing the cables, you can use battery ships to transfer power ;)
You actually wouldn't. You might once - but then you're counting "installing the IDE" as "using the IDE every time" and that just doesn't happen. You're also using a LOT of hyperbole, to the point where you're just plain wrong.

A few minutes for the IDE to open? Nah, bruh. Couple of seconds, and since you leave the IDE open for a while, that startup time gets to be ignored. You aren't starting the IDE, exiting the IDE, running your code, starting your IDE, exiting the IDE, running your code.

You're starting the IDE, writing, running, debugging, reaching some kind of finishing point, THEN shutting down the IDE... maybe. A lot of programmers have their IDEs open 24/7. Over a month's runtime, those three seconds opening the IDE seem (and are) irrelevant.

Billion GUI windows? Nah, bruh. Even IDEA, which has a lot of windows on initial installation, has only a few... and they're all for a point, if you, like, read them.

A second to process your keystroke? Also nonsense. Even a raspi can process faster than that. Unless you're deliberately overloading your machine, I suppose. That's always an option... but a counter to that is "... don't?"

And useless toolbars? Useless to whom? The IDEs you'll find in Java are battle-tested. The useless toolbars are hidden these days. You might not know what they're useful for, but that's not the same as being useless. If you write Java, you'll learn how useful they are.

And as a bonus, you'd ... did you say.. have to pay more money than your dorm costs? ... why?

Java has three major IDEs: IDEA, Eclipse, and Netbeans. (If you want to exclude netbeans, join the crowd. Everyone else excludes it, too.) All three have free editions that cost you ... like... literally... nothing. Zip. Nada. Zilch.

Try again.
If I want my child to learn anything about bosses that shout, is that you don’t let anybody shout at you.
You are correct, especially for smaller project it might add unnecessary complexity, however I still think that for larger ones it might be useful. I’m still trying to figure out which direction should I go with this so thanks for your feedback!
,,I would have traded performance and expressivity away for simplicity''

,,A lot of people in the Rust community think "zero cost abstraction" is a core promise of the language. I would never have pitched this and still, personally, don't think it's good''

If the language makes compromises in performance, it's not a real C++ competitor anymore.

Some things are not about what people ,,like'', but that we need a language that is safe and can compete with C/C++ in performance for systems level programming, as most security problems in the world come from C/C++ memory management.

If it's significantly slower than C++, Mozilla couldn't have picked it up to replace C++ code base, as there was a huge competition in performance between browsers.
And yet the GPU is most of the cost of the entire machine. Not much is gained by the modularity on the CPU side.
I understand this is because of uncontrolled crime (at least that's what gets reported).

But I see an upside for consumers. I'm generally not in the drug store to browse, it would be nice to just go ul to the counter and get what I want. There are going to be UX issues of course, checkout software is usually "enterprise" as in nobody buys it with the user in mind. But in principle it would be nice.

It's less good for CPG companies that don't get to have displays anymore... and I can see some shenanigans arising as different strategies are tried to get customers to buy particular brands.
Then the problem isn't IDEs cripple productivity, it is simply that one may not be operating at a scale that benefit from using them.

There are many decent open source IDEs (e.g. NetBeans and Eclipse for Java).
> It said recipients have been given 12 months use of a service operated by Experian, a credit score company, that helps "detect possible misuse of your personal data".

Hmmm - I don't have much faith in Experian's approach to securing personal information and only providing 12 months service is a joke. If a company (i.e. Capita) leaks information through their own lack of competence, then they should be required to indemnify the victims for as long as the data is relevant - in this case it would be however many decades until the people retire. If you're going to store private information that remains relevant for a long time, then there's a need for much greater responsibility in ensuring that it doesn't get leaked.
Show HN: Sod Calculator
I think it’s likely that you get that more than back by having to do (at least) one iteration fewer.

Those who know more about this: educate me.
I mean, the prison system in the US is its own humanitarian crisis.
I just tried this out--for some reason every number that was mentioned in my audio was not translated into Spanish. So I heard a string of Spanish, then "forty five thousand" or "six point seven percent". Sounded decent past that.
Why would you compare US to third world countries?
Stack would benefit from this experiment of moderators doing as little as possible. That is overall the ideal moderator to begin with.
What does no-code actually mean in this context? Isn’t it GUI stuff that GPT can’t use?
What's your definition of "proprietary?" All of the major IDEs are open-source in their free editions.

I mean, more seriously, I get it: you have a bee in your bonnet and you will find any reason possible to avoid it. VIM 4EVA and all that, raise your fist and yell.

But I wouldn't even bother with Java as any serious endeavor if I were you; a lot of employers will ask your preference of IDE just to get a sense of who you are as a programmer, and will hide their giggles when you say "I use emacs/vim/notepad++ like a BAWSSSS!" and move on to the next candidate who'll get the performance magnifier of a common and free tool.
If doing signal processing, an optimisation is to use an N-bit integer to represent the range 0 to 2.pi. Some example points in the mapping: 0->0, 2^(N-2)->pi/2, 2^(N-1)->pi, 2^N(wraps to 0)->2.pi(wraps to 0).

If your lookup table has an M-bit index, the index to the lookup table is calculated with: index = (unsigned)theta>>(N-M), where theta in the N-bit integer representing the angle.

The fractional part, which can be used for interpolation, is: theta & ((1<<(N-M))-1).

If you choose M=N=word size (16 bits is often nice), the angle can be used directly as an index. With 16-bits accuracy is typically good enough without interpolation and the entire trig operation reduces to an array indexing operation.

This minimises the overhead of converting an angle to a table index.
A limited time monopoly granted by government sounds like it should cost a lot more than it does.
There are plenty of bots on reddit. People are clearly not expecting only human replies.

Even if they were expecting only human replies, it's because humans is all that was available before. By this logic, there wouldn't be any acceptable place to introduce the first AI, because no one expected it.

I think what people expect and what people are fine with are two separate things.

And no, you can't always use the LLM interface yourself. Those are gated in different, stricter ways than reddit is.

There are plenty art projects which take human expression and mirror it, or transform it in a mechanical way. Are those also only contributing noise? Should those artists find another hobby?
> or is it just important to me that I'm not making it difficult for someone to be able to accept it?

I don't know. By writing "Dedicated to the public domain" instead of "Licensed under MIT [or CC0]", you are doing comparable effort but you are definitely making it difficult for some people with no clear benefits.

Getting such regulations revised is very hard work and would probably not happen in our lifetime, and I'm not sure being able to dedicate something to the public domain when you can license your work liberally anyway is that desirable.

(but yes, me too, I'm more AGPLv3 for code anyway - and none of us is right or wrong in this philosophical discussion)
Why did you choose three services that actually matter if you lose access to them without warning?
Once you have certain degree of automation, the hard-working people just drag everyone into pointless rat race.
llm-chain: Rust crate for building LLM chains
Moderation Features of Lemmy.ml
I was under the impression that the Picos were fairly available even during the SBC shortage.
What is there possibly for a bunch of employees who have lived with status quo for so many years all of a sudden want to change? It is typically new employees who come in (from elsewhere?) that feel like changing everything around them. And then either they get those changes, or get comfortable with the things that exist, or leave.

Edit: Reasons for unions historically have been better working conditions and better wages, but those were for labor unions. Desk jockeys had different motivations for workplace changes, like better treatment of their work efforts, or more meaningful work hours. Better Wages are not it.
> Where is that stored

In a `pyscript/*.py` file, so you can open it with a full blown IDE and use all your usual comforts, and commit the results to git.
Thank you for the feedback. iOS is unfortunately a tough platform to do web development for. There is something really bad going on in terms of memory consumption when rendering HTML/CSS - we had to convert a lot of the rendering to canvas to mitigate. In any case, sometimes the browser will exhaust more memory than some rather low limit and kill the page. The limit is different depending on what else is going on in iOS too. There is to the best of our knowledge no effort to notify the running web application using some kind of event so we cannot react programmatically to such situation (e.g. by switching to lower resolution rendering).
The big one that I always remember is Crash Bandicoot - Naughty Dog I think had their own version of Scheme and then switched to Racket at some point. Nubank are also a semi-high profile company who use a lot of Clojure.

Of course, if you ditch the "modern" requirements, I'm sure there is more web infrastructure and scripts supported by Common Lisp than people would want to admit. . .
Show HN: Using Stable Diffusion and print-on-demand to make kids' books
Nonfiction because it doesn't require visual continuity, which I struggled with at first.

Now I'm wondering whether I should learn about marketing, or go create more books, or build out a tool that "real" kids book people can use to personalize everything.
I rather want to master lisp as the last proframming language, because i want to experience the pain first in other languages to understand why, what and how lisp could help.
For what it's worth, I don't use the Jupyter notebooks. Just have a folder somewhere with python scripts that get reloaded as I edit them.
Kamikazes were a confluence of many unfortunate factors:

* Poor Japanese fighter aircraft design philosophy (weak armoring, no emphasis on pilot survival).

* Poorly trained pilots (all the veteran, experienced pilots are dead because see above).

* Poorly maintained aircraft (insufficient supplies and manpower).

* Insufficient ordnance (insufficient supplies and manpower).

* Insufficient fuel stores (so a one-way sortie out was all they could afford).

* Insufficient food and drink (a pilot going out to kamikaze is one less mouth to feed).

* Fanatical and delusional military brass.
It's called prefix notation and it's the most primitive form of representing ordered computation. It was the easiest thing to implement in the glorified calculators of the 1950s. It's not the "Lisp syntax" that works, it's the lack of syntax that enables this uniformity and flexibility but irks the eye.
I am also not a bot
> I'm suggesting that for real life we could just use URLs and OCR

No, because that's not reliable, and way more complicated and error-prone.

It's the same reason bar codes are used instead of directly the id they code.

Your earlier solution doesn't convince me. It's interesting, but not practical, and reading the URL should work even if internet is off or the server is down.

(Having a checksum next to the URL may start making OCR practical though)
Wow, this reminds me of https://www.youtube.com/watch?v=JcJSW7Rprio (Harder Drive: Hard drives we didn't want or need - suckerpinch)

Impractical, yet possible ways to store data is an exciting satire genre for me now.
... and IDEA community edition is also free. There's no reason to not choose any of the major IDEs on the basis of cost. You can get free and quite workable editions of all of them, and they're open source as well, so the "moral quandary" is avoidable unless it's artificial.
They're known as Crapita for a reason ...
Can you give some examples of the low-power x86 boxes? As of my last knowledge update :) none of them took off
It could be worse, they could make the parrots use Microsoft teams.
> I guess that'd mean XSLT?

XSLT is amazing. And XSLT scripts are really hard to read - just like Lisp is (at least, it is to me).
So you admit it was for superficial reasons. Thank you for conceding my point.
> I’ve seen people saying that but never with an argument as to why. What do they mean?

I don't know but if I had to guess, it's because lisp is list processing language, and Clojure doesn't really support lists (I mean, it's possible to make some, but there are none out of the box); instead it has a variety of trees that mimic the runtime performance of lists, arrays, hashes, etc.
Harvard professor taps A.I. to help teach popular online computer class
Same for FORTH. I don't think I've ever seen a FORTH programmer and a LISP programmer in the same room; I can't imagine the discussion terminating.

Over the years, as a left-handed person, I've come to see this as evidence of underlying diversity in thought patterns that can't simply be learned/trained around. Certain people find certain metaphors and modes of computing much easier to work with than others. Few people on either side can see this. The result is that you have people who, having feeling like they were fighting scissors all their lives suddenly discovering that a different sort of scissor exists that gives better results, start evangelizing it to everyone. The rest of the world tries it, finds it impossible to use, and concludes the weird scissor advocates are mad.

Neither the LH people holding LH scissors nor the RH people holding RH scissors are "wrong". It's just the RH people trying to use LH scissors who are having a bad time.

(The limit case of this is a few people who are using languages which are uniquely tailored to themselves and absolutely nobody else; colorforth, the late author of TempleOS, Urbit, etc)
For vision start with segment anything model. For language start with Bert and llama. For combination try openclip.
For basics: PyTorch tutorials.
Russia 1985-1999: TraumaZone
sure, disregard that one word and suddenly it all falls apart. what is homoiconicity anyways? doesnt matter you say?

it is the feature of the code being represented the same way as the datastructures it manipulates. i know, what a completely unneccessary and unimportant point. now let's all forget this and turn our attention back to the compiler, it wants you to fix those bugs now... back to work.
The man interviewed is a real character from history:

https://en.m.wikipedia.org/wiki/L._Fletcher_Prouty
> But Fukushima happened and the old conservative position of "nuclear power good" suddenly became very, very unpopular in Germany.

Yea I don't get this, what are chances of a tsunami hitting the German nuclear power plants? Put them higher or build a sea wall around them if they are so worried. Today they restarted coal power plants! Moronic!
This has already been happening, will happen more and more, and that result is coming.
The blub paradox strikes the lispers hardest, for they have been reassured by PG and each other that there is no language better than lisp. Those of us using more powerful languages should learn from their hubris.
>You'll end up with essentially arbitrary application of the ban hammer based on the moderators' "feelings".

So, like the current organisation of things, that works quite well? You put entirely too much value on moderators being perfect. Moderators have been biased forever, have banned for no reason forever. It's a website, you can live with that (or without it). If they're unreasonable, move away, find another place or create another place. If you can't move away, deal with it, create an alt, don't get caught doing the same thing that got you banned, and that'll be it.
IIS (Microsoft / Windows Server HTTP server) supports a technology rival to CGI called ISAPI, which was deployed using .dll files. .dll is a Microsofts' dynamic library standard, commonly produced by e.g. C/C++, but also by .Net.

The thing that stands out the most if the fact that most older IIS setups did not use rewrite on URLs, so instead of pointing to a nice looking path, they were pointing to .aspx files or .dll.
Hacker News. Emacs.
This 'rant' is 5 hours long.
I had a similar experience with the club beat playing which confused me with the later examples. After seeing your post, I revisited the page and it worked fine that time.
Debian 12 'Bookworm' is the excitement-free Linux you've been waiting for
For me, the biggest blocker for using Sandstorm has been the inability to run on ARM https://github.com/sandstorm-io/sandstorm/issues/2083
literally, anything, except, like, holy, shit, top, entire

Keywords were enough to kill my interest within seconds.

Maybe is how americans talk on a day to day basis. Not being with them I wouldn’t know. But I regret wasting few seconds of my time on this “shit” already.
Show HN: Generate code and convert data to dashboards with your keys
Generate code and content from various AI models using your keys:

- The Coder: With just a few clicks, the intelli-tool generates HTML pages from your prompt in seconds, you can easily download the generated code.

- The Graphs: transform any CSV file into an interactive dashboard with a convenient download button.

- The Content: Whether you need marketing materials, e-commerce product descriptions, or engaging blog posts, the tool uses multiple models approach to generate high-quality content tailored to your specific needs.

The experience starts by setting your keys in the settings page and generating content using your own accounts.

Let me know which features or functions you would like to include for next show.intellinode.ai version!
The law is enforced top-down whereas morals are enforced bottom-up, so good luck trying to enforce morals with people who think their individuality matters more than anything else.
I tried Home Assistant multiple times, always went back to Domoticz. It allows simple, but quite powerful scripting though actual lua instead of overcomplicated, weird YAML files, eats significantly less resources, and is rock solid.

Some tasks HA knows is rather complicated to execute in Domoticz, but definitely doable.

There is mosquitto for MQTT and Zigbee2MQTT on the same node, the whole consumption is < 300MB.
A Free, Browser-Based Video Editor