skysight-inc/HackerNews huggingface dataset:
> Haskell is getting OO-style dot-syntax for records. Go is getting generics.

I would dispute the former means Haskell is getting OO features (more the case that it's finally realized that having proper records a la Purescript or Elm is pretty important for day-to-day code; records and objects are quite different beasts) and Go getting generics is Go getting functional (or OO features, I don't find Go particularly OO to begin with).

> Really, every language is converging on Scala

I think this is more symptomatic of Scala trying to do so much to begin with, such that any change any language makes can be tied to some feature Scala has.

That being said, I'm really happy to see Scala 3 reining in a lot of those choices (except a new parallel set of whitespace-based syntax... that seemed like a gratuitous cost to one's novelty budget, but time will tell; the community already seems to be warming to it).

To those starting out with Scala, lihaoyi's book is a great place to begin!

I'll offer one piece of advice (to those beginners, not lihaoyi, who I'm sure needs none of my advice). These days when I talk to people about Scala who've never used it before, I don't like talking about it as a hybrid FP/OO language.

I prefer to describe it as an OO language with a lot of syntax sugar and standard library choices to enable emulation of FP on top when desired. It is useful to think of Scala the base language, i.e. what everything desugars to, as an OO language.

This is neither good, nor bad. However, I think this realization helps illuminate a lot of strategies around coding in Scala. If your having performance issues, drop down to the desugared OO layer and you'll probably find ways to squeeze out more performance. If you're having a hard time understanding how some of the FP constructs work, step through their desugared OO equivalents (e.g. there aren't really higher-order functions, just an automatic instantiation of FunctionN classes wrapping methods at call sites).

Scala 3 has smoothed out a lot of the mismatch so that its most obvious issues are gone (monomorphic functions vs polymorphic methods, weird eta expansion issues, weird subtyping requirements for implicit prioritization, etc.), but I've still found treating OO as the core of Scala to be a general rule of thumb which is useful for new Scala programmers when they come across something they think should work but doesn't. As you work more and more in Scala and that conversion of FP to OO primitives becomes extremely fluid and natural for you, a lot of choices and quirks that Scala has become far easier to explain and a lot easier to deal with.
> It's the C++ of scripting languages.

This is such a fantastic analogy. Thank you!

C++ tries to be all the paradigms, even if they're bolted on. Python is similar in that regard. Complex OO, functional, exceptions, decorators, lots of container types, iterators, generators, operator overloads... The only thing it's missing is a macro language.

Python's "batteries included" standard library stance takes it even beyond the C++ analogy in terms of sheer volume of out of the box capabilities you get.
They're always going to be a target for some people, not necessarily the same people that thought highly of them a decade ago.
They "federated" with only one other server run by the Cyanogenmod team.

Agreeing on and keeping some spec up to date is a solved problem. Just ask any web standards committee.
I still can’t quite figure out why type hinting is such a sought after feature. Over the years I’ve worked with various programming languages and I can’t recall any instance where I wrote code that contained a type bug that I didn’t instantly catch without the aid of any specialized tooling. The only use for it I can see is type checking for user input. Say you create an API for calculating sales tax and as an input it takes a subtotal of the cart as an integer and I instead pass in a dict or a list. But at the same time, shouldn’t you be sanitizing your inputs more than just by type? Like for example against negative numbers? I suppose code highlighters and autocomplete could also use that information but then again I rarely use those. What am I missing with the obsession over type hinting?
I hate the bash manpage

It is so long, I never find anything there

And if I search for some command, like /if or /fi, there are far too many ifs in the text to find a useful match
Totally. What Rust is to C.
just use a infrared sensor for the light and a light switch if the other fails. Infrared doesn't need motion. Counting in and out only works with a rotary lock (side effect you have a list of people to rescue in an emergency).
Session protocol is currently running on session now[1]. It’s actually the reason that they were able to allow up to 100 people in closed groups now.

[1]: https://getsession.org/session-release-roundup-10/
I've taught Python for beginners for many years. I've had zero problems with the significant whitespace.

JavaScript syntax is outright bizarre compared to Python. Care to share your slides teaching the semicolon rules, four or so different scopings, the damn "new", type coercions and so on to learners?

Javascript has mostly nicer semantics, but buried deep in ugly pile of mess. And CPython is a disgrace.
I disagree, I learned Python 3 and found it very very easy, even in a professional setting. If I need to knock out a script to format a CSV file, Python 3 is an easy and fast choice.
The reason, in my opinion, that the patterns outlined here for Win95 are really nice is that they assume the user knows how to do very little.
Penpot (Open-Source prototyping tool) v1.1.0-alpha released
Modularizing iOS dependencies with 'integrations'
>>> In an environment that places stress on those who underperform, anything that calls attention to performance problems will be hated.

This is so missing the point of development.

What do developers do? They write code and they ship code. (we could say that they deliver features or business value rather than code but that's not the point).

Code review is effectively preventing them to work. A bunch of comments on a PR, with no approval in sight, is very effectively blocking any progress on their work and making their project late.

Of course they're going to hate that.
I intentionally redesigned my resume to counter this a few years ago (or well, I guess several years ago now)

It's 3 very dense pages, has skills in the margin, images to represent some things, goes extremely in depth about my background

-

I apply to jobs thoughtfully, I want the places hiring me to have taken the time to look at my resume. Specifically, I wanted to discourage recruiters who scan for skill "X for years Y" and immediately pick up the phone.

I've been told I got an interview because my resume goes so in depth into who I am and what I want out of a position more than once, but of course ymmv as this article shows. It also helps if you're the one getting recruiters and not the other way around
Making video meetings more a11y for employees
So where did all the salt originate?
AR seems far more interesting long-term. Real-time information about what you're looking at. VR seems much more entertainment, architecture,etc. focused--games, exploration, etc. Which isn't small but not necessarily transformational.
Jython and IronPython don't have a GIL so you can see the effect there (it's not as bad as I thought it would be)
I'm very pro science. But science is very hard to do properly, and even when done it's very hard to find it.

Pop science articles you read online, written by journalists? At best just clickbait. (I read them too. Only human...)

Unfortunately there is no substitute to thinking for yourself. The best way to start is with the question "does it work?". If the question doesn't make sense no need to carry on, we're off science altogether.
Government procurement processes are allergic to buying products. They insist on purchasing solutions.
I’m not Iranian, but I spent a lot of time over this for a friend.
iMessage works ok once you are able to activate it.
But Apple insists on contacting “init-p01md.apple.com” with plaintext HTTP, this sometimes connects successfully, but often it doesn't.
You should look into how the Hololens is able to display floating windows. You're not cut off any more than the physically equivalent monitor would obscure.

A full face headset would probably give off a socially isolating presence, at least today, though.
Does anyone know what the remote work situation is these days with Google? Specifically, is this a good time for folks in flyover states like myself to apply to these SV companies and land remote positions?
Well, I agree, a lot about modern society contributes to the kind of mental health problems that can lead to substance abuse.

But for better or worse, overall health outcomes are better than at any time in history.

So if you're thinking that people being idle, bored, robbed of any agency, and unfulfilled is a root cause of drug abuse, I agree.

But that boils down to being at the top of the needs hierarchy, and moving down has a set of bigger problems with it.

So as long as we're here, treating opioid use as a disease or chronic condition, instead of as some kind of "criminal" hedonistic behavior we should be punished for, goes a long way to reduce any harm it causes.
I'm not sure where the idea that there were fancy parties came from in the first place?

Just the line "so many memories of so much dancing, from Accra to Berlin to Chandigarh"? When I read that, i was imagining her dancing just in clubs or at someone's house with other wikipedians, in the evening after a conference or meeting. I certainly do expect the CEO of wikimedia to do international travel to meetings and conferences of various sorts, it is a global organization! When I travel for conferences and meetings, there is usually entertainment in the evenings, whether formal (part of the program) or informal (people going out on their own with fellow meeting/conference attendees). That's a normal thing, I think?

But maybe the complainer has more info to think there were expensive parties going on? (I also expect wikimedia to have banquets and parties and such, yes, around the world, so that wouldn't especially disturb me, but not sure where the idea even came from).
I mean, mining companies made local governments before.

I'm skeptical that single-issue regulatory exemptions will have any impact on long-term growth, particularly for areas like AI or block chains, where the level of regulation is already essentially none.

[Edit: I'm going to go out on a limb and say I'm being taken as saying I'm in favor of this idea, despite only really saying it won't work.]
I Meet
Over the years I’ve worked with various programming languages and I can’t recall any instance where I wrote code that contained a type bug that I didn’t instantly catch without the aid of any specialized tooling.

Guess you're just a better programmer. I've run into many in JavaScript and Python.
> I totally missed that the segment of rich people with enough disposable income to buy an average electric car as a statement was big enough to be viable. So, well played Tesla I guess.

This is pretty dismissive. I'm not sure how many Tesla owners are trying to make a statement, nor are all Tesla owners over the moon with the product. You can see a prior comment I made: https://news.ycombinator.com/item?id=21173756

There is probably much wider variation in Tesla quality than other car manufacturers, as the Model Y stories (detaching roof, hardware store wood trim hack jobs to hold assemblies) suggest. Their lack of respect for "legacy" practices throws the baby out with the bathwater. There's lots of valid criticism for Tesla.

All that being said, if you get a unit without the worst of those issues, you quickly learn to see the bigger picture and realize no competitors have yet built a comparably-capable EV. That is what drives the sales. They are here today.

EVs are not for everybody. But if they fit your automotive use case, when you need a car for transportation duties rather than the kind of pleasure that comes from driving a high-performance combustion-driven vehicle, they are so clearly the future. It's like using an LCD flat-panel monitor with a VGA connection in the early 2000s. Even before they got to the high standards they have now, those early units presaged that LCD monitors were obviously going to make CRTs obsolete. Tesla cars are the automotive equivalent of those LCDs. And it will be great for the consumer when Tesla no longer has the enormous lead that it still enjoys (years away).
While the idea of a city run entirely on blockchain sounds on the face stupid and obviously a scam that is going to bust at public expense at some point, is the idea behind this any different than what Disney has going on for it in Florida?
This is my biggest pet peeve with (dynamic) languages that don't distinguish between declaration and assignment. Python's drive to make type annotations look "nicer" certainly doesn't help either. `list[1, 2, 3]` feels a little too clever.
Where does everyone get the impression that you can just move into management? It's certainly not the case in circles I move in. In 15 years I've not seen a single promotion into management. That's in London.
I don't know who that person or their business is, but the situation is thought-provoking.

On one hand, having that sum of money at that age would be amazing. You would have the freedom to spend the entirety of your remaining time doing what you want in comfortable conditions. You would not have to lose your lifeblood working on things that don't interest you or your pride having to grovel for a job and follow orders to make someone else wealthy. You would no longer have to worry about your current society collapsing and taking you along with it, unless it's global chaos in which case you were doomed anyway.

On the other hand, the opportunity to work on something you own and identify with while also having a reasonable chance of making it work is also extremely rare. If money is the conduit that allows you to preserve your lifeblood to do what you want, you have tautologically skipped that step if you are already doing just that. That means that the utility calculus they made is not irrational or risky, even if many other people would kill (sometimes literally) for the prospect of getting those sums. It just so happens that they get to choose between not one but two peak-experience scenarios that would be alien and out of reach to most people.
If you have done opensource work, it's totally worth listing it. People who code in their free time have a higher chance of success at places like Google.

If you haven't, it isn't a dealbreaker.
In my experience it's because of two things mostly. (1) Naming generics is harder than naming other variables for whatever reason. (2) Signatures with generics in them are stupidly long. Signatures with generics tend to be super unaesthetic, and oftentimes unaesthetic code is conflated (correctly or incorrectly) with bad code.
Python is my favorite programming language because of its simplicity and ease of use. For example, working with lists in a REPL is easy:

>>> print range(10)
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

Integer math works exactly the way you would expect with no horrible surprises at all:

>>> print [x * 3 for x in range(10)]
[0, 3, 6, 9, 12, 15, 18, 21, 24, 27]

>>> print [x / 3 for x in range(10)]
[0, 0, 0, 1, 1, 1, 2, 2, 2, 3]

Python is great for little one-off tasks; say you want a color half the brightness of #308cfb

>>> hex(0x30 / 2)
'0x18'
>>> hex(0x8c / 2)
'0x46'
>>> hex(0xfb / 2)
'0x7d'

The built-in support for dictionaries and JSON parsing make data conversion easy:

>>> import json
>>> json.dumps({'foo': 42, 'bar': 132}.values())
'[42, 132]'

If there's one thing I love about Python, it's how easy and consistent it is. It sure is great that we've spent the last decade teaching Python to every scientist, academic, and hobbyist.

If there are two things I love about Python, it's that and the reliable, well-supported Python package manager.
CartaX – A private company stock exchange
I think most people still covet google. However, given the hiring process, notorious interviews, propensity of product failures, declining core product quality, and periodic ethical issues, I feel like maybe it's undeserved.
I looked up every newspaper in the list, and I don't see any evident connections to Murdoch (which I found surprising). Am I wrong?
> There's a lot of discussion of "big data" but small data is amazingly powerful too.

You can oftentimes do surprisingly well on a smaller dataset with proper augmentation. Unfortunately augmentation techniques don't seem to get quite as much attention as they deserve, perhaps because they're perceived in ML conferences as problem-specific hacks rather than general-purpose techniques.
It's a math culture thing. Names barely matter, relationships do. All math since junior high is about f(x), not function_of(variable_entity).

It's very disturbing from the application Dev world view where people seek longer names for reasons, but after spending time in FP/LP and math you quickly forget long names. You seek variable count reduction most the time also.
Almost everyone who dies has eaten food in the last 7 days. The association between eating food and death is very high. I'd avoid it all together if I were you!
I remember we were like 70% of the way done with a big product (already in use/sold) following Material Design patterns.

A new designer joined the team and was very upset because "Google is not known for good design. Apple is."
I gained a bit of appreciation for the complexity of this dialing-in process when I was in high school...I was staying in a hotel mostly occupied by my extended family for a wedding, and across the street there was a brand new Krispy Kreme store about to open.

During the fine tuning stage of the newly installed machinery they were giving away unlimited free donuts, so my cousins and I formed somewhat of a bucket brigade funneling them across the street whilst piping hot. I ate enough donuts over the course of the weekend that I was able to observe the batches getting more consistent...less variation in color/texture/glaze. I thought it must be interesting to be the person traveling to each new location and making the call as to when everything was exactly perfect.
More info: https://a16z.com/2021/02/04/cartax/
For the same reason we still use i,j,k for loops, x and y for continuous variables, and n,m for integers. We all know what they mean and needless verbosity can makes things less readable. It’s why people really seem to like the throwaway variable ‘_’.

for outer_index over array1
for inner_index over array1[outer_index]
print array1[outer_index][inner_index]

Bleh.
I wondered the same thing. Turns out, there's a whole language for XML stylesheets: XSLT[1]. The stylesheet used to style that page is http://interconnected.org/home/static/styles/pretty-feed-v2.... (will probably want to view source).

[1]: https://developer.mozilla.org/en-US/docs/Web/XSLT
I agree with you that it's great to have a comprehensive stdlib but I think the process should be careful and gradual. Python's stdlib has a lot of stuff that is not really best-in-class or consistent in design. I think with today's ubiquity of package managers, we could get away with a smaller stdlib initially, and take time to validate libraries with real world usage before blessing them with official status.
If you attach an IMU to your cat would it become blurry?
I use it in production. Some of the choices they made grind my gears (I'm looking at you ordered `open`s and poor inference for records with similar shapes) but overall it's pretty nice
No, an exploitative product is not “great”
just to be clear though, this is the german implementation of the dreaded Article 17 that a german CDU Minidter for the EU created.
I think I understand the difficult position that they are in, and I'd rather they do that than fall to sell to some large entity their name recognition and their IP.

It's a sad story, but they have changed the entire industry, and I'm happy that they found a way to make their contribution open and sticky.
No, and it really shows quite how detached from the tech these recruiters are...

Source: I invented the flux capacitor equivalent of the retro encabulator, so should know a thing or two about this!
I get that. But, you can still reach a lot of people for $1100. Dallas has a population of ~1.3M, and Manhattan has a population of ~1.6M. And, I expect that copies of the WSJ bought in Manhattan might filter out to the other 4 boroughs.
Never heard of Dosh, but my guess based on your description is the harvesting of CC info. If they have access to your statements, they have info on your spending habits in general. Plenty of companies would pay good money for that data (anonymized or not).

Edit: Looking at their site a bit more, it looks like they keep the data for themselves and use it for marketing ads to users:

https://www.dosh.com/local

https://www.dosh.com/brands-and-retailers
Tame your expectations.

I'm pretty sure Apple's gaslighting field has yet not found a way to bend laws of physics.

Everybody wants a sleek, everyday wearable device, without usability corner cases, but such are physically impossible to make.

Portability, visibility, usability. Choose one.

First, power requirements demand either external power, or extreme power austerity cutting into display, and graphics.

Recon Instruments had first really practical battery powered HUD goggles, and they barely lasted more than an hour in real life use.

The lowest possible power at which you can provide just any much rich graphics is 250mw — the lowest end of most energy efficient SoCs. Possibly, Apple can bruteforce it with 5nm custom ASICs, but not by much, 100mw at max possible with CMOS cells.

Even if you have a magic chip with hypothetical 0 Watt power usage, you will not improve the situation by much as your display will still eat at least 1W, or usually up to 2.5-4W if you use any waveguides.

Daylight visibility is essentially impossible without displays outputting at least 100000+ nits. There are no tricks around that, that's just physics.

There are very few technologies on the horizon which are physically capable of achieving anything better.

Monolithic devices are one, and only ones which can offer sub 1W power use at any much good visual quality.

But, they are very expensive to make. All existing makers are manufacturing on lab scales only. Getting manufacturing out of the lab, and into fabs is impossible without the process technology, getting out of the lab too. And this shortens the list of credible contenders to just 1 company in the world, and guess, it's nor Apple.

Third, even if you agree to a wired up design, where do you get 16k video from? Have you ever seen how thick DP 2.0 cables are?

How do you get latency down?

How do you make even simplest AR interactions not require the wearer to also wear a Quad SLI videogaming PC?

How do you transport 40 gigabits per second of video without having the I/O PHY eat more than the system itself? Only optics can do it under 1W.

Apple can surely put its silicon to good use here, but even a purpose made ASIC video system will be on the edge. It will limit them to the most basic graphics, and pretty much hardcoded, and handcoded use cases to extract maximum power efficiency, and workaround hardware limitations.

It will be a basic HUD, maybe with some GFX, and good video playback options. Essentially an Apple Watch, except you wear it on the head.

I bet they will intentionally limit its functionality to not to let users see performance limitations, and corner cases too often.
Companies are made out of people, who have an agreement with the rights holders.