skysight-inc/HackerNews huggingface dataset:
I find conda far and above the best tool to manage python packages and dependencies. Being able to concisely contain all Python and binary dependencies together is invaluable.

I recently wrote about it as blog post, using conda within containers has solved almost every pain point we had with python packaging and how to get things into production reliably.
The Forbidden Forest
Am I correct to assume all the designs are for US Letter paper?

(And not the A4 size common in the UK and elsewhere. http://betweenborders.com/wordsmithing/a4-vs-us-letter/)

I remember the frustration as kid getting a book of designs from the US and having none of them work quite right.
None of this is tied to Cloudflare though. Or really to using a cloud provider at all. Of course, if you're not using a cloud provider, then the IP address can be used to figure out what the site is, but the point remains that you can pick from any cloud provider that supports ESNI (and, separately, pick from any DNS provider that supports DOH).

At the moment if you want ESNI it looks like you have to use Cloudflare, but the solution to that is to encourage other cloud providers to support ESNI rather than to decry the notion of ESNI.
Programming languages that support pattern matching support decision tables. This is an OCaml port of the FizzBuzz example (fixing a mistake where the result of the modulo is compared with T and F):

match n mod 3 = 0, n mod 5 = 0 with
| true, true -> "FizzBuzz"
| true, false -> "Fizz"
| false, true -> "Buzz"
| false, false -> string_of_int n

This a "cleaner" version that takes advantage of wildcards (which appear in the article, but not in the FizzBuzz):

match n mod 3, n mod 5 with
| 0, 0 -> "FizzBuzz"
| 0, _ -> "Fizz"
| _, 0 -> "Buzz"
| _, _ -> string_of_int n

Note that the article states, "two rows can’t overlap in what inputs they cover," but in case analyses expressions of PLs with pattern matching, two rows can share a non-empty set of common matches and the higher row will take precedence.
This is the tech they're using

https://www.vision-box.com/solutions/travel-and-border-contr...
It's immensely helpful.

Stuck in a rut designing your type hierarchies and making sure they are perfectly SOLID? STOP. Write the simplest, most clear and concise thing that works, refactor it once it gets too big to fit in your head.

Not sure if your AbstractFactoryBeanProxyImplImpl is generic enough to cover all use cases? STOP. Write the simplest most clear and concise thing that works, refactor it to adapt to more problems as needed.

Tired of fighting your type system because your stuck in a wheel of is-ha has-a is-a has-a? STOP. If it acts like a duck, and quacks like a duck, it is a duck! Write a duck!
> Sure, the general consensus is that inheritance is better achieved through composition.

This sentence does not make sense.
If you want to have a class composed of two other classes, whose behaviour is defined at run-time - say, a generic "Engine" object which is composed of a "GraphicsRenderer" and an "AudioRenderer" where the first one can be a D3D renderer or an OpenGL renderer and the second can be an XAudio or OpenAL renderer, you have to have inheritance somewhere, because you have to store at least one function pointer at some point. std::function in C++ is implemented with inheritance. Rust traits are based on inheritance. However you look at it, you can never completely "get rid" of inheritance if you want to hide both code and data behind a single pointer. Hell, even the linux kernel written entirely in C reimplements vtables by hand for device drivers because it makes so much sense.
I agree with you. It has always been my hope that these oversights are a direct result of the projects struggling to find a baseline level of value rather than any underlying lack of forethought.

The level of security and approach to security will largely correlate to the types of messages that such a system ultimately needs. This sounds obvious, but I think it really isn't. In a world of self-driving vehicles with lidar + optical sensors, how much v2v communication is required beyond the sensor data?

Until that question is answered, it might not make sense to primarily focus on the security and reliability of said data.
Dividend stripping
The Opus project is one of those Arthur C. Clarke technologies.

> Any sufficiently advanced technology is indistinguishable from magic.
There's a good chance they will
For those who can read Italian:
https://www.repubblica.it/economia/2018/10/18/news/cum-cum_l...

The "easy credit" investigation can be traced back to 2005 (already 13 years ago).
FDR and Trump were/are both demagogues, bombastic. They both pushed/are pushing the boundaries of what they can get away with. There, I agree. But I think there are some very important differences that make one less tolerable than the other:

1. FDR was clearly an intelligent person. He was fluent in at least 3 languages, wrote his own speeches, etc. Trump speaks at a 4th grade reading level, and rarely speaks in coherent sentences (unless he's reading a speech someone else wrote for him).

2. FDR actually won the popular election. And by a pretty substantial margin. Of these two presidents, FDR could argue he had a mandate to push his agenda. Trump lost the popular election, and is still pushing his partisan policies hard.
Ask HN: I just started blogging; how can I improve?
Hi !

So, after maybe over a decade of almost doing, half-heartedly doing it, starting and stopping, I've finally committed to writing and sharing my thoughts and experiences, and here it is: https://weekly.elfitz.com !

Subdomain is on purpose. I guess I believe it will contribute to commiting me to consistency ^^

It's just two posts, but I've never been so consistent in writing.

So, what is your opinion ? Your takeaway ? How could I improve ? What should I keep doing ?

Thanks, and have a great day everyone !
I wonder how outdated/lagging these studies are.

When I was a kid I was reading nearly every waking moment between say 3rd grade and 9th because It was the only form of entertainment I had (until I got a computer). That is because my parents thought that TV rotted a child's brain and didn't have one in the house until after I left.

Today, my kids read, but they have phones, TV's, computers, and a ton of other distractions that have proven nearly impossible to control without an outright ban in the whole house.
> Electron apps... there is no way to automatically build Electron apps for any of the BSDs.

This is one of many reasons not to use Electron. Claims of Electron portability are a sham.
Android  Popular Social-Video Chat App
IETF standards require prior implementation and testing.
> The discipline’s most prominent statistic, gdp, is gross (as opposed to net) because it leaves out the cost of wear and tear.

Net domestic product is an interesting concept that I haven't considered before.

The Fed appears to track it somehow, despite the difficulty in measuring it, as the article mentions. Here is a graph I configured on the St Louis Fed site that compares GDP to NDP:

https://fred.stlouisfed.org/graph/?g=lErT

In general, it seems to track GDP pretty well, although recently it appears to have gotten closer to GDP, though I don't have any idea why.

The article's comparison of "wear and tear" as a % of countries' GDP is interesting.
Since lower income countries (China, India) often have a lower standards for acceptable maintenance level in both the public and private realm than wealthier ones, it kind of makes sense that they spend less of their GDP on wear and tear.

Also, a lot of the expensive modern infrastructure (airports, freeways, etc) in those countries is relatively new, so a big repair bill might just be further down the road (no pun intended).

Britain in this view is an anomaly, being a high income country with low maintenance spend as a % of GDP.
>better than anyone at the time

Really? The trick is... no less than 2k years old, no Dzerzhinski was around king Herod's time
Or, you know, for people who can't afford to buy.
lol I would rule that the other way SO hard. Outrageous.
The thing you're ignoring here is that Amazon was working to the genuine benefit of the sellers, and eBay's behavior is something aiming to indirectly 'harm' their users insomuch as they aim to prevent information users would likely want to see from being given to them.

The store example is fairly close, except that physical trespass would create a major disruption and interfere with the regular operation of the business. More appropriate would be a person standing outside on a public sidewalk handing out fliers advertising better prices at a nearby store than the ones inside the store customers were about to enter. And no, I don't think anybody would find that unethical.
I think most parents with large household libraries are probably pretty bright. And most kids from pretty bright parents are pretty bright too.

You could fill a library with all the studies that tried to improve people's lives through increased reading. And none of them replicated in large way.
While ideally that may be the case machine learning is infamous for its false positives even without malicious actors causing toy turtles to be seen as rifles. Even if it has advanced enough to not see desert landscape photos as nudity.

Relying on inaccurate information is more dangerous not less. Not to mention the potential pretextual abuses - drug sniffing dogs are infamous for being trained to be four legged probable cause and field drug tests are a sick joke that makes a mockery of chemistry akin to declaring anything with a PH below 5 is an explosive because picric acid is an explosive.
I think you are conflating OOP with type erasure. Most OOP languages support type erasure (including rust!), but that's far from all there is to it.
There is literally nothing stopping the wealthy from giving away their money. It's just that they don't want to give it away, they want to control whatever it is they are "giving" it to. If they could learn to let go, that would be one thing.

Also, the attacks on capitalism are so lame. I've never in my lifetime lived under capitalism, and certainly the crony-capitalism we have or corporo-fascism, or whatever you wish to call this, is not aligned with favoring the individual. It is winner take all pretty much. Under true capitalism, at least bad decisions by CEOs, bankers, and lawyers would eliminate them. Instead, they get huge bailouts and keep right on screwing us over. That's the exercise of power.
Some of these look so similar to the ones I used to design. We used to call a single "swoop" where it would go down and glide back up a "neener-neener". The peak of our design was the "neener-neener 9", which I recall would do a full 9 neener-neeners on a blustery day.
Angular 7.0.0 released
All GPS satellites are in a geosynchronous orbit.
Show HN: Podcast downloader command line script in Python
Like native JSON support?
> You can choose language that exposes thread-safe aspects of your problem domain without requiring the user to be aware that they are expressing things in thread-safe terms.

What's a couple orders of magnitude of performance and some heavyweight link time dependencies between objects?
Those typically require a full merchant account, don't they?
Amazing software! definitely using it ! So much better than trello!
I think blaming "intellectual property protection" abstracts this a bit too much. There's real human effort on the other side, not just a concept.

Companies not wanting things to be repaired is a major inhibitor of repair. Those companies push for those laws, but they often do other things too to make it hard.
Healthylifestyleaby
Sure you need some timing features, but that doesn't mean you need a cycle; for example, grandma could press a button to get the crossing light green during times of low pedestrian movement, rather than force cars to burn gas waiting on useless cycles.
You can't. Artists cannot divest themselves of future moral rights via contract. If you want to change a work, you have to go back to the artist each and every time. If artists could simply lift them, moral rights would be just another thing waived in every sale. But moral rights are not copyrights. They cannot be used to prevent future sales (ie first sale doctrine).
Hey - can you email me please (in my profile)
Watsi (YC W13) is hiring software engineers
I haven’t seen a practical use of DL or ML it is all over hyped. The biggest problem- nobody seems to understand what happens inside the Neural Network and why it works at all. All what NN are doing is tweaking weights till they match the desired outcome - all this very fast. But without deep understanding of how it works I doubt it would progress that way. Fact is after first evaluation at MIT it was decided it is feasible in 5 years to achieve desired outcome- now we are 50 years later at the same point with the only difference- fast hardware for matrix computations. The software is producing very fast a black box model which nobody understands.
Someone with 15 years programming OOP told me once: here is the best way to describe object oriented programming: you asked for object “monkey”, and you got the whole jungle, as well as monkey’s bananas.
Unless it's some one off batch process or a prototype, if the codebase doesn't last at least six months then it's unlikely to be something that makes any money.

In my experience, badly designed code tends to become a net loss after a couple of months because after that time someone is going to have to modify or fix it.
Thanks! While here is not the right place I always welcome corrections not only about my English but in general, corrections and constructive critics are a fundamental and terribly effective ontological path :-)

A thing these days we somewhat lost unfortunately...
> It’s important to note that VTL technology ... let[s] nearby cars communicate wirelessly. DSRC developers envisioned various uses, including electronic toll collection and cooperative adaptive cruise control—and also precisely the function we are using it for, intersection collision avoidance.

I really hope that vehicle to vehicle and vehicle to infrastructure communication is architected to preserve privacy. I really don't want my car constantly transmitting its license plate number, VIN, or even a randomly-generated GUID all the time to all comers. If it does, it'll end up being like having a license plate reader at every intersection and on every police car: your movements would no longer have any privacy.

However, it's probably a super-hard engineering problem to build a privacy-preserving vehicle communication system, so it's unlikely it'll be done.

> The principle behind the traffic light has hardly changed since the device was invented in 1912 and deployed in Salt Lake City, and two years later, in Cleveland. It works on a timer-based approach, which is why you sometimes find yourself sitting behind a red light at an intersection when there are no other cars in sight. The timing can be adjusted to match traffic patterns at different points in the commuting cycle, but that is about all the fine-tuning you can do, and it’s not much. As a result, a lot of people waste a lot of time. Every day.

Isn't that false? Aren't a lot of modern traffic lights equipped with induction loops in the road surface [1], so they can detect if cars are waiting?

[1] https://en.wikipedia.org/wiki/Induction_loop#Vehicle_detecti...
That is correct, 1776 is the year the US signed the Declaration of Independence, and is considered the year the USA was created.
OOP is linked strongly to mutable objects, which is inherently thread-unsafe. Sure you can get thread-safety in OOP, but it’s hard. It’s the same reason why global variables are bad but worse.

Mutability is rarely needed and often makes things more complicated than needed.
Yes. It's an extremely Heinlein choice; he's regarded by the sympathetic as having been highly patriotic, by the unsympathetic as virulently nationalistic.
Harvard Dean Ignored Report on Factors Affecting Asian-American Applicants
Big previous discussions:

https://news.ycombinator.com/item?id=14133647

https://news.ycombinator.com/item?id=9396116
You prefer strangers running away with your credit card?
'Snapcrap' App Developer Hopes to Help Clean Up San Francisco Streets
I haven't taken the time to write this up, but one of the handy things about OpenBSD is you can take a small 16GB USB stick, format it with one small FAT partition and copy the installer to that. Then you boot the installer on your Ubiquiti Edge Router and install OpenBSD to the unpartitioned space.

With a little work you can have your own caching DNS server including domain blocks for tracking sites and if you want privoxy or a squid proxy. It's also easy to set up your own root CA and switch over to certificate-based authentication for wireless clients as long as the wireless base station supports radius.

I haven't published a tech note on it yet because Android still complains about importing self-signed certificates even when you import the root CA.
Apple announces October 30 event
> Are you saying you think the size of the display is a primary cost center for phones, so small screen phones would have a substantially cheaper bill of materials?

Not exactly. The way this phone is being marketed is very strange - this phone is designed as an "add-on phone", it can only be used as an add-on to an existing line.

As a standalone phone $350 isn't too bad, but asking people to pay $350 in addition to whatever they want to pay for their "main" phone is a little much.

They're in Apple Watch territory with this pricing and I don't think they have the ecosystem to demand that kind of price.
The US military sells itself on being incredibly capable thanks to developing and fielding cutting edge weapons technology.

It is actually capable because it is extremely effective at logistics and maintenance.
Or… if you're talking about languages like C# and Java (and presumably C++), just make sure all of your classes are either sealed or abstract. This turns classes into proper algebraic data types.

To wit, implementation inheritance gives you a sum type (e.g. a Shape is either a Circle, or a Square, or…) whereas interface inheritance gives you a product type (class Foo : IBar, IBaz means that Foo is an IBar and an IBaz).
It sucks here. You'd hate it. Air quality can get bad in the salt lake valley.

(Please let me buy a house before you come wreck prices)
EU has become the kind of dictatorship it aimed to defeat
What's the problem with roundabouts for pedestrians? I live in a country with a lot of them, and I don't see why they would be worse than intersections.
DoH must be bootstrapped somehow to get IP addresses to make requests to. This is where it can be blocked. Either blocking DNS query or a known IP address or just an IP address with suspiciously tiny responses that responds to active probing requests as a DoH server. It's very hard to hide that fact, you need to actively fight those blocking attempts. And if it's done by some government, corporations just bend over backwards to help censorship, like they did in cases of Signal and Telegram recently for example.
> For rewards, it mentions giving awards and publicity to model individuals and companies. Various sectors will have “green lanes” given to “those with integrity and credibility”, for priority and simplified processes. Note that this section does not mention scores, it merely says “诚实守信者”, meaning people with integrity and credibility.

Scary. I will say with all of the "vague context", "it appears", "I don't know", etc that this post is as speculative as the Western ones. I appreciate the impartial tone of the article. To the author, would you care to share your opinions on the system personally, i.e. whether it's a good thing? Also, do you have any anecdotal insight on how common citizens view it behind closed doors?
Except for the fact that objects can be serialized and ORM's exist to convert your data into OOP. How do you think Entity Framework works? How do you think Rails works?
You can build almost an entire ORM from a database without even writing any code in Entity Framework.

> And if you want to use other people's objects (say from a library) you first have to make a layer that translates them from your own objects

Funny, I've been using .NET framework objects without any type of translation. And the point is to use inheritance to mitigate the translation.

Don't blame the model for its poor use. If there's no way to get the data you need, then that means the class was designed so you didn't actually need it or there are other ways to get it (i.e. through an interface).

>Clojure gets it right and that's what I use.

Except Clojure uses OOP principles and even admits to saying it uses immutable objects in the form of interfaces. Interfaces are essentially stripped down abstract classes. How this is not a subset of OOP, I don't know.

I'm sure Clojure is great, but can you write interactive applications with it without integrating OOP libraries?
Become a Monk (Part 2): Afford Anything by Living Frugally
I’d also love to see the design!!
I'm an American who spends a decent amount of time in western Europe, to give you where I'm coming from. At high-end meals it is just like everything else with the service; if done properly, it is just as smooth and elegant as the rest of the meal. I actually prefer the single "interruption" of pay and depart (or not, considering most European dining styles involve a suitable amount of lingering even after payment) versus the request check, check delivered, payment method retrieved, ticket returned for signature series of steps, possibly including an optional return for the server to pick up the signed ticket prior to departure due to some back-of-house requirement.
Craig Newmark Is Working to Save Journalism
Stripe is eating their online lunch? They go to different cafeterias and eat different cuisines
"You would hate it! They treat homeless people like human beings. It's an outrage!"

("I'm helping" -- quote from when my son did something stupid at age 5 that we still reference.)
Tech conferences with childcare
You're quoting Joe Armstrong, creator of Erlang

> Because the problem with object-oriented languages is they’ve got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.
Canada switched to that sort of system when chip+PIN was introduced many years ago, so the hardware is available in North America as well from major providers like Verifone. It's just that you need more terminals for concurrency with such a system, and it's not integrated into the full POS system so the waiter/clerk has to actually input the amount. Nobody wants to pay extra if they don't have to, which is why it's not as quick to rollout in the US. Chip+signature in the US still doesn't require the customer to interact with the payment terminal, so I doubt US restaurants and other businesses will be quick to switch to this or other handheld terminals.
The fun thing is that even in the US it was only in the last few decades that the effects of lead poisoning was fully understood.
The actual garage where Google started
There is also GNU Shepherd[1] on GuixSD[2], a declarative init system, without systemd's million-plus lines of shitty code[3] and massive scope creep into everything that you can (but probably don't need or want to) do on a computer.

[1] https://www.gnu.org/software/shepherd/
[2] https://www.gnu.org/software/guix/guix.html
[3] https://www.phoronix.com/forums/forum/phoronix/general-discu...
I generally agree with you, but the justification is basically the 9/11 effect:

If a bomb goes off in a subway train or bus, the people in that vehicle die. If an airplane crashes into a building, significantly more people could die.