skysight-inc/HackerNews huggingface dataset:
Python is anything but easy, it is the same caliber as C++, just lacking implementations able to execute as fast.

If you are able to master all the language changes between minor releases, master every language feature across objects, metaprogramming, functional, old style classes, multiple inheritance, slots,...., the complete standard library, and all major third party libraries, I bow to thee.
I like hickey but a lot of his examples are data driven domains where we can indeed model the world in functional or accounting-like terms.

Where this falls short is domains that are extremely ill-suited to keeping track of past states over time (his identity idea) simply because it would break performance or be hard to model in those terms, say simulations, game development, directly working with hardware and so on.

Much of his argument relies on the GC and internal implementation being able to optimise away the inefficiences of the functional model that needs to recreate new entities over and over, but this simply is not always enough.

This also is very obvious if you look into the domains where Clojure or other declarative functional languages have success, it's almost always business logic / data pipeline work.

edit: And in fact a lot of his most salient points aren't really as much about functional programming as they are about lose coupling and dynamic typing. A lot of his criticism of state and identity in languages like Java isn't related to Java not being functional, it's related to Java breaking with the idea of late binding and treating objects as receivers of messages rather than "do-ers".
Let's be fair to Haskell and LyaH:

I've taught some Java classes. I can get people writing and running trivially useful code before explaining the concepts of "class" and "static". I explain that parts of the code will remain a mystery for a little while until I explain them, I promise to do so, and of course I fulfill that promise as soon as I can.

I feel neither Java nor Haskell are intrinsically bad just because there's no practical way to teach them completely on progressively layered concepts. Even (e.g.) Lisp has a risk of using special forms before understanding them.
Pretty neat. I'm working on a product that relies heavily on S3 buckets and tagged files.

Does s3st support tags or other ways of identifying which files to stream other than filtering by the content of the files? Asking because I didn't see this feature in the demo.
Who pays for the Windwos 10 update?
That's actually interesting. Was it the base prelude typeclasses that are too different ? AFAIK scala uses monadic code too .. I expected not too much difficulties using haskell. Maybe that's the syntax ?
I actually think you do need to understand rendering logic to some extent to use CSS effectively.

For example I have seen many having a hard time understanding why it is trivially easy to align an element to the top of the screen but tricky to align something to the bottom of the screen - something which would be symmetric and equally simple in a typical application GUI framework.

But understanding how layouts are generated makes this clear.
I've been running a matebook x pro with ubuntu mostly with the nvidia card disabled for about a year now and I have nothing but nice things to say about this laptop.

Steam works fine out-of-the-box but the GPU and CPU are not powerful enough to run newer games with high resolutions.

Screen ratio and resolution is amazing, battery life is not bad, is dead silent which I truly appreciate, and the keyboard is very very nice to type on.

Also, for the battery, after 1 year of hardcore use, it's at 90% of capacity, I don't know if this is good or bad TBH.

I wrote a bit about my configuration here if you are interested [0].

[0] https://memogarcia.mx/posts/linux-matebook/
There is plenty to agree with here! But learning haskell isn't the biggest issue for me, I work in a large org and getting ppl to want to learn it with me or care at all is the biggest roadblock for me. The first thing they are looking for is nice IDE like and tooling experiences among many other things.
there were a couple days after sandy like that too, it was lovely.
I don't see why, I can get by there just fine without taxis...
I think its time we moved to Linux laptops for everyone. I do hope system76 gets its act together.
Show HN: Using THREEJS's New InstancedMesh in React
Robots.

I just realized: Why aren't remote controlled robots more of a thing? Like surgeons who can do remote surgery, but for everyday tasks in a remote location. Vacuuming, doing laundry (because the tenant is elderly etc). I guess it's just too expensive still.
GP complains that nobody can explain to him why he should switch to Haskell, but when somebody tries, that's "elitist signaling"?!

You know what, use whatever makes you happy, while we continue to avoid success at all cost.
> It's beautiful, sure, but go and buy a toaster today and see how much premium people are willing to pay for a designer brand with no functional advantage.

$200+ easily, just look at KitchenAid or Magimix toasters...
I believe our governments should designate a new class of Urban car, similar to the Japanese "Kei cars".

The "Urban EV" would have to meet strict requirements: Electric Vehicles only, within a small size of footprint (smart car sized) and have pedestrian anti collision safety features.

The EVs could have cargo trays as well for deliveries.

Pedestrian zones with Urban EV access (scooters, ebikes included) could utilise a small bike lane sized road down the middle of the pedestrian areas with dotted lines to keep the EV traffic moving efficiently. Despite this, pedestrians and vehicles will be maneuvering around each other. Of course, EV's would be expected to give way to pedestrians by law.

Urban EV zones could eventually also be linked together with bike lanes and tunnels.

This would simultaneously make for more cyclist friendly cities while accommodating and making far more modern, social and interesting urban environments.
Tyrants Are Bad and Some Are Worse
> Therefore, the meter may be defined as "the distance light travels in a vacuum in one of those cesium-133-related periods, times 9,192,631,770, divided by 299,792,458".

Right, but the constant c didn't have that exact value until 2019. Prior to 2019, c had an infinite number of digits. Thus, the numerical representation of constants with units can change as the definitions of the units themselves change.
Sparsity Programming: Automated Sparsity-Aware Differentiable Programming
I'm intrigued by the fact that parents didn't get involved. In the early 70s my brother's social studies teacher must have heard about this guy because he did a similar thing in his classroom. As I remember it my mother flipped her shit and started making calls. She was having none of it.
> is all this trickery on top of a library like this one still needed?

If the library is imported in the way that the article recommends in step two, it's not actually loaded as an ES6 module. This code checks to see if we're currently acting as a module and accordingly makes sure that the library is available as a global object. See this link for some examples: https://devhints.io/umdjs

> I have no idea how to read this ...

I tried to add some comments [0] which will hopefully help!

[0] https://gist.github.com/tjwds/8883b20d5981518bad66497f0466ac...
World’s Largest Family? Man Married 39 Women and Had 94 Children
In regards to the accidental censorship of content for users behind VPNs and proxies, on my site I have set the security level to essentially off and disabled any and all integrity checking of visitors. I haven't tested the effect on those users but it should allow anyone to retrieve the pages unmolested.
Ask HN: Worst Domain Registrar Offenders?
I search a registrar today for a unique domain, but don't register it, and it becomes taken within a week. Who are the worst offenders when it comes to this kind of behavior?
Can we stop celebrating this guy and move on? Times have changed, the wold has changed, but the aloof reality distortion continues. I will not rattle off my list of issuex but suffice to say he is not worthy of emulation in a mjority of his actions. I will boldly state: Nobody actually wants to work with the next Jobs, they just want to say they did.
Why Klaytn Might Be a Better Choice Before Ethereum 2.0 Launch?
> But the question "how can you define the meter in terms of the speed of light if the speed of light depends on the definition of the meter?" is totally incoherent;

I agree, I messed that up. What I meant to say was: "how can the speed of light have an unchanging numerical value if the definition of the meter is not an unchanging definition?" Prior to 2019 the meter was not defined in terms of speed of light over time.

My point is that, unlike dimensionless constants like pi, constants with units can have arbitrary numerical values depending on the definitions of the units. And if you make a law that changes the definition of a unit, you therefore change the numerical representation of the corresponding constants.

In other words, if you defined a meter to be "the distance light travels in 1 second", then the constant c would now be 1 m/s.

> I can't tell why you think it's "problematic" for a physical constant to have units

Because the definitions of units can change[1]. The definition of the meter changed earlier this year, and thus the speed of light constant, c also changed. Before May 9, 2019, c had an infinite number of digits using SI units. Now it only has 9 digits. Planck's constant, along with a bunch of others changed as well during the units redefinition[1].

[1] https://en.wikipedia.org/wiki/2019_redefinition_of_the_SI_ba...

Again, I'm not arguing that the speed of light can change, but that those constants are only unchangeable in their symbolic forms. Laws can and do change their numeric representations by proxy of defining units.
Jackson-databind is an enterprise virsus ...
I agree in concept. But it’s time to whip MTA into shape and get an efficient, punctual subway and bus system before it’s time to ban cars.

Give me European style efficiency and punctuality in public transit before telling me about European-style plans that make me use public transit.
This parallels the conversation going on in the ML world right now.

"They just so happen to look like gorillas!"

This is not okay.

I know it's just a pile of linear algebra and there's no conspiracy to screw a particular country.

But once it's brought up that your system is causing harm by increasing inequality in the world, you can't just say "But that's what the algo is spitting out!".

At least try to fix it.
> Lots of people avoid GNU and go for licensing closer to bsd/mit if they want more freedom

is it fair today in this case that means freedom for the manufacturer/developer, not the user, which is the purpose of the gnu license?
This is me all the time when we go out for a few beers :)
NL is like a machine in the sense that keeping the water out requires constant work and energy. Water is pumped out at a stupendous rate, if not for that the country would revert to being mostly a large lake in a decade or two.
The real issue with Haskell is over-abstraction by narcissistic idiots - look how smart I am, I could encode it this way.

This is precisely why we have shitty libraries, bullshit code bases and a half-gigabyte binaries (hello, hie).

Miranda had nothing of this bullshit. Ocaml is also sane.

Over-absraction by idiots is the diagnosis.
> Instructions in the CPU happen one after another

https://en.wikipedia.org/wiki/Superscalar_processor

> a CPU will never execute later instructions before earlier instructions

https://en.wikipedia.org/wiki/Out-of-order_execution

> The CPU would never run some code and then decide it wants to go back and have another go

https://en.wikipedia.org/wiki/Speculative_execution
I currently use an interactive Jupyter notebook to accomplish similar things for my own business.

I've always looked on Dash as a bit of FOMO myself. If you have experience with Jupyter, could you contrast Dash vs Jupyter?
> OpenGL is an outdated design for modern GPUs. Its featureset and architecture is too high level, leading to more buggy drivers and complicated legacy support.

This is only a problem for game developers who live right on the GPU hardware and need to squeeze absolutely all the performance out of it. Which is probably a small number of admittedly very important developers: Game engines and AAA studios. For the rest of developers who have more modest requirements, I don't really understand what "modern" graphics APIs provide, besides tons of extra boilerplate code and headaches.

When I was a graphics programming newbie, it was great to have the whole fixed function pipeline all set up and ready for me to experiment and learn. If I had to learn from nothing on Vulkan, I'd probably have given up before the first 1000 lines. Drawing a triangle in OpenGL vs. Vulkan: http://sol.gfxile.net/temp/hellotriangle.png

It's so strange--in most of the software world, newer APIs and tools tend to be higher and higher level abstractions. "Modern" Electron apps run Javascript, HTML and CSS on an embedded browser which itself running on a high-level native toolkit which is probably written in C or C++, which compiles to assembly, etc. You can have a web server in one line of python. In contrast, the more modern graphics APIs get, the lower-level and more verbose they get.
Show HN: Blockchain Hackathons:D
You are correct in a harm reduction and progress sense. Unfortunately harm reduction and general progress were something we could have spent the 200X's or 201X's doing. The remaining carbon budget does not afford for such marginal optimization anymore. We need to reduce total vehicle-miles-traveled by something like 50 maybe even 80%, while making those remaining miles EV/ZEV driven with 90 to 99% less co2 per mile.

So yes, even powered by a coal plant, EVs are better than cars. But no longer better-enough for that to be ok on its own. It is more important to figure out ways to de-car lifestyles than it is to foster EV adoption. They're both important, just de-car'ing is more.
I replaced Rails with PostgREST, which is written in Haskell but for me as a user is just a binary that I run in front of my database, so now I don’t have to write any backend code at all.

Good enough for you?
> Very few people actually understand Lens.

Exactly this. Unnecessary over-abstract bullshit for narcissistic idiots to get attention.

GHC does not use lenses and it seems to be ok.
Not all people.
The whole stuff somehow reminds me of the classic "magic and more magic switch":

http://catb.org/jargon/html/magic-story.html
I am in the Database-as-a-Service world.

I have to understand all the intricacies of the system, so people who choose to treat databases as black boxes don't have to. There is only so far this abstraction holds.

Stateless (immutable) code scales horizontally. ACID[1] doesn't.

[1] https://en.wikipedia.org/wiki/ACID
The whole situation is a bizarre and I'm surprised any effect was noticed at all. You had to get unlucky enough that this ISP's recursive resolver cache expired in the 1-2 seconds you sent an NXDOMAIN. And then you have your NXDOMAIN TTL set far enough in the future it causes a problem. One possibility is the ISP ignores TTLs, setting its negative ones higher than the SOA settings and the others lower. I think the more likely scenario is weird caching-- either because of geopolitical boundaries or propagation issues on the service provider's side.
SSL is terminated on CF and website owners are allowing CF to generate SSL Cert and Key for them in free plan. It is a wildcard certificate.

CF has the ability to read/alter the information we are sending to (or receiving from) the actual website. CF also has the ability (I do not mean they do) to impersonate the original website without the owner’s knowledge, and with visitor’s trust.
Unfortunately in the US most of the major cities have essentially been designed (or redesigned) around private vehicles, so banning them is not going to happen. However you are absolutely correct - walking through Times Square in NYC is a pleasure (aside from all the guys in Batman costumes) with traffic removed compared to turn of the millennia. I don’t care to bike but the bike lanes squeezing out all the auto traffic have been a benefit also. But would it work in Houston or Denver? Not unless they built a massive public transportation infrastructure and moved the businesses and housing closer together, essentially rebuilding the cities.
How is this different for Haskell than with anything else? If you want to be an expert in something, anything you do need to put in the work and learn it inside-out. There is no royal road. I fail to see how this is specific to Haskell...
How do you check if a machine is using jackson-databind?
This is, perhaps, the worst thing about teacher training programs. I'm a teacher myself, high school math and science, and the classes I'm taking for my masters are absolute bullcrap. Just lots of busy-work with ideas that have been tested once, on a small group with demographics extremely different from my school, and taken as gospel.

Not to mention that the classes are all geared towards elementary school teachers and so are of absolutely no help at all to me. Then couple that with elementary school teachers being generalists and often hating math, yet they're the ones we rely on to give these kids a good grounding in the foundational stuff they'll need later on! No wonder most kids are incompetent at it and can barely add/subtract/multiply/divide without a calculator.

Really, I think education should be an apprenticeship program, rather than an educational one. Make it be like several years of student teaching, which would get more results than anything else from new teachers. They can see how experienced teachers work and really discuss it with them over the course of a few years, not just pay to get told useless stuff and observe a semester.
I recently moved to Brisbane, Australia. The apartment building I rent in was advertised as NBN (public fibre) connected.

Turns out, it’s vendor locked to a specific ISP, iiNet, which wouldn’t be a problem if they offered static ips but they don’t. Its kinda funny because another sub company, internode, of their parent company, TPG, does offer static ips for vendor locked FTTB but it wasn’t offered in the building.

It gets weird for various other reasons (convoluted inbound tcp/25/80/443 unblocking process, static ips).

But the larger point is that ISPs largely control the internet and frequently do scummy things. in Australia it’s quickly becoming a very select vendor market and monopolising behaviour is occurring to the point where there’s very few decent ‘neutral’ isps left.

Here there’s laws to prevent complete monopolisation of media but I don’t think the same exists for networks comms, and I fear that this place is going to quickly end up owned by a few select companies that will effectively be able to do what they want, without intervention.

Maybe this sounds grim but I needed the rant
If people can be nudged by street design or transparent B-pillars, they can also be nudged by heavy penalties that are commensurate with the deed.
"inability to vividly recollect personally experienced events from a first-person perspective"

I don't understand that... There is no perspective to my memories of events, they're just things I know happened.

For instance, I went for a run this morning. I know where I went, I know what the weather was like, etc. Am I supposed to be able "vividly recollect" like some sort of imaginary first-person shooter?
> Most of the people traveling the super-region already use the subway or buses.

That only works well if your origin or destination is in Manhattan. To go from Union City NJ to Belmont Park on a weekend is a 45 minute drive or > 90 minutes on transit consisting of bus, subway, LIRR, another bus.

There are similar examples even within NYC, like Red Hook to Jackson Heights.
Also known as "effet Bonaldi" in French: https://fr.wikipedia.org/wiki/Jérôme_Bonaldi#L'«_effet_Bonal...
In the short term, it does absolutely make sense to use electric vehicles.

The critical goal is to further develop electric cars so they become the obvious choice for consumers.

As we go from a few million EVs to tens of millions, it is of course important to move towards cleaner electricity.
I don't think it is programming in any real sense. There are no variables and no loops. So I don't think it is Turing Complete. ;0)
Quote: "Dear new developer,
I suggest that the first job [...] even if they are new as well, will elevate you."

Hell no! This is wrong and I've seen it plenty of times. Dear new developer, go glue yourself to a senior one, make him your mentor and you'll learn a lot. Also a team of only new ones tend to rely on stackoverflow and will result in bad practices in the end.
Dear new developer, avoid teams where you have no mentor to learn from. Also, while you're around your mentor, don't pester him before you applied "the rubber duck" technique on your question/problem.
> Penalties for offences whilst driving are often extreme in their leniency compared to same impact caused by other means.

Yes, yes, absolutely. That was my point: change laws to bring punishment in line with crime.
NFF-Go -Network Function Framework for Go (Former Yanff)
Just for my own curiosity, since I don’t recognize the city from the photo, where is it? I’m wondering how it compares in size (both area and population) to Manhattan.
> The mainline kernel, as released by the Linux core team is up to date with security. Hold to account people that decided to skip patches as a matter of course

To me, the particulars of this exact case are not as interesting as the fact that the entire Linux patching and backporting of security issues seems _very_ fragile, with things frequently getting "lost" for mundane reasons, and a key part of the "why" it is so fragile is due to many of the core Linux development processes.

This particular CVE is apparently one small example that happened to catch some headlines out of _thousands_ of similar problems.

That talk linked above by Dmitry Vyukov is worthwhile for getting a sense of the magnitude of the problem.
I’ve lived in NYC for many years now and whenever a discussion about cars come up someone invokes class and “the rich”. It never ends up being a barback living seven to an apartment in Corona, much less someone picking up cans and living in a shelter in Vinegar Hill. Rather it’s invariably someone from Middle Village or Bay Ridge, often with a job in the trades or working a uniform job for the city, and not actually poor at all.
$50 for parking is affordable?
Building static binaries for a Qt application requires a very expensive licence. :0(
With other browsers, the clear and obvious incentive is "to get paid to spy on users". I'm not a big Brave fan but saying their incentives are worse than Chrome or even Firefox is ridiculous.
Some time ago I’m pretty sure that TTL wasn’t respected pretty much at all on legitimate requests. I dunno how it is now though.
I'm pretty sure that here in The Netherlands it applies to the date the vehicle receives a license plate.

The only think to remark is that ?two? years ago the same situation occurred with the Mitsubishi Outlander PHEV, thousands were ordered and the end of the year was approaching. A couple of people worked around the clock to register them all before the 1st of January to ensure the tax benefits (At least that is what I heard at that time).
Trailing forward slashes seem to confuse it. I pasted `https://news.ycombinator.com/` and it thinks the website is not in the database.
I know torguard, at least for their wireguard endpoints, operates out of Digital Ocean.