skysight-inc/HackerNews huggingface dataset:
The world has changed when Cat Man pictured emphasizing manliness and durability of Cat Flip Phone has a ring in 'their' ear.

https://www.catphones.com/wp-content/uploads/2022/02/Cat-S22...
Ask HN: Elixir as a First Language?
I was recently asked, "Is Elixir a good first language for someone to learn who has never done (serious) programming before?" After thinking for a minute, I realized that at some point in the last 20 - 25 years I really lost touch with this area.

My first language was C, and I did and still do think that was a fantastic first language because you can start very simply and don't have to learn a ton of programming concepts prior to writing some code. In my experience, learning to code is much more likely to succeed if you can write something (even hello world) and iterate on it. For example, working with people learning Java as their first language, they really struggle because you can't really do a hello world without encountering objects, classes, static keyword, public/private, and other things.

I love functional programming and Elixir, but I do worry that it has a few things like that to learn that might be a barrier to entry for a brand new programmer. Since I started procedurally and years later learned OOP, and then after that learned functional, I have so much baggage that I'm not sure I can weigh Elixir as a first language.

There's also the obvious, "what do you want to do with it?" question that matters. For example if you want to write frontend SPAs or mobile apps you have less flexibility. In this case however, that's largely irrelevant.

Is there anyone here who learned Elixir as their first (or first serious) language who can comment on this? Or is there anybody who started with a functional language and/or a lisp or similar who can comment?
Days, but I had one time where the ships were booked up and it took longer.
Isn’t that what a raspberry pi is ?

My son and I just assembled a devterm that is exactly what you describe … would be easy to architect other form factors around it …
As of C++20, with "Concepts", that name is not just a placeholder. It means something that enables the compiler to do work for you that Rust cannot. The most trivial of that work is to check that the type provided implements a comparison operator, which mostly affects error messages if you pass a type without, but you can use it to make types pick up a great deal more reponsibility.

It is not often mentioned on HN that whole swathes of functionality modern C++ coding relies on are entirely missing from Rust. Clearly, people can get along without powerful features -- important programs are coded even in C -- but it is a great deal more work. One consequence is that C++ and, to a degree, Rust programs are faster than programs coded in weaker languages, simply because more time is available to pay attention to performance, and any such attention to a library may help many more programs. Weaker languages are simply unable to express usability improvements and optimizations you would like to capture in a library.
Lambda calculus models only computable functions.
> This may be related to the relatively lax response of western governments as compared to the 'full out riot control' approach China takes

Narrator: its not

There are some other comments here on it
It's good for certain use cases that don't have too much data or don't care too much about performance when doing joins.
>but instead of competitive a race to make phones last longer, we've just got a choice between no longevity and a little longevity

What if it is not possible to make a phone that lasts long enough at a price point that is competitive with iPhones?
Back in the day when @gmail was famous for their massive free storage for email, ppl wrote scripts to chunk large files and store them as email attachments.
this use the bolt receiver not the lightspeed receiver..

lightspeed received is one devide per dongle because it is supposed to be lower latency..

the bolt is the replacement for their old unifying receiver, it support multiple devices with the same dongle and it is based on bt low power..
Lol yeah.

It's just recordings of myself when I'm doing deep work. I use OBS to stream my computer screen and a video recording of myself (mostly me muttering to myself).

It helps me avoid getting distracted (I feel like I'm being watched lol) and it's also interested to check back if I want to see what I was working on 3 months ago.

All the videos are unlisted or private.
If creators use it like the appendix in a book I can see people watching ads on their way to it.
While the news surrounding the Terra (LUNA) ecosystem remains volatile, South Korean authorities have requested that the assets of the Luna Foundation Guard (LFG), the foundation that manages the Terra blockchain, be frozen.
> Plus, putting silver in the case rubber to "avoid infection" is just silly.

Pattern matching on silver+rubber+infection, I think this might be intended to prevent 'infection' of the rubber (by rubber-eating bacteria). I can't find a citation offhand, though.
I believe Autopilot is competitive with Spot's "Eco" product.

From what we've heard, Spot by NetApp charges somewhere between 20% and 30% of the savings found. Vantage Autopilot charges 5% of the savings found.

We ultimately can't comment on their algorithms or effectiveness of Eco but the difference in these fees for what should be comparable savings found by both seems extreme. At Vantage, we try to philosophically align with the customer and pass on the highest amount of savings possible. Other providers seem to be doing the opposite.
In my interpretation entities != organisms

Entities could be alleles, genes, or gene products
Indeed!
Add to this older Android OS support, Classic BT devices, BT LE devices, combined LE - Classic devices (and each with their own firmware quirks), audio routing, undocumented APIs ..and the list goes on and on. PTT is a wonderful world :)
Finding Lyx when I was at university saved me an immense amount of frustration while producing beautiful output. My girlfriend used Word 95 and I spent many more hours helping her format and fix her projects than I ever spent dealing with issues in Lyx. Once I had it setup how I needed it it just works.
I don't know if it will necessarily cause crypto prices to crash
Indeed, I need a one liner example. Happy to help you through that in Slack
This guy used to hammer a good point about databases:

"In a time of SSD, multi-core/processor, two terabyte memory and Optane App Direct Mode machines, there is no reason not to build from BCNF data. Time to do what Dr. Codd demonstrated. Technology has finally caught up with the maths."

https://drcoddwasright.blogspot.com (skip the distractions)
Once I got into the habit of typing the corresponding closing entity (quote, paren, backtick, whatever) immediately after typing the opening one, and _then_ coming back to fill in the data in the enclosure, most of my syntax errors disappeared.

It's surprising how many professional devs don't have this habit. I learned it pairing one day.
Ah man. I just bought a G915 TKL, as the closest thing to what I really wanted, which was this.
It’s spam. This is HN spam. “Framework Alternative”, but:

- No repair schematics.

- No open source anything. (Framework open sourced their embedded controller)

- No ecosystem. No 3D printing models or CNC models for making your own parts.

- No purchase price (only “B2B sales” and some godforsaken subscription service).

This reminds me of the tons of companies which are now marketing their products as “open source” because they use bits and pieces of open source software in the product. But then none of the actual product has any source available to the public.

Everything about this is misleading. The advertised laptop doesn’t even seem to exist. It’s not even possible to buy this in the website.

For people who want cool “open” hardware, please support projects at https://www.crowdsupply.com/ particularly any which either offer or pinky-promise to release ALL of the following:

- Software source code

- Electrical schematics

- PCB layout files
MSBuild 2022 Book of News
I have my computer plugged to my bedroom TV. I sit on an office chair 5 feet away and have a keyboard and trackpad sitting on a lap desk. I love this setup and it requires wireless peripherals.
I agree that the BBS scene was important, and should be remembered, as I was a BBS user in the 1980s. But the fact is the history of BBSes is not the history of the Internet. Yes, there were multiple online systems -- the Arpanet, BBSes, Compuserve, PLATO, Prodigy, etc. But for better or worse, the Arpanet, or at least its descendant the Internet, is the one that won.
"Tao" is an old translation with (I think) the Wade-Giles system, while "Dao" uses the correct consonant that matches the Mandarin pronounciation of that word.
> Wireguard for private networking between the servers.

I'm curious: doesn't Hetzner provide some sort of private virtual cloud? (Digitalocean calls that VPC)
You pull it up to the surface and fuse it on the boat.
Fix your damn cable @daniel_w!!!
I've always been able to use the in-browser client, but you have to download the client once or twice before the page will update to show the alternative "use browser". It's definitely an intentional dark pattern.
Interesting, but I don't think (even without taking into account the "Criticism" section) it can be applied to CRPGs. I was very careful to put the "C" every single time because, while related, CRPGs are quite different from table-top RPGs. By simply excluding both the Game Master (no way to improvise, add meaning above and beyond what could be predicted and accounted for) and other Player Characters (again, no way to improvise and adapt the in-party interactions) makes for an environment so different from TRPGs that they are bound to be perceived very differently by players. While it's possible to grind in TRPG, it's utterly impossible to grind for 60 hours. CRPGs also have a clear ending - either as an end of a story, end of content, or end of leveling up. The MMORPGs may come closer to TRPGs, but the "massive" scale also makes for a drastically different environment compared to 3-6 party members + GM. The closest to the TRPG would be co-op multiplayer in the vein of Baldur's Gate, but then again - no GM and technical limitation also make it pretty different. If I recall correctly, Neverwinter Nights tried to introduce a multiplayer with a GM, but then the problem became the amount of work needed to get to the expected amount of detail; it was simply too much effort for a single GM. MMORPGs side-step this issue by employing hordes of developers and admins, on top of encouraging player-made content.

TL;DR: I think the distinction of CRPG vs. TRPG is useful, and directly comparing the two doesn't work that well.
It's rather frustrating that I specifically added in cases of "bigotry and abuse" and we're detouring into abstract epistemological discussions and trying to back fill those generalizations into the specific.

Invalidating lived experience is overwhelmingly used to describe a pattern of behavior which occurs in the realm of bias, harassment, and interpersonal conflict, not arriving at scientific or universal truths through debate.

This is much more about "Your Dad didn't hit you. That never happened," than "In my experience the Earth is flat." The suggested change in behavior also isn't "You're never wrong." It's merely the suggestion to get genuinely curious, and pausing to listen before framing someone's experience. Maybe the body cam shows otherwise, great. Getting curious tends to have a humanizing effect - the body cam evidence can wait 15 minutes.
i haven't even learned anything yet but a microscopic amount of java and lua but i might try elixir
I was literally thinking of something like this a couple days ago. Good timing!
Exactly. That problem doesn't exist anymore in the JVM ecosystem. You can literally just install intellij and open some random project. It will download the jdk, the build system, all your dependencies, everything. It works on every OS, every time. It doesn't break across OS upgrades.

This is a language/tooling issue, not a local Vs remote issue even though it may seem that way to people using languages that are only barely working on non-Linux systems.
I agree with the conclusion (generics good) but the argument's not good.

All your 25 year-old projects will have performance bottlenecks to the extent you don't look for and address them.

The idea here that if you use generics your hot-path inner loops will be automatically optimized is nonsense. Yes, here and there you may get lucky -- the generics will exposes some code to an optimizer which will generate some great instructions without any extra work by you.

But while shaving a few bottlenecks off it nice, if your goal is performance, the bulk of the work is the same: you'll still have to consistently profile and optimize your code.
In your previous comment, you wrote:

>If too many people become crypto-rich and try to spend it on real-world assets, the assets will just inflate in price.

My point was that your logic is flawed. If crypto just moves wealth around vs creating it, as you also assert, then it won't materially change the number of wealthy people. Hence, it wouldn't be a mechanism for causing the inflation you predict.
Find it, pick it up, patch it on deck, lower it back down.
And the only people who say that are people who never have struggled for hours trying to teach a baby to breastfeed
It's a side effect of building the wrong structure for the environment. If you ever go to the south take note of the architecture in the old homes and even rowhomes where working class people lived. The cielings will be very high, and there will be second window above the doorway perhaps. The windows will have awnings. There will be porches with large overhangs shading living rooms and dining rooms inside the dwelling. All of these features help with cooling a home in a hot climate and making it livable in a world before air conditioning, taking no energy to do so beyond that initial energy investment to build the building itself.

Meanwhile, look at what is built in the south today. The same sort of buildings you might see from alaska to phoenix to orlando to upstate new york. Only they might have installed central air for that floorplan in phoenix or orlando. They aren't building structures fit for the particular environment, they are building structures that are cheap to build in the market and don't really fit too well anywhere, and shoehorning it into whatever environment it sits with AC.
I know someone who published an academic paper on doing exactly this.
Besides convenience, the answer seems to be yield.
> After writing Clojure for a few years, there were several times where I ended up with a complex function with unbalanced parens, and the only way I could fix it was to basically re-write the function piece by piece.

That's the punishment for removing some of the "reduntant" parentheses from Scheme.

Compare

Clojure: (let [a 1
b 2]
(+ a b))
Scheme: (let ([a 1]
[b 2])
(+ 1 2))

If for some reason, say, `b` get deleted a Scheme compiler can tell you which binding pair has a problem.

In more complicated setups, in Scheme/Racket I indent the piece of code,
and from the indentation I can see, where end parenthesis is missing.
>[Composition over inheritance] is an often-stated principle of OOP, such as in the influential book Design Patterns (1994)
You find the ends, pick them up, and there's a kit that can fuse the ends to your new piece. I'm not sure about the details, but I think there are repeaters on the wire that need to be added as well.
And this is why I always check the comments first before clicking on HN links! Thanks for saving my time / helping me not give irrelevant pages traffic.
Try not paying your taxes to find out how much force the state has.
I'm not sure this is true. There are accounts of incredible waste and normalized, office-wide work-dodging-while-pretending-to-work in the earliest years of the post-war white-collar office. They read like they could have been written yesterday, with a few of the details changed.

It could be that as more people moved into white-collar work, though, the fraction of the population experiencing and participating in that kind of thing has gone up.
Then why is my attendence still required for 8 hours a day, in a field where working 4-6 hours would not significantly decrease my overall productivity, but increase my well-being and capability to build something on my own.

The limiting factor for productivity in the knowledge economy (or any work requiring creativity) hasn't been time for a while, why do we insist on keeping it where it has been since the tail end of the industrial revolution (or slightly earlier / later, depending on where you are).
It's one big cable with eight individual fibers. But they aren't fused by divers, the cable will be brought to the surface and fused onboard the repair ship.
wow, curious, are you keeping these videos there, or will delete them after several months?
I believe it needs to also be said that bad diet is a side effect of everyone trying to produce with cheaper and cheaper materials. I shudder to think what kinds of ingredients are some of the foods I see in cheaper shops made from.

This is not sustainable. It cannot last for that much longer IMO. Literally and metaphorically, people are getting sick of it. They notice. They are not dumb. They might be in denial (people just LOVE their chips and cola for some reason) but they are not dumb.

I see more and more people in my neighborhood going to the local market and negotiating with vendors coming straight from agrarian villages for a "monthly subscription" of sorts -- you bring me one huge basket with fruits and veggies every weekend, I pay you, say, $200 a month. The vendor gets a stable income, you get actual bio food and don't have to pick and choose every tomato and parsley leaf every damn time. The vendors have a vested interest not to cheat their most stable and profitable customers.

Sadly all these societal changes are glacially slow, giving the opportunists plenty of breathing room to swindle people and get rich for decades but oh well, until we develop collective consciousness it seems that this won't ever change... :|
If, like me, you didn't know how these get cut I'll save you the trouble. The most likely cause is improper boat anchoring. Never shark bites.
This has pretty good information on it, and a couple videos:

https://www.onesteppower.com/post/subsea-cable-repair
as an indie dev who is NOT a DevOps person i'd love more tooling that enabled me to configure AWS and have good safe defaults preset for me. Right now you really need to be a pro or spend a lot of time learning the nitty gritty configuration stuff of services you need but don't actually care about.
I always liked the variation that the two biggest problems in CS are naming, cache invalidation, and off by one errors.
Or not even surviver's guilt, but just, at least in the US, the mere knowledge that more than a million fellow citizens died because of a thing you had.
I think that it has some really nice advantages, but it has some glaring issues that make its use case somewhat limited.

When you are defining some component and you can define exactly the query that the component will need in the same place, that is great.

However, doing normal things like file uploads introduce clunky extra steps like sending a mutation to get back a url that you then make the upload request to. Clunky.

Further, in the past my team has experimented with trying to do multi-model transactions with I think Apollo graph ql library, and it was not readily possible. That was back in 2020, maybe things have improved since then?
>many things like eating meat

So don't ever eat out or make anything nice? Do you only eat rice and beans?

> or going to a casino are a total waste of resources

I broadly bucket expenses like that as "entertainment", which I guess isn't directly productive, but at the same time is arguably appreciated by the people who enjoy it. Hacker news arguably falls under this, mind you. There's a non-negligible amount of resources (server costs, paid moderator(s), and opportunity costs of all the participants) that's spent on it. So if you really want to put your money where your mouth is, you'd get off hn ;)
Is there sth like a status page for submarine cables?
don't get me wrong, I love my steak and burger, but there are people who never eat meat and manage to built enough muscle to compete in the olympics.
> Not sure how it is in the US but in Europe there's not really a free market with regards to how children are taught.

Homeschooling is the closest to that free market in the US. Your comment prompted me to look up the homeschooling statistics [1] and I was surprised by the results for Europe. The US outstrips the rest of the world by number of children in homeschooling by a large margin.

US homeschooling outcomes are so far promising [2], so one could say it is a pretty competitive alternative market.

[1] https://en.wikipedia.org/wiki/Homeschooling_international_st...

[2] https://www.researchgate.net/publication/261885035_The_Socia...
The Lean Product Process: #2 Formulating Your Value Proposition
Maybe not it, but STC (https://github.com/tylov/STC) and CTL (https://github.com/glouw/ctl) both use this define method for creating data structures and linking up compare functions for them.
Previously, we determined what assumptions (problem hypotheses) you need to answer in the problem validation stage, and we also talked about the available tools to test these assumptions.

Your next step will be proving the problem-solution fit. You will do this by:
1.) formulate your value proposition based on the user pain points discovered in the problem validation stage.
2.) test and tinker with the value proposition until you receive positive reinforcement from your users
What is the reserved instance marketplace? Is it something created by Vantage?
I got the G915 TKL, too and love it. The only thing I wish for from this version would be the dual-labeled key caps with Mac keys... But I still definitely prefer the G915. What do you like about this more? Is it because it's less flashy than the G915, maybe?
I strongly disagree that Lisp syntax is straightforward. Racket/Scheme is decent, but Common Lisp and other Lisp-2's can be incredibly confusing. Having different value and function namespaces for symbols is complicated enough, but the worse problem is that the simple evaluation rules don't always apply.

The base case is simple enough, the symbol-function value of the first symbol in a list is looked up, the rest of the arguments are evaluated or self-evaluated, then passed in to the function. The problem is that when the first symbol is a macro, you need to remember which of the following arguments are evaluated, or taken as unevaluated forms. Anyone who thinks this is easier to parse because there's less syntax either has too little experience with Common Lisp, or is kidding themselves.
That was sort of the idea with the various PaaS implementations out there. But invariably they either go complicated (basically transitioning to a Kubernetes-based container platform). Or they were missing some capabilities, making them less interesting to enterprises in particular.
It's also a method of making yourself seem authoritative or knowledgeable without having to prove it. It implies that you did your research, but you aren't going to prove it because everybody else needs to do the same for themselves.
How many bots are on Twitter? The question is difficult to answer, misses point
I've heard of the loic ion cannon dos tool described as a shortcut to getting sent to jail. This sounds similar.
The only anecdote here is yours, because food-borne diseases are very common and a significant source of misery across the developing world

(That is, if you don't have undetected Helminthiase or some other disease)