skysight-inc/HackerNews huggingface dataset:
I generally agree with you but the one point they make in this article that really matters for Dart is it does not have pattern matching. Dart’s nominative type system makes much of standard FP much harder than you’d imagine. I know Rust is nominal too but Rust has a lot of complexity to support these things.

It is very simple to add a Maybe and Either type to Dart (my code base has variants of these to deal with null issues) but imperative destructing is a pain. You can get most of the benefits of those techniques in user land without the language knowing about it, but I agree it still misses out on some stuff.

If Dart already had pattern matching or was willing to add it first then the ADT version could have been chosen, but without that prerequisite nullable types was the only ergonomic choice.
The longer I love the more I realize that heroes are doing their thing far from positions of prominence in front of the public eye.
Employers consider vaccine requirement for employment
SEEKING WORK | Edinburgh, UK | Remote or on-site | Digital & Print Graphic Designer

Need new online or print designs that meet your business goals in an eco-friendly way?

I'm a graphic designer who treats sustainability as a core principle of my creation process.

- I work for businesses that want to improve the carbon footprint of their websites and print designs.

- I design to reduce energy and resource usage e.g low footprint website designs, print designs that minimise ink usage.

---

Services:

- Eco-conscious website design e.g. responsive mobile/desktop designs that are lightweight and fast

- Green branding e.g. logo design, branded social media banners, posters, booklets

- Sustainable print design e.g. posters, booklets & business cards, that have optimized material & ink usage

- Eco-friendly custom illustrations e.g. digital/vector/bitmap artwork, print illustrations

To get started on your eco-friendly graphic design journey get in touch with me today via https://angeliqueboudeau.org

---

Portfolio: https://angeliqueboudeau.org

Social media: https://www.instagram.com/angeliqueboudeauorg/ https://twitter.com/VegInkable

Contact: hi@angeliqueboudeau.org
The guides on that website are fantastic. I wrote multiple games using them as reference. Well written, explained clearly and a wealth of information.
Should smaller countries just close their borders if they don't have a large enough economy to support compliance with ~200 other countries requirements?

Even now I know factories that only export to the EU, or only ship to America because supporting 2 sets of complex regulatory compliance requirements isn't manageable given their team size.
Policing in America dates back well beyond the 1800s (let alone the late 1800s), and has it's roots in the medieval system of sheriffs and their deputies. Organized police in the US date back to the early 1600s at the latest. In fact police existed in New York back when it was called New Amsterdam: https://www.britannica.com/topic/police/Early-police-in-the-...

I'm serious baffled as to how people got the idea that police were created in the 1800s. Do people really believe that cities like Boston and New York existed for centuries with nobody to enforce laws?
Which is of course why they are suppose to report the traffic stop as they make it. Plus, in the case of warrants and the like, the second they get a hit on their terminal it sets off flags in dispatch/etc which will immediately start sending backup.

Those were the systems I was working on 20+ years ago.
I'm just saying that Sweden, Norway and Finland together would make an awesome couple; given how they overcame legislative issues and how they modernized their countries against all odds (with all that happened after 1808).

From a political perspective they're quick to adapt to a changing landscape.
What has this got to do with TFA?
> You can map, filter, reduce, chain, compose functions that all work with optionals

Maybe they didn't mention it because both approaches can do that, or maybe I'm misunderstanding?
Non-systemd systems seem very "hacker" to me. Bonus points for going against the grain and doing a project fewer people care about for the purpose of fulfilling esoteric software philosophies.
You can see a good breakdown of what they mean by each label in this table:

https://documentation.divio.com/introduction/#the-secret

It's certainly a valuable take, even if you disagree with the claim that all 4 functions are required for good documentation.
Google to improve city GPS accuracy by using 3D building data
Dart is looking at adding pattern matching and "record" types: https://github.com/dart-lang/language/tree/master/working/05...
Okay. So what's good looking? This is inter-word spacing with emphasis to justification without hyphenation, last line excluded. This is the standard of justified text. We can't adjust hyphenation, because hyphenation rules are a quirk of not just language but pronunciation (the hyphen goes between syllables), so it's nearly impossible to find a universal ruleset. Let's mess with some of the other things.

First: why have justified text? What if we just had a ragged right-hand column, not caring where that ended up? Let's just ignore that the user asked for justified text.

Or take the completely opposite approach - what if we also distributed some of the spacing in between the letters?

Which of these three looks best to you:
https://imgur.com/a/THB6ifI
> I also found the Some(Some(3)) example just plain wrong.

I don't see any such example in the article, and searching for that string yields nothing. What part are you talking about?
Which actually makes it worse from a human perspective, since there are more people there to actually breathe in that particulate matter.
Bob Dylan Sells His Songwriting Catalog
That’s a euphemism.
It’s actually charity by SoftBank and Saudi Arabia at this point, but yes, this is what it actually seems to be.

Amazon is also an investor charity to give us all one day shipping since the investors show no sign of wanting profit margins above 1%.
Assuming you mean Dota 2 I haven't played for some time but it used to be somewhat common 3 or 4 years ago for people to run scripts to instantly cast hex as soon as opponent appeared on their screen this effectively gave people inhuman reflex times.

You could tell they were cheating because if you watched replay from the cheaters point of view their mouse cursor would jump from current position to hovering over the target instantly and then immediately jump back to cursors original position all within a frame or two.
I'd love to hear that story as well, and the nature of the legally binding promises you managed to make.
Yes, you can probably rework it, but as another comment noted its entrenched culture at this point. So, even if a cadet gets out of training with good habits/attitudes those can change very quickly when they start working with the more experienced officers. I'm sure it can be done, but it will likely take a zero tolerance level of push-back like has happened with sexual harassment in the corporate world to solve the problem.

And I don't for a moment consider most police forces to be underfunded. The lions share of most city budgets are the police force, and it goes to buying armored cars and helicopters, and "benchmark city" ratios of police/citizens. And where I live the armored car gets used once or twice a decade, and in all cases so far could have probably just called the larger city an hour away and borrowed theirs as was done 15 years ago before the purchase.

Some how we survived for a century with far less police, and outside of the crime wave of the 1970/80's which were likely caused in large part by other things, were generally safer too. That "crime wave" seems like it would have solved itself without the huge ramp up of police funding we now have today, although the tough on crime people like to attribute it to that. A large part goes to fighting the failed drug wars. Which in turn feeds into the massive prison populations we have now, the largest part of which are there for non violent crimes.
> Hexagonal grids give you precise measurements in exactly 6 directions.

Square grids give you precise measurements in exactly 4.

> If you approximate sqrt(2) as 1.5 then square grids give you pretty darn accurate measurements in 8 directions, including 2 pairs of directions that are orthogonal

If you approximate sqrt(3) as 1.75, then hex grids give you pretty darn accurate measurements in 12 directions, including 3 pairs of directions that are orthogonal.

(If square grids have an advantage here, it's that the quantum of measurement the same on each axis of each orthogonal pair, 1 on one axis and 1.5 on the other; whereas each orthogonal pair on a hex grids has one axis with quantum 1 and one with quantum 1.75.)

> Furthermore the distance between two points can be quickly calculated with (long-side + 1/2 short-side), which is doable in your head, unlike the distance calculation on a hex grid.

The equivalent loose approximation on a hex grid would seem to be long direction minus 1/4 short direction, which doesn't seem any harder.
I moved out of state BEFORE an IPO on options gained while working in CA that I then purchased as a resident outside of CA. This does not work as others are describing it. CA did and will come after anyone who earned options while in the state.
A university cubesat team.
That's an interesting counter point, though another comment in a different post for this same article[1] pointed out that Dart is considering adding pattern matching too.

Though I have trouble understanding how a nominal type system affects this? Does dart not have generics? That's all you need to support these patterns? I'm having trouble understanding how the type of type system plays a role here.

Also, what's 'imperative destructing'? Haven't heard that term before, is that just pulling out a property from an object like this from JS?

const { foo } = objectWithPropertyFoo;

[1]https://news.ycombinator.com/item?id=25334283
"He recorded his final thoughts in a diary, and the last page included a heavy black smudge. Researchers recently conducted extensive analysis of the spot, finding that it contained burnt rubber, oils and feces. These traces hint at Brønlund's desperate and unsuccessful attempts to light a life-saving petroleum burner before he succumbed to cold and hunger, scientists wrote in a new study."
The person with a job and the person "risking" their billions in capital are not comparable.
Lectures on the Geometrical Anatomy of Theoretical Physics
This excellent lecture series, given by Dr. Schuller, covers a wide range of topics in mathematics, towards preparing graduate students to study theoretical physics.

Schuller's lecture series has been valuable to me in my first year as a PhD student (I am studying robotics).
Sorry, I was a bit vague. Yes, obviously law enforcement has existed for centuries. Uniformed police departments have not. Especially in the United States, where police violence is especially bad. (I had sort of implied this with the North/South dichotomy, but was not explicit about it.)

Historically, enforcement of the law was a military, community, religious, or rotating obligation. It was not particularly respected, organized, or high class. There were some exceptions, but in general our current model of policing evolved from English tithings. Groups of men who were responsible for bringing criminals forward. These groups were collected into Shires, overseen by a Shire-reeve (later "Sheriff"). The shire reeve could round up a posse to go collect a criminal.

Over time, cities started to want to improve the protections for their capital. They wanted to try and prevent crime rather than hunt criminals. The night watch had a reputation of being low class and unruly, and the city of Glasgow decided to clean up their act. They founded the first uniformed police department in 1800 in an effort to be a visible presence in hopes of deterring crime.

Police in America were largely slave patrols, sheriffs and posses, and militias until the middle of the 1800s, when larger cities started following Glasgow's model.
> But a high peacetime accident rate, even if lower than the accident rat that would be acceptable in wartime, demonstrates an institutional incapacity to operate as directed successfully, which is a severe warfighting liability.

Or simply a vastly different set of priorities. Navy ships are generally supposed to operate as a unit as their threatened by a host of over the horizon missiles, supersonic aircraft etc. In a very real way crashing into unknown ships isn't something that’s considered as a meaningful risk.

The root cause of these safety issues is however deeper. Militaries are constantly cycling both technology and people through positions. The specific implementation of training and UI where at fault for these crashes which is directly addressable. However, the institutional approach of using new people and technology has huge upsides in war. You need to be able to quickly replace losses in warfare so you need to rely on training not experience, and you need to test that this training is effective. Similarly, you can’t rely on proven technology and it’s proven training because new threats are constantly arriving.

That's directly going to cause accidents and while minimizing them is important, the long term tradeoff is considered worth it.
She does have a criminal history though. When she was a teacher, she had an affair with one of her students. After the breakup she distributed revenge porn and was charged with cyberstalking.
Sounds like maybe you shouldn’t consider yourself an ethical person. Otherwise, if you’re involved in enough startups, you’ll eventually be in the position where have to ignore the potential for insider trading to make you a million (or several) and it doesn’t sound like you’d be able to.
Sure, but hydro is pretty unique in that the hydro dams, generators, and grid connections already exist and it can store well enough to not recharge just for hours/days/weeks, but even months.
San Francisco is not allowed to have a city income tax due to state law. It wouldn’t matter much anyways: it’s a huge commuter town (daytime population is double or more the resident population), so the base to tax is relatively small. The real untapped taxable value in the city is land wealth. Until Prop 13 allows the city to tax land equitably, it will be forced to try harebrained tax schemes on employers or sales.
How to Think about Correlation?
>Break the rules. Officials may try to deter you from using passages, ladders or stairwells. Ignore them. If you need to kick open a door or pick a lock, do it.

I learned this lesson on 9/11, as a high school student in lower Manhattan. We were told to sit in our homerooms and wait, while smoke (and god knows what else) enveloped the building. Eventually we were shuffled out of the building and told to keep going north, left entirely to our own devices. I completely understand their reaction, but that doesn’t make it a good one.

The authorities don’t necessarily know any more than you do. Their interest in maintaining order is not necessarily aligned with your interest in your own safety. When the shit hits the fan, don’t wait for permission to protect yourself.

[obviously this is situational. I’m not advocating climbing over others to be first out the plane or etc]
Report: 3 billion animals affected by 2019-2020 mega-fires in Australia
> Justice is to be blind. Which means if a crackhead and a cop come to a judge and requests the legal authority to break into a home with lethal force, the judge should weigh both requests the same.

A judge does not have the power to grant a random private citizen the right to break into someone else’s home, with or without legal force, under any circumstance. Even a court order to allow breaking into your own property, say to evict squatters or tenants, would involve law enforcement. The judge can’t just deputize you like it’s the Wild West.
I had a problem with a PowerMac G3 back in the day and I somehow managed to escalate up to tier 3 which is to say an Apple HW engineer. He was brusque bordering on rude, but he immediately recognized it was a problem with an undocumented jumper setting on the motherboard and solved my problem inside of two minutes. It definitely increased my customer satisfaction.
If it's not cheaper than overseas shipping or cargo aircraft, it won't work. It's basic economics.
Subtitles – Why Videos Need Them
You say that as if it's a bad thing, but making pollution more expensive for the consumer is a good thing. Pricing pollution into the cost of the product will induce some consumers to spend their limited resources on less polluting options, which is exactly what we want them to do.
Both have a considerably lower number billionaires (2-3x) per capita, and the Florida number should be investigated to see where the money was earned. (What’s the per capita billionaire rate of, say, Monaco or St. Tropez? Is that meaningful?) It’s certainly a nice place to retire to, as evinced by Keith.
Night watches, tithings, posses, militias, and sheriffs are not the same thing as police departments. And even still, the vast majority of night watches were privately funded in America.
Ask yourself -- what object would be so massive and heavy and yet needed with such immediacy that a company would be willing to pay millions -- perhaps beyond the cost of the object itself -- to ship in a sub-orbital manner? Large and critical infrastructure components like generators, large piping and ducts, etc. are already transported at a fraction of the cost by the likes of the AN-225 Mirya within a matter of hours. What would shaving 15-24 hours in shipping times do for a project?
When you are asking questions like those on HN of all places there's a decent risk you picked the wrong hill to die on.

Avoid trying to get into a situation where people are just quoting their credentials at each other, playing a game of who will run out things to list first, being none the wiser once they're finally done a decade from now.

In case it wasn't meant the way I believe your comment was meant, you probably still shouldn't judge my comment by whatever I did in the past. If my personal experience was somehow relevant, I would have included references.
I'm one hundred percent with you on the long date thing. I do believe first dates shouldn't be in a locked-in setting. My first date probably look exactly like yours, except that my goal is to keep things going as long as is enjoyable.
> rapid

As in rapid disassembly?
On kdbus: https://lkml.org/lkml/2015/6/23/657
A HyperRogue fan? If not definitely check it out. I don't see why that kind of program couldn't be adapted for digital tabletop games.
That seems very expensive and inefficient compared to planes or ships. What's the use case you're imagining where a plane is just too slow?

The only thing I can think of is if some service like FedEx can amortize the cost of the launch across a very large number of low-mass items and charge a premium for fast delivery.

Still, I'd assume that this would use vastly more fuel per mass of cargo moved than a plane, and should probably be avoided for CO2 emission reasons even if it works out economically. Is my assumption wrong?
Switches (L2 devices) recalculate Ethernet CRCs (L2 error detection codes), and routers tend to calculate TCP/UDP checksums (L3 error detection codes) and everything below. I've seen exactly this issue with switches that have bad RAM before, and I assume that they just have a router with bad RAM (and without ECC RAM, which looks embarrassing).
does anyone have a good resource on how to restore a USB flash stick back too a single partition drive?
Anywhere on the globe in less than an hour... plus months of planning and days of preparing the launch vehicle. How fast can one "scramble" a Starship off the ground?
Immunotherapy for cancer is actually making great progress.

https://news.harvard.edu/gazette/story/2020/02/u-s-life-expe...

Most other progress depends on cheap energy and governmental policies, which we’re getting again.

https://noahpinion.substack.com/p/techno-optimism-for-the-20...
The difference I see is, when you work with a nullable type, each function has to do the check

so

const add3 = (val) => val ? val + 3 : null;

const multiplyBy10 = (val) => val ? val * 10 : null

So the argument type goes from being
val
to
val?
where the calling code doesn't necessarily have type safety since this argument is now optional (it can be a number or null and either is acceptable) instead of the following (with no conditionals or ternaries)

const add3 = val => val + 3;
const multiplyBy10 = val => val * 10;

This is possible cause
optional.map
implicitly handles the case where the data is missing by default, its built into the data type and the code you write doesn't need to worry about it. Its the responsibility of the Optional object.
It is unbecoming to point at the homeless and blame them for making our cities unattractive. These are human beings with souls and emotions. When they make us feel uncomfortable with their appearance or behavior we should remember they lead lives where they are likely suffering most of every day.

We as a people have failed to create a society with space for these people to exist in peace, happiness, and good health. Now we can’t let ourselves conveniently overlook their humanity due to the inconvenience their state creates for us as a whole.
I appreciate your sentiment, but, as a former Marine with a little combat experience, I probably have a bit more understanding of this type of situation than you (statistically likely). You say it's the "wrong response"; I've seen people who have their families put under threat of death; they actually lose it. It's not some choice of bravado, not an honor thing, it's a physiological reaction to the extreme emotional stress.

You may not understand this type of situation, but I've experienced the feeling of going from a safe, comfortable environment to being in pain and seeing friends hurt, all in a split second; even with Marine Corps training, I was ready to snap. My hands were shaking, there was a roaring in my ears, and I was ready to kill the first threat I saw. That situation, in my home, with my family? It isn't a choice. We are biological creatures, and there are some reactions that are just biological. It's easy to play armchair general and discount all of the human factors.
> No harm was done, so I don't see why this is being discussed

Come on now. If you can't look at events this year and understand why people are frustrated/scared about a situation like this, then that's willful ignorance.

Is it reasonable for LE to come into certain situations preemptively prepared for violence (gun draw in tight quarters)? I think yes. Is this one? Hell no
I've been using rufus for years now and have never had any issues.
Also, the size difference is huge. Rufus: 1.1mb / Balena etcher: 124mb
That’s a great example of finding how you’re aligned and then using it to get a mutually beneficial outcome.
A C-17 load that doesn't require a ground stop in a foreign country or a tanker based in another country to refuel that same cargo plane. Advantage indeed.
Python 3.9.1 is now available, together with 3.10.0a3 and 3.8.7rc1
There are NEVER exceptions to this particular rule, at least not in tech.
My link provides direct examples of law enforcement organizations that were publicly funded, as early as the 1630s:

> Among the first public police forces established in colonial North America were the watchmen organized in Boston in 1631 and in New Amsterdam (later New York City) in 1647.

Again, police are as old as civilization. Laws without a body to enforce them are just words in paper (or clay tablets).