skysight-inc/HackerNews huggingface dataset:
If you are interested in Go with enums, sum types, optionals, immutables etc, there's V.
Doesn't surprise me. Spectrum has the same thing here in the US. All their devices have telnet or SSH or web access on an internal VLAN, with weak passwords like "T!m3W4rn3rC4bl3" (I'm not joking). A list of passwords was readily accessible to, at least, all SMB customer support technicians in the old TWC areas as of a few years ago.
> as the further implication of my comment is that societies are locking up their most entrepreneurial and productive members for creating too much value.

Strange, right? People WANT to do these drugs, there are plenty of dangerous LEGAL drugs, yet the state is obsessed with them. How much do we spend a year to arrest and incarcerate these people? How much money could we be making my bringing these products out of the black market and into the light?

There is a strong case to be made that the "war on drugs" is less about "locking up dangerous criminals", and more about targeting anti-war, civil rights, and pro-labor movements. Nixon even outright said so.[0]

It is a potent weapon. Lots and lots of people do drugs. All the police need to do is trump up an excuse about "smelling weed", plant a drug[1], and BOOM. Police man meets his quota for arrests, the prison system gets a new worker they can pay $0.50/hr, and one less potential activist on the street.

0: https://www.cnn.com/2016/03/23/politics/john-ehrlichman-rich...

1: It DOES happen. https://www.youtube.com/watch?v=8z6RVGnoXeI
Not necessarily. Detroit, for example, just stopped having people show up after it stopped booming. I certainly think it's possible to reach a new equilibrium, but I don't know if SF is going to manage it.
There is a different course of action for high-abuse drugs. Apparently in Switzerland you can get an "addict" prescription from your doctor, and with that prescription you can go to an injection clinic and get a free professional injection of heroin and a bed to lie on.

The result of this is all drug dealers going bust, and no drug dealers - no one to market the drug, so no new users. All addicts in Switzerland are now old people, and as they die of related diseases and old age the Swiss are having hard time keeping the clinics open because there are not enough takers for free heroin.

I think all opiates can and should be taken care of this way. Not sure about stimulants though - one doesn't just lie down on a clinic bed after a dose of meth or crack. Maybe if regular coke is legalized people will give up meth and crack?
Please start this project. If it used C or Go I could even contribute.
As an experiment, I made a post saying only thedonald.win. Nothing more, nothing less. It was not visible when I logged out.
This is a really good post that shines some light on how the insanity of encodings still isn't fixed today, since so many operating systems still don't completely use Unicode everywhere.

Some of the reasonings behind why the characters are displayed like that are slightly incorrect, though, so here are some corrections:

I'm going to supply each example here with some python3 code to reproduce with, with the following definition:

`data = b"a\xcc\xb6\xcc\x81\xcc\x93\xcc\xbf\xcc\x88\xcc\x9b\xcc\x9b\xcd\x90\xcd\x98\xcd\x86\xcc\x90\xcd\x9d\xcc\x87\xcc\x92\xcc\x91\xcd"`

First, let's start at the beginning:

> My router just cut the name down to 32 octets though to stay complient
> This was what was being sent according to iw
> `a\xcc\xb6\xcc\x81\xcc\x93\xcc\xbf\xcc\x88\xcc\x9b\xcc\x9b\xcd\x90\xcd\x98\xcd\x86\xcc\x90\xcd\x9d\xcc\x87\xcc\x92\xcc\x91\xcd`

If you look at this closely, the last byte in this sequence is `\xcd`, which is an incomplete UTF-8 character. It's missing the final `\x84` that the router cut off (along with the three additional `a` characters).

> with the raw hex being
> `97ccb6cc81cc93ccbfcc88cc9bcc9bcd90cd98cd86cc90cd9dcc87cc92cc91cd`

small mistake: the hex of `a` is `61`, not `97` (that's decimal), but otherwise correct.

> Galaxy S8 running Android 9 with Kernel 4.4.153
> Amazon Firestick

Everything correct, except for a small detail:

These two devices render the result of UTF-8 decoding while ignoring bytes that are invalid unicode (in python3: `data.decode('utf-8', 'ignore')`)

> iPhone 6 running iOS 13.5.1
> Apple TV Second Generation

Completely correct. This is definitely Mac OS Roman (in python3: `data.decode('mac_roman')`)

> Windows 10 Pro 10.0.19041

This one is a incorrect again:

Windows is interpreting the characters in the "Windows Codepage 1252" (also known as "Western") encoding and ignoring invalid characters (in python3: `data.decode('cp1252', 'ignore')`)

Decoding every character separately as UTF-8 would fail (since every byte that can be a continuation of a UTF-8 character is not a valid start byte).

Interpreting every character as a Unicode code-point number would give something very similar, but not exactly the same: What Windows decodes as quote, caret-y thing, angle bracket-y thing, tilde, dagger, double dagger, and single quote fall into a control character block at the start of the Unicode "Latin-1 Supplement" block (`\x80` to `\x9f`).

> Chromebook running ChromeOS 83.0.4103.97

Correct.

The Chromebook seems to have rendered the ASCII a, but replaced all other 31 characters with question marks.

> Kindle Paperwhite running Firmware 5.10.2
> Vizio M55-C2 TV

Also correct.

Those two devices seem to opt to display hex instead of falling back to question marks as the Chromebook does.

I hope this comment gave some useful insight into why these devices decoded it this way :)
Sounds great. Is the battery life OK? Was it hard to get the phone?

To be clear, I see some measure of compromise as totally reasonable if one's goal is to get on an open os...
I wonder if there is a resource that classifies most foodstuffs (raw and processed) by nutrient content, cost, degree of processing, growing condition etc. Something that is essentially the wiki of food but arranged in a way that makes SQL like queries possible across a range of variables.
> when wear out happens you should be buying a new phone

That may indeed by Apple's priority, but it's not mine.
>If you imagine a dial with a yellow warning at "8" and a warning redline at "9", the US is currently arguing over whether turning it from 1 to 2 is going to be the end of the world. The limit does exist, but it's a long way away.

The moment people think a currency is shaky, they get their money out of it and into something else. That leads to a huge oversupply of that currency in exchange markets, crushing exchange rates, and making the prophecy of inflation self-fulfilling. Much like borrowing, the moment people think you need to print money to survive is the moment everything goes to hell.

That being said, I think the fed's policy has been pretty reasonable. Europe and Japan have been more aggressive with monetary policy than the U.S. over the last decade, making the dollar very strong and worsening the trade imbalance.
It's only partially unrestrained capitalism. Don't forget the role of the cartels is to to both provide finance/guarantee and control price/supply.
Pretty sure it’s the A Fire Upon the Deep / A Deepness in the Sky series by Vinge

https://en.wikipedia.org/wiki/A_Fire_Upon_the_Deep
A cup of coffee has way more caffeine than tea.

Coffee has 163mg per cup, black tea 42mg and green tea 25mg.[0][1][2]

1kg of dry tea does have more caffeine than 1kg of coffee beans, according to Wikipedia[3]

> Tea contains more caffeine than coffee by dry weight. A typical serving, however, contains much less, since less of the product is used as compared to an equivalent serving of coffee. Also contributing to caffeine content are growing conditions, processing techniques, and other variables. Thus, teas contain varying amounts of caffeine

Also kinda interesting: I've often seen people opt for an espresso instead op a cup of coffee, because they say they need the caffeine. But an espresso has only 77mg of caffeine, way less caffeine than a cup of coffee. [4] (Unless you fill a coffee cup with espresso shots, but who does that?)

[0] https://www.caffeineinformer.com/caffeine-content/coffee-bre...

[1] https://www.caffeineinformer.com/caffeine-content/tea-brewed

[2] https://www.caffeineinformer.com/caffeine-content/green-tea

[3] https://en.wikipedia.org/wiki/Caffeine#Beverages

[4] https://www.caffeineinformer.com/caffeine-content/espresso
SV was very different even just 5 years ago, even more so 10, and doubly 15 years ago.
Can someone explain how RStudio is a competitor to datacamp?

Have briefly used RStudio IDE in past but don’t follow them or datacamp very closely.
I'm not that big on Google criticism.

I dislike targeted advertising, because I find it useless. I like context advertising much more: When I browse X then I find ads related to X sometimes useful. I use some of their products like gmail and drive sometimes. But for browsing and searching I use Firefox and DDG.

But as a web-dev I dislike Apple/Safari. They have become MS/IE 2.0. My not so generous assumption is that they try to restrict the web to make their app platform more appealing.

This issue is different from the things we criticize about Google. They neither restrict me as a user nor as a developer. I can avoid using their stuff and I can avoid aggressively targeted ads (in fact they have a psychologically negative impact on me).

As for personal sites and blogs: I still very much read personal blogs. The quality (whatever that means, but you know...) of articles on those is generally much higher than on medium/dev.to or whatever platform.

In fact there is so much good content on small/personal sites, that I don't have time to read it all.
Are there as many examples of the inverse, big successful companies that started off with a "fast" stack and didn't need to optimize the one they grew with? It seems like flexibility is more important than performance until you actually have a winning product.
Why don't people want to eat lentils? I'm pretty lazy, and I make lentils with chorizo, potatoes, onion, carrot and a mix of vegetables and some condiments all the time. It's very easy to make, cheap and tastes fantastic with very little effort.

Same with rice. It takes a little bit more to master rice, but lentils man it's the lazy meal for me. I also buy frozen vegetables that lasts who knows how much, and it tastes as good as with fresh ones.

Most of spanish cuisine is cheap and more or less easy to make. I'm not really sure that processed food is cheaper. A pot of (again) lentils can last a bunch of days and costs nothing.
Having worked extensively on synthetic data, what's your "verdict" on the topic? People seem to be very divided about it.
Im really excited for the next few years. If we get some real inflation rental properties are going to be a huge cash cow with the low interest mortgages being handed out now
Wealth transfer/vacancy taxes are one proposed solution. There's a guy running for mayor in Berkeley that wants to impose a wealth tax for example, and his scheme to prevent people from moving is to charge massive exit taxes to get their money anyway. Which I doubt would hold muster in any court, but who knows.

No idea on the specifics.
Who says he’s not doing just that? Probably funding anti-aging measures as well. All for the Ultra wealthy of course..
As a fellow New Yorker, I think probably a much bigger impact for us is tourism and foreign wealth parking. People coming to NYC and staying in AirBnBs and Russian/Chinese/Saudi wealth dropping cash for properties to give their children pieds-a-terre have a way bigger impact than other middle/upper-middle income tech workers.
You're assuming a lot of things. That I'm an average user (I'm not) and that thing about Poettering.
I think it's unfair to say that based on this one maintainer; these things make "the news" because they are abnormal, or at least unexpected. I think the perception therefore is "florida man" syndrome, where better reporting confounds straight comparisons.
Although MarsMission could not say anything at the first time, I like the idea. I've collected a couple of links around the same topic, to build a corpus:

https://solar.lowtechmagazine.com/2018/09/how-to-build-a-low...
https://theconversation.com/yes-websites-really-are-starting...
https://twitter.com/QuestForTori/status/1211561864326332416
I worked at a company called UST global where the CEO was a racist South Indian, that hated North Indians. This stuff is totally common.
I found an article with this description:

Exotic as the name seems, squeezed states are just Heisenberg’s uncertainty principle in action. In quantum optics, a light field is described by two “quadratures,” one for phase (P) and one for amplitude (X). Per Heisenberg, the minimum uncertainty of those two quadratures in a given measurement is given by the relation ΔXΔP = ħ/2. In other words, for a given measurement, the better you know the phase, the more potential error there is in the amplitude, and vice versa.

For a coherent state, such as a laser field, the phase and amplitude uncertainties are equal, giving rise to a circularly symmetric “fuzzball” of potential error between the two quadratures. But using nonlinear-optics techniques, the circle can be “squeezed” into an ellipse. That means that uncertainty in one quadrature—the one that’s relevant to your sensor—can be reduced, while the uncertainty in the other, less relevant quadrature are increased.

-- https://www.osa-opn.org/home/articles/volume_30/september_20...
I'd be more concerned that someone working in software uses "junior developer" as an insult.
100% Free Resume Builder
Last weekend I replaced the motherboard of my i5 x220 and took the chance to change thermal paste with Thermal Grizzly Kryonaut. I cannot say how it is performing since I'm only using the laptop with a minimal Debian installation in tty mode but everything seems ok so far.

My next project is to replace the fan/heatsink of my i7 x220 with the x230 one, which is supposed to be just as efficient but noticeably quieter.
> does it mean that if you sell something people actually want, literally nothing else matters about your intelligence, education, character, background, or anything at all

You got it. As always, it's the gross margins. Cocaine has higher gross margins than most prescription drugs, which in and of themselves are almost pure margin -- nevermind that, the market demand for it is broad and deep globally. Cartel operators aren't dumb. On the contrary, they show much of the unsavory, warlord like aspects of doing many kinds of business where there are zero-sum dynamics like this -- they just don't even try and hide it.
Anecdotal but:

6 of my 9 direct reports have asked about permenantly relocating.
Robin Williams, an acid trip, and moral panic: “Blame Canada” at the Oscars
I'm not sure I totally agree about time expense being greater.

Consider most fresh produce is Cheaper than processed food. And it can be eaten raw (or steamed easily in a microwave)

I think education is the major factor here. Commercials will tell you that fast food is cheap, despite it not being cheap. And most people aren't aware how fast you can cook potatoes in a microwave or that kale tastes fine with dressing.

Edit: Potatoes are high calorie. Top with oil.
> bash my head against the wall for a while

I'm similar with shell scripts - awkward at best. The longest one I've written is only a few hundred lines, but it was tough to write and test. It sits in the middle of a busy build pipeline, and while it does the job, I'm wary of making any changes.

For long-term maintenance, especially for other people that may need to keep it runnning, I'd trade some performance for a higher-level language like Python or JavaScript - the code and logic would be so much simpler.
Can you expand on "very little effort".

I think we may have very very different ideas of what that means.
Imo, those were the times of unbounded creativity. With the limited, primitive tools, devs (webmasters?) of that era achieved great results.

A big chunk of modern websites lack character and look nearly the same to me. I know - consistency, principle of least surprise, et al. Maybe it is just me, but designing a website engaged more of my creative juices and certainly felt like more fun 20y ago.

Say what you will about the Flash website boom of the early 2000s, creative design did peak at the time. Discovering a new site and wowing over the unique design and interactions is an experience lost in time.
You'll still have to pay NY state taxes if you're a telecommuter, even if you do not set foot in the state.
It sounds like you're talking about inflation? I don't think we're near any limits on stimulus as far as inflation is concerned. It does not look like inflation is increasing at the moment, likely decreasing. We could likely continue to push out consumer stimulus until inflation percentage exceeded what we'd consider above normal year over year.
> What would you do if you were paid to not work?

I would probably play video games and read books all day and spend more time hanging out with friends. Would probably be drunk/high a lot more often.
Predicted a few weeks ago, before any news of this came out:

https://moderncrypto.org/mail-archive/messaging/2020/002586....
I think though the perceived problem is that as soon as you have to shift between high and low levels, you have a boring friction which gets people dreaming of a different way, hence Go, Julia et al.
HN is flagging these links as soon as they're posted but I think that Maria Farmer's story is important for setting expectations about what's likely to come out of the FBI's arrest.
Tesla Reportedly Developing 12-Seater Electric Van for the Boring Company
Would be interested in knowing why this was flagged.
I think I remember HN laugh at this suggestion a year ago or so when Epstein was taken into custody.

Around a month later the other prisoner is moved out, two guards fell asleep and he manages to hang himself according to the official documents.
Cash is king in a recession (2005)
Great job guys! I see myself using this for investment decisions :)
I like how the tips are organised. Bookmarking it!
There's pretty robust housing market data out there.

Anecdotally, an apartment in my building in SF with the exact same layout as mine (I got new terms and re-signed the lease in May) is now renting 10% cheaper than I signed two month ago.
I think people with that mentality were unlikely to even get a job in SV. The ridiculous interview process alone should be a barrier enough.
When the Fed creates $xxx billion it "makes" money. The real question is whether the Fed bought something worthwhile.

The fact that a market coalesced around the asset isn't that significant because the Fed can't withdraw from the market now without watching prices for the asset collapse.
Something I've started doing many years ago that allowed me to cut back on "wasted time" was reading websites/feeds/blogs only once per day. I automated it and eventually built a product around it, since a few people asked me about that routine.

It allows you to receive a daily email with a digest of the news about the day before. The "news" will be any update on any website, or blog you follow (including public twitter accounts).

It's News, calm [1].

Bringing calm and tranquility into people's lives is something I strive to do in every product I work. Hopefully you'll find it useful.

[1] https://news.calm.sh
> I stopped…

You stopped without providing any alternative data beyond — .net is slower because I say it's slower.

You stopped without telling us about the benchmarks game C# program which uses System.Text.RegularExpressions
Publication and Community for Persuasion
The final point is a little more subtle: low prices for commodities are especially bad for producers in developing countries - farmers in those countries have a hard time making a profit competing with mechanized agriculture in developed countries. So it's good for consumers only if the overall development level is high.
I’m really worried that we haven’t even seen the start of this financial unraveling yet. I’m sure tech workers like us will be okay, but essentially everything else is broken. If the rest of the economy is falling apart tech won’t be far behind. Is there anything that can alleviate my concerns?
According to Mayo Clinic, typical caffeine levels are:

Brewed coffee (8 oz): 96 mg
Brewed black tea (8 oz): 47 mg
Brewed green tea (8 oz): 28 mg

https://www.mayoclinic.org/healthy-lifestyle/nutrition-and-h...

It's worth noting that tea also contains theanine, in addition to caffeine. Theanine binds to glutamate receptors and increases serotonin, dopamine, GABA, and glycine levels in various areas of the brain.
Access to care continues to be an issue. When my kids were in NICU some parents were driving 3 hours each way every day to see their child because their newborn had to be in UCSF to survive.
We at Home Assistant will be applying for the entitlement for our (open source) iOS app.
A new Wikimedia project: Abstract Wikipedia
Except it's not really private; some random big company sees everything you do inside your house.

Oh wait TVs do that now. I guess the real world evolved to be more like social networks...
I live in SF and before covid used to commute outside the city. Maybe I'm an outlier (or just in my late 30's...) but the reasons I live in SF are actually better with the lockdown: I love walking and biking the neighborhoods, I love Ocean Beach, Glen Canyon, and Fort Funston, Crissy Fields and the Embarcadero, the Presidio, biking across the bridge. This city has so much to love that has zero to do with bars or restaurants, and after 10 years living here, frankly I'm tired of paying the premiums all those activities entail.
Fresh produce is only cheaper than processed food if you consistently use it before it goes bad, which requires a pretty high level of meal planning ability. I consider myself a good cook and still regularly end up having to throw away spoiled food.
Not met many Brits then
Dempsey vs. Carpentier, July 1921 (2008)
Note that California was excluded due to prop 13 heavily weakening reassessments. I generally dislike the law (favors old homeowners over new), but I had never considered until reading this article that removing power from property assessors could itself lead to more socially just outcomes on different metrics.
Then it should not allow apps to ask for permissions they don't need. Just a thought..
This wasn't the clearest argument I've heard but I agree with the conclusion: "In the end, cheap food is a symptom of a bigger problem: an economic system in which some lives are treated as less valuable than others."

Now what I'd really like to see are more serious discussions of solutions.
What I understand is that this is stack allocating reference types, when the compiler can infer that it is safe to do so. Which I think is an optimization .net Core desktop doesn't yet do.

Also worth noting, I believe .net Core doesn't necessarily stack allocate value types either, seems a lot of conditions can make it unsafe as well, like a closed over value type that could escape the local scope, so value types arn't always stack allocated either. Only done when it is safe to do so.
If they only have to show up 1-2 days a week or 1-2 days a month, yes. This is what happened at one of my old companies in the SF Peninsula. Most of the employees lived in Walnut Creek or further. This was pre-COVID.

Not everyone wants to move out of California, but there are a lot of people who don't want live in the Bay Area; but want it easily accessible during the weekends.
This is missing the main reason we used Flash: it was basically the Java of the web. Or maybe the jQuery of the web. Since no browser were standards compliant (or rather every browser adhered to their own version of a standard) writing web pages that were cross browser compatible was a pain (hence all the Best Viewed in Netscape Navigator or IE messages). Flash, on the other hand, took care of the cross-platform mess. You could use Flash and be reasonably sure it would look and work the same on every browser and OS that had a Flash player.