skysight-inc/HackerNews huggingface dataset:
The worth of "food, water, shelter, medicine, socialization", financial instruments (including cryptocurrencies) depends on context.
For instance water might be extremely precious in some situations (if you're dying of thirst), and have zero, or even negative value in others (like during a flood, because you want to get rid of excess water, even if if by some miracle it happened to stay pure).
Hence, no "intrinsic" worth.
I just want to say, because some posts here have mentioned community but not hit on this directly.

The value of Linux (to many) rests on its FOSS value system.
for starters, it's not your typical VirtualBox VM running off your host OS. The Linux kernel in WSL2 runs on top of Hyper-V alongside Windows, which is also in a VM.

Microsoft is leveraging the same technology they use to run Windows on Xbox alongside the game OS, so it's really like an OS with 2 kernels
I was on Linux desktop 99% of the time between 2006 and 2014 (I now use a Windows workspace with GPU passthrough on my main system), and just today my frustration with Windows was piquing to the extent that I'm ready to go back to a nix desktop.

Maybe people just get fed up with the same grating pain points and need to spread the frustration around. Periodic changes in scenery are healthy. :)
Oh well, if YOU spend 80% of your workday on a PC then it must be true for everyone.
Unlike “marketers” a certificate of compatibility is mandatory for many development teams to use an external technology
On the other hand I have zero issues with the design, like it aesthetically and find it a refreshing change to see a blog clearly designed to be functional and refreshingly different.
Desktop Linux has 0 traction. Ok, 0.5% traction. "The year of Desktop Linux" is a meme: https://www.reddit.com/r/linux/comments/3038d4/when_was_the_...
>This is a win-win now

I don't see how this is a win-win. It incentivizes people (like developers who might otherwise stick to linux) to run a proprietary operating system.
Well in the example in the article they are more chained than "really" nested... So I think with adequate formatting, they can reasonably replace switch/case or if/elseif expressions (in contrast to statements) for languages that don't have them...
Every time I see Godzilla he’s ensnared in and tearing down power lines. This was bound to happen sooner or later.
Yes, many people I know would get stuck on the very first step: formatting and creating the bootable USB drive.
don't you end up with functions doing lots of state/variable mutation (within the function)?

Good question. This is true, but this is a programming language bug. In some programming language you can write the equivalent of return if... or return for.... Also note that those intermediate variables add a lot in expressiveness (you're computing result or screensize etc). The mutation is unfortunate indeed but a programming language bug.
the picture you paint seems to not actually reflect the reality of the american justice system.
A program that is not exponential in time can't require exponential space, because it can't touch that much space in that little time.

Even if you count the NFA as part of the input, the expansion into a DFA only happens while matching one character at a time, so to blow up the cache to a size exponential in the number of NFA states, you'd have to be matching on a string of comparable length that forces all possible state combinations to occur.

If you don't count the NFA as part of the input, the matching algorithm for any particular NFA is actually constant-space, because the maximum space required is independent of the string you're processing.
Same here. That articles just mixes true facts and weird ideas without coming to a real punchline at the end.

At least, I didn't take away more than 'throw away tests that haven't failed in a year' and I don't agree.
Software Tools for Developing and Debugging Your Business Site and Apps
Tests don’t prove anything, they just show the intended behaviour. Only full verification proofs show correctness.

Too often I’ve seen “tests show it’s correct” suites horribly fail to provide value when the behaviour changes in a unit of business logic and the brittleness needs to be unwound and replaced with robust assumptions.
You just described Uber.
> I wonder why they decided to kill it. There must have been a good reason.

Because it is tacky and it didn't age well

I'd say the initial use of it was maybe in discoverability, but I suppose when smartphones became more popular that lost its main function.

I think it gets distracting sometimes and it is needlessly design heavy (think how much images you need to do that).
I had the same problem from work, where I definitely don't use incognito or ad-blockers
Google for Optical Tweezers
I just use xmpp, text messages and phone calls personally. It's enough to keep connected with friends and familly. I don't feel the need to be more connected to people than that.
Who cares what they’re called as long as they’re fast and don’t crash when running at scale/fill the disk or memory
React Dashboards – Index Provided by Admin-Dashboards.com
The higher up you go in your component hierarchy, the more likely it is that you'll need a mock component to test them, but I've found that it's possible to structure your architecture such that you don't need to do it as often as you'd think. If a component is using another component simply to fetch some data it needs (VERY common in my experience), then you could restructure things such that you just pass that data into the component from outside in the first place, possibly even treating it as a simple transformer instead of an actor.

There's a limit to this, of course, but keeping this principle in mind in your design also has the effect of bringing coupling to a minimum or even zero in some cases, and promoting re-use of these now completely independent components. When components don't care where or how they get their data, they become a lot simpler due to the elimination of state (implicit and explicit). Elimination of state also facilitates making functions idempotent, which massively reduces cognitive load when reasoning about a system.
"Subway, in an email, said that the franchisees who alleged misconduct were “anomalies,” and that its surveys and “listening tours” found that 80 percent of franchisees in the system want to keep working with the company."

This was used to indicate how happy franchisees are but, to me, indicates the opposite. If one in five francisees don't want to work with Subway again, that's a huge red flag.
It would be the polite thing to do.

$15k is something like 0.000006% of Apple's cash on hand.
They're alright for a quick salad if you have diet restrictions and you're busy. You can usually ask them to use spinach as the base instead of lettuce, which is much more nutritional.
I played through the game and did the pre- and post- game study.

At the beginning, I tried pretty hard to genuinely gauge reliability, and was more willing to use some nuance (maybe I don't think the tweet is written fairly, but it touches on a genuine trend, so I'll give it a 3/10). There was also one that I just let slip by me (HBO tweet with some random characters that I realized probably weren't intentional markers to dodge trademarks after I instinctively hit 10/10 reliability, and also you can't go back and correct yourself).

After the game I was just so worn out I didn't feel like giving any credence to anything. Looks like you're kinda emotional? 1/10. Talking about an opinion instead of a fact? 1/10. From a celebrity? 1/10. It also looked like they weren't throwing in many or any tweets that were supposed to be "credible" or "reliable" in the feed.

I'd be interested in seeing the results 2 or 3 weeks out, and with a more even mix of "credible" and "non-credible" tweets. I have the suspicion the results won't stick, or at least won't stick well.
Every category you have named, wavelength/frequency, intensity (function of frequency), linear momentum (function of frequency), polarization are properties that individual photons have. It is possible to construct photon detectors that are able to resolve these properties for a single photon thrown at them.

Orbital angular momentum is also a property of single photons, related to the shape of their wave function. You can read about it and see some example shapes on the wikipedia page https://en.wikipedia.org/wiki/Orbital_angular_momentum_of_li...

I can't think of a property of light that is only in the bulk and not at the single photon level (somebody correct me if I am wrong). But I haven't read this paper in any detail to find if the "torque" is a bulk property or a single photon property.
"The Sixth Kondratieff" is the best I've ever read.
Trump Allows U.S. Sales to Huawei as Trade Talks Resume
I get that it's on a hypervisor but from a user standpoint how is that beneficial or any different from just running a normal VM in a hypervisor, is my question? Like I could've already run Hyper-V and installed Linux, so (how) is WSL2 different/better?
The Vindicator, Youngstown’s daily newspaper, will close after 150 years
I used to have a similar stance, especially given the outlandish nature of his claims, but a lot of things he said that were initially used against him after the Knapp interview turned out to be accurate over time. His supposed prediction of the discovery of Moscovium ("Element 115") still puzzles me.

Not that that's proving anything but it gives me a harder time to entirely dismiss it.

The Joe Rogan interview linked in sibling comment is an interesting follow up to the initial interviews with George Knapp from the late 80s.
New Vue Admin Dashboard Template with Node.js Back End
Saw this app on Twitter yesterday https://twitter.com/KrauseFx/status/1143998523265957888. Seems like a lightweight version of Charles :-?
A better option (for me, who likes fp) would be writing a group_by reducer once and apply it to any situation at hand

group_by = f => (acc, item) => ({...acc, [f(item)]: [...(acc[f(item)] || []), item]});

const {true: truthy, false: falsy} = values.reduce(group_by(Boolean), {});

Though as long as you don't need to keep writing for loops for each grouping you do, group_by using reduce or for loops doesn't really matter.
The Suntimes Android app (its on F-Droid) correctly reports None for such high latitudes.
No, your understanding and the parent's isn't correct.

The NFA is linear in the size of the regex. That is, a regex like a+b+c+ will have an NFA that's 3x the size of the NFA for a+.

Interpreting the NFA is done in time LINEAR with respect to the input data. Code is given in Cox's articles. Yes worst case linear.

You're probably thinking of NFA -> DFA conversion, i.e. the "subset construction".

First of all, RE2 doesn't always do that. You can always operate on NFAs. (and it does that because of capturing is hard with DFAs, IIRC)

Second of all, "exponential in size of input pattern" is NOT a problem. Exponential in the size of the DATA is a problem, and that doesn't happen. When you are measuring the runtime of regexes, the size of the pattern is a small constant. (Think matching a+b+c+ against gigabytes of data.)

The magic of regexes is that you can match any regular language in linear time and constant space. You can't do that with "regexes". That's the WHOLE POINT of these articles.

I have wanted to write a summary of Russ Cox's articles on my blog for awhile. They are very good, but they are very dense, and most people still aren't getting the message.

The message is: "Use regular languages and not regexes". (e.g. constructs like backreferences and lookaround assertions make the language nonregular)

[1] Side note: I tested re2c and its regex compilation time is linear up to matching 47,000 fixed strings in parallel (from /usr/share/dict/words)

https://github.com/oilshell/blog-code/blob/master/fgrep-prob...

re2c ALWAYS builds a DFA, unlike RE2. (Note: they are completely unrelated projects, despite their similar names.)

Even taking into the account that exponential in the size of the pattern is not a problem, it's still not exponential in the size of the pattern (for the fgrep problem). If the DFA were exponentially sized, then it would take exponential time to construct it, but it doesn't in this case.
When I was working on geo-fencing feature for a small UAV I did see the consequences of naive maths when working with coordinates near antimeridian (e.g. calculating a perpendicular vector of a fence segment).

Also related- it seems crazy to me how some teams are working on a robotic product without building/interating a simulator first!
The tests that never failed for years are usually unit tests for fundamental things. Say your app has a math library at the bottom as in my example. It has thousands of years for things like vector additions, matrix multiplication and so on. And of course these never fail - they have no dependencies and we never modify it anymore. But we might modify it, say to plug in some other library to do math in 5 or 10 years. I don’t want to delete them for that reason. Luckily this kind of low level test usually takes very little time - we have a 15k test suite and the 5k “fundamental” tests take seconds while the whole integration level takes hours.
I'm assuming the DFA is built ahead of time, which is pretty conventional in my understanding. This may be something in the article I missed, that the DFA is built incrementally at runtime by this algo. If so, my mistake. I'll read again.

@chubot: ok, I am wrong, thanks for the details! Upvoted both.
They have some sort of caching or CDN yes, but you can't spin up a gcp compute instance for example. Ie far away from a full blown cloud region.

Also the presence of local CDN doesn't imply Google presence. Eg the steam servers in SA are hosted by ISPs
That fantasy will be dispelled within the next 2 months with an announced delay.
This is very common in longshots, leaving the self actualization up to the last moment seems to be a coping strategy to minimize psychological harm to themselves and their backers.

Announcing now would more or less be akin to saying (the truth): yeah we had no hope of hitting that goal.
If anyone does have this case it's two distinct functions in my mind the first function does the comparison and returns the warning

You can then assert and type against the warning function, the printing function you could only assert against with output buffering or something like that but in my mind that's less likely to go wrong anyway

Keep your type system simple, custom types beyond in built primitives cause head aches imo
Thx. Another great book: How to Tell When You're Tired, by Reg Theriault
Donor Unknown [1][2] is a documentary film about this topic; young woman, daughter of two women tries to find her biological father and on the way, she reaches and makes contact with her other 12 siblings.

[1] - https://en.wikipedia.org/wiki/Donor_Unknown

[2] - http://www.pbs.org/independentlens/films/donor-unknown/
Valve Index Review: Next-Level VR
Sorry, but this just sounds like a deepity. Science is a process, not a result.

It holds for most of science most of the time that you don't reliably get the same output if you provide the same input (because you don't know all the variables or the entire set of equations). Only when a phenomenon is completely known does this stop being true.

But when is a phenomenon completely known? After all, for a long time we've known classical mechanics to be completely known... Except it wasn't. And during the time we thought it was, you could get into exactly the type of situation you describe above: for the "same" input, you could get a different output, depending on the components of the stress-energy tensor you were not aware were relevant. The effect was subtle there of course, but there are many examples where it's not (e.g. the entirety of biology and medicine).

So I disagree with this description of science.

EDIT: Also, it completely slipped my mind the first time around because it's such a stupidly strong counterargument, but by your definition the entirety of modern physics (quantum mechanics, quantum field theory and beyond) is not science.
This is awesome! I built a 3D wireframe engine once and was so happy the first time I managed to get it to draw a spinning wireframe cube
Sneaky deals are keeping cheaper generic medicines off the market
I do not enjoy configuring Linux, but I hate fixing Windows issues. I just reboot, deinstall, reinstall and at the end I have not learned anything and I do not even know if the problem will occur again. When I fix a problem in Linux, it is a journey that makes me discover unknown territories. At the end, I have improved my experience and knowledge.

For linux, I am in control. For windows I am a puppet of Microsoft will.
Perigord Noir, we’re surrounded by dense and extensive forest here. It isn’t cooling down much at night - 8-10 degree dip.

As to the moisture, you’re right, it does go somewhere - dew. I’ve been contending with water dripping off the telescope there’s so much of it - and when the sun comes up, it all evaporates and sits around until the sun sets and it starts condensing again.

Edit: today, it isn’t evaporating. 1pm, 34 and rising, but not hot enough to add more moisture to the air yet. Normally, there’d have been a storm to break the cycle.

Makes for surprisingly good astronomical seeing, however - very stable atmosphere.
It is the shareholders who hold the board of directors responsible.

Shall we jail every shareholder in Boeing?
How good is the passthrough perf?

I'd like to build a hackintosh box with amd 3900x and amd rx5700 xt GPU - for video editing etc.

KVM seems like the only choice for AMD cpus. Will the GPU work with KVM? What mobo should I get?
I don't know why it happens, but it seems to be "all the time" sometimes. Like if I lock the computer. I've grown a habit of peeking near the clock for the language and resigned myself to hit Alt+Shift whenever it's the wrong one.
But won't it be wrong as soon as you start travelling east or west, though?
I feel Proxies could be a cleaner way to handle default cases in using object literals to replace switches:

const cases = new Proxy({...cases}, {
get: (obj, val) => obj[val] || () => {...default case}
});

It does not add any lines to the definition, and saves you from writing `|| cases[default]` all the time and bugs from forgetting to write it. Additionally, you can also use 'default' as a case.
seems like you just go way out of your way to still be able to continue to deny that the US is reverse engineering UFO tech for a long time.
Next BMW electric might sound fabulous, thanks to Hans Zimmer
What’s stopping you from using multiple apps? You can probably convince most of your family and tech-savvy friends to download Signal/Jami/Keybase/whatever you might prefer.

No need to cut off people or uninstall insecure apps like Instagram to get to enjoy the benefits of communicating securely with some (rather than none) of your contacts.
It's a win for the Linux user, because it increases the reach of Linux software. Think the uninitiated co-worker being able to run your scripts or something. It's a win for MS, because it makes their platform more powerful.

Of course, to repeat myself, I don't think Windows is a good thing.
> you're using YouTube without actually paying for bandwidth

NewPipe actually saves bandwidth when you listen to audio only. As I recall, it parses the HTML and doesn't download the wasteful video stream, if you want just the audio.

Google should thank NewPipe users for their responsible use of their free resource.
There's a proverb for the Go programming language which says: ,,A little copying is better than a little dependency."
Community Managers explain how they manage Stack Overflow
I've seen two variants of this fly over my house in Colorado a few years ago. Giant triangular craft moving silently at insane speed - clearing the entire night sky in 7 seconds, appeared to be the size of an aircraft carrier. They have 5 very dim white points of light underneath that outline their triangle shape. I wouldn't even believe my own eyes except that my wife shared the experience with me.
I used to write php and JavaScript at the same time. Turns out nested ternaries get evaluated differently in both languages, leading to some subtle bugs sometimes. I will never write those without parentheses again.
Is their Gitlab broken? For me all relevant subrepos are "Not found".

Clicking "Features -> Gitlab -> jami-project", which brings me to https://git.jami.net/savoirfairelinux/ring-project, and clicking:

* client-gnome => "Not found"
* client-android => "Not found"

That is e.g. https://review.jami.net/ring-client-gnome which shows "Not found".
These kind of issues do seem to hit with a suspicious degree of regularity - it seems every 1-2 years there is a shortage due to some calamity or such...
It is not just ask for money, They are proposing that Apple use the standard and make public they use the standard, It could boost openid as no other could make.
Re the switch example, another possible solution is the command pattern, where you encapsulate the action in an object.

e.g. (in C# because my JavaScript isn't good):

interface IContentType {
void CreateType();
}

class ContentPost : IContentType {
public void CreateType() {
return console.log("creating a post...");
}
}

class ContentVideo : IContentType {
public void CreateType() {
return console.log("creating a video...");
}
}

void CreateContentType(IContentType contentType) {
// Instead of a switch, you can now do:
contentType.CreateType();
}

Mainly useful if you want to do more than one thing depending on content type, of course. It's overkill if you'd only need a single switch anyway.
"manipulating tiny materials" - I thought of semiconductor manufacturing, for litography... but I'm not an expert at all.
Max software outsourced to $12.80-an-hour engineers
I tried it out a while ago when it was still Ring. It did not work, and that wasn't as advertised. The linux client had dependencies making it impossible to run on a non-mainstream linux distro, the android client could not reliable add other users (we were in the same room) and after it worked, it could not reliably send and receive messages. Often needed restarts to receive messages. Voice and video did only work for seconds.

Would be interested to know whether it works better now.
> They are literally goto end.

So are a lot of other constructs:

break is goto the end of the loop, continue is goto the beginning of the loop, the closing of a loop block is goto the beginning of loop, else is goto the end of the conditional, if is maybe goto the next else, and return (early or not) is pop from the stack and goto that address.

The fact that a language feature uses a JUMP instruction does not make it necessarily evil; most of them do. Everything has both benefits and drawbacks which are often highly situational.

You may find it easier to convince people of the problem with early returns if you limit the scope of the argument to a more specific context than “always”: it’s usually easier to make an argument for a concrete case rather than an abstraction, and then show how the same reasoning applies to a large class of situations.
6 exabytes is the Western Digital side, the article says that Toshiba produces more there, so it is going to be 12+ exabytes.
Thank you! That answers all my questions. I'll go play with Snap! then.

BTW. you seem to know your way around these kinds of semi-visual languages; any opinion on NetLogo? A coworker recently introduced me to it, and it looks like a great tool for doing agent simulations. I wonder if you know of anything else worth paying attention to in this space?
They were using their PC. But begrudginly, getting annoyed by the updates, virus warnings, us perstering them to switch browsers etc.

For most of their lifes PC were the only way to do some tasks, including photo management (and we were sharing them tons and tons of photo, they also filled SD card fter SD cards in the summer), and it’s only recently (basically the ipad Pro) that looking at us they though they could give it a try.