skysight-inc/HackerNews huggingface dataset:
Another: String is inmutable AND whole. &[T] is parts, and when declared as &mut [T] is mutable.

Because unicode, &[T] make easy to write wrong code (that asume here T = Char).

It CAN'T be Char, because char is larger than u8:

https://doc.rust-lang.org/std/primitive.char.html

and it mean unicode point.

In other words: Rust is using types to PREVENT the wrong behavior.
Care to name the alternatives you found and the one you went for (and why)?
How about a language named "."? The source code for the "hello, world" program would be in a file called "hello..".

Or Ctrl-G (BEL). Just doing a directory listing would make your terminal beep.

Or LF if you really want to mess up your directory listings.

Or NUL if you just want to make it impossible to create a correctly named source file (unless you consider "hello." to be equivalent to "hello.\0").
Location: relocating from Boston/ to Hong Kong (for the love of my Swedish girlfriend...hence the remote job search)

Remote: Yes (contract/part-time!!)

Willing to relocation: not again (see above)

Technologies: Python/R/Bash/Matlab/Latex/git | UNIX/Linux | TF2/keras/CUDA for ML models

CV: https://github.com/dcolinmorgan/DCM_CV/blob/master/Resume.pd...

email: dcolinmorgan@gmail.com (also my username for github and linkedin)

I love plotting and data visualization.

I am finishing a postdoctoral fellowship at harvard medical school looking to break out of academia. My PhD dissertation was in graph and network theory, applying nonlinear models to biodata (all kinds of 'omics) and I now work on time course trajectory modeling with LSTMs mostly, as well as integration of many 'omics to predict novel therapeutics

I am a contributor to open-source projects, in particular to the netZoo package https://github.com/netZoo/ and https://bitbucket.org/sonnhammergrni/genespider/src/master/
char in Rust is 32bits, so it has a 1:1 mapping to Unicode glyphs. You might also want to care about grapheme clusters, but those are not part of the stdlib.
>This is all feeling very dotcom bubble 2.0.

How many dotcom era companies had net income of $800mil in a single quarter?
WWII was even bloodier then WWI.

The obvious difference between current draftee and Napoleon one is that Napoleon set up to conquer other coutries. The peace time draftee is going to have lower mortality.

Napoleon was literally the aggressor.
They recently updated it to allow you to use an iOS or Android device as an external display: https://www.roland.com/us/support/knowledge_base/36005866483...

Clunkier than a device with a proper screen, but the same approach the OP-Z uses (though I think it can use bluetooth to connect instead of a cable).
You can see some Coqui[0] TTS examples here[1].

[0] https://coqui.ai/

[1] https://erogol.github.io/ddc-samples/
Expo SDK 41
Maybe an unpopular opinion but what you just described as "naive" is arguably a better solution than Terraform's overengineering.

I use Ansible to manage multiple clouds (Openstack, AWS...etc) using a mix of custom modules and public collections. I don't need a "state", I couldn't care less if resources exist or not, upgrades between versions are smooth, module/collection upgrades doesn't interfere with all the existing resources we already have... every time I run a playbook I know that everything will end up just like I want it to be. Not bad for a naive approach I guess.
I'm surprised there's no trademark issues with the name. I worked for Logica, the company for many years. At some point later on they got bought by CGI but you'd have thought they still held the rights to the name. CGI is a stupid name - a three-letter acronym that conflicts with more than one unrelated IT term. Seems logica.com still redirects.
I wish more languages had primitives for "simple strings". Most of the time when I use a string I could live with a restriction that it's ascii only and can fit in 64bytes. "Programming string" vs "human string". For example a textual value of some symbol or a name of a resource file I can control myself or a translation lookup key (which I can make sure is always short and ascii). An XML element name or json property in an enormous file with a schema I control. It seems weird to use the same type for the "human string" e.g. user input, a name, the value looked up from the translation key and so on. For the simple strings it feels like making heap allocations, or either using two bytes per char (e.g C#) or worrying about encoding in an utf-8 string (e.g. Rust) are both wasteful.
An on-off switch for gene editing
Basically you create the desired state DAG in procedural code, rather than the TF DSL. Blithe diffing and applying are the same.
They have not provided you with any reason to believe them. They won't even tell you where they're located lol.

This was a common growth hack for exchanges. When a new exchange launched they wanted to feign liquidity to establish a sense of credibility. They literally copied feeds from peer exchanges until they bootstrapped.

After all, why would anyone trade at an illiquid exchange? How do you get the first people onboard? You pretend you already have a lot of people onboard. More volume = more credibility.

The question you should ask yourself is if nobody is looking, why would they ever stop?

[note] by "growth hack" I mean literally a felony in any other context, but in the crypto space shrug who cares I guess. After all in which jurisdiction would you even sue them lol. Thanks to the "beauty of the blockchain" they won't even tell you where they're based.
Show HN: Add “textfrom.website / HTTP://in-front-URLs” to extract texts
Alternatively, we could look at the empirical studies, which seem to indicate that, regardless of the different ways one could hypothesize that in some contexts but not in others, the reality is that, across the board, making sentences tougher has little deterrent effect.

https://nij.ojp.gov/topics/articles/five-things-about-deterr...
That is literally what happens with historical figures everywhere. Americans now celebrate Martin Luther King for example.
Im not sure what exactly the criticism of UPenn is here.

Is the criticism that the university mistreated Karikó or set unrealistic expectations?

IS the criticism that the university lacked the foresight to know how valuable her contributions would be 30 years later and didn't adequately support or compensate her?

I don’t know where this idea that untenured university faculty should should not be expected to meet the objectives and and milestones of the university comes from. They took the risk and employed her for 16 years (1989-2005) before she published a groundbreaking study, then another 8 years, before leaving to be a VP at BioNTech. 7 years later, the technology was demonstrated to be incredibly valuable.

Does U Penn deserve no credit for the 24 years of work done by university faculty and researchers in university labs?
How do you justify your $100m valuation of a company that generated $700m of PROFIT in a single quarter?
zkPorter: A Breakthrough in L2 Scaling
BP, being an oil extractor, might have higher expenses and so a comparison purely by revenues might provide less insight than desired.
Washington Post cited BNO news, which is just one guy I believe. I don't know if he's just sourcing these from news stories or what. If they're seeing 30 reinfections over 3 months in 650 study participants, you can be quite sure that there are a lot more than 71 reinfections in the world.
I was part of that. Delphi has all the string types you want, since you can declare your preferred code page. String is an alias for UnicodeString (to distinguish from COM WideString) and is UTF-16 for compatibility with Win32 API more than anything. UTF-8 would have meant a lot more temporaries and awkward memory management.
This is a big deal because adding an accent mark to a letter (often) means a single char can no longer store it. APIs should not orient around isolated scalar values or codepoints because most devs will misuse them, not being experts on combining and normalization.
You can also do this with bashdb which is possibly also a more robust solution.
Agreed the competent are most likely to run their own practice. This is true of virtually any field.
HN doesn't much create internal filter bubbles.

It is something of a collective filter bubble, and there is a pervasive criticism from those who largely don't participate here of typically HN behaviours. I agree with a fair bit of that. There are certainly topics HN doesn't seem to be able to reasonably discuss. (This seems to be a frustration of the mods as well. They're certainly aware of the issue.)

My own (in my view at least) largely contrarian voice seems to have been reasonably well tolerated here, though.
So this pretty much legitimizes Bitcoin right? I can't imagine the US government deciding to crack down on it after such a high-profile IPO.
Reminds me of all those yes people.
probably the guide video could be very useful (audio is important) https://youtu.be/RsQt7anrM6k :)
NVidia pimped this at GTC21 as "state of the art TTS" which is why I think it's getting renewed attention, , but to my ears, it doesn't sound anywhere near WaveNet (Google), Siri, or Alexa.
That's incorrect. We are discussing here the set of possible models for the universe, not the necessary existence of multiple universes. In that case there is a clear set of candidates that we need to consider, making the probabilistic method meaningful.
He's working too hard. You don't need all those type declarations.

let a = "hello".to_string();
let b = "world".to_string();
let c = a + " " + &b;
println!("Sentence: {}", c);

It's a bit confusing that you need "&b". "+" was defined as String + &str, which is somewhat confusing but convenient.

If you've been handling Unicode properly in other languages, then Rust strings seem easy in comparison.

Yes. C is awful. C++ is still sometimes UTF-16. C#/.net is still mostly UTF-16. Windows is still partly in the UTF-16 era. So is Java. So is Javascript. Python 2 came in 2-byte and 4-byte versions of Unicode. The UTF-16 systems use a "surrogate pair" kludge to deal with characters above 2^16. CPython 3 has 1, 2, and 4 byte Unicode, and switches dynamically, although the user does not see that.

Linux and Rust are pretty much UTF-8 everywhere now, but everyone else hasn't killed off the legacy stuff yet.
It would be easy to use satellites to find the person with hundreds of Tesla's in their front yard.
How can I trade USD for BTC without paying these big fees to someone like coinbase?
Last time I checked timeshares were a shrinking sector. My advice to you is: consider pivoting your biz model to crypto brokerage.
I just wish you could remove the number next to your name natively in HN. It can't seriously take more than 5 minutes to implement this. There's no excuse IMHO. I want to interact with the site without seeing the number change and wondering why it did.
Yeah it sucks that the valuation for a company that inefficiently mines a resource that's going to be stored forever and mostly used to speculate, with only a small part of it ever put to productive use has such a high valuation.

But yeah the valuation for Coinbase is also insane!
So - stochastic dictatorial regime? (stolen from: stochastic terrorism).
Mandarin is an interesting case. Most of the Han characters used by Mandarin fall within the basic multilingual plane and thus occupy 2 bytes in UTF-16 but 3 bytes in UTF-8. However, for web documents, most markup is ASCII which is only one byte. So for Mandarin web documents, the space requirements for UTF-8 and UTF-16 are about a wash.

When you add in interoperability concerns, since so much text these days is UTF-8, for Mandarin at least UTF-8 is a perfectly defensible choice.

(A harder problem is Japanese — Japan really got screwed over with Han unification, so choosing Shift-JIS over any Unicode encoding is often best.)

FWIW I covered the space requirements of various encodings and various languages in this talk for Papers We Love Seattle:

https://www.youtube.com/watch?v=mhvaeHoIE24&t=39m14s
It is weird how these clowns turn up to defend space karen
The number of things that you have to learn remains constant. I could even make the argument that the number of things you need to learn up-front is lowered when only talking about the distinction between String and OsString/CString. The difference is that rustc will be pedantic and complain about all of these cases, asking you to specify exactly what you wanted, while other languages will fail at runtime.
> it seems like unnecessary complexity, something I strive to avoid.

This. Adding complexity to reduce boilerplate seems like the wrong direction to go in (pun intended).

I like boilerplate. I can overwrite it with special cases whenever I need to, and it takes up very little mental space (as opposed to the rules needed to generate it).

I hated working in Rails because of all the magic. I love working in Go because of the lack of magic.

But y'know. I'm sure it'll suit someone. Good luck with it OP.
I'm not particularly productive really, but seeing a few people I interact with pumping out open source PRs, and doing releases, all while (say) being the CTO of a company boggles the mind
You raise a good point... essentially the same point I made earlier -- insulting people is as bad a strategy for changing behavior as yelling at them.

If I were trying to get moralizing conservatives to agree with me, then not insulting them would indeed be the first part of an effective strategy. However, I'm not trying to change minds, because that is also fruitless.

For the same reason that trying to convince ordinary people that their promiscuous lifestyles are bad won't actually change their behavior, trying to convince moralizing conservatives that their entire worldview is wrong isn't going to change their perspective.

This kind of person is not trying to achieve an effective outcome through policy, they're trying to use policy as a weapon against people they don't like. Debating the effectiveness of various policy options won't move that particular needle, so why bother?
No, because again, you take the vaccine, it causes an immune response, and then it leaves your system. Even if you then take it again a year later. It's not like a drug that you're regularly taking, which remains in your system. What would change my mind is if I saw vaccinologists explaining a mechanism by which a vaccine could cause long-term side effects, rather than the opposite.
Dogecoin isn't listed on Coinbase. Is NYSE, Nasdaq, or SNP500 selling pumped speculation?
A similar quote that gave me a double-take:

> [Project teams will] understand the user experience intuitively, so you don’t need to clarify it at the task level.

My god, the hours I've spent under both engineer and PM hats because of misalignment about what the user experience is supposed to be! "The task said 'enable color selection', not that the old color should be un-selected."

This philosophy seems to be leaning really hard on the assumption that your team is re-implementing well-worn patterns, but shouldn't items that are so well-worn as to require no explanation or context just get subsumed into higher-level stories?
That doesn't strike me as outrageously misleading, merely prescient.
I think China does have large media influence over the rest of the Asian continent today. The epic miniseries produced in China are translated and enjoyed by people throughout SEA. I wouldn’t instantly expect it to show up everywhere in the developing world, but in the SEA it’s definitely there.

Despite the love of the miniseries, most people in SEA are not dreaming of being Chinese (which is of course an impossibility.) The advantage of the US may be our comparatively relaxed immigration laws.
A horrible FedEx edge case: postal code automation and long addresses
The comparison with NYSE is indeed very convincing.
I thought this fascinating video lecture[0], History of English - The Great Vowel Shift by Jürgen Handke, explains things very well, using the diagram and by his demonstrating all the vowel sounds in question. It even explains the origin of some other modern English accents.

[0] https://www.youtube.com/watch?v=zyhZ8NQOZeo
How to Get Real Human Website Traffic That Converts
what you're getting at is that both the mean and the variance have information (they're independent variables), which is good to keep in mind. on hn, both of your examples would be at -4 (dead) with no way of differentiating the two.
The type declarations are there for maximum clarity, since the inferred types may not be obvious to the target audience
Bad behaviour of this nature tends strongly to operate at scale.

Bad actors form massive communities, and quickly. You can look at the rise of various networks, such as T_D on Reddit, or the rapid growth (and often fast decline) of other such forums elsewhere. I find it very difficult to believe that such growth is organic.

(Commercial and brand accounts / pages / platforms often follow similar trends, and for similar reasons. Advertising and propaganda are one and the same.)
3 seconds of googling, et voila:

https://en.wikipedia.org/wiki/Enrique_Tarrio
You know it's possible for people to start YouTube channels as a hobby/side project/whatever. Not everyone with a YouTube channel is trying to scam you. Billionaires are people too. Justin Kan has a YouTube channel for example. You should check it out :-)
1. Keep valuable growth companies private for as long as possible where only accredited investors (rich people) can invest in them.

2. Open up to the public market only once you've reached the max theoretical valuation. The company is still hugely overvalued on hype and future growth is unlikely. Ideally, you quickly make it into the S&P 500 so you can hand off the bag to passive index holders who have very predictable buy rate (mostly retirement savings).

3...

4. The rich profit of the plebs like always.
Bold assertion immediately following a pandemic in which the demand for rentals fell to... zero.

It took a significant pivot for AirBnB to recover and maintain revenues.
DuckDuckGo, Vivaldi join Brave in opposing Google's new ad-targeting tech
Thank you for your feedback. People will know who sent the message. You will receive 3 confirm before sending the message.. at the moment there is not a read confirmation.. It could be the next feature :)
For example gender stereotyping for jobs or personal traits, that is politically incorrect but nevertheless reflects the corpus of training data. (He is smart. She is beautiful. He is a doctor. She is a homemaker.)
Coinbase’s Whipsaw Debut Takes It Past $100B, Then Back
Are there potentially other situations where `&[T + !Sized]` makes sense?

The majority of the functions on `&str` seem to make sense for all `&[T + !Sized]` where `type str = [unsized_char]`.
That’s what was said at the time. Regardless, the stories coming out of Mixpanel under his leadership weren’t great to put it lightly.
I do, but I am admittedly a small sample. A case can certainly be made that luxury cars, in general, are not very "good" cars in most metrics as by which the industry measures what a "good" car should be. I think OP has a valid point, if the synth Teenage is selling is inferior and more expensive but sells because "status" and signaling.
It's been running for 14+ years tho, this isn't exactly like other services Google has shutdown, and one wonders how it survived all this time, long after Google stopped caring about RSS.
I probably have a different thought process on this than Bruce, but my analogy would be closer to cattle gates. If a rancher leaves a gate open or the gate is damaged by the cattle and cattle are getting onto the freeway, they become a liability and safety hazard. It is not uncommon for another rancher to round them up, put them back into the right place and secure the gate. The rancher that owns the cattle will owe them a case of beer as a common courtesy. If local authorities have to round up the cattle, the rancher may even be fined.

Unpatched and misconfigured servers account for hundreds of billions of lost dollars every year and the FBI Cybercrime division have to spend tax dollars chasing down these issues. They are not staffed to do this. So if a court gave them permission to round up the cattle, so be it. Better them than criminals poaching the cattle causing financial losses and write-offs. To extend the cattle analogy, I would also be happy to see companies being fined for not patching their servers in a timely manor. Can't patch it? Put it behind a firewall/vpn and set up a secure smtp proxy such as postfix to relay email to it from the public and disable public exchange access, or use O365's hosted solution.
We also found tf 0.12 to be quite slow. But this was fixed in 0.13 and how it feels lightning fast compared to before.
At least he's not selling a course
How about universal basic income? Send some to everyone monthly. Would be curious the social implications of elicit money used as a welfare utility.
a company that inefficiently mines a resource that's going to be stored forever and mostly used to speculate

I've never heard the Nasdaq described like this. Interesting though.
>the supposed point of crypto is to reducing the reliance on, and grifting from, companies like Coinbase.

Not necessarily, the point of crypto is to reduce reliance on fiat money, due to the high fees of crypto it makes sense to build centralized services on top backed by decentralized cryptocurrencies, these exchanges dont hold real power, as you can just switch exchanges (unlike credit card processors). Bitcoin is like the internet gold, but you dont buy stuff with gold.
I don't believe you can trademark the name of a computer language
A coffee mug full of puzzles
oh hell yeah, we're back to the era "no one does REAL work on Macs / iPhones" but now its the OP-1

you seem mad bro
The efficient market hypothesis means that valuation of Coinbase reflects all available information. I'd wager that this is true. It doesn't mean that the services Coinbase provides actually are actually worth that much or will ever be in the future.
I've skimmed https://en.wikipedia.org/wiki/Database_normalization before and I'm trying to reconcile your clear explanation with what is there.

> Informally, a relational database relation is often described as "normalized" if it meets third normal form.

So then I look at https://en.wikipedia.org/wiki/Third_normal_form , which has this fun:

> An approximation of Codd's definition of 3NF, paralleling the traditional pledge to give true evidence in a court of law, was given by Bill Kent: "[every] non-key [attribute] must provide a fact about the key, the whole key, and nothing but the key".[7] A common variation supplements this definition with the oath "so help me Codd".

I don't see how that relates to your normalization. It's possible the simple case of booleans was just for illustration, but if not, then it suggests to me that there should never be any boolean column in the normalized schema, since you can have an additional table containing the keys corresponding to e.g. `true` values.

Could anyone clarify?
Possibly fair to exclude Bitcoin from that definition, being the first and essentially a research project let loose... but what about 1000+ dead coins?
It might be cool.