skysight-inc/HackerNews huggingface dataset:
This talks about the thing that makes microservices fail most often, getting the bounded contexts wrong. It doesn't go into enough detail to show you how to do it right but does tell you what to watch for when you're doing it wrong.

The biggest, most common mistake is when a bounded context is called "<noun> service". This should be a huge red flag. Unfortunately, most books (and this post) always use this bad naming starting everyone down the bad path. At the very minimum call it a "<noun> management service" if it is the primary/general create/update activity. e.g you might have a checkout service that creates most orders and a order management service that can make drafts or adjustments. Order management (being the decoupled source of truth) might even be downstream from checkout service. Other services that need this information should get it's own copy asynchronously, i.e. decoupled.

The best way to learn how to do bounded contexts right is to study ones that worked well. Most writing tries to describe this in an abstract way using placeholder widget service things that helps no one.

The BFF pattern is good but doesn't solve everything. If you're accessing multiple services for a synchronous mutation, it's likely not highly reliable but can get by for an interactive service that can tolerate some errors. A messaging service is not one that should, they should always accept, store and forward with the lowest possible error rates.
I personally wish that making user-hostile dark patterns on your site would attract the same kind of shame as saying something racist. People would learn _very_ quickly not to do it, and the police/state wouldn't need to get involved.
The first few problems are about regular languages which are used when writing compilers and interpreters (among other things). It might not be something that very many people need in their daily work, but they are real life problems.

I'm not sure, but I think GATE is a graduate school entrance exam.
Great, thanks, would appreciate it very much. I am in process of thinking about new features, so if you have some special use cases, I could think about that.
Cyral launches data breach detection
I'm excited to announce that we're launching Cyral today, with a security sidecar that detects data breaches in progress.
All of the trees in Texas lean north because Oklahoma sucks? College joke

Looks like border disputes. Seems strange, as there's a river that acts as the border. I'd have assumed that the middle of the river is where the border lives, but from a cursory reading of some of the cases 'where the river begins' seems to be an odd definition using "where vegetation begins" type of language.
On point 3, the car navigation systems and map data were a separate division called Here. Microsoft wanted to buy it together with the mobile phones, but Nokia held out for a better price, and finally sold Here in 2015 to a consortium of Audi, Daimler and BMW for about $3B USD.

On point 6, as a Finn working in USA, I would add that the stereotypical Finnish engineer in my mind is someone very capable who believes their job is finding reasons to say “no” to ideas. This is a paradigmatic cultural difference from America where most people feign enthusiasm loosely. IMHO one of the things that holds Finland back is the belief that pessimism wins out in the long run.
I know several developers from developing nations that have strong ties to their countries of origin, and engage heavily in various "good works" there. They have massively more resources to do so due to their salaries in the US than they would if they were stuck in their countries of origin.
I'm surprised to see that they apparently don't know that any wearable that uses optical sensors to measure heart rate can't measure HRV accurately. Optical sensors measure heart rate by averaging over time, which removes heart rate variability from the measurement. Also skin temperature is notoriously difficult to measure since it depends on how often a person bathes, whether they are perspiring, etc. I've never heard of a wearable that can measure core body temperature, wouldn't the sensor have to be placed inside the body? Most wearables use actigraphy to measure sleep, which means you have to tell it when sleep starts and ends, it can't tell the difference between watching TV and sleeping or detect when you take a nap. I seriously doubt you can get accurate respiration rate from a wearable also, especially when the person is moving around, unless they are wearing a chest strap, which most people find uncomfortable, especially if they have to wear it 24/7. I think they are way overestimating what wearables can do. There are some medical wearable patches that can do some of this, but they are generally really expensive and available via prescription only.
100% this. Cloud vendor lock-in is absolutely a relevant factor for consideration -- especially when the non-cloud alternatives are ~10x cheaper.

At my company we made the decision to stick primarily with managed dedicated servers over AWS in our very early days. Now we're a decent size a few years later (25 employees) and the cost savings we're realizing are tremendous. We did the math and found that if we had gone with AWS in the early days then we would now conservatively be paying an extra $165,000 on our hosting bill annually.

We still use AWS for some specialized services (e.g., Lex) but the bulk of our stack runs on gear that we now colocate for a fraction of the cost.
Page 34
Three Mile Island SCRAM simulator.. side-by-site with Flight Simulator
Should have just been a browser option from the start. Although on the plus side these popups do expose just how slimy the journalism industry is.
Scarring Body and Mind: The Long-Term Belief-Scarring Effects of Covid-19
> Or the sites that don't bother with compliance and just show a message to the effect of 'this site operates under a jurisdiction that may have different privacy laws to your country' and leaves it at that.

That's potentially but not necessarily compliant. To a large degree, it depends on the intent of the website's data controller.

* GDPR Art 3(2) discusses the territorial scope of data controllers that are not in the EU. Their data processing falls under the GDPR if they are offering services to people in the EU.

* GDPR Recital 23 discusses potential factors that indicate an offer. Blocking EU visitors is not necessary: “Whereas the mere accessibility of the controller’s, processor’s or an intermediary’s website in the Union, of an email address or of other contact details, or the use of a language generally used in the third country where the controller is established, is insufficient to ascertain such intention, factors such as the use of a language or a currency generally used in one or more Member States with the possibility of ordering goods and services in that other language, or the mentioning of customers or users who are in the Union, may make it apparent that the controller envisages offering goods or services to data subjects in the Union.”

* The EDPB has issued further guidance on the territorial scope. In their guidelines 3/2018 [1] the spend a lot of ink on discussing this “targeting criterion”, and provide some clear-cut examples. Of course, that falls short of actually interesting examples of edge cases :)

[1]: https://edpb.europa.eu/our-work-tools/our-documents/riktlinj...
As someone who studied in the US on an F1 visa, I can tell you that this rule has always been in place. The F1 visa was always extremely restrictive whether it was regarding minimum number of in person credits or regarding allowing students to work part time.

It seems especially cruel that they'd choose to enforce the rule at a time like this.
Thanks! The dashboard looks like a nice piece of work indeed.
Would also love if you could share code & data!
Why does uber think they can do a better job that focused companies whose main business is grocery retail. Uber doesn't even have another profitable business to subsidize their grocery business while starting.
I've donated in the past, but with the recent copyright debacle, I'm less inclined to—not so much because I think they're clearly on the wrong side of the law (though I do believe so), but more because it seems like such an obvious and potentially catastrophic misjudgment. I'm fine with information activism, even if I'm not totally on board with the full program, but not at the expense of endangering the core mission. I don't think their actions will yield a valuable test case, so I'd prefer to see them instead work towards copyright reform in a more measured manner. I'll probably continue to support them because it's such an amazing resource and so many people are doing great work, but the leadership does not, at this time, have my confidence.
You are being downvoted by the sacarms, but it is a very clear and concise description of unintended consequences of this.

Advanced users get root on their phones, and use linux on their computers. And as a consequence, they must fight uphill battles or outright give up their access to some tools/networks/games, effectively censoring them there for unrelated choices.

This is the modern equivalent of being silenced by email spam filters false-positives, but today, nobody gives this a thought.
If you are implementing a specification (e.g. CSS/HTML/other language parser), tests are invaluable to assess how conformant your code is. They allow you to test the different parts and specifications in isolation (the lexer, the parser, the value/unit handling, etc.)

If you are implementing interfaces that plug into some other program (e.g. an IDE, or even different teams in a project), tests are invaluable to check that your code works as expected, and does not break when a new version of the program is released.

Yes, writing tests takes longer. Yes, writing tests makes it harder to change the code in the future. However, they have helped me identify cases in my code that I had not considered (when integrating my code with an IDE), and to prevent issues when refactoring and extending the code.

There are ways to mitigate the issues of changing the code, such as creating scaffolding to bridge the old and new code via adaptors, etc.
My Enlightenment Fanaticism
I agree completely. It's just a shame.
You can find an Internet Archive snapshot here: https://web.archive.org/web/20200707133437/https://harpers.o...

FWIW getting server errors on this did make me chuckle, because the publisher of Harper's Magazine has had a reputation for being a neo-Luddite when it comes to web publishing [0]:

> He described being trapped in a corridor in the early 2000s “by a small mob of what I can’t help but refer to as ‘young people.’ ” Those youths, he wrote, demanded that he open the magazine to online readers. What he told them was “essentially, forget it.” The web, to him, “wasn’t much more than a gigantic Xerox machine” designed to rob publishers and writers.

[0] https://web.archive.org/web/20160112032957/https://www.nytim...
Usually the "no tracking" option requires no action. Simply don't press anything in the banner.
> I think the way to prevent brain drain is not to impose restrictions on individual liberty but to compete better on the education/career market.

Countries that are at the source of brain drains would typically like to do that but can't, just like they have problems solving other problems. $arbitrary country does not have the major tech companies to support tech-company level salaries and there is a chicken-and-egg problem there.

So an artificial restriction like that would indeed tilt things in their favor, which may help them solve this very problem in the long term.

If this anti-immigration trend is held over a sufficiently long time I think rich countries will start realizing what a magnificent deal they had.
i hope you like my youtube channel
Fixed. Thank you again for flagging!
FPnew: An Open-Source Multi-Format FPU Architecture
What does that have to do with slots available? I think that's bandwidth rather than latency?
How come you don't moderate Google's search results and remove homophobia/violence/rape content from them? You already have a platform where you don't care at all about the content you host and present the user with. Your company chose to enter into the content moderation business on YT solely to make it more ad friendly and make more money, its should not be the creators responsibility to suggest changes to your moderation that can "scale" (i.e. make you more money).
I've also worked on the hardware side a bit as well as in EDA (Electronic Design Automation)- the software used to design hardware. Since you already commented on the hardware side of things, I'll comment on the EDA side. The EDA industry is also very backwards and highly insular - it felt like an old boys club. When I worked in EDA in the late aughts we were still using a version of gcc from about 2000. They did not trust the C++ STL so they continued to use their own containers from the mid-90s - they did not want to use C++ templates at all so generic programming was out. While we did run Linux it was also a very ancient version of RedHat - about 4 years behind. The company was also extremely siloed - we could probably have reused a lot of code from other groups that were doing some similar things, but there was absolutely no communication between the groups let alone some kind of central code repo.

EDA is very essential for chip development at this point and it seems like an industry ripe for disruption. We're seeing some inroads by open source EDA software - simulators (Icarus, Verilator, GHDL), synthesis (yosys) and even open cores and SOC constructors like LiteX. In software land we've had open source compilers for over 30 years now (gcc for example), let's hope that some of these open source efforts make some serious inroads in EDA.
Show HN: Forecast with Facebook Prophet on time series
Yes and x264 is such an improvement that it was worth it. HW support became nearly universal. DivX and Xvid didn't have that.

So it was kind of a magical codec upgrade and now it seems more incremental to me.
Yes commodities, but I still need an intuitive understanding of how the algorithms work to pick the right one. I might even need to read the code when I get deeper into solving my problem. Or implement a dummy version simply for learning.

Algorithms are commodities, but algorithm skill is still deeply needed
Is Sculpt AI available for public use? I see sculptintel.com is down.
I haven't checked the questions carefully, but in general classifying the kind of language I believe is undecideable, so the video could be showing a human doing something computers in general cannot do.
How GNU Autoconf tests for Solaris 7
I found this somewhat curious test while trying to debug some configuration settings:

# Printing a long string crashes Solaris 7 /usr/bin/printf.

as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
as_echo='printf %s\n'
as_echo_n='printf %s'
else
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
as_echo_n='/usr/ucb/echo -n'
else
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
as_echo_n_body='eval
arg=$1;
case $arg in
*"$as_nl"*)
expr "X$arg" : "X\\(.*\\)$as_nl";
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
esac;
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
'
export as_echo_n_body
as_echo_n='sh -c $as_echo_n_body as_echo'
fi
export as_echo_body
as_echo='sh -c $as_echo_body as_echo'
fi
This is a really great point. It takes an order of magnitude more energy to come up with a thoughtful rebuttal to this, and when you're done, you'll likely end up with a wall of text that gets TLDR'd. This is why reason loses on Twitter, it takes a Paul Graham level essay to counter even the most basic immflamatory logic.
This reminded me of a great OSS tool I discovered the other data for data labelling. It is called Label Studio (https://labelstud.io/playground/) and support quite a variety of different task formats. Works well

Disclaimer: No affiliation, only sharing for those who are curious
Brazilian President Bolsonaro tests positive for Covid-19
What about Spellbound Spire? Maybe it's something for you.
You only need to know who your own regulator is for the country you live in. You file complaints to your regulator, and they collaborate with the regulator for the country where the company is established. This is called the "One-Stop Shop Mechanism" for GDPR: both consumers and companies only have one regulator to contact.
How do you get news from its sources?
Hold your horses, DeviceCheck's jailbreak detection "features" are still in beta!
Concurrency Patterns in Embedded Rust
The scraper only scraps the recent content, so it avoids scraping same links. As the daily number of articles published by the website is not very big, I make requests with a break in between, total number of requests is not that big, so the ip is not blocked. Also, adding proxy servers is a possible solution, i.e. having a proxy pool to proxy requests. I guess in this scenario it is easy to by pass capcha.
Well it makes sense... If you done actually have to be in the country to take the courses, then your stay is optional. For students that cannot go back due to travel restrictions or that have other obligations in the country, it would make sense to let them stay.

Of course if they come from countries that do not possess the facilities necessary to access online content, that would put some students in quite a pickle. Maybe those could also be treated in a special manner, but I doubt that many would be affected.

Maybe the article wasn't explicit enough, but I'm not quite seeing the problem with this decision. Maybe the manner of communication?
"This article has been written by Sculpt AI [...] in collaboration with Reza [Article’s author]",
so we now use tools to write longer articles faster only to later feed them into tl;dr-bots/summarizers to get the gist without having to read all of it. ;)
People aren't coming here for learning (not the first priority), rather a college education is the gateway to a high paying job in the US and it's lifestyle.
I should add that even if you have the technology to prove correctness of program, that doesn't mean it's practical to prove correctness of all behavior of the program. I write real life programs in Agda (which is a dependently typed dialect of Haskell in which you can encode arbitrary proofs in type system) and you rarely prove all intended behavior. For example, recently I was writing a parser, and wanted to prove that for all languages I define, they're not empty languages (so that I don't accidentally construct empty languages by writing something like `between 'z' and 'a'` (silly example as this is easy to prevent)). So you start with basics, proving that the language that only contains empty string is not empty. Then you define what it means to be empty (empty is empty, empty+empty is empty etc...). Then you eventually need to prove L1+L2 is not empty if either L1 is not empty or L2 is not empty. Fine, just give a "witness" to each non-empty language so that we at least know these languages have 1 word in them. Then you have to prove things like "if string in L1 then string in L1+L2". Anyway, long story short, this one extra check I wanted to make, ended up being its own project that took maybe a week. It was definitely -- and I can't stress this enough -- definitely not worth the time.

Being engineers requires you to assess the risk, and if something is not worth checking, there is no reason to check it.
Keep the Geeks in Charge of the Internet
Well, Apple is not "purely software tech", they're primarily hardware, and yet they're very much considered a tech company
> but there is a cost.

It may be less than you suspect because the regular bubble in their ordering pipeline might give them time to deal with suppliers, maintain stock, improve their website, maintain systems, relax and refocus, etc.

I doubt it works out better than not doing it at least economically, but there may be enough benefit to offset most of the costs.

The times I've run into the B&H sabbath outage, I just waited and ordered later. There are more thing in my life than just ordering things as fast as possible, and I respect a business for having other priorities. (Plus, B&H is just generally a really good supplier)
> I mean, you can say it doesn't work all you like, but the reality is that it does

Not really. This document describes the crashes involving cyclists in a bidirectional separated bike path[1] which for a couple of years was having close to one crash per month.

Here's an example[2] of a drive-out collision.

Here's an example[3] of a right-hook near miss.

Here's an example[4] of a left-cross collision.

[1] https://drive.google.com/file/d/1o9UFZiSnBUOYsCBeY-nhnxboQgF...

[2] https://www.youtube.com/watch?v=4k6-AI_X1qE

[3] https://www.youtube.com/watch?v=-Yea-yFRGHg

[4] https://vimeo.com/32887898
Probably a true statement for every theoretical academic field. Yet, very mysteriously the obscure academic problems have produced our great wealth of technology. I find this fascinating.
This book left me with a bad taste in my mouth, as though it were written by someone who wasn't really grounded in experience. I'm not sure if the author was trying to convince me or himself. Perhaps I'm not the target audience, but I'd be interested to hear more about why you liked it, since it was such a disappointment to me.
That requirement was waived this spring. They're unwaiving it.[0]

Rigid enforcement of rules designed for a world that doesn't exist anymore, and won't for a while, is a deliberate choice and not one that we have to make.

The pandemic is an ongoing rolling emergency. Making life worse for people for no good reason may be the default, but that doesn't mean that the people who can waive the rule shouldn't be held responsible when they decide not to. Inaction and action are nearly indistinguishable from the side of the people being affected.

[0] See this guidance from March: "Given the extraordinary nature of the COVID-19 emergency, SEVP will allow F-1 and/or M-1 students to temporarily count online classes towards a full course of study in excess of the limits... This temporary provision is only in effect for the duration of the emergency" Absolutely nothing substantive has changed since then, but ICE has apparently changed its mind and- implausibly- decided the emergency is over. It's absurd.

https://www.ice.gov/sites/default/files/documents/Document/2...
> It seems many students have been denied their college admissions due to stuff they tweeted as a teenager.

How many of them have still been denied after showing genuine remorse for their views? Nobody is owed a college admission.

> all the people attacking JK Rowling do not want to say that any man who self ids as a woman should have access to women's private spaces

Nobody's saying that men who falsely claim to be women should have access to women's spaces.
It refusing to work on modified devices is exactly why I don't use it. It's a little sad because I like the format (Instagram doesn't feel the same), but the clear lack of respect (they won't even tell you why the login fails on Android) is pretty disappointing.
Walking back from the precipice we're on is going to be very, very hard.
It depends on what your objective is and what you're trying to accomplish.

For a lot of people trying to just accomplish some specific goal, learning to program in C (as per the article) is probably not the best approach unless they're into OS kernels or embedded programming. Instead, they might well be better off stitching together some cloud services of various types. Not everyone has as an objective passing a leetcode whiteboarding interview at some ad tech company.