skysight-inc/HackerNews huggingface dataset:
I knew someone would say this. Full legalization for narcotics for drugs such as; heroin, methamphetamine and even "peaceful" psychedelics will spawn a whole host of problems our society isn't ready to deal with, including; psychiatric, welfare, substance abuse and worst case, the above 1984 situation you mentioned. It's why opiates were partly banned (besides the racist overtones) in the earlier part of the 20th century. If you want to see a historical example, look at China's opium crisis in the 19th century.

Full legalization is not the correct path, full decriminalization, subjective taxing, quality assessment and proper counseling and support is.
Internet of things products are often notoriously short lived as the service the product depended on is suspended or changed at the whims of the companies that run them. I doubt it helps climate change to produce a bunch of gadgets that quickly become obsolete.

So I think the consumer internet of things will at the very least balance out the B2B internet of things.
aren't allowed to keep ammunition for their weapons at home

They aren't issued take-home ammunition by the army, but they can buy for their own use.
> Last time I checked QT depended on a signal/slot mechanism that was not C++ compatible.

what do you mean by "not C++ compatible" ? Qt is 100% C++ code. The few macros you see (signals:, slots:, emit) are #defined to nothing or public: / private: in a Qt header
I think the 'truly minimal' refers to the UI!
How could the type system reason about when covariance is valid?
Hotels are superior if you don’t want to cook. That, to me, is the central advantage of AirBnB: you can get one with a kitchen. Otherwise I see no reason to use it and I’m also not opposed to alternatives because I can very well see the destructive effects it’s having.

We always want to cook when we go on vacation and that’s not doable in a hotel. So AirBnB it is, most of the time.
During the Enron-caused blackouts (of which my father was partially responsible. When working at Perot Systems, he was on the team which build the technology enabling Enron to rob Californians blind ) we lived in Santa Clara. It was nice knowing my power wouldn't go out, which was good because the daily blackouts meant my Mountain View office was closed at least once a week for a month or two.
First of all, the market has not been exactly “up-up-up.” There has been massive volatility and drawdowns in the last year.

Second, my analysis was from the beginning of 2018 to present. Using that data, the ideal leverage ratio is 2.99x.

Third, the ret/var model put forth in the post assumes a log-normal distribution. The less log-normal the returns are, the less accurate it becomes. Excess kurtosis or skew will definitely affect the accuracy of the model. So the model would probably be fine if the market was up-up-up or down-down-down, I haven’t encountered any periods in which the non-normality of the distribution is so severe that it completely breaks the model.
If cows were given fair wages, tipping wouldn't be necessary in the first place.
Hotels are often located in touristy areas and lack nice amenities like kitchens. Is it that hard to understand that there exists demand for whole-home vacation rentals?
Some do, some don’t. I despise having to communicate with people.
Low barrier and one click provisioning Cloud SFTP server
Ask HN: Reasonable time to learn a new field at a new job
How long time is needed to be proficient in a new job, when you're new to the domain?

I think 6 months, what do you think? More or less?
This is the #1 thing I love about C++ compared with Rust — I don’t want it to be easy to depend on thousands of things. I would rather use a small, curated, relatively standard set of libraries provided by my OS vendor or trusted third parties.

“Modern, dependency-heavy environments” are a symptom of the fact that certain ecosystems make it easy to get addicted to dependencies; I don’t think they’re a goal to strive towards.
Average productivity of an Indian IT services employee is as low as $15000 a year. With no uptick in productivity - the only way you can improve margins is to cut the flab - which is there in senior and middle layers. So senior and middle managers who have made themselves redundant without upskilling are now game. Average work life duration of an Indian IT employee might be less than 20 years currently.
Or alternatively: that most of us happily accept the lower costs of goods and services from developing countries, but some people get upset that this drags our earnings down because of the competition from their workforces.
For the better or worse, this is the standard language for modern academic writing. Do not blame the authors if this social convention is not to your liking.
It is mandatory (for men) army service.
If you are found as "unfit for army" during admission, you are obliged to pay tax that amounts to min 600 chf p.a (if the young person has no fixed income) or 3% of his salary until he reaches 40y old. Essentially, you have minor health condition and you pay for this for the next 20 years.....This is one of the most unfair tax I have seen.

Based on recent experience I would say army commissions are quick to pronounce someone unfit, easy money...
6 Key Principles of Ideas Made to Stick
Designing a Fast Hash Table
I think the bigger problem is that we as content consumers are more and more looking for quantity rather than quality. While reading this climbing text I was thinking that I should probably carefully check for inconsistencies but I felt I can't be bothered to. I am not sure if that is only my feeling but it feels like the content matters less and less as long as I get entertained and with the neural nets getting better and better and I getting less picky we will meet somewhere in the middle where my brain keeps scanning for buzzwords and the net optimizing for it. Which feels this way with youtube, netflix et al. as well and I think this won't become a future we really like.
> They copied the US constitution, ..

How would switzerland (1291) copy the US constitution (1789)? Do you have any references on this?
There is not really anything more “native” about using libc++ with clang as opposed to libstdc++ other than the fact that they happened to be developed by the same project. Using clang with libstdc++ is extremely mainstream and normal.

Actually I would bet that even among clang users, libstdc++ is used more commonly on GNU/Linux (IDK for sure, but it’s my hunch).
Oakland near the Coliseum is the place to go. Quick appointment times, often same day, and they are way friendlier than the Oak Street branch in SF.
>>Basically the only substances that the government has grounds to prohibit are things like weapons-grade plutonium which actually (not rhetorically) could harm more than just one being.

You do realise that fentanyl is even deadlier than cyanidie, right? Few hundred grams dropped into a water supply would kill a stupid number of people.

What else do you think should be available over the counter? Industrial-strength acid? Organic mercury compounds?

It's not about "I will do what I want with my body" - it's just that dangerous materials and poisons shouldn't be available to everyone, just like automatic rifles aren't. Can criminals still get them if they want them? Sure, but that's not an argument for making them available to general population.
Multiple health and environmental impacts of foods
If lying blatantly is a part of Indian culture then Indian culture must change.
I think you underestimate the sheer genius of Robert Caro. I cannot think of a biographer or scholar who researches, digs, puts his hands in the mud more to uncover the truth. He is a national treasure. His Moses and LBJ bios are absolute gems in the literary canon of biography as a genre.
Better source: https://www.ftc.gov/news-events/press-releases/2019/11/att-p... direct from FTC links to the court documents regulating disclosure requirements.
There was also a time when vi was considered a memory hog with crazy feature creep.
My girlfriend, who is from Britain, also tend to go on about how "british english" is the only correct english because "we invented the language". Not 100% serious of course, but subconsciously I think she believes it. She also dislikes it when swedish (us being in Sweden) borrows english words and changes the spelling or meaning. I think this attitude is a bit lazy or ignorant - people don't think about what a language is or how languages develop when they say something like this. All languages are thieving slaves of fashion that cut, copy and paste with abandon, continuously.
Get it from India. You can buy any antibiotics without prescription in India. And get it posted anywhere.
Well, when you owe your broker $5,000, it's your problem.

When dozens of Robinhooders owe their broker $100,000, it's Robinhood's problem.

In this case, Robinhood generally applies margin calls near the end of the trading day. However, in this case, the trader's account equity went from $50,000 to -$100,000 in the span of seconds.

Robinhood did in fact liquidate his position at the end of day preventing further losses, but they are already on the hook for a 6-digit sum. (Yes, legally margin debt is the trader's problem. But I doubt they will/can collect on this.)
The minimum BTC purchase is far smaller than an entire Bitcoin.
First WinUI 3.0 Alpha now available
What does this feature have to do with programming languages? Why do I need one dependency tracking tool for Rust, a separate one for Go, a separate one for JavaScript, etc?

I already have a dependency management tool for C++; it is called the Ubuntu package repositories. I don’t need another one baked into the language.
I think the more common term is distributed ball of mud
(Warning: Armchair economist!)

Poorer countries in general have lower productivity (possible causes can be lacking infrastructure (roads, electricity, telecom, but also regulations etc.), lacking capital, lacking foresight/lacking capital to invest in future tech by the governement (e.g. broadband internet)).

This results - despite lower wages! - in higher unit labor costs.

If you form a monetary union with poorer and richer countries (like the EU), you have problem. The richer countries, despite higher absolute wages, will have lower unit labor costs. The richer countries can therefore expand exports at the cost of domestic production in the poorer countries (e.g. Germany vs. rest of EU).

If the poorer country wouldn't be part of the union, it could (among other things) lower the value of its own currency (or the forex markets would do that). Lower-valued domestic currency assists exports, which levels competition with the richer countries a bit.

This doesn't mean that there are no alternatives inside the current EU! They just haven't been implemented yet. Options would be

* way higher minimum wages in the rich countries (Germany was one of the last countries in Europe to implement them)

* implementing less union-hostile laws in the richer countries (resulting again in higher wages, but also for higher income groups not affected by minimum wage)

* More infrastructure investments in the poorer countries (there already are significant transfers, but more would help)

* A unified fiscal strategy. After implementation of the Euro zone, there were massive capital inflows into the poorer countries, resulting in overvaluation of the local economy. This was a big reason for the local problems of the last decade [1]

[1] https://streetlightblog.blogspot.com/2011/09/what-really-cau...
> France, in a state of civil war/secession following a government bankruptcy, used its military to try and loot Swiss wealth.

Not a particularly far-fetched scenario, if you ask me. Except for the last part, coz there ain't enough money left to run a military organization.
"""On the matter of parts being lost, in early 2017 a review by the Federal Aviation Administration upheld Mr Barnett's concerns, establishing that the location of at least 53 "non-conforming" parts was unknown, and that they were considered lost. Boeing was ordered to take remedial action"""

That's not just bad; this is really, _really_ bad. In my eight years of the Navy, working on aircraft, parts and tool accountability was 100% the most serious part of our day. You went to and left the aircraft with everything accounted for. If _one_ part or tool was missing, everything would shut down for that aircraft until it was found.

The fact that tools and parts were/are missing tells me that either supply didn't do its job right, or someone left a loose nut in a compartment somewhere, just waiting to kill people.

People _die_ because of this shit.
Kamerka OSINT shows your country's internet-connected critical infrastructure
Mignight Commander is still my preferred file mamager on Unix.
good luck with all that government free infrastructure, but as your fellow coinhead told us, we should think about the poor people...
Elizabeth Warren slams Twitter for policy banning ads fighting climate change
> Remember Venezuela was one of the most educated, wealthiest latin countries at the end of the 90's.

Then the price of Oil skyrocketed in the '00s, and the USA began destroying and sanctioning the economy to keep those oil rates high. This is the same reason Iran has sanctions, protecting the USA and OPEC.
France to set quotas for worker immigrant visas
Node.js – v13.1.0
> However, base64 has weird mappings that take some processing to undo in SIMD – can't use lookup tables and need to regroup bits from 8 bit to 6 bit width. That does take a lot of cycles without specialized bit manipulation instructions.

Base64 uses lookup tables and the bit manipulations required are standard shifts and 'and', which are basic, fast instructions on any CPU. That seems exactly what they do here with an efficient use of AVX512 to make it fast(er).
> implement smooth scrolling on the iPad mini that matches the iPad Pro

No iPad Mini ships with ProMotion hardware, FWIW.
It's relatively easy to find such incidences online. It's also easy to forget that Switzerland is quite a small country and underestimate the relative frequency.
> It does not interop with JavaScript.

I don't know what you mean here, but it is certainly possible for TypeScript code to use JavaScript libraries and vice versa, which is presumably what most people mean by "TypeScript interops with JavaScript".

> It always transpiles to JavaScript and always runs as JavaScript.

Technically false... https://assemblyscript.org

> TypeScript is a superset of JavaScript. Therefore the OP's point is still valid. Any "mistakes" JavaScript might have made about having null AND undefined are also issues for TypeScript.

TypeScript adds type checking to JavaScript. The Million Dollar Mistake is having unchecked nulls; TypeScript supports checked nulls so it's not an issue. TypeScript's nulls are much more similar to Maybe/Option than unchecked nulls.
thanks for this.
I am caught by surprise.
Which reminds me of Ben X. Quoting Wikipedia [1]

(SPOILER on bottom of post.)

> Ben X is a 2007 Belgian-Dutch drama film based on the novel Nothing Was All He Said (Dutch: Niets Was Alles Wat Hij Zei) by Nic Balthazar, who also directed the film.[4] The film is about a boy with Asperger syndrome (played by Greg Timmermans) who retreats into the fantasy world of the MMORPG ArchLord to escape bullying. The film's title is a reference to the leet version of the Dutch phrase "(ik) ben niks", meaning "(I) am nothing".

> The novel was inspired by the true story of a boy with autism who committed suicide because of bullying

There is also a Swedish remake (2013):

> Erik Leijonborg adapted the film into a Swedish-language remake, IRL.

[SPOILER]The reason it reminds me of that movie, is because Ben's death is faked to teach his bullies a (life) lesson.[/SPOILER]

Back when I watched it (it hit a spot), I did not play either MMORPGs nor did I know I had autism. Now I know I have autism, and I played MMORPGs.

[1] https://en.wikipedia.org/wiki/Ben_X
i'm not talking about how bad it will be, i am talking about how much of a difference changes made by us will make. there is a point where even if we stopped all carbon emissions it will not stop climate change
Who would benefit?
Agree but despite that I keep coming back to it and using it, replacing a few of my UIKit views with SwiftUI. It's everything I like about React and Swift together. Hoping compiler messages improve a lot in the next few releases.
I guess they're suggesting that they put a lock on your life so others can't steal it. It's a pretty tenuous metaphor.
Some more:

* Hash maps in the standard library (every so often I have to go and look it up to remind myself that no, I’m not imagining things, C++03 really didn’t have hash maps in the standard library, as ludicrous as that sounds)

* Regexes

* Option and Variant types

* Move semantics

And my personal favorite...

* foo<bar<quux>> is no longer a syntax error
Walmart is better for the consumers - more variety in stock, affordable pricing, one place to shop instead of half a dozen - but bad for everyone else: the workers, the suppliers, the local communities around a Walmart that lose their small stores as people will rather drive 20km and have everything than go to the local store and spend more money on the goods than the gas costs for the 20km, the taxpayer...
No they don't. We Swiss are a little more responsible with our guns than Americans.
On the flip side -
https://timesofindia.indiatimes.com/business/india-business/...
Is it a bad take (or a sweeping generalization) to say that the quality of work done by IT service companies in that part of the word is consistently below-par?
This should change soon, as EPYCs can do 204GB/s of memory throughput (plus tons of pcie4.0). They also aren't cpu tied, all of the SKUs get all of the lanes
Design Systems Are About Relationships
It is not really a slowdown. Companies are more than ever eager to hire anybody to do IT projects. The trouble is the level of service provided to customers by vendors from India is pretty shitty and that's why companies are migrating to other countries for IT resources.

I work in banking and payment sector and I had a chance to observe this on a dozen projects.

In one instance Cognizant offered to completely automate a significant application used by hundreds of thousands of customers throughout the world. They were supposed to containerize half a dozen services, Oracle database, configure it to run on AWS and also automate environment creation.

The team put by Cognizant had not a single person knowing how to do basically anything. They spent entire project schedule and more just learning the basics of how to get around. Instead of automating anything they negotiated to be allowed to just order vms on EC2 and install applications there, manually. It took them three weeks to figure out how to copy 400GB database backup (they had space, accesses and networking, they just couldn't figure out how to copy the file). Then they spent another two weeks unable to restore the backup.

The trouble is that for a long time they have been cranking junior devs with no quality culture and no real interest in what they are doing and now this is starting to hurt them.
That's not what makes a distributed monolith, IMO. Or to put it differently, it's not what makes a "monolith" be equal to "bad" in people minds. You want to avoid the badness, don't want to avoid the label.

So, what is bad about a monolith? The complexity. Coupling of unrelated things; because it's simple to do so, because it's right there next to you and you know how it's implemented and what it performs, so you do thing A in component X knowing/relying on the fact that component Y will do the thing B, because that's how it's implemented (not because it's inherent unavoidable business logic).

How do you end up with a distributed monolith? E.g. assume that microservice B will call microservice C only after you (i.e. microservice A) had a chance to call C first. Yes your code is distributed, but you don't get the benefit of logic segregation between the modules - you just get all the downsides of distributed systems.

Do note that my scenario requires no shared code or library. Not sharing code doesn't save you from the distributed monolith - careful thought does.
There needs to be a minimum acceptable speed threshold. “2G" is meaningless. They do not downgrade the protocol to 2G, hence that term only serves to confuse customers. 2G refers to EDGE that was available at 144kbps, which is faster than a bonded ISDN, which is fast enough to stream a 128kbit mp3.

I would actually be happy with true unlimited 144kbps. It’s usable. I can run RDP over that with reasonable refresh rate.

It is also not possible as a customer to voluntarily turn off high speed when you don’t need it.

From experience, once my connection gets limited to 2G, my speed is closer to 9600bps, which is absolutely unusable for interactive Internet use.

I have two phones. One has Visible from Verizon with allegedly unlimited but relatively slow data at 2-10mbit with unlimited tethering. The second is my T-mobile phone with an allegedly unlimited but in reality limited to 50GB much faster data with a 7GB hotspot.

I use my Tmobile data when I have to and the rest of the time that phone is tethered to my Visible phone. Visible is $40/mo, T-mobile is $80 and I may downgrade it to a limited plan with zero-rated video.
In the meantime, people die, or have the potential to die.

There's nothing preventing the FAA from proceeding with its own investigation, except for Boeing saying, "Nah, don't do that, we got our own thing going on here... btw, how's your bank account? Get that 250k yet?"
Great font for letters. IMHO, the numbers aren't so good.
>Why is that an achievement?

Compared to what, being content to suffering slower base64 decoding?

Why it's an achievement is obvious.

Your question should be rephrased better as "will this make much difference in most common scenarios"?
China?

"China Beats U.S. 8-1 When It Comes to Charging Electric Cars"

https://www.bloomberg.com/news/features/2019-10-15/china-ele...
The linked article about OYO's financials specifically show how they've been reducing losses YoY while increasing growing top line revenue. If anything, OYO rooms is the perfect example of the VF working.
Apparently there is an extension: https://addons.mozilla.org/en-US/firefox/addon/page-archive-...
It's probably either this behavior or a statement in the finally block that doesn't run, even though it's guaranteed to. Either way, some assumption of normal program behavior is invalidated.

Unless one goes the PowerShell way and just forbids returning from finally.
Curious what your use case is.
I use it to make quit drafts, real nice to instantly have markdown markup. would tip this to people who start wqrint in markdown
Yes it is. If you had invested in the stock market at the height of the “””bubble””” in 2000 you would be off well now. In hindsight it was not a bubble. You may disagree but sadly you probably didn’t have that perspective at the time.
Ask HN: Will flutter take over the UI world?
If past admissions are any indication, expect a 'revised' admission in a few weeks where they 'discover' that the actual number is one thousand partners who have improperly accessed data.
One of the things I like about C++ is that there is the std::string for common uses, but then you can design your own string classes with defined conversions to std::string. Qt adds QString with lots of nice utility methods, UnrealEngine adds optimized string types, etc. So you can have custom tailored classes for the task at hand, but easy to convert around to the different types with std::string conversions defined.
Designated Initializers done awkwardly a.k.a. "the C++ way"

// Point2D point2d {.y = 2, .x = 1}; // (1) error

Oh my. The C++ committee keeps their flight altitude rivaling moles and worms. This is another brittle feature, just like the initializer lists that have to mirror the declaration order. In what world is this a better option than allowing any order? Can't compiler implementors be bothered or what is the rationale?? C does this better.