skysight-inc/HackerNews huggingface dataset:
Julia's function polymorphism shines in a lot of cases, but in general it is less powerful than the OOP solution and also I find it much more difficult to read.

For example, I recently ran into this problem when prototyping a new Julia library. Without going too into the specifics, I can only match on a type of a object. With Scala say, I can override the method of an object at creation without actually defining a class.

In order to do a similar thing with Julia, I have to package the function as a field of the struct, I can't do multiple dispatch on it.

In general I think multiple dispatch is great for the incremental adding of new functionality without modifying the original source but bad at dynamically augmenting functionality at runtime.

A common example in Scala is creating an iterator. I can override the next and hasNext methods at object creation instead of creating a whole new class with a name. With Julia I would have to define a new kind of iterator at the top-level and then implement the necessary functions.

Let's say I want to have an iterator type of numbers in which I want to multiply or add constants to. In Scala I can easily return a new iterator that wraps the old one with overridden methods that adds or multiples by the constant. I could write

val newIter = 2 + iter

Or whatever and with the right definition of +, everything would work correctly. In Julia I belive the only way to make this work would be to package the next and hasNext functions (or their Julia equivalents) inside the struct itself, which is unidiomatic I believe.

Also the amount of type-piracy can get a little annoying. A lot of libraries end up defining alternative dispatches that are inappropriate.

For Julia's problem domain, I do think this approach makes more sense than OOP and leads to saner scientific code. A lot of Python scientific computing libraries have these crazy baroque mutation heavy brain dead OOP interfaces that serve no purpose. It's just that in some cases, the packaging of data and functions together is really the only way to sanely solve a given problem.
> Also if you screw it up in any way, your file is public forever.

You can literally say that for ANYTHING out there. Not sure what point you are trying to make. Let me guess, "Encryption is hard?". Well there's no free lunch.
It's the languages that cause the problems, by codifying the pattern wrongly. C++-style "extends" conflates three different things (composition, polymorphism, and delegation) and encourages programmers to think of them as being the same; in a non-OOP language these three things would naturally emerge as distinct patterns (and thankfully newer languages are finally starting to realise this, and support them as orthogonal things).
They paid $75 to folks to cover for thousands of dollars of losses because of their incompetence. Hope they get hit with $100million fine, at least
Hello again HN, an update: I added OS detection (apt-get vs brew), and also set up port-forwarding for port 22. Cheers!
And what was the Ayodhya temple inauguration but a superspreader event endorsed by the highest political power in the land, disguised as a religious gathering?
I think he is referring to collateral sprawl. Meaning, that density could be assumed to relatively increase property values and increase demand for support infrastructure. Businesses and people seek out low-priced space within the region. So, a high density area will spur unintended sprawl which might lead to other issues.
Run Rancher 2.4 in Azure with K3s and MySQL
They wouldn't blow up, but if the tick size is too small there's no point in displaying orders on the book and you end up with less liquidity.
I'm a big music fan, and I use YouTube pretty much all day every day with a front page full of all sorts of eclectic and eccentric stuff, and I spend a lot of time in alternative online music communities and follow a lot of independent and experimental musicians, but somehow I've never seen or heard of this until just now. Just goes to show how much algorithmic curation can vary from person to person.
Or if it was true, even though it isn’t, then those who do wear masks are more likely to become hapless victims of a sociopath.

You don’t want to be a hapless victim of a sociopath, do you? Well, we have just the solution for you to mitigate the risk of that happening! Don’t wear a mask!
Would it be possible to sniff the protocol on the wire and provide some sort of cross-compatible magic wormcroc service?
Along the lines of adaptive structures that change depending on how they're used, I thought this article about how JavaScript arrays work in V8 was interesting: https://ryanpeden.com/how-do-javascript-arrays-work-under-th...

V8's Array does different things depending on whether the array is sparse or packed and what data types it contains.
Much as I love woodworking, I think that's a dismissive analogy, since the immediate assumption is that you can only build small things out of wood. You can't build skyscrapers or highways or particle accelerators out of wood, for those you need metal and concrete.

A fairer analogy would be to say that OOP is a particular architectural style, and FP is another.
Interesting. I used to have a Thrustmaster joystick to play the game with. It used a game port and won't work on USB without an adapter.
> Sensationalist news is more successful in spreading / catching interest than accurate news.

This is largely a direct result of the advertising model of the internet/news where advertisers believe they can measure "engagement" on websites. Sensationalist news grabs more eyeballs, and keeps them grabbed more (i.e., more "engagement" being measured) which internet advertisers are willing to pay more to obtain [1]. Since the "news" is advertiser funded in very large part, the "news" is drawn to publish ever more sensationalist stories to increase their magic "engagement" number that the advertiser believe is telling them something in order to bring in more money for the "news". Repeat the cycle over about a ten to fifteen year period [2] and you get the current crop of stories specifically designed to make nearly everything maximally sensationalist.

So it would seem that one solution is to find a way where "the news" is not perversely incentivized to sensationalize every story for the purpose of maximizing their own revenue. I am, however, unsure of exactly what form that solution might take.

[1] I'm ignoring counter arguments that would argue that their measures are likely faulty and/or are not measuring what they think they are measuring. Those arguments, while likely true, miss the fact that the advertisers believe their measurements are measuring what they believe is being measured, so they pay more for more of it, whether it is really there or not. I.e., they have convinced themselves that their measurements are accurate, regardless of reality.

[2] which is about how long it has been since major "news" really /discovered/ the internet and figured out how to try to profit from it.
> there's no reason to believe that they'll be able to serve as amazing prosecutors.

Seems to me there's an awful lot of well documented police behaviour that totally doesn't need "amazing prosecutors" to secure convictions. A high school kid standing up and saying "Here's 40 bystander phone videos of the defendant officer using unreasonable force. There are affidavits from all the photographers in exhibit b. The prosecution rests."

(And the flip side to your argument also holds, the Das won't haver the most skilled/experienced defenders available either. Seems totally fair to me.)
You may be running into the contrarian dynamic: https://hn.algolia.com/?dateRange=all&page=0&prefix=true&sor.... If an article is about unions, the first round of objections is probably going to come from the "boo unions" contingent. Once those comments appear, a second wave of objections saying "wait a minute, unions have done good things" (or "I can't believe how anti-union these comments are!") would be expected.

I don't know for sure if that's what's happening in the threads you're talking about but it kinda sounds like it might be.
Also Intel's 10th Gen was their 9th Gen with a new logo, and their 9th Gen was 8th Gen with a new logo. Maybe 8 was the same as 7; I don't remember. Basically, Intel isn't wowing people with their releases -- all their recent progress is very incremental and doesn't unlock new computing possibilities for the end user.

Meanwhile AMD is shipping 16 core CPUs to enthusiasts and 24/32/64 core CPUs to high-end desktop users. Getting 56 extra cores is something to be excited about; your 8 hour render is now a 1 hour render. Your 15 minute build is now a 2 minute build. Making your 8 core processor do one synthetic benchmark 10% faster is comparatively very "meh". People are expecting each Intel launch event to be something revolutionary like Zen 2, but Intel just isn't doing that. So people are consistently underwhelmed even though a computer with a 10th or 11th generation Intel chip is going to be quite adequate.

(As for nVidia, I am also not amazingly excited. The 30XX series feels like a refresh of the 20XX series; yeah they're cheap, but if you already have a 20XX your world is not going to change dramatically.)
Unfortunately, links often go to paywalled content. They each waste my time and make HN worse.
This was codified in my state's public transport fines. Pay on-the-spot (assuming you have a CC and funds) and it's $75, wait or contest it an it's $223.

It was a system blatantly established to prevent people exercising their right to contest a fine. New government abolished this arrangement as it was blatantly unfair and illogical, and also reduced compliance.

They also removed on-the-spot warnings and fines, having all interactions reported and justified-to and reviewed by a separate governing body before an infringement or warning is issued. Taking a great deal of power away from the transport officers.

These all seem like pretty straightforward measures to avoid corrupt or even just unfair practices.
Syncthing. https://syncthing.net/

It's like a private dropbox.

For files on the order of <= 10GB, magic wormhole is lovely: https://techcrunch.com/2017/06/27/magic-wormhole-is-a-clever...

`sudo pip3 install magic-wormhole` is an automatic "must run this command" on all my servers. Simple, secure way of sending files from A to B, with no bullshit. No account creation, even.
While I read the report, here is a question I would love to know more about:

Many of these quant/algorithmic trading firms are exploiting market inefficiencies at the millisecond (microsecond??) level. To the point that no human person is participating on the same timescale, yet every "real person's" trade gets just a little bit shaved off by some algorithm able to take advantage of it.

What would be so bad about putting in human-sized time intervals as the minimum trading frequency? Like, buyers and sellers can only be cleared on a 1.0 second frequency, or even 0.1 second frequency. So that the millions of times-per-second arms race is nullified.

Are these algorithmic trades serving some public good? Why not have the SEC / exchanges put in this delay for everyone's benefit, and not have these firms make $ off everyone?

Or is that not actually the main market inefficiency happening / being questioned here, and the bigger loss is bulk movements driven by algorithms over hours/days, not milliseconds?
I was said a bit because it is a nice product developed by Mozilla.
>That's interesting, and goes against the conventional wisdom that markets driven by automated, high-frequency trading will be much more volatile.

Only if you ignore the word "normal". Otherwise it's what people have been saying for years - HFT reduces volatility when the seas are calm and amplifies it when they're choppy.
Ok, we'll change to that from https://news.yahoo.com/court-rules-nsa-phone-snooping-181157..., which links to that. Thanks!
Software Foundations Vol. 5: Verifiable C
Homeland Security proposes expanded biometric collection including DNA
Some dark pools had sub-penny spreads for awhile, but the SEC fined them because this is illegal. I'm not sure what material kind of harm they think took place, but whatever I guess.
For anyone interested in this sort of thing, I would recommend a Youtube channel called 'Journey To The Microcosmos' hosted by Hank Green.

This world is so bizarre it defies belief
Some tools are just bad. I've yet to find a case where OOP was actually better than not using OOP. (e.g. a library of reusable functions and datastructures is the best way to build a set of reusable components, in my experience).
A rule that can't be enforced is not a rule but a suggestion. If people follow it is because they agree with it. Anyone can follow a rule when it is convenient, punishment exists to make sure people follow the rule when it is inconvenient.

Without punishment, it is not "rule of law" it is "guidline of law"
Gitlab Security Release: 13.3.4, 13.2.8, and 13.1.10
> We vote everyday with our citizenship. You either agree to that living document or you don't by your allegiance. No one is forcing you to be a US citizen

You say that like anyone can just up and walk away. Where are you going to go? The borders are closed. If they weren't, they're going to want your tax money for a while, and if you don't like that you'll be deported and imprisoned. Disagree with any of that enough at any stage and your citizenship will be enforced with violence and death if need be.
Make an independent body with only this job.
Wow, that's fascinating. How the hell do we get that in the title.

Maybe we'll use his name as the label of the translation but without explicitly saying he translated it. That seems approximately what you described.
The ecological problem with skyscrapers is that they're inherently energy-intensive. If you live in the 5th floor you can either walk the entire thing (which is still reasonable-ish), or take a lift 5 floors down and another 5 back up.

If you live on the 50th floor, you have to travel a total of 100 floors every day. You're taking the lift, and taking 10x the energy to do so. Also, IIRC skyscrapers need machine-powered air ventilation which also takes power.

Of course, the real killer might be the embodied energy - a 1-story flat can have a lot less embodied energy than an equivalent-sized 100-story skyscraper, simply because you can build the flat out of low-embodied-energy mud brick, whereas the skyscraper is necessarily high-strength steel with reinforced concrete anchoring underground.

*

But I think we're getting tunnel-vision. This is a social problem, perhaps it has a social solution.

The important question here is: why are some plots of land so much more valuable to live on, than others?

Perhaps if instead of spending money on building more skyscrapers, we instead spent it on decentralising, more people would be able to live in bumfuck-nowhere and that would reduce demand for existing skyscrapers without a ton of energy-expensive construction. There are plenty of rapidly emptying small towns around, after all.

IMO silicon valley is public enemy #1 here - surely the IT industry is more suited to remote working and doesn't need some of the (AFAICT) most expensive housing in the entire US. That really suggests to me that there's a ripe juicy social problem that would dribble out a ton of benefits when bitten into.
Reversible Computing with Fast, Fully Static, Fully Adiabatic CMOS
This has to be the most tortured definition of a histogram: "Now imagine that you were a giant and could “harvest” all the world’ skyscrapers and put them into a jumbo pile—like a child might make a pile of sticks of various lengths. Now in our little game, we pick up each skyscraper (stick) and measure its height. Then we place it in one of several bins or buckets. The first bucket will contain buildings that range from 150 to 199 meters. The second contains buildings 200 to 248 and so on. The last bucket ranges from 788 to 836 meters, and which contains the Burj Khalifa at 0.828 km tall."
> You say inheritance was added to OOP in the 90s.

Looking it up, I think I was wrong about that. Early OOP did in fact have implementation inheritance.

I guess what I should have said is, OOP originally had three legs. One of them turns out to be bad but the other two seem fundamental to large-scale systems programming.

> I'd also like to know why you think REST is disturbingly anti-OOP.

So, this is pretty abstract, but REST philosophy seems to put a lot of emphasis on representations of data while discouraging communication of operations on the data. The way to operate on the data is to GET the representation, modify it, and then PUT it back -- not to POST a message saying "please perform operation F". I've heard several hardcore REST advocates specifically argue against communicating operations, deriding it as "RPC" (which I guess they see as derogatory?).

In practice I think most people only follow this philosophy when it makes a reasonable amount of sense and ignore it when it doesn't.
This is a different criticism than the one I was making, although it's also basically valid.
Thanks to the poster and the slidedeck's writer, I have finally convinced and managed to read the Machine Learning 101 slidedeck [1]. I'd recommend you guys to read it as well, very informative reading.

[1]https://news.ycombinator.com/item?id=15919115
> The high end is for students who are "independent",

Or dependent students whose parents are unable to get a PLUS loan. And for dependent students whose parents are able to get a PLUS loan, you have to add the PLUS loan to the available federal financing. And how much is the maximum PLUS loan? “Maximum Loan Amount: Your child's cost of attendance minus other financial aid.” https://www.govloans.gov/loans/direct-plus-loans

So, the amount available for independent students or dependent students with no parent PLUS loan isn't the maximum loan amount available, it's the minimum. The maximum federal loan amount available, including PLUS loans to parents, is “cost of attendance minus any other financial aid”.

That's why they didn’t talk about a $5,500-$7,500 cap in federal loans.
The POTUS does not have any such lawful authority. And they knew he didn't.
I urge everyone with even a passing interest in Greek mythology to check out The Song of Achilles (2011) and then Circe (2018), both by Madeline Miller. She perfectly combines ancient stories with modern prose, and these are two of my favorite fantasy novels.
IEX does something like this WRT a minimum delay. Tom Scott has a video on it:

https://www.youtube.com/watch?v=d8BcCLLX4N4
This is one of the more promising new computing technologies, and what I find most unique about it is that the changes to fabrication process required are quite minimal.
Witcher is not the first medieval fantasy show or game.

Memes using the Bayeux tapestry were a reasonably active niche a few years ago, I suspect this phenomenon is derived from that.
"I propose a coalition of organised crime, white collar criminals, and recreational drug users (excluding, of course, any members of those groups who are currently or have previously served as LEO) - to form a tribunal and rotating panel to oversee and investigate police misconduct."
Anti-groping stun gun shorts
One is open source and updated, and includes encryption.
Those were probably the same teachers that told you that you wouldn't always have a calculator in your pocket.
>"and the way in which America has cleaved into two separate information universes, with a conservative media ecosystem amplifying falsehoods that then take root."

The "Leftist" media ecosystem is just as guilty of this. The number of falsehoods spread about Trump is staggering for those who keep track. This disinformation may even be more damaging because the anti Trump media (basically all major news and media) has a far greater reach than pro Trump media.
It’s Time for a Uniform Code of Police Justice
and neither are comparable to china, and yet the overarching idea, that strong government restrictions on the populace could drive said populace to be better educated in the use of ways around those restrictions still holds for all three.
No.

https://docs.syncthing.net/users/faq.html#why-is-there-no-io...
Airbnb declines takeover by billionaire investor Bill Ackman's SPAC
I would imagine because it's much easier to read. What does '!!" Do again I just thought :)
You need to walk through your assumptions about how the algos are “shaving” off humans.
If you're saying that the idea of namespacing together a data structure and functions that operate on that datastructure is OOP then I have to disagree; plenty of other paradigms do that. Likewise the idea of polymorphism: plenty of paradigms can express an interface for "can turn into a string" (and I think the idea that every object needs to support this is a mistake). The part that's unique to OOP is encapsulating mutable state in an object, and that turns out to be a mistake, IME.
You need to notice the connection died and do that manually, or think ahead and have your script do it in a loop. A bt client already has the reconnect logic. And it will hash the contents to make sure it worked correctly.
States willing to call a constitutional convention almost have the numbers to do it at this point and they lean hard right.

https://conventionofstates.com/
#WWPGD
It’s not human scale though. It’s “big market participants computers scale”.
Isn't this what SPDT and other RF switches are designed to do?

Obviously impractical for a KVM switch, but I wonder if you could build one out of 20 of these.
I found it was usually older teachers who were authoritarian luddites. I don't think it was a coping mechanism, I just think that's how they genuinely thought the "real world" still works, as they had been teaching for 40 years and had no idea what non-teaching jobs and university were actually like.
There really needs to be a name given to this "the left is just as bad, but actually, they're even worse" meme, as common as it is.
At this point I'd recommend starting with Manjaro. Nothing compares to the AUR.
I hear stuff like this, but FoxNews is the most popular news network on cable, WSJ is a popular news paper, Murdoch's media empire is deep and entrenched. Surely there is some bias in the non-right media ecosystem, but it is nowhere near as crazy as the right wing, its like comparing criminal justice in the USA (not perfect) to China (not perfect on a very different scale).
> "Which me are you asking?"

You, of course.
Okay, let's talk about that USB switch [1], because I was looking for one a few days ago and discovered something ghastly about the majority of the ones available on Amazon:

Most of them use a USB Type-A to Type-A cable for the link between the switch and PC.

This cable violates the USB spec, and is the moral equivalent of an electrical cord with prongs on both ends. It should never, ever be made or used, because plugging one of the ends into the wrong receptacle can destroy both USB ports.

The correct cable to use here would be a standard Type-A to Type-B or Type-A to Micro-B cable, but for some reason a very small minority of these switches do that [2].

WTF is going on here?

[1] https://www.amazon.com/gp/product/B01N6GD9JO/

[2] https://www.amazon.com/gp/product/B083JKDNRJ/
The heart of the problem isn't with HFT, it's that an order book isn't reflective of real supply and demand. A human realizes that, while HFT algos sometimes don't.

For example, no one is listing buy orders for Apple at $1, even though everyone would love to buy Apple stock for one dollar. A human trader has enough sense to realize that most liquidity in any marketplace is off the order book, and act appropriately.

But even so, I don't anyone really believes that HFT creates higher average market volatility. Some freak occurrences have happened, but I'm sure they'll go down over time.
I think you're probably pretty safe as a private individual doing this for fun or as part of red team ops. If you launch a worldwide dragnet for this kind of data and then publicly use that data as part of your commercial offerings, the story changes somewhat.