skysight-inc/HackerNews huggingface dataset:
There's also Bluetooth Audio receiver, available in the Windows store for Windows 10 2004 and up, for those who lean that way.
They are black-box testing your mind.
We'd have to include the year in that case. That would mean we'd celebrate Programmer's Day on

33519519824856492748
93506249551461531869
84145514809834443089
03609304410075183867
44200468574541725856
92250796454662151271
34384707029866424866
0841225152-10-24 (2^510),

10972248137587377366
51187250237441854014
87852718646641402240
03976912394763519345
89433035139907272558
72265694506757442234
89916367725489295806
44820743649134059922
89974014200125290711
80395583868049283025
08252471959038318790
78578163379805855170
00782912424520905193
15101917968428014761
22873721212986041030
4-10-24 (2^1010), etc.
Since this thread is also about Rust, and since I mention in another comment about how Rust libraries define their own error types, I should mention that Rust can avoid this problem by the combination of 1) adding a new way that a function can error only requires adding a new case to the library's error enum, leaving the function's type signature unchanged, 2) adding new cases to the error enum can be kept from being a breaking change via the use of the non_exhaustive attribute, which requires anyone manually handling the error to add a default case even if they handle all the other existing cases. Of course, if library consumers are just throwing a panic in that mandatory default case then you might be trading a compiler error for a runtime error, which can be controversial. The language design challenge of this decade is finding compromises between allowing libraries to change and evolve while mitigating the disruptiveness to downstream consumers.
> You can virtualize MacOS, but only on official Apple hardware.

legally only on apple hardware. It does actually work fine on normal PCs though.
It could just be abolished. If the NSF was scrapped, what would the scientific world look like? Probably like the world before WW2, when most science was done by hobbyists or "inventors". Einstein did his seminal work whilst a patent clerk, etc etc.

Most analyses of the problems in science are really analyses of the problems in academia. There's no iron law that states academia has to be funded to the level it is today, and for most of history it wasn't. And let's recall, that these meta-studies are all about science, which is one of the better parts of academia. Once you get outside that into English Lit, gender studies, etc, the whole idea of replicating a paper ceases to be meaningful because the papers often aren't making logically coherent claims to begin with.

A lot of people look down on corporate funded science, but it has the huge advantage that discoveries are intended to be used for something. If the discovery is entirely false the resulting product won't work, so there is a built-in incentive to ensure research is telling you true things. The downside is there's also no incentive to share the findings, but that's what patents are for.

Of course a lot of social psych and other fields wouldn't get corporate funding. But that's OK. That's because they aren't really useful except for selling self-help books, which is unlikely to be a big enough market to fund the current level of correlational studies. That would hardly be a loss, though.
The antitrust case against Amazon is weaker than some of the other tech giants because there's pretty robust competition in both ecommerce and cloud computing (and groceries). The biggest issues I can see with Amazon is some of its practices with marketplace merchants.
Given the author mentions the "subtitles on Netflix" route as an option. The only thing I've got to say to that is subtitles on Netflix are shit. I'm sorry, there's no other word for it. Other streaming services not that much better, but Netflix seems to be particularly bad.

COVID has given me a reason to watch more content. I've found myself watching some fabulous output from Korea, Japan and elsewhere on Netflix.

But the subtitling on Netflix is just abysmal. I mean seriously, we're talking about schoolboy fundamentals here. White text on white/bright background ? Yup, Netflix does it, not just occasionally but A LOT. Subtitles bouncing around the screen during the course of the same film/episode (i.e. jumping between top and bottom of screen). Yup, Netflix does it, again not just occasionally but A LOT.

Honestly, makes me feel sad for those hearing impaired people who actually rely on subtitles.
I've yet to meet a happy programmer, maybe I'm looking in the wrong place.
The feeling is mutual
Could be a question for leading roles, expecting to evaluate how much this person cares about keeping his troop content :)
>I'm not sure why total revenue would be what to compare to the costs against.

Why not? I was just trying to do some back-of-the-napkin math to ballpark the profitability of the app store "for fun".

>Apple is profitable precisely because they don't...

Cool. That has nothing to do with this particular comment chain.

>Where'd you get that number?

The 50k was totally made up. Do you have a better guesstimate? Lower or higher? Keep in mind this would be the average among their global reviewer workforce, not just US.

But... it doesn't matter though, does it? Whether their reviewer costs are 0.5% or 1.0% of their revenue doesn't really move the needle. At all.
At least it's cheap, clean, and reliable.
The short answer is you can't. The ability to fuck off because I hate my job has always been important to me, so I've always lived frugally, didn't have kids, never had an expensive wedding, etc. I have some cash in the bank and recently quit my dev job because it was also making me very mentally unhealthy.
In finance, compliance is taken very seriously. Better to block 1000 transactions than miss 1.
You may still have that problem if the language also supports unchecked exceptions.
To be fair I've been working 60% remote for a few years now, so moving to 100% wasn't a huge strain for me. It's actually something I've wanted for a while.

I've had time to get my head around the separation you talk about, I guess. Also helps that I'm on a small team and we all slack something like "Signing off now, catch you tomorrow" at around 5.30. Puts an end on the day.
How we upgraded PostgreSQL
This comment makes my HN uncomfortably wide.
Think this was posted before but the French military are building these today

https://www.thedrive.com/the-war-zone/35863/the-french-army-...
Seconded. This is what I do, the only exception being that it goes to K8s/OpenShift instead of AWS-specific CaaS offerings.

You can easily treat a Phoenix app like you would a rails app, or you can go full on into releases and ship it like a binary. It's all up to you and whether you value easy production debuggability or simplicity, etc.
I can see the author's point, that a throw behaves awfully like a GOTO. It can add complexity and unpredictability to the code path, especially dealing with external modules.

On the other hand, there are situations in which throw/catch provides a simpler, even elegant way to handle errors.

So I'd agree with you that both are useful.

The author makes a good point though, and I will consider it next time whether returning errors may be more suitable, to be clear and explicit/verbose, without requiring the GOTO-like control flow.
Thanks :)

I play piano and I don't find the latency a problem, which means its probably < 100 ms. The midi stuff is actually just bindings to rtmidi (in C++).

The most annoying thing is "jitter" which I calculated to be 15-20 ms, which is fine, but sometimes there are spikes of 50 -150 ms which are annoying.
Hard to say without knowing more about your usecase but normally I reach for lenses [1]

[1] https://github.com/obrok/lens
What could go wrong with apps on Big Sur and Apple Silicon?
Not to put too fine a point on it, but this is expression, not abstraction. Abstraction implies making distinct things common, like an I/O module that works for different microcontrollers. The bits described here are an 1:1 binding into Rust.

Still interesting tho ⁼\^^/⁼
Gigalixir is a great experience. Like Heroku you'll pay for it as you scale however. But if you don't want to hire a devops person, it's still probably cheaper than the alternatives.
I would love to hook up multiple - the polymonotron...
I more meant a word for every situation in which someone explains their thoughts of something in a way that you find distasteful, so that you can use the word in a dismissive way. We don’t really need more of that, do we?
Job search resources for tech workers impacted by the COVID-19 pandemic
>> In the absence of that concept, one would have to sue each shareholder or executive of a corporation individually in order to bring any kind of liability suit.

I don't see the problem with that. Imagine how much money a victim could earn from suing every person who participated in the wrongdoing. That would be totally fair IMO... Probably corporations wouldn't exist anymore (they would be sued out of existence), but that would be OK. The economy was working perfectly fine before corporations became commonplace.

They are an unjust and unnatural construct IMO. It doesn't make sense to give an immortal fictitious entity the same rights as real mortal people.
The day voting becomes electronic is the day you can say goodbye to democracy.
> A bit of Jersey wall, some signs, single lane traffic for cars

How much do you imagine that costs?
Good Quality DOSBox Video Capture
I added some spaces among the digit sequences for you.
The Business Man
Why would someone on Mars, or an asteroid, or orbiting venus, care about leap seconds on earth?

Number of seconds since a given time seems fine until we're travelling significantly outside of a common reference plane.
This guy is an internet detective :D Could be done as a mod via the lua api, if you really wanted (would need an external relay program to communicate with the voice thing, like eg clusterio does).
No, Bastion forts are not convex polygons like the Pentagon, they are concave because the concavities create kill zones where the fort can fire at attackers from the sides as well as the front.

The Pentagon is an (irregular) pentagon because of the roadways surrounding the site when it was selected.
Also of note is Broadway (https://github.com/dashbitco/broadway)

"Comparison to Flow
You may also be interested in Flow by Dashbit. Both Broadway and Flow are built on top of GenStage. Flow is a more general abstraction than Broadway that focuses on data as a whole, providing features like aggregation, joins, windows, etc. Broadway focuses on events and on operational features, such as metrics, automatic acknowledgements, failure handling, and so on." - (https://github.com/dashbitco/broadway#comparison-to-flow)
There are no do-overs in an election. If a system is compromised, either legitimately or through political gas lighting, there won’t be a paper trail to fall back on.

There’s also some theories that voting at home on something like your phone is far more subjected to coercion. This is why some states refuse to go 100% mail-in this year, even at the expense of public health. Sure, someone can always threaten you to vote a certain way, but polling places are designed to prevent that as much as possible.

Then there’s just us, the population. We live in an age that people doubt vaccines, or think the earth is flat, or that COVID 19 is a fake crisis manufactured by the Democrats to win the election. If 100% of votes are done digitally, some group will undoubtedly not believe the outcome of the election.
I'll be waiting to C-elebrate for 1,610,612,736* which is 122 days later or January 13th plus or minus a day or two (I was lazy).

* 0x6000 0000
You can write bad code in any language, Rust included. This article is cherry-picking.
How does paper compare?
How should those people living in the wild area get better life (education, medication, etc) for their next generation?
This article highlights the trade-off between the secrecy of ballots, and the ability of the individual voter to confirm their vote was correctly recorded.

But the other discrepancy relative to banking is that for elections, we want to also verify that no extra votes were snuck in. By comparison, while I require my bank to get my balance and transaction correct, I have no expectation that I'll be able to verify that balances for all other accounts were summed correctly.
ExpEther – PCI Express over Ethernet
Everything in Agriculture is a Trade-Off (2016)
Hey, thanks for bringing the brightness issue to my attention - turns out I wasn't normalizing the output correctly - I just pushed a fix and the output images don't have the brightness change now.

As for the random spots, that's an artifact of the entropy coding algorithm. In principle this is lossless but there is some distortion because I'm using a custom vectorized version of an rANS encoder and it's hard to encode overflow values in a vectorized fashion, I'm working on this though. If you can live with really slow decoding times (2-3mins) then you can disable vectorization to eliminate these small imperfections entirely.

As for the comparison to the official model, that's mainly because of compute constraints v. Google (this is just my weekend project). My model uses a smaller architecture and was trained for only 4e5 steps versus the 2e6 steps they reported in the paper - even then it took 4+ days on AWS! The model is also trained on the Openimages dataset, which is presumably much smaller and more noisy than the massive internal dataset Google used.
Language learning is kind of like raising a child. As my sibling say, it is all theoretical until you actually do it.

So if you really want to learn a language, just start vomiting out words with a teacher one-on-one. Just like with child rearing, vomit and messiness is always involved.

There is no magic technique. If there is a magic technique, it is like this article alludes, to use many techniques. Some may work, some may not. It is up to you to find those techniques that work for you. You are the only one who can do that.

Don't take SHIT classes. I took a Spanish class once where the teacher spent 15 minutes of a 45 minute class by having each one of the students go through their homework answers.

Don't confuse activity with productivity. There are many things that you might think are productive, and they are not. Sometimes it depends on where you are in your language learning process. For example, listening or watching to a TV show in your target language with subtitles in the target language can be counter productive if you barely understand the sounds, let alone the meanings and grammar. Also, subtitles are not 1 to 1 to the audio.

In my experience, if it is painful to you, you won't continue doing it. Most of language learning can be a pain. One of the best ways to get around the pain is to find a teacher (iTalki is a great site for that) who you find fits your needs and meet regularly with them. At the minimum, twice a week. You'll probably find that, over time, you'll develop a friend-type relationship more than a teacher-student relationship. How else are you going to talk for an hour? And if you are paying someone for their time and not relying on your friend who speaks that language it is a clear-cut transactional relationship. Patience can be bought. By paying a teacher, you are paying for their patience and your accountability to them.

It is like going to the gym. If you go to the gym once a week, don't expect a lot. However, if you go to the gym 3 times a week, you can definitely expect some improvement. You can expect even more improvement if you work with a personal trainer who gently pushes you, as you get better.

EDIT: Updated and refined my argument about taking classes
>How do people using Go and other languages that don't have exceptions solve this reduced readability problem?

Rust has ? operator which converts "let x = foo()?" into "if foo returns Ok(value) assign value to x, otherwise make the function in which it is used return given error". Go doesn't care about readability.
> There are no do-overs in an election

Sure there are, quite literally
Ordering a new election from scratch is a not-unheard-of remedy for election irregularities for which there is no other way to correct the irregularity.
I did live without a smartphone for 20 days during my military service. I had no other choice as only "dumb" phones were allowed.

I would suggest it as a one-month experiment to anyone reading this. I had so much time to think, reflect and... get bored. It was a sort of detox. It was great to not know where you are on the map. It was great to not have something to listen to. It was great to not catch-up.

Since I was off the hook of my smartphone, I tended not to bail out on conversations with others and go back to my digital reality. I talked to people (maybe other people not having smartphones also helped with this).

I kept my "dumb" phone for a couple of months after that but I don't think I can manage to live without a smartphone full time. However, it's a great exercise to reduce addiction. I definitely started use my smart phone less.
Not that surprising. Doing my own is one thing. For counting someone else's sperm, $100 seems pretty low.
Cost of living is not personal to a person it’s an average to get basics of food cost and housing in an area.

Not everyone has the privilege to just move whenever they want.

To use your example: if you got paid a Montana salary and already lived in SF and had ties where you were unable to move cities you would be forced to move into a tent because that’s what you would be able to afford. (I’m just using Montana and tent as examples I’m not checking actual figures for this analogy)

Adjusting salaries based on cost of living is making sure that people are not forced to move to a different city in order to afford the same size apartment and amount of food.

Your outlook makes dollar amount equitable, but a dollar is only useful when you try to spend it on something. That same tent and rice costs 10x more in one place vs another place.

COL based salary adjustment makes the purchasing power equitable. The real output of the dollar you’re given. Which is more equitable in my opinion.

I was once asked to move to SF for a job and given a 20% bump compared to Toronto salaries so I could afford it. The same apartment actually costs 4x in sf so I’m paying 2x for half the space here. If I hadn’t had my pay adjusted for cost of living I’d struggle to pay rent here and my visa requires that I live within 75 miles of the city for 6 years.
Yet while one woman can generate 1 baby in 9 months, 9 women can't do it in 1 month
I also find the following useful:

- reading some specially printed books with your native language and the target language side by side (eg left page English, right page Czech for me)

- writing regularly can be great practice. Doesn’t have to be about anything profound, just “what I did on the weekend” is fine, even if it was boring and unspectacular. It helps if you have friends willing to read and correct you, but just forcing yourself to produce the right words in a low-pressure situation can be really useful
It's not a round number, not like Sat Jan 10 13:37:04 UTC 2004
My main issue with Enums in Typescript:

1. Because they have a runtime representation, I cannot do `import type` — and I am importing the entire file (which might have a side effect). While it's still not justified (ideally importing should not do anything) the reality in JavaScript is different.

2. I can swap the enum value with a number or a string and it would still work, even if invalid. See https://www.typescriptlang.org/play?#code/KYOwrgtgBAggxgFwJY... for an example

3. On the other hand, I cannot use strings to create an Enum (https://www.typescriptlang.org/play?#code/KYOwrgtgBAygLgJwJY...) — this is the exact opposite of n. 2

4. Duplicates are possible: https://www.typescriptlang.org/play?#code/KYOwrgtgBAIghgTwPI...
Spectrum tries to block UI broadband grants in N. Idaho
Tesla Infinity Call Gamma Squeeze
Snowpack – the faster front end build tool
That’s exactly why op said we should abandon Unix time. The “who cares about leap seconds” standards is called TAI, and the difference between TAI and Unix time changes every time a leap second is introduced.

Unix time decrees every day has exactly 86400 seconds. But the introduction of leap seconds means that While most days have 86400, some earth days have 86401 seconds and potentially there could also be days with 86399

TAI makes sense everywhere, Unix time only on earth.
Did ‘Big Oil’ mislead, or is our media incompetent? None of this information was hidden.

It reminds me of how CNN is blaming a ‘gender reveal’ party for the CA fires instead of talking about forest management challenges issues over the last decades. It seems like our media is actively out to disinform people.
I don't understand CA's taxation as much, except the income taxes are very high with little in terms of actual quality of life improvements. I do understand Canadian and UK taxation somewhat and most rich people don't pay themselves a high salary. There are "City of London" loopholes people can use to form a company and not pay tax. There's another one in the UK, where income not sourced inside the UK isn't tax, and that can be used in creative ways. Which means you can form a company in a tax haven and move your revenues there. In Canada, the corporate tax rate is like 15% and goes down to 9% for small business. And of course there are other avenues through which people form charities for tax avoidance and what not that I haven't dug deeper into. A lot of companies in the US also use the double Irish (closed now) and other similar schemes, don't they? I might not know as much here, so would love to know more. I highly doubt millionaires and billionaires pay 50%+ tax rates anywhere. They would be using loopholes I think. Kind of why I believe income tax is for the most part a failed scheme if you want to tax the rich. Tiered sales taxes might actually achieve more fair taxation.
I'm always left wondering how something like this could happen. I kind of get Y2K and stuff like overflows ... but this one? Really? Did someone put a regex like /^15... to "match" dates?
You can just use FTP, and HTML/CSS, as the presenter claims, but if you want reusable components, you're going to need at least some-JavaScript based technology, like custom elements (web components).

If you don't have a concept of a component, and every time a developer needs a simple component: a Button, a Link, a Card, pray that every single developer in your organization understands the accessible, semantically-correct way to implement it (spoiler alert: they won't, occasionally, a junior engineer won't understand why buttons shouldn't be implemented with <div> tags). And hopefully they follow your design team's specification for how the component should look (again, they won't). Then, you end up developing a product with ten disparate and interwoven look-and-feels, due to developers on separate projects re-inventing the wheel instead of using a common Design System. It no longer feels like one cohesive experience.

The counter point: That JavaScript is actually solving enterprise grade problems-- controlling your brand via a Design System, ensuring accessible HTML gets generated, and so forth. It comes at a cost of potentially somewhat slower performance, but the solutions provided make the tradeoff worth it.