skysight-inc/HackerNews huggingface dataset:
I refer to this a lot in my discussions about application architecture, but Domain-Driven Design is the core of my belief system. It's not a silver bullet as there are often times when it's unnecessary, but for any complex system, it's a very important tool.

So as with any architecture, you start with "it depends".

Is the system a simple CRUD application with minimal integrations to other systems? In this case, just use your best judgment and build it as simply as possible. A data-driven approach is economical and perfectly acceptable for this kind of system.

Does the system require integrations in and/or out with other systems? In this case you'll want to understand those integrations clearly before proceeding because they will have an impact on how you develop the system. If the integrated systems are unreliable or work in unexpected ways, you may need an anti-corruption layer to buffer your new system from the older systems.

Now. If the new system is complex with many integrations, you'll want to move away from data-driven and into domain-driven design. You'll want to explore bound contexts, relationships in between them, translation layers, root aggregates, value objects, and event messaging. All of this is detailed in Eric Evans' book and further discussed in other books like Vaughn Vernon's "Implementing Domain-Driven Design".

I'd also highly recommend learning Event Storming as a workshop to clearly understand a system and identify strategic opportunities.

But the overriding concern I have for data-driven design is that data, tables, objects doesn't always align with a bound context in a one to one fashion. You may (will) likely have several models for the same context. For instance, "user" seems to be a singular object/domain, but it can have many contexts (employee, external, internal, vendor, sales, support, manager, etc). Each of these contexts carries different meaning and therefore different models. Our past object-oriented philosophy was to build do-everything objects with interfaces to manage complexity.

In Domain-Driven Design, you would actually create separate implementations for each model. (employee service would different than vendor service even though the underlying data may have similarities).

And before we go down the relational database avenue, you have to realize that relational databases are a product and solution, not an architecture. It is convenient for reporting and aggregation, but it actually is an anti-pattern for building transactional systems. Transactional systems are often better suited to key/value, NoSQL data stores. (not to say always, but often)

Lastly, a business domain is defined by its data and behavior. You cannot separate the two and I'd argue behavior takes precedence when designing an architecture.
I never liked the Macbook. I think if they rename the Macbook Air as Macbook and keep that similar form factor I wont have complaints about that.

The Macbook Air was their smallest laptop, this became the opposite when they brought those smaller Macbook Laptops since otherwise they would of just had a rename. I dunno why they didnt just rename the line up. Then they coulda called those smaller Macbooks the new Macbook Airs.
All the protections that help the machine survive in non-compromised state in a hostile environment. I think of stuff like not giving random users permission to write over system files or give processes access to peripherals (camera, microphone) without explicit user consent.
On the other hand, they are extremely good at finding bottles of water and taking those away. Either the TSA agents are always dehydrated, or they figured out that all terrorists drink water.
”It's difficult to have a constructive disproof of the claim that a particular number is rational. What would you construct?”

Nitpick: an irrational number that is equal to the number that you want to prove not being a rational.

Because the irrational aren’t closed under the ‘normal’ operations, that’s often problematic, but, as a trivial example, proving that 1/37+3√2 is not rational can easily be done that way: √2 is irrational, and the sum of a rational and an irrational is irrational, so 1/37+3√2 is irrational.
The fact that airplane fuel wasn't as heavily taxed as gas was actually one of the arguments of the gilets jaunes. "We're poor and we can't buy gas to go to work, meanwhile rich people fly to the Caribbeans with subsidized fuel."

Keep in mind that, AFAIK, traveling by plane is significantly more mainstream in the USA (probably due to the huge distances and lack of viable alternatives) than it is in Europe and specifically in France.
Without uBlock Origin on mobile Firefox, I guess I'll just stop visiting websites on mobile devices entirely. They're unusable without ad blocking.
The slimy bit always bugged me. I eventually got over being grossed out, but I still hate that so much of the bar is wasted.

I'm not sure how well each of them will work, but I bought a few different bars of SheaMoisture soap and am mega pleased that the first one (https://www.sheamoisture.com/100-virgin-coconut-oil-daily-hy...) has yet to produce any soap slime. It's the only soap I can recall using that hasn't.

FWIW, I keep it vertical (sitting on the smaller end surface) on a flat shelf in the shower and not in a dish.

I have a good impression of its economics, too. I mostly just use it on my armpits and find a single up-down swipe of the end of the bar per pit produces enough lather to clean each pit and anywhere else the sun doesn't shine. I've been using it for like two months and it still looks like a full bar of soap.

For the past couple years I have been looking to cull/replace shower gels/shampoos with products that have fewer dicey ingredients per the EWG database, and none of the others can compare with how well this one controls BO (both absolutely, and in terms of the amount of time/effort I had to put into washing them with something like Dr. Bronner's to even be able to put up with my own smell.)
Open Source Autonomous Drone System
No, Instagram doesn't automatically let you post stuff to it in any way.
Ask HN: How does UBI square with libertarian values?
Or if you're not a libertarian, how does UBI square with beliefs such as:

- Private property must be inviolable.

- Free markets are the best arbiters of truth, including how it determines what each person is worth.

I won't comment; just want to listen.
I read HN for the articles.
As an american who's taken the day long (not high speed) trip from Boston to DC, I was amazed how fast and easy to deal with the French Rail was. I only took Paris->LeHarve and Reims >Paris routes. But wow! The subway in Paris worked pretty well too.
Author here! One of my side projects nearing completion. Terms/Privacy statements are underway so please bear with me for now.

Looking for some advice on getting the dialog as fluid as possible (I'm using dialogflow on the back). Especially address parsing seems like a tricky field so any feedback on this would be most appreciated!

The WhatsApp REST interface will be open-source once fully tested (heavily based on: https://github.com/Rhymen/go-whatsapp).
From https://www.ofcom.org.uk/about-ofcom/latest/media/media-rele...

"Latency was more consistent than the other measures across the 4G networks tested (an average of 53.1 milliseconds)."

I do work for a UK mobile company and was in a presentation about exactly this. 5G means more realtime.

Yes, 4G _can_ do lower latency, but in general it doesn't, especially in built up areas, where 5G beamforming outperforms .
It's more than just pseudoscience. There are reports of animals being able to predict earthquakes before they occur, and even records of other kinds of electromagnetic activity before quakes.

I worked on a project at Stanford that set up EM sensors around the bay area to possibly detect signals before major earthquakes.

I mean, right now it's all purely hypothetical but it's absolutely worth trying to find it if it's there, and compeltely within the realm of worthwhile science.
"I do not know of a commercial airport without a train station"

Leeds Bradford

One is planned to be built though.
Perhaps, but it's still really cheap to take a weekend flight, and alternatives are available. Seems like a valid issue to tackle.
Please don't mock objects if possible. Prefer real, then fake, then mock for testing error conditions that "cannot happen" during normal operation that you can't force of fake in tests.

https://medium.com/@CDehning/when-to-use-fakes-instead-of-mo...
It’s a different era, when not literally everything was being done online yet. We’re now (possibly) shifting into an era where the most profitable modus operandi will need to be different, doesn’t mean it was a bad choice at the time
That's too bad, the site got my hopes up when I saw the 'unlimited size' capability. It's really limited by the size of the target.

If you have any desire to support this kind of usage, I for one don't actually care what happens after the backup. It would not be an updated backup, just a copy the files to a set of disks fresh every so often.

In addition to the target not being a limiting factor size wise, using independently mountable non-spanned/raided/etc disks can simplify recovery and improve recoverability of files long term. Even if a few disks fail in storage, the files on the others are perfectly accessible without special software or hardware, and if multiple backup disk sets exist, the total number of files lost would likely be very low.
Hey andymoe. I am one of the recruiting managers here at GitLab. Candidate experience is important to us and we want to make sure our process reflects that. If you would be open to it, I would like to schedule some time to chat with you. I want to understand what may have happened as I am not aware of any part of our recruiting process that resembles what you have mentioned.
The reactions in this thread really show why I'll never want to become a politicians. Half of the reactions here are "that's a regressive tax that'll kill our freedom", the other half being "that's not nearly expensive enough".
What IRCs Me: Mastodon
Layover flight.
use KDE and enable global menu. You would feel more similar to OSX
But it does contribute explicit demand for it. And there's only so far you can ship it. It's not international like carbon offsets.
If the source you're citing is Oxfam's report on Extreme Carbon Inequality[1][2], which was widely reported as saying that the world's richest 10% produce half of global carbon emissions, that is incorrect. If you read the PDF, they're only looking at estimates of "lifestyle consumption emissions", not total emissions. From the PDF:

> Emissions associated with consumption by governments, capital and international transport are therefore excluded. The proportion of total consumption emissions attributed to the lifestyle consumption of individuals varies by country, but globally accounts for around 64% of the total.

> Oxfam’s estimates should only be considered indicative of the orders of magnitude, but also as conservative...

The report also says that women are hit harder by climate change than men and disparages "carbon baron billionaires". Petroleum companies aren't growing faster than the rest of the economy, so it's unclear what argument they're actually making.

Such blatant misrepresentation and pandering caused me to lose trust in Oxfam.

1. https://www-cdn.oxfam.org/s3fs-public/file_attachments/mb-ex...

2. https://news.ycombinator.com/item?id=19995922
I think the gov went in the wrong direction here, the tax for flights within France should have been the highest, to give more incentives for using the train, which is quite good (and very good when travelling to/from Paris).
Just make it localized in the region language only for that price. Ok, doesn't work with Nigeria, since they speak english. But it would work in Asia, and in a lot of other African and south American countries.
Yes... is it possible the other two are niche because we can't do them with the current infrastructure?

Computers used to be niche, not everyone had one. That's not how technological progression is made though.
On distances like Lisbom to Paris trains can't compete on time, not only on price. There is no way a train can be made faster with the current technology (hyperloop: let's wait and see.) I think nobody goes from Lisbon to Paris and back by train to spend a weekend there.

Of course if flying costs more people will fly less.
I remember him as the guy who did everything he could to save employees stuck in Iran, two of whom were imprisoned, during the revolution.

He didnt go rescue them himself, but he funded the rescue and was personally invested in the rescue.

Not many CEOs would do much more than pay some K&R firm to negotiate a ransom/bribe, while simultaneously getting the lawyers to work out how little each life is worth they need to settle with the families.

RIP Mr. Perot
Oh yikes, the ice cream / cheesecake of human emotional expression, this will disturb me.
Sorry, but you actually sounds like one those people who dosen't really know how FP work.

> I shudder to think how many e-commerce sites use `float` for financial transactions!

The float IEEE-754 represent up to 9 decimal digits (or 23 binary digits) with precision. The double, represent 17 decimal digits. The error upper bound is (0.00000000000000001)/2 per operation. Likely irrelevant for most e-commerce.

Also, the database stores in currency values using fixed point.

> Intel chips have had BCD support in machine code

BCD is floating point encoding not fixed point. AFAIK, only Intel supports it and very precariously.

> I'm surprised nobody has made a decent fixed point lib that is widely used already.

Nonsense. If you do any scientific computation you have likely have Boost, GMP, MPFR installed in your system. They support arbitrary precision arithmetic with integer (aka fixed point), rational and floating point.
If you're seriously soliciting HN for questions, then make sure to record yourself asking questions you pick here so we can hear FB's response.
Extensions is the ONLY reason to use Firefox on Android. It's not good browser compared to Chrome on slower Android phones, apart from being customizable.

To me it's even the single biggest reason to use Android over iOS as there's no full featured browser on iOS.
I was curious enough to play out how much that chunk ended up being worth.

Perot reportedly acquired 16% of NeXT for his $20M investment[1].

I don't know the details of the cash/stock split but Apple ultimately acquired NeXT for $350M after paying off its debts[2]. That's $56M for Perot if he maintained that 16% stake.

If he kept it all in Apple stock (unlikely I know, but fun to play this out) he'd have had about 2.3 million shares of Apple at the time. AAPL has split 28X since then[3], so if he held it, today he'd own 64.4 million shares. Total present-day value, not counting significant dividends in the meantime: $12.9 billion.

Really, it doesn't matter if he kept it. By the uncaring math of Wall Street, that $20M investment ultimately generated $12.9 billion worth of value.

[1] https://www.nytimes.com/1987/01/30/business/company-news-per...

[2] https://www.cnet.com/news/apple-acquires-next-jobs/

[3] https://www.fool.com/investing/2016/08/10/apples-stock-split...
None of what I've read today on his passing have mentioned this interesting story of the rescue of his employees from Iran during the revolution: https://en.wikipedia.org/wiki/On_Wings_of_Eagles

A mini-series was produced about it starring Burt Lancaster
I shared this because the linked page gives a detailed description of the Strong Towns Hiring Process, which is pretty unique. There is a link to an open job on this page, but not one I think most of the HN crowd would be interested in.

I occasionally run into processes like this in software world, where the goal is to be open to a wide range of candidates you might otherwise overlook. I think most of the HN crowd is also very interested in hiring for capability rather than credentials. I find the process used at Strong Towns a pretty interesting example of that.

The dynamics are obviously different when you have a job with a large pool of interested people, versus software these days where it’s a large pool of jobs and not so many candidates, but still a neat process to think about.

I’m on the Strong Towns board and have participated in this as a reviewer several times, so I’m happy to answer questions if you have any. Cheers!
That's not a bad idea either, although I'm sure I'd get even more questions as to why all my outlets were on their sides!
Also those 1-gang boxes are more expensive...
New Privacy-Preserving Captcha Service: NetToolKit Shibboleth
Happy to chat. Email is in my Profile.
I recently had a phone interview where the other person kept asking me about my life. It wasn't the typical things you normally hear about career goals or ambitions, it was very philosophical. I was quite literally asked about what my purpose in life was. It gave me pause because I was surprised that they would ask such a question at all.

This was a job doing data analyst work. I would not take the job even if they come back with an offer just because it was such a weird interview process.
That brings to mind a hypothetical dysfunctional yet oddly workable system of deputization akin to ADA compliance lawyers - registered hackers able to hack and cite for violations to receive a fine portion - perhaps with a bonus for fixing on the way out. Also very cyberpunk in a satirical "Snowcrash" way.

Not saying that we should adopt such a system, potentially terrible idea but it amusingly is better than other "do something" legislation in that it would actually help the target problem even if there are clear downsides.
You have to look at it from the perspective of the CEO and C Suite. For them they likely don't really care about harm done to whoever had their data compromised, but what they do care about is their bonus. They likely have detailed bonus tiers and if this fine reduces their bonus and incentives then it is likely that change will occur. In many / most large companies, C-Suite pay and the bonus structure is the major driver of all corporate decisions.

For an example, just look at the recent US corp. tax cut. One time bonus to employees and then repurchase of company stock to boost the share price and in turn boost executive level rewards.
In related news, a model railway (we are talking HO/OO gauge) was trashed a few weeks before this incident. Rod Stewart - himself into trains - decided to donate extremely generously to make things better:

https://www.theguardian.com/uk-news/2019/may/20/rod-stewart-...

Regarding the actual story - where they could have done with Rod Stewart donating - those trains really do take five to ten years to build. You can get castings of some parts such as wheels but then you need to put them into the lathe and do many other processes to get the finished article. Even with an 0-6-0 train that is a lot to get right.

Getting a boiler built and tested is a major landmark in the whole process. There is as much to put together as on a full size 'prototype' train as on the model version, some parts are actually harder to make in miniature.

Incidentally 'prototype' is the railway modelling term for a full size train. This could definitely be used in software engineering, e.g. if making a MAME video game cabinet the original from the 1980's could be the 'prototype'. If getting things like the buttons right happens then they could be commended as 'prototypical'.
In the U.S. unfortunately the vast majority of ISPs make hosting your own services a direct violation of their terms of service. And worse yet, the U.S. - at least in many, many of its regions - lacks competition to jump to any ISP who would allow "at home" services. It really sucks here in the U.S. - at least for this kind of stuff.
Hi all,

We are launching an alternative CAPTCHA service and we would love your feedback. We've developed some unconventional puzzles to entertain your users, and you can also review your users' solutions to see if the challenges are too easy or too hard.

We are particularly interested in feedback in two areas: 1) if your team would consider using our services, please let us know what needs to change in order for you to actually make the switch and 2) if you have ideas on how to develop an effective CAPTCHA that is accessible to the sight-impaired (while still being generally usable), we would really like to know.

Thanks so much for stopping by!
Has nothing to do with inviting someone to a coffee. A person can be pleasant to work with and not a great conversationalist. Plus many assholes are not assholes on the surface anyway.
Hopefully the ESR version of Firefox will support add-ons on Linux/Android and will be supported (security fixes, I don't care about other changes) until any replacement browser supports add-ons on Linux/Android.
And they’re expensive compared to flying the equivalent route/distance.
Heathrow already has UK Air Passenger Duty (at a higher rate!): https://www.gov.uk/guidance/rates-and-allowances-for-air-pas...
yes, I think the syntax highlighting covers a great range of languages (185 languages according to https://highlightjs.org/static/demo/)

No, highlighting can't be static I'm afraid for now. The back-end saves the articles in markdown. This allows users to preserve their editing history. I even implemented github like pullrequest and forking, so you could collaborate with others on blog articles.

https://epiphany.pub/commit?postId=2684bc94f9fcb9ffe637ebfbe...

server side rendering is possible, but it's a bit too much for me. this is still a solo side project. I'd like to make it a startup, but I really need some initial users and feedback to get some confidence.
Why not enjoy both? Son you enjoy the "flow" of reading a book that is within your grasp?
Using a unit test generator to discover juggling patterns
You are forgetting about the opportunity cost of $34 billion.
> "Transit flights" Is that a connecting flight? Seems to be the only exception.

Makes sense, economically, in that there is quite fierce competition between CDG and other major European hub airports for filling spare intercontinental capacity and multi-hop connections are far more price sensitive than direct flights. If CDG would lose a majority of regional (but still international) feeder traffic to FRA or AMS, Paris would experience a noticeable drop in direct connections.
You can record an encrypted message and get it decrypted by anyone who demonstrates knowledge of the key. The process is identical to finding someone who demonstrates knowledge of Haitian. Encryption is nothing more than an uncommon encoding.
Boost your PC storage performance by 30x with this free trick
btw, my eventual goal is a language agnostic platform. so js and python is just a start. next, I would like to on board c++.
The Digital Humanism Project: Saving the best of the old and making it new
How would skin know that it should overproduce oil? Does skin know if it's not oily enough?
>I try to hire exclusively based on portfolio and having an engaged and in-depth conversation with a candidate about their work. Works great! Doesn't waste anyone's time and I've got many excellent candidates who flat out refuse to take tests or do homework to get a job.

What kinds of positions do you hire for? I can see this possibly working alright for senior positions, but I've interviewed entirely too many people for entry-level positions who seem competent on paper and can talk about technologies on their resume in broad strokes, but struggle to solve even simple problems (e.g. implement an array-based stack) in their environment of choice in a screen-share interview. I started doing these simple exercises intending them to be a way of gaining insight into the candidate's approach, seeing what questions they ask, etc. Instead I find that many candidates simply aren't able to solve the problem, which I would never have guessed from their resume and conversation up to that point in the interview.