skysight-inc/HackerNews huggingface dataset:
Think you are able to use the web ui. In my experience it works pretty well. It also syncs with the free desktop app.

I still having a hard time understanding the use for this after the job interview. The few times I’ve had to deal with data that was large enough to be big O and needed to optimize it, I just spend some time researching it a bit. Plenty of answers online for those cases. Someone who actually enjoys thinking and researching this subject, but not I’m not going to grind hackerrank.

It actually stopped me for even considering to apply at a company that uses this as a bar. A developer generally is someone who solves business problems, sometimes with code.

I’m happy that I work in a country where this grinding is not the norm.
Correct me if my first impression was incorrect, but scanning through your scripts they all seemed like sub-kilobyte one-liners. Which, yeah, just use Shell for those and you'll be fine.

To my mind, the parent post was referring to lengthier, more complicated scripts. Speaking as one who wrote and routinely maintained such scripts at one point, I cannot agree more with the sentiment that most if not all of them could and should have been written in Python or Ruby or some other scripting language instead.
If it's a small thing (100 lines or less) I use shell. Anything bigger goes to Perl.
Impact of whole genome sequencing on healthy adults: a randomized trial (2017)
I stopped waiting for people to tell me what to do.

There are too many aspiring managers out there that just don't have anything subtantial to say.
I prefer to adopt Daniel Dennett's model of 'useful fictions' when trying to talk about what the world 'is'. The question for developers isn't if the world is immutable or mutable, it's if mutability or immutability are useful concepts.

To ask if the world is mutable is like asking if money is real or if the colour red is real. Does it make more sense to talk about RGB values or colours? The only reasonable answer is 'it depends'.

It depends on what aspect or properties one is interested in and what lens is best suited to solve problems or which one personally finds most insightful. The world can be modelled as an immutable sequence of state transitions or as a place full of stateful objects, there isn't any clear answer and programmers shouldn't be too literal about what they perceive the problem to look like but rather think about what toolbox is most useful.
That’s not really how it works. If you claim DMCA protection, and you receive a DMCA request, you have to take the content down. GitHub/Microsoft doesn’t adjudicate the validity of the takedown request. The takedown can be appealed, but the burden falls on the person who’s content was taken down.
Cisco and Motorola are not interested in this market, and Lucent is no longer American. To answer your question: maximizing shareholder value is why there are no US vendors (that in turn, might be because of lack of competition behavior between Verizon and AT&T leading to lowered investment in infrastructure)
Would a PDF not work?
You don't have to pick between the two. Shell scripts are great and give you the option of using battle tested commands that have stood the test of time.
The point of the parent comment is not that the DMCA doesn't cover anti-circumvention, but rather than the DMCA contains many parts, and only the copyright content part has a safe Harbor and takedown notice provision.

The claim you're arguing against isn't that the DMCA doesn't cover this. The claim is that the DMCA takedown process doesn't apply to all infringements of the DMCA, only those of copyright wrt safe harbor.
Android's built-in "do not disturb" setting supports silencing all phone calls from numbers not in your address book.
For those in the EU: https://www.ippl.org/gibbon/blog/the-silver-springs-monkeys/
Instead of

set -euf -o pipefail

please consider

set -o errexit
set -o nounset
set -o noglob
set -o pipefail

which is easier to lookup/search for if the reader is less familiar with shell scripting, and makes for cleaner diffs when a flag is removed/added.

Caveat: some of the longer forms might be Bashisms (e.g. not present in ksh, dash, etc.)
There’s no tolerance for rude and unsubstantiated comments here
I got a „rate limit exceeded“ several times actually.
At the largest (cosmological) scale, given a metric such as FLRW, you can define a global family of comoving observers, with a corresponding notion of global time: https://en.wikipedia.org/wiki/Cosmic_time. This is less applicable at smaller scales, of course, where other solutions of GR (e.g. the Schwarzschild solution) more accurately model the system under study.
I hadn't heard of these books before, though skimming the summary, I'd very much like to read them -or the first volume at the very least.

But the content and size of the volumes strikes me as the sort that requires continuous engagement to be of most use.

If anyone's interested in forming a book club around this, feel free to email me at hn(αt)crocodiletears.cc
globs have no issues with spaces.
I disagree with the "astronomical amount of junk mail" statement. I've been using FastMail with a catchall email address for years, and get very little spam; most of which is correctly classified as such (I did have to 'train' FastMail for a while with custom spam/no spam folders though).
I never really had any issues with using Amazon’s services (I’m just talking about usability here, not getting into the fact that they’re a horrible company), but in the past year or so many of my packages from Amazon haven’t been arriving on time. I’m starting to lose faith each time I order something that I’ll actually receive it when it says I will.
> Eligible patients were 40-65 years old, had no history of cardiovascular disease or diabetes mellitus, and were deemed generally healthy in the judgment of the PCP.

…

> Eleven FH+WGS patients (22%, 12%–36%) had new monogenic disease risk results. Only two (4%, 0.01%–14%) had evidence of the phenotypes predicted by an MDR result (fundus albipunctatus due to RDH5 and variegate porphyria due to PPOX).

…

> For the remaining nine patients with a new MDR result, six-month EHR review found no evidence of the predicted phenotypes from routine clinical evaluation.

Summary from https://www.wired.com/story/you-can-get-your-whole-genome-se... :

> To find out, primary care doc Jason Vassy recruited a handful of colleagues from around Boston to sequence the full genomes of 50 patients—the first randomized trial of whole genome sequencing in primary care. They expected to find maybe one person with a marker for one of those rare, monogenic diseases. Instead, they found 11. “That’s a shockingly high number,” says Vassy. “If you look at the list of the conditions we found, most primary care physicians have never heard of them. It would would be crazy to think that 20 percent of people have a disease like that.”
Why do you want to avoid multiple layers. Performance?
If it was possible to achieve a level close to top human players with computing resources available in 1992, hardware of equivalent cost can probably handily beat any human in 2020. So no big lab is going to spend any time on hammering home that point, because they're looking for interesting research problems, like games where no program plays at human level yet.

If you want to see how well computers play using consumer hardware, maybe try https://www.gnu.org/software/gnubg/ I have no idea whether a rating of 2000 is superhuman or not.
Is this because both languages are from different eras? When did you last see a consumer ad about scripting?
I had a mess of shell functions. It is nice that they run more quickly, but I don't have any shell commands that need to run that often.

What moved me to putting them in a bin directory was that it's just easier to edit a standalone script.
Details are lacking, but this seems ok-ish. It sounds like this is focused on "found my target and now I'm in the figure 8 where my sight is bouncing around because of my heartbeat or other outside physical influence". Assuming it's focused on that sort of bias, it seems fine. If it reaches beyond that it clearly needs more research.
I’m just not convinced of the value of focus in this context.

When Steve Jobs came to Apple, he made the Mac line “focused” by cutting it down to four models. That had clear benefits: less hardware for the OS to support, better economies of scale in manufacturing, and less wasted retail shelf space.

How does killing Aperture benefit Apple’s other products in that way?
There is a nice analogy between causal relations in special relativity and in asynchronous distributed systems, but it is no more than an analogy. Synchronized clocks are a physically feasible possibility in every realistic distributed system I’ve seen. The difficulties are merely of a technical nature.
If you can’t afford it in cash you can’t afford it in credit.

Seriously, don’t spend money you don’t have on depreciating assets. Only borrow to buy appreciating assets (housing, education, sometimes business expenses for most people).
Can use this tech to train it to recognize hogs for pest control
Congrats on launching!

One security-related question: I had looked into this area previously as a user and a security-conscious friend pointed out that systems that use call forwarding to stop the spam problem are a HUGE security risk.

You’re effectively man-in-the-middling all mobile calls, SMS, etc, and if there’s some sort of compromise (or, much less likely, malicious act) on your end, all of us users will be in a tough spot.

Is this accurate? Can you share some thoughts?

(Not trying to knock your business or approach, btw - just want to know if the fears are founded or not.)
You skipped over the fact that he is former army. Stop being a useful idiot.
"which is easier to lookup/search for"

From my experiment:

Googling "set euf" (without quotes) -- 838,000 results, first 6 results are all helpful and explain it in detail.

Googling "set o nounset" (without quotes) -- 38,700 results, entire first page seems helpful.

I dunno, looks like they're identically easy to learn the meaning of.
Shellcheck helpfully warns about declaring and assigning in the same statement exactly because it masks exit status.
See star trackers; not quite the same thing but this sort of technology is not exactly exotic, it has not been for a few decades at the very least.
Hmmm,

Well you might want to go over to wikipedia and correct the articles:
https://en.wikipedia.org/wiki/Jupiter
https://en.wikipedia.org/wiki/Planetary_core

Like I said, I am not a I'm not a physicist or astrophysicist, I am just a software engineer. But in 2017 when I attempted to model the interior of gas giants... my model predicted a core surrounded by high density regions. The model resembled a close-packed lattice.

https://en.wikipedia.org/wiki/Close-packing_of_equal_spheres

I was just playing around with math so I am probably wrong.

Best Wishes,
-David Delaune
> in the past year or so many of my packages from Amazon haven’t been arriving on time

My experience is the opposite - for me regular Prime delivery now regularly arrives in less than ten hours (order before bed, it's there before 9 in the morning.) I don't even live in a major urban area!
My job's background check is a PDF of every tweet I've liked with “fuck” in it
"Are these kinds of checks only against the number itself? Or is there some kind of dynamic registry?"

In general it is much simpler than that. These companies are sending you these SMS messages not from a "normal" phone number (xxx-yyy-zzzz) but from a shortcode (xxxxx). The "from" is a shortcode and only mobile numbers can receive SMS from shortcodes.

So if your number is not a "mobile" number, you might still receive SMS from other real phone numbers, but you cannot receive SMS from shortcodes.

Twilio, for instance, does not provide mobile numbers. Period. So even if you port a mobile number to twilio, as soon as it is theirs, you cannot receive SMS from shortcodes.
Arduino-copilot one week along
Totally agreed, I do not want to manage my own workflow in a manner like this. I actually just put a doc together[1] last month for anyone looking to do the same through providers that support this workflow.

The one killer feature that is missing in Fastmail right now is the ability to reply to email as the same alias it was received as. I.e. if Airbnb support emails me at airbnb@mydomain.com, it'll default replay as me@mydomain.com unless I go manually setup the airbnb alias.

[1] https://btmiller.com/2019/12/12/regain-control-over-your-inb...
Unfortunately there’s a large amount of grifters out there providing tech interview “coaching” to people with no prior experience. Fortunately as someone who also interviews SW candidates it’s really easy to spot who just memorized Cracking the Coding interview and Geeks for Geeks answers.

I literally had someone write down the exact answer for an algorithm question that appears on GeeksforGeeks down to the small bugs which the post had originally.
Think it's this course: https://www.coursera.org/learn/mathematical-thinking
Same here, I've ordered 2 packages the last 3 months and they both arrived a month late. Although, it might have been Royal Mail screwing up.
My Physics classes are rusty, but if you've 400GPa across a 1mm^2 surface, and the back of the two opposing diamonds is e.g. 1cm^2, then you've a straight pressure reduction then and there -- not unlike what might happen with a lever or a pulley. So you can then apply a smaller force on the outside, allowing you to use a less sturdy/expensive cristal or metal (or liquid, apparently [0]).

[0]: https://en.wikipedia.org/wiki/Diamond_anvil_cell
You're the one confusing a thin terminal with a multi-seat system. This thread is discussing multi-user and multi-seat systems and thin clients is a whole different beast.
Bass Reeves
> Infrastructure

> I’m using AWS’s Simple Email Service (SES) to send and receive emails, S3 for storage, and Lambda functions for serverless computing. Here’s how it works:

> All received emails trigger SES to store the email as a file in a S3 bucket, which triggers a Lambda function. Depending on the email, one of several things could happen:

> 1. The email gets forwarded to your personal email address
> 2. The email gets forwarded to the original sender (when you reply)
> 3. A command is invoked by you (e.g. to generate a new alias)
> 4. Nothing happens (when someone emails an invalid/disabled alias)

> I chose to use AWS for practical reasons: I’m totally new to cloud computing, and AWS being the most popular cloud computing service means it is easier to find guides and resources online.
This comment feels remarkably uncharitable and unkind. Many of us are perfectly happy to refer to people by their chosen pronouns without making fun of them behind their backs. Hopefully the poster you were replying to works in an office where people are not as childish and inconsiderate as you assume they would be.
I didn’t know Tuca & Bertie existed until hearing it was cancelled on Twitter. Netflix’s marketing (including on their own site) was nil. As someone who’s watched every other Netflix adult animated series I definitely should have seen something if they were promoting the show at all. They were not. Self-fulfilling prophesy.
> therefore, you will be externalizing these values and decouple them from the application, which will give you great flexibility in the long term

I think this is one of the worst "Best Practices" ideas that are parroted by people who haven't thought deeply about the issue. It's really a bad legacy from the era when most software was actually distributed. Now that most software runs in environments that are controlled by the same organization that developed the software, the principle is far less valuable.

Nowadays, most software should have most of its configuration information - paths, DB URLs, HTTP endpoints, etc - hard-coded into it. This strategy follows the "convention over configuration" philosophy, and it gives you a range of benefits. First of all, you can run tests on your config to make sure everything is working properly (check various files are present, do a SELECT * LIMIT 1 from DB tables, etc). You can catch config errors at compile time, eg by using enums like prod/dev/qa to represent environment names. And it prompts you to apply a refactoring mindset to your config - when you notice that your config code is repeating itself extensively, you'll realize this and be able to take steps to refactor, standardize, and simplify the config.
Same here. Tried the "new" Magic Keyboard. To me it feels just the same as butterfly, which is crap.

Not entirely sure if I will buy another Mac again. Cant believe in less than 10 years since Steve passed away I am thinking of going back to Windows.
LOL, yeah, lifting them out of poverty and putting them back down behind barbed wire.

Go sell this stuff elsewhere. Nobody's buying it here, and it's not the place for political flamefests in any event.
> Do you know _why_ this uptick has happened? Does anyone?

Are you asking why polarization has happened? Or why is had gotten worse? The answer to the first is all about control. There's a great book called The Dictator's Handbook that documents this. Throughout history, the ruling class has sought to divide the people they rule over into groups and then cater to the groups that will help them remain in power. See the current situation in the United States where the president won by less than 50% of the vote and the majority party in the Senate represents a minority of Americans. Between the various tools for voter amplification and voter suppression, the goal is to carve out the smallest group of people needed to win, then cater to their base emotions by painting everyone else as the Other, to be feared and attacked.

As for why the uptick, that's due to technology. The Internet, ad placements, etc, have enabled these groups to execute on these strategies en masse.

As the expression goes, there's nothing new under the sun, just a reiteration of the past.
My story of getting a 64% out of 65% score in a Salesforce Admin Cert exam
It's probably better to think of it as the building blocks for answering more complicated questions. E.g. you write an algorithm and one of the followups the interviewer asks you is the runtime of it. Well, you used a hash table, so lookups are constant time, but you iterate over the keys, which is is linear in the size of the table. So when you do some work linear in the size of the input for each item in the table, you can work out that's a quadratic algo. That sort of thing.
I interview a lot of candidates as well, and I agree. My philosophy is that an interview is an opportunity to talk about a problem together and sketch out some code. The only reason we choose to talk about algorithms and data structures is because they're a domain that's pretty similar no matter what sort of programming you've been doing.

"Memorizing" these algorithms isn't the approach I'd use at all. No interview of mine will ever be of the form "implement such-and-such well-known algorithm".

However, my questions do begin with "imagine we're on the x team and we have y technical problem - what should we do?", and it's helpful to have a toolchest of coding techniques that includes hash tables, trees, etc.
Places built for cars depend on cars so cars are in the future - news at 11.

> There are an estimated 8 parking spaces per car in the United States

Subsidized parking via zoning requirements = "built for cars"

> would you rather take an UberX or a Pool? Or a bus?

I would rather walk. However, most places in the US are not built for walking. Most places are also not built for buses. They are built for cars.

> Commutes are getting longer. ... Cars are freedom. They give people the opportunity to live where they want,

I don't know about you, but I don't think most people want a long commute. I certainly know people with 45 minute commute who want to live closer to work, but can't because they can't afford to live closer.

Since our infrastructure is built around cars, that means we've also built our business districts and suburbs and exurbs around cars. There's been less pressure to build dense because you can "always" drive another 10 minutes and be at the end of town where land is cheap.

> Road networks have proven to be a relatively easy and extremely effective investment

A.k.a "the Growth Ponzi Scheme". From https://www.strongtowns.org/the-growth-ponzi-scheme/ - "Most American cities find themselves caught in the Growth Ponzi Scheme. We experience a modest, short term illusion of wealth in exchange for enormous, long term liabilities. We deprive our communities of prosperity, overload our families with debt and become trapped in a spiral of decline."

> Public transit, even in the densest cities, is massively subsidized

Car transit is also massively subsidized. Those parking spots don't come for free. Those city roads don't come for free. Part 2 of the "Growth Ponzi Scheme" works out the numbers. Property taxes aren't usually enough to pay off those city streets.
From the article:

"These are views that tell you when a model changed last. Watcher Views are light enough so that you can continuously call them to know whether you should fetch recent data. They're far less complex than WebSockets and avoid the performance costs of continuously polling unchanged data from the API."
(Oil author here) Yes I think that's a great idea, and I hope to release a "liboil" so that people can do that. Let a thousand flowers bloom, etc.

The most likely thing is that Oil is going to be a much better language this year (more expressive, with safety features, and it should be fast), but the interactive UI will still be more bash-like than fish-like:

https://www.oilshell.org/blog/2020/01/making-plans.html

So I encourage anyone who's interested in that to get involved now as the interactive shell is also a years-long effort :) There are many links on the home page about how to get involved, and I wrote many blog posts so people can understand how it works.

----

Here are a couple posts on why Oil is a good foundation for an interactive shell:

https://www.oilshell.org/blog/2020/01/history-and-completion...

https://www.oilshell.org/blog/2020/01/alias-and-prompt.html
No matter how powerful a nation-state is, it would still be infinitely easier for them to exploit a known CVE by sanctioning a patch than it would be to find a zero day chain that works.

Also, it would afford them the additional political benefit of deniability in their attack.
Not even sure why you were downvoted. I have who ever downvoted you should provide explanation for your perfectly acceptable answer.
Show HN: QuickQ, a knowledge base platform integrated with Slack
I personally think "don't" is right. For those who are interested in trying to use Python instead, I found this to be a helpful resource: https://github.com/ninjaaron/replacing-bash-scripting-with-p...
Places like Texas or Idaho are worried about influx of Californians, because they are afraid that a bunch of new voters will vote in the politicians and policies that have driven them out of California in the first place. It is often hard for humans to connect two facts together if the casual link is not straightforward, so many people might not realize that their good feelings about protecting the burrowing owl on the SF bay east shore are paid for by the premiums in housing costs.
MIDI isn't audio. That was easy to refute.
Cool, but the main problem I have is that I don't have a robot to program and the complexity to build one is way too high for me.