skysight-inc/HackerNews huggingface dataset:
I'm especially interested in how sequence searching and matching work in libraries like this. Seq has a "match" statement for this task, which implements ACGT characters and _ for a single wildcard base and "..." for multiple wildcard bases, and a recursive matching system I haven't quite grokked yet.

Personally I'm more comfortable with a regular expression syntax, so would prefer "." and ".*". Actually, even better than "." is "N" from the IUPAC notation: https://en.wikipedia.org/wiki/Nucleic_acid_notation

The IUPAC notation is nice because it standardises "character classes" for working with nucleic acid sequences. For example, "B" is "[CGT]".

I wrote a module a while ago for searching nucleic acid sequences with regexps: https://metacpan.org/pod/Bio::Regexp

When working with sequences there are a bunch of things to think about that aren't really obvious from other types of data (or at least weren't obvious to me!)

Exhaustive search: Often a regexp can match in many ways, and most regexp systems don't provide a way to get a complete list of them all. Fortunately there is the Regexp::Exhaustive perl module which is what I used. The way this module works is pretty awesome. It adds a special "FAIL" directive to the end of a pattern, so that the match can be recorded and artificially failed, triggering the regexp engine's backtracking mechanism to back up and find the next match (if any).

Reverse complements: Because DNA is double-stranded (well, usually... this is biology after all) there is a "complementary" pattern on the first strand that corresponds to the pattern you are interested in on the other strand. You almost always need to search for both. And what's more, DNA is directional so you actually need to search in the reverse direction for this complementary pattern. You can either reverse and complement your sequence (which seq has a special ~ operator for, neat!) and search again, or reverse and complement the search pattern itself, assemble a single combined regexp (Regexp::Assemble module), and do a single scan over the data, which is what Bio::Regexp does.

Circular DNA: Some DNA (plasmids) are actually circular in shape, meaning the start is connected to the end. So a comprehensive search needs to check for cases where the desired patterns span the arbitrary location selected as the "start" in your sequence.
> Like a router with a backdoor in it? Vitamins contaminated with carcinogenic material because testing and purity cost a lot but are invisible.

Both of these things can and do happen with items at B&M stores and other vendors.

Think about the whole cable modem backdoor that was recently discovered...

Or the various cases of food poisoning that happen seemingly regularly...

You aren't safe just because you purchase items thru a different "trusted" source. This is the outsourced world we live in today. When everything is outsourced, the possibility for counterfeiting, tampering, and maliciousness rises - because nobody can be held accountable (diffusion of responsibility).

At one time, it was possible to trace things back far enough to find the original culprit and prosecute them. Today, if you're lucky, you might find a reasonable suspicion of a company - who will instantly (sometimes with a literal click of a button) close up shop, move everything, and re-open the next day under a new name. Furthermore, even if you ask around about them, nobody knows nuthin'.
The number of people verified to have been killed by (non-rabid, non-domesticated) wolves in North America since 1900 is just two, both of which have come in the last 15 years. There are some other cases from the 1920s that might have been wolves but since reporting was a little more lax back then, we'll never know for sure.

https://en.wikipedia.org/wiki/List_of_wolf_attacks_in_North_...
Because for some bizarre reason, "cut" doesn't ship with any decent column selection logic that is the equivalent of awk's $1, $2, etc., even in 2020.

That's like 90% of my use of awk right there. I don't know of any easier equivalent of "awk '{ print $2 }'" for what it does.

Posted partially so the Internet Correction Squad can froth at the mouth and set me straight, because I'd love to be showed to be wrong here.
Atomic Habits[0] is a great book on this topic.

[0] - https://www.amazon.com/Atomic-Habits-Proven-Build-Break-eboo...
simple: I email the link to myself with keywords in subject, message, etc.
Much harder to visually pick out which are ads versus not now imo which is probably why they did it
On other Vpns I can max out my 300mbit linen. On proton I can get about 50mbit.

Functional but wastes 5/6ths of my capabilities.
On a daily basis there’s no more friction than iCloud. My phone backs up to my computer over WiFi once a day when it gets plugged in for charging. I don’t ever think about it—it just happens.
No, but I wish I did.

Shillcusations aren't very nice by the way. You seemed earnest about it, but usually they're used to lazily discredit somebody without any proof.
For what it’s worth early 2000s Mercedes Benz models are not known for their reliability, and some of them were pretty prone to rust. Of course, Mercedes models built until the early-to-mid 1990s are a whole different thing.
You you have always been able to back up your iDevice to a Windows instance, if that is what you prefer to use.
PM 2.5 seems to be like radiation: the more you get, the more you're likely to be affected, even at lowish levels.

https://qz.com/1166010/air-pollution-even-at-levels-that-mee...
One State May Become the First to Ban Police from Consumer DNA Databases
Microsoft’s CEO Looks to a Future Beyond Windows, iOS, and Android
I've completely stopped buying tickets on airlines that own or ordered 737 MAX's, so I don't even have to check if they've been un-grounded.
Add Adderoll to drinking water
I meant that observationally, the average home user I see who is hell-bent against Windows telemetry doesn't have reasons for it that are comparable to organizations with well-reasoned processes and procedures regarding telemetry.

I didn't mean to imply that said user shouldn't have the option to disable telemetry, even for no reason at all.
Prefer DuckDuckGo for searching, if possible. If you don't like DuckDuckGo's results and can't tolerate them, then prefer Startpage to Google, which will give you the same algorithm minus tracking/customization. Even post-acquisition, Startpage is still a more privacy-conscious engine than Google, and their ads are better labeled.

And while I'm sure I'm preaching to the choir here, quick reminder that unless you're running Lynx or some crap, literally everyone on this blog should have an adblocker installed (preferably uBlock Origin).

I appreciate there are multiple perspectives people have on whether adblocking should be a scorched-earth policy, or whether it's better to just target the worst actors. But disguising ads as native content is abusive enough behavior that you should be blocking those ads no matter where you fall on that spectrum -- and the UI changes here are very clearly, very obviously meant to make ads blend in with normal page results. The 'ad' indicator is meant to look like just another favicon.

I'm seeing people here suggest greaseMonkey scripts, and maybe there's something I'm missing, but I just really don't understand that. Don't restyle the ads, block them! Block advertisers that are abusive.
There are many roads to Rome. If what you're doing works for you, then do it. But as to the question of whether or not "building software a bad route for entrepreneurship?" is a true statement in any universal sense, I think the answer is obviously "no". An awful lot of people have done amazingly well as entrepreneurs by building software, so it's pretty clear that it works for some people.
Many people do! This is the 'architect' vs 'gardener' debate. A lot of writers start out with the notion of a story, then let it develop in the writing. If I remember correctly, Stephen King writes this way.
> most people really believe they physically cannot (say) run

Do they? I would expect that when you "physically cannot run", it means you are collapsed in a pile on the ground unable to stand or move. People might say things like "I cannot run another step", but that is not the same as actually believing it. That said, unless you are very fit and very young, it might not be a good idea to get yourself to the point where you actually cannot run anymore. Unless there is a tiger chasing you or something.
Related from 2014: https://news.ycombinator.com/item?id=8503912

Discussed at the time: https://news.ycombinator.com/item?id=6445628
I regret running all the time. There are wild swings in the difficulty of doing the same run depending on weather, hours of sleep, time of day, what I’ve eaten, and apparently just random chance. Digestive system tends to be unhappy early in the morning, and the times I ignored its warnings and went out anyway were the most physically uncomfortable I’ve ever been.

The lifestyle discipline required to make running consistently tolerable is overall a good thing. But on days when I know conditions are going to make it miserable, I don’t go. I’m not in it for competitive greatness, I’m out there for an enjoyable and sustainable habit.
The Recurse Center kinda looks fitting

https://www.recurse.com/

I'm not sure though, I haven't tried it myself. Anyone who's been care to chime in?
Er, who do you think Apple pays for search on iPhones?
Wow, that is an extremely well-written brief introduction to Rust. I love the way it manages to address some more technical (e.g. FFIs, distinction between borrow-checker and other parts of compiler) but important concepts despite being so short. Thanks very much Jake Goulding if you're reading.
Precisely my problem -- with all the household devices, we've outgrown the boot drive's ability to locally back them up. This is despite the fact that all itunes (or whatever it's called now) media is stored on a NAS and accessed through iTunes seamlessly.

I suppose I could mount a network drive / nfs share at the location iTunes believes is local ...
What? Why? We have duct-taped even more safety features now.

It must have made it safer to fly.
It’s hard to align him with “speaking truth to power” when he was a part of the Russia propaganda machine and their takeover of Wikileaks.
Wait wait wait, everyone! I really want /u/mam2 to expand on this.

Why do you feel they built the web?
On a side note, the use of Furthermore has been correlated with decreasing readability of texts https://elifesciences.org/articles/27725
Awk, like shell, is a fraught programming environment, full of silent failure and hidden gotchas. Even for one-liners.

I use shell because I have to, not because I like it. I dread maintaining shell scripts which have a bunch of awk and sed in them.

The Unix ideal of small single-purpose tools and text processing is separable from these old warhorses.
Is there a reason you cannot use VapourSynth? You should probably check it out if you’re thinking AVs is your best bet, you may be delightfully surprised by the improved quality and speed.
At Commure we use Rust everywhere, from our backends to our cli tools. Any shell script longer than a few lines becomes a binary. The only place we don't use Rust is in the frontend, where we use JavaScript and TypeScript.
Another good general rule, especially when law is concerned, is there are always exceptions to the rule.

Self-directed IRA LLCs are nothing new, but using them for tax free crypto trading is (obviously)...though I welcome any specific concerns.
>And it's like that on purpose - there's no good and easy option to backup your phone other than iCloud.

I really want the iOS Time Capsule Option. Even if it is expensive.
Off-topic, but futhark is such a brilliant and well-executed idea, if only it had a better name.
Title is clearly click bait. This seems more like a message to gradually help people moving off a product that will eventually get retired. If MS is advertising you would think they would advertise in higher traffic apps (i.e. Paint) but most people don't even use WordPad.
Rust brings more to the table than just the standard static type checking, you're selling it short.

The borrow checker is unique to Rust. So is compiler enforcement of only allowing thread safe data structures to cross thread boundaries.

Both of those are a pretty big deal.
It's mostly a hunch, based on a combination of lots and lots of factors. It's very difficult to explain. From a distance, "embedded" looks like a very homogenous field, but it's nothing like that. Some of the factors that contribute to this hunch -- but bear in mind that they don't apply everywhere in the embedded development space, nor equally, nor to every kind of device -- include:

1. A lot of resource-constrained firmware is so straightforward that Rust's benefits simply don't justify the effort of learning it and using it. In turn, without sufficient demand, there isn't much motivation for large tooling vendors to get into the game. Without the large tooling vendors, the kind of companies whose money could shift the landscape significantly won't get in the game, either.

2. Lots of embedded software development is outsourced. The margins are pretty small, and the companies in this field are both unwilling and unable to build technical expertise early on, so there's a lot of inertia.

3. Lots of embedded software is developed based on manufacturer-supplied SDKs. Manufacturers in this field tend to run high-inertia, cost-conscious software teams that take a long time to catch up with the rest of the software industry.

4. A lot of this inertia is mistaken for prudence ("we value stability", "we don't just jump on the hype train") and touted as a positive thing. That's why IoT security is what it is, for example (and it's not just IoT, and not just security. Lots of areas in the embedded space suffer from terrible practices). This is an industry where an embarrassingly large number of companies are just discovering continuous integration. A whole new programming language won't just happen overnight.

5. Lots of resource-constrained firmware is written with pretty strenuous regulatory constraints in place, under considerable pressure from internal standards, audits and so on. In some regards, Rust's tooling ecosystem still needs to grow and mature. AFAIK there's no serious equivalent to Coverity, for example -- and plenty of companies value it not just for the analysis it makes (which doesn't mean as much as it seems because the Rust compiler does a lot of static analysis on its own), but also for the kind of traceability and integration that it gives them, and the ability to implement the kind of internal processes that look good on paper during an audit.

It's a mix of legitimate and non-legitimate concerns (specifically, #5 is very legitimate -- lots of internal processes are just software safety theater, but many aren't).
You don't have to use iCloud backups - you can still backup to a computer and have that backup encrypted.
> PS: Now , After you have already run for a minute, it will sound ridiculous not doing one more.

Unless you don't work like that. Maybe I'm weird, but if I promised myself "just one minute" and I trick myself into doing more minutes, I'm going to remember that next time I'll tell myself "just one minute". I might say "just one minute and then see how you feel". But again, there shouldn't be anything ridiculous about it if I just do one minute, because who is being ridiculous next time they say "just one minute" ?
To the Hacker News crowd, I think that anybody that read the timeattack's comment has thought: a server application that output files given a filepath? Maybe we can forge some absolute path? And then, 5 minutes later, on Github, you confirm your hypothesis by reading 62 lines of Go.

Nevertheless, I am respectful of responsible security disclosure. Maybe timeattack will prefer to use an entirely private channel to communicate with the server owner the next time?

In the end, the info was already out, the author fixed it real quick and I hoped he has cleaned its server by now ;)
Yes, it's easy to ignore open tabs too. No system is perfect but I do this to increase the chance of me reading or watching whatever it is. I wouldn't let it go to 3000 so it sort of works for me, better than bookmarks anyway!
Why does it have to be one or the other?
I use Notion too. I have added Notion Webclipper extension to all my browsers on, to save link I have created lists based on category i.e study, tech, life, etc. While bookmarking I just add the link to the respective category. On Phone, Notion has this feature to share a link to the app to save the bookmark. Before this, I used Chrome Bookmark manager. A pocket is a good tool too but I am fed up with having an individual app for every use case(bookmarking, todo, calendar). Notion is one good service with all the features that I need as a student, but their Andriod UI suck. You can hit them up on twitter and request the feature to add tags.
This is cool - might be worth training a simple discriminator model to identify your utterances, and then you can use the plug-and-play language model (PPLM - https://github.com/huggingface/transformers/blob/master/exam...) to generate utterances modeling a specific speaker without special tokens. Could also take less time to fine-tune.
In addition to the old "strap an HVAC sized air filter on the front of a box fan" tip, I'd add that it is important to maintain a positive air pressure in your living space. The only path air should enter your dwelling from the outside is via your air filter.

You can do this by putting the box fan in a window and sealing up any gaps with something like cardboard or thick plastic sheeting. On the outdoor end of the fan, put your filter. Close all other windows & doors in the house.

Keeping a positive indoor air pressure this way makes sure all the air in your house is filtered. Obviously you'll want to make sure your box fan's filter is rated for smoke / particulate matter.
Yep, I went to the ER for what I was sure was a heart attack, and it turned out to be a panic attack. It was weird, I did not feel particularly anxious other than my reaction to the constricting pain radiating from the left side of my chest.
Distri – A Linux distribution to research fast package management
I've occasionally thought it would be interesting to have a place where programmers and other people involved in "knowledge work" could live and work half of each day at intellectual tasks and spend the other half in physical labor to support themselves. So you get up and milk the cows, then go write some code, then later in the afternoon hoe the corn. I get most of my best thinking done when I'm doing a repetitive task like washing the dishes or maintaining the lawn, anyway.
Just like every other major public company. If that is your criteria you will be left with little to buy.
In short, there is no equivalent hashing function for hardware.
reminds me of the old Knuth vs McIlroy word count battle
Bing seems lot better lately
Google is an ad company that sells hardware.

Apple is a hardware company that sells ads.
This is exactly me with Evernote, and my same thoughts reading this.

I wish Evernote had some sort of stats on notes: I'm sure I would find that 90% of my notes have never been opened. Some of them (e.g. warranty numbers, etc) are there just in case they're needed, but the majority will never be opened. I probably use the same 2% of my notes (< 30 notes) 90% of the time. (Lots of invented stats here, yes.)

The article describes an incredibly easy content-creation system, but one where you can easy create much more content than is useful. (It reminds me of the ease of taking hundreds of photos a day with smart phones, particularly if you're a new parent.)

Even when you want to find the information, I think this lack of structure makes it hard to do so. For example, the author has a note that looks like this:

* Had a really good [[Super Tuscan]] [[Red Wine]]
* [[Dogajolo Tuscano]] from [[Tuscany]]

My understanding (from looking at the other examples) is that if he went to the [[Red Wine]] page (presumably to look up a nice wine to buy), he'd see

December 3rd, 2019
* Had a really good [[Super Tuscan]] [[Red Wine]]
Some other date
* Bought a [[Red Wine]] for [[so-and-so]]:
Yet another random note about other stuff:
* Buy some [[Red Wine]] for [[whats-his-name]]

Even the links that point to useful information don't have the information right there -- you have to click through for each link. And some of the references may not have anything to do with a good wine recommendation at all. So you have to edit the [[Red Wine]] page to make it a useful list, but that's what we do with Evernote already, and the linking part wasn't that useful.
Are you here actually struggeling to find a kita place for your kid, or seeing how refugees just get dumped into ghettos ?

Because if you arent ... well then.

There’s honestly something very fundamentally wrong. And its very irresponsible and honestly nigh defamatory by trying to blame the larger mood on “posts such as mine”, hell im not even a conservatist, actually a moderate leftist that thinks those cries for attention ought to br heard and adressed. Posts like mine arent making the AFD the third strongest party, theyre riding the anger, rather. I will honestly not make statements about you, because im not here to inflame things, but do consider your finger pointing in this case, its unsavory, even if im off base and you know better, there’s a better way to put it.
> 2) I have a strong suspicion that those 'enter your Apple ID password because your account needs it' message really means 'a government has requested your data and even though it's encrypted, we will nag you about entering a password, and if you give it, you're a free game'.

Haha I hadn’t thought of that. If true, I must have every government requesting my data frequently as I constantly get bombarded to enter my iCloud password.
Epic's is significantly worse than Google's.
Inspirational Streetwear Fashion by Trentain
One click on the "Documentation" tab provides links to several screencasts/tutorials. Are you looking for something specific? "Hello world" doesn't cleanly map to an environment as comprehensive as Pharo because there are so many options. Do you want "hello world" to output to the terminal (Stdio stdout << 'Hello world')? A window? A growl-style popup (UIManager default inform: 'Hello world')? The transcript (Transcript show: 'Hello world')?
There is strong pragmatic cooperation between manufacturers. You get free samples and if some parts don't meet specifications there is a shared effort from both supplier and consumer to fix the problem in the process instead of suing each other. Would be too expensive without real results anyway.

Hours worked are pretty low compared to other European states even if you factor in a large part time component. I don't think increasing hours would increase productivity anymore.

There is also a darker side of course with a lot of minimum wage jobs or people working long hours while still being dependent on the state. Even for employees of the same company the income can be quite unequal. Compare development or engineering with production or logistics for example.
As a California resident, the endless classification of basically everything as a carcinogen has had the opposite of the intended effect. Now I just ignore all the warnings because they’re meaningless in everyday life.
Last time I checked Glenn Greenwald was saying that Russian interference had nothing to do with results of the last election and Hillary lost because she was a bad candidate. I have no quibble with the bad candidate line, but it's pretty clear that the Russians we're actively involved trying to get Trump elected. I think some people have legitimate disagreements with Glenn.
Statements like "could be nearly ice-free" are milk toast and meaninglessness. It is plan and simple CYA. It provides an out if the predictions don't turn out they way they expect or desire.
One of my favorite truisms about reading code is "comments are the only part of the code you can be sure aren't tested"