skysight-inc/HackerNews huggingface dataset:
There are ways to flatten those trees and leave the code a bit more readable. Bertrand Meyer hit on it 30 years ago:

if (weShouldDoThis()) {
return doIt();
}

Structurally, this seems very similar to having twenty methods with one conditional block and a delegation to some other method. But the stack trace is half as high, and the testing surface area is greatly improved, because the code in the 'if' clause is pure, or close to it, while the 'doIt()' method might alter shared state.

There's a big difference from a robustness standpoint between having half of your functions pure, and half of each function pure.
I was bringing that point, because although there are some gun laws, just like there have been some noxious speech laws, I'd be hard pressed to say that American's don't love guns. I guess I don't know how to reconcile things like:

"73% say freedom of speech worth dying for":

https://www.rasmussenreports.com/public_content/lifestyle/ge...

...and...

"Majority of Americans think the first amendment goes too far"

https://campaignforfreespeech.org/free-speech-under-dire-thr...

...could be that I'm getting old, and that we've failed to pass along the free speech tradition to younger generations.

"For instance, 40% of U.S. Millennials think the government should be able to prevent people from making statements that are offensive to minority groups, compared with 27% of those in Generation X, 24% of Baby Boomers, and just 12% of Silent Generation Americans."

https://www.pewresearch.org/fact-tank/2016/10/12/americans-m...
The aspect of amateur astronomy culture that discouraged me was the awful code published in Sky & Telescope back in the late 80s or early 90s.

They used to have a policy that in order to be compatible with the least common denominator of their readers, they required published programs to be in BASIC. And not just BASIC, but basic BASIC, with line numbers.

As far as I was concerned, it was unreadable and obsolete since about 1985. It also probably influenced me away from ever learning Forth by association.

Not to mention, that when I got a book on astronomical computer algorithms, it turned out that the available implementations were in Fortran, which to my taste was as bad or worse.
> Nobody seemed to think it was hard to host a file before this came along, just as nobody thought it was hard to have a blog before Medium.

Huh? Who ever said the main point of a CDN is to make things easier? It's always been in order to provide a faster end-user experience.

> ...but it's also not easy to say you're really improving the performance of something if there is any possibility you'll need to do an additional DNS lookup -- one of the greatest "long tails" in performance.

But common CDN's will virtually already have their IP address cached while you're browsing anyways.

Caching certainly has nuance to it as you say, but I think you're being particularly ungenerous in claiming that CDN's are a scam and that you're representing "reality".

Businesses measure these things in reality with analytics, and they also almost always analyze the worst 5% or 1% of requests as well, not just the "median".

CDN's are a big boost to performance in many cases. Or at least, until now (for shared files). You shouldn't be so dismissive.
>How much can one stock up on guns? Every 4-8 years when the political cycle changes they stock up but after a few cycles the demand should grind to a halt. It's not like guns are advancing a lot either.

A lot of people who own guns also collect them. It is kind of a hobby. Guns might not be advancing, but people like having multiple different kinds, swap attachments, get some rare handgun from WW2 era from Czechoslovakia, etc.

Plus, it isn't all just about guns themselves. A lot of it is in the adjacent stuff, like ammo (which inevitably runs out, if you go to a gun range on a regular basis).

I prefer to think of it similarly to an audio gear enthusiast hobby. How many headphones/amps/synths/keyboards/guitars/etc. one might need? People spend enormous amounts of money on audio gear for decades, without actually "needing" most of it, and it isn't like the actual acoustics or technology in audio changes that much (with exception of a few specific categories, like midi controllers).

>So I really wonder if republicans are scared when a democrat is in office and subsequently buy guns because of that or whether they are scared into buying more guns by mere marketing.

I don't know about you, but I have plenty of politically left-leaning friends who bought their first firearms this year. So, I think, covid and protests are, at least partially, definitely fueling that increase in sales all across the political spectrum.
Monthly is huge for our SaaS subscriptions. We usually go yearly later.
An engineering solution that is incredibly cheap was invented in 1980.

https://en.wikipedia.org/wiki/Iron_fertilization

"Give me half a tanker of iron and I’ll give you the next ice age." - John Martin

Iron deposits occur naturally from Volcanic eruptions. It produces huge phytoplankton blooms which create huge fish blooms later. It also drops CO2 like crazy.

UN banned all study of this process in 2008:
https://www.nature.com/news/2008/080603/full/453704b.html

Scientists have since gone rogue and done large scale studies anyway to prove it's safe, like this in 2012:

https://www.theguardian.com/environment/2012/oct/15/pacific-...

Now the Canadian government appears to be prosecuting the founder.

https://www.theglobeandmail.com/news/british-columbia/ocean-...

And now they are they are trying to do the same thing in Chili and the mainstream media is fighting it:

https://www.nature.com/news/iron-dumping-ocean-experiment-sp...
Speaking of real ergonomic and health in my humble opinion, the designs with Concave keywell (Kinesis/Dactyl) are the way to go. I have jumped on to Kinesis Advantage 2 and all my wrist pain is no more.
Scientist Author Busts Myths About Exercise, Sitting and Sleep
I have literally seen NYT bestselling authors talk about how they're super excited to publicly heckle an author at his next book signing. And join in on conversations promoting burning his book.

His crime? Writing a female character who goes on the run, has limited food, and trains in martial arts--which leads to her losing weight.

This was, apparently, fat-shaming and deeply sexist.

The authors involved in these threats and book-burning talk had literally no punishment. None. Just a bunch of new followers who gushed about what "strong women" they were. (As a woman, I can't think of anything weaker than threatening to burn a book and harass someone, all for internet points.)

The thing is, Publishing Twitter is super safe if you're on the far left. You can talk about harassing people, burning books, and purposely destroying careers. Zero consequences at all.

But if you're so much as a hair right of center left? Forget it. Your career is gone.
If a future employer expects such social "credentials" from me, I'll be suspicious and tell them where to go.
Power lines still look like garbage, IMHO. After having lived some years in Germany where they are almost universally buried (except high voltage long-haul lines), I can't stop seeing them everywhere in the US. So ugly. Every sky and scene just spoiled with rickety old third-world "oh let's just put this here for now" trash. Like a scratch right across my eyeballs.
The printing press operators are trying two angles of attack: Bitcoin's use by terrorists and ecological footprint. Both are completely unsubstantiated- for example worldwide TV electricity consumption is >6bn KWh per year (and that's only by TV sets)
One thing I'm always curious about, especially with some of the layouts of keyboards with multiple "layers" to accomplish things:

Do people using these keyboards as their daily driver have trouble adapting to normal keyboards they need to use from time to time.

I suppose I could try one and find out if it's an issue for me, but I'd be worried I get deep into this rabbit hole only to find I'm useless if I have to work on something on some other machine.
Which law does it violate? I can’t think of any.
It might be worth exploring some consistency measurements. So for example if a tune is in the key of C major, people can have fun arguing about what pitch E should exactly be. But if the note is repeated in the melody but played with changing pitch then generally it will sound out of tune.

So something like a variance of pitch per note measured at the end.

In particular, something like Bach's cello suites tend to highlight these sort of intonation issues.
Social media accounts are not credentials, and that requirement is bogus for 99% of jobs unless your job is social media publicity
> reputation at one time for typos and the like

Well-earned into the present day. I regularly see typos even today.
> social media platforms don't ultimately get to choose their users

Of course they can.

They simply ban/allow people until they get the mix of people they want. It happens all the time on Reddit e.g. /r/the_donald, /r/conspiracy.
They missed the biggest idea of 2021 - Gamestop!
If your objective is to solely detect leaks, then sure, zero spam filtering is the best option.

In my case I'm just trying to live my life in a security conscious way, and detecting breaches is just a byproduct.

And of course the easiest option is to drop all that and just following Troy Hunt's HIBP [1].

[1] https://haveibeenpwned.com/
How does that work? A Slack staging deployment channel "+1" message sends an outgoing webhook to CircleCI?
I think one of the biggest changes over the past decade or so is that the values and the perception of the values that participants offer has changed.

It used to be that you wanted your open source code to be popular because having users like and use your stuff felt good. There wasn't really much "fame" or career boost to be an open source maintainer. The users themselves and the positive feedback they provided were basically the sole intrinsic motivation.

But now companies look at open source contributions when it comes to hiring. You can get paid speaking gigs or use keynote talks to further your career. Having a lot of users means a maintainer can extract value from other sources. And users know that now. They now that their tiny popularity vote is transferring something valuable to the maintainer who may then use it elsewhere. That leads to entitlement.

In GitHub these days, I often see PRs and issues where the contributor or person filing the bug clearly thinks the maintainer "owes" them something in return for their support. It's like, "Hey, I'm making you be popular, so do what I say." That kills the intrinsic reward maintainers used to feel because now it feels transactional and obligatory.

My experience is that almost everyone filing issues and PRs is well-meaning and helpful. But it only takes a few cranky ones to suck a lot of the fun out. And even the good ones can be draining at a certain scale, though no fault of their own. Managing those social demands takes emotional skills that many maintainers don't have. After all, part of the reason many of us got into software is because we found human interaction difficult or anxiety-inducing.
Here's the xeus-cling (Jupyter C++ Kernel) source:
https://github.com/jupyter-xeus/xeus-cling/tree/master/src

Do any of the other non-Python Jupyter kernels have examples of working fancy UI components?
https://github.com/jupyter/jupyter/wiki/Jupyter-kernels

Jupyter kernels implement the Jupyter kernel message spec. Introspection, Completion:
https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

Debugging (w/ DAP: Debug Adapter Protocol)
https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

A `display_data` Jupyter kernel message includes a `data` key with a dict value: "The data dict contains key/value pairs, where the keys are MIME types and the values are the raw data of the representation in that format."
https://jupyter-client.readthedocs.io/en/latest/messaging.ht...

This looks like it does something with MIME bundles: https://github.com/jupyter-xeus/xeus-cling/blob/00b1fa69d17b...

ipython.display: https://github.com/ipython/ipython/blob/master/IPython/displ...

ipython.core.display: https://github.com/ipython/ipython/blob/master/IPython/core/...

ipython.lib.display: https://github.com/ipython/ipython/blob/master/IPython/lib/d...

You can also run Jupyter kernels in a shell with jupyter/jupyter_console:

pip install jupyter-console jupyter-client
jupyter kernelspec list
jupyter console --kernel python3
Steam has been the only thing I've tried LAN (other than some early PS4 remote play years ago), so that may be the issue. Geforce Now is probably the best I've tried of the bunch, so I'll give their tools a shot locally next time.
This is so silly that it's absolutely ludicrous, but I've never known about or used that before....... I can think of all kinds of other permutations of the command that I've used and know but not this one......
Clicked on your profile and noticed that you are a fellow Beaver. Go Beavs! ;-). I got my CS degree from OSU about 10 years after you graduated.
I have a strong desire for one of these, but absolutely no idea what I'd end up using it for when I have an excellent smart phone and a light laptop. If I could work out a single actual thing I'd use it for, I'd buy it in an instant
Fetch/XHR as long as the tracker server have CORS * enabled, right?
Then they can just inspect the blob data.
https://www.theguardian.com/world/2020/feb/06/china-technolo...

https://www.zdnet.com/article/fbi-is-investigating-more-than...

https://www.bbc.com/news/world-us-canada-55177975

https://www.natlawreview.com/article/department-justice-s-na...

https://www.fbi.gov/investigate/counterintelligence/the-chin...
Grauniad and the fflong riots...
I miss my phone that had a slide-out keyboard...
Tracking is the cost. You have the choice to use the service and allow tracking, or not use the service.

Websites force you to accept tracking in the same way the store forces you to pay for your groceries
“Counting holes” went to 404, sadly. I was hoping to count some holes today.
Rust would have prevented the -1 as a UUID too, because you would have used a sum type (Rust enums) instead of a sigil there. Its easier, its idiomatic, its more clear, and the compiler knows how to optimize the overhead away a lot of the time.
3dfx, internet, motorcycle, broadband internet, ssd, tesla
> and leads to a security vulnerability

I have trouble imagining how aborting leads to a security vulnerability? That's literally running no code, the opposite of running arbitrary code.

Aborting is fine in any language. Criticisms of C here would come about because C doesn't abort when it should (null pointer deref, array out of bounds, etc), not the inverse.
name me a tier-1 paper without typos. the point about the graun, is how entertaining they could be.
The 11” Air is probably my favourite portable device of all time. A full proper laptop with desktop experience and Apple hardware quality, in the size/weight of a tablet. I don’t even notice it in my backpack.
PAM is fun. https://github.com/systemd/systemd/issues/16813

With all the .so modules loading into some process, etc. Some questionable design in sshd makes it lock up completely for all incoming connections when used with PAM and when pam module ends up in infinite loop.

Nevermind that systemd pam modules pull in a shitton of stuff, including dbus, into any process that tries to use PAM for auth, these days.

I guess it all runs as root, too. sshd at least tries to fork a child for all this and waits for it and kills it, so that the parent process can't be polluted. It just has no timeout when waiting for result, and doesn't accept further connections when waiting.

Sometimes it's better not to look too deep under the covers.
Not a DSP expect by any means, but I think you can do better pitch detection without using an FFT. Instead, you want something like auto-correlation:

https://en.wikipedia.org/wiki/Autocorrelation
Rust is modernized C. You are looking for something that already exists. If C programmers would be looking for tools to help catch bugs like this and a better culture of testing and accountability they would be using Rust.
asm.js was a thing before WebAssembly, with the same downsides, except maybe a little less browser support for debugging, inspecting, etc. asm.js was able to exist without browser support in Chrome, so WebAssembly support doesn't really bring anything new to the table.

At least that's how I understand it, care to give ideas why it's not a positive change? :)
How can standart income US citizen afford that? Have insurance before infection?
Well, that, and with modern machinery, a global investment economy, and so many construction jobs depending on infinite growth, "build that junk" is the no-brainer solution to everything. Problem is, just a couple "build that junk" people can do so much damage, unless checked by an unusual, overwhelming backlash, we're not slowing down in any measurable way any time soon.
> $99/m for Ultimate eds?

There's a single bullet in that table that makes it all make sense:

> Free Guest users

Guest users can:
* Create issues
* Leave comments
* Clone or download the project source

That sounds like it covers the use case for a substantial portion of people who currently have paid accounts.

So Basic -> Bronze -> Silver pricing pays for the increase in features. Ultimate/Gold/whatever includes price increases for features, as well as not having to pay for accounts for people who don't really use GitLab much at all.

I strongly suspect the Ultimate tier is geared towards large companies who's primary line of business is not technology. They have a lot of people who need minimal access to GitLab, and a small number of people who need to access GitLab a lot. It wouldn't be super surprising to me if the difference in cost between Silver and Gold is minimal for someone like Walmart or P&G because they can stop paying for accounts for PMs, helpdesk workers, the people that actually use the software, etc.

It's probably not really of much interest to a tech company because so many people need access to GitLab that you get very little gain from free Guests.
The difference is they expressly coordinated (a no-no) to change the price (a no-no).

There is nothing wrong with saying "X is a good stock, buy it". Saying "I don't really know about stock X, but if we work together to drive prices up we can make money when we dump the stock" is all sorts of illegal.

>"we somehow coordinated and we stuck with it"

https://www.reddit.com/r/wallstreetbets/comments/kwkle2/gme_...

Don't get me wrong. I am not saying a case will definitely be made. Maybe it will be judged not worth the effort or politically unpalatable (going after the little guys). Maybe they had much less impact than they\we think and there was actually some other entity behind it.

But if there is a case to be made, those are the key elements:

* They conspired together

* Their aim was to manipulate the market (move the stock price).
Can Remote Teams Be Innovative?
Ocaml is probably the fastest compiling language I've ever used.
How do you configure who may deploy what, without having user accounts / groups in Jenkins / circleCI?

Maybe those who can post to your deployment slack channel, can deploy? So you configure who-may-deploy via permissions in Slack instead?
Oh yes, there are definite downsides. There are plenty of sites that won't show you anything. I've taken the tact that there is more on the net than I could possibly view in a million lifetimes and just move on. I could see some people taking exception here. And yes, I don't bother with google's captcha, since if that shows up, it'll most likely never work, even if you keep trying. Some of the others will let you pass after one successful test. I don't find tor to be too slow though.
I tend to think of it as "YAGNI, KISS, DRY" in that order à la "Reduce, Reuse, Recycle"
This isn't an interesting distinction for quick prototypes because the difference is basically

python task.py

vs

javac Task.java
java -cp . Task

And if you're in and IDE (in fairness, they're not popular for quick prototypes), you're just clicking the play button either way.
A journey of a thousand releases begins with the first unit test.

Everyone has decided to stay home this year, though.
Obligatory "what's the next new cheap paid Git hosting alternative"?

I switched to Gitlab on principal, but as an individual user I can't really justify a hike from $4 to $19 a month. I don't want to do free... although paying seems to have done little to keep Gitlab from pulling the rug out from under.
Twilio and the Magic of Undifferentiated Heavy Lifting
I mean generating your HTML on the server. If you use HTML as a semantic markup language, it works pretty well. Then, using Vanilla JS for the interactivity. I doubt it's "too much to maintain"- what is harder in Vanilla JS than Gatsby?

You can write much of your site in raw HTML. For example, your right panel– you can write it in raw HTML, annotate it with some tags. Make it an iframe, just use CSS to get rid of the borders, or an XMLHTTPRequest. As long as you make good use of CSS, you can have a few tags and it'll work.
Professional Culture and Market Power
Seems to be mainly focusing on the front end (schematic) part of the design, which is smart because PCB layout is a much bigger can of worms. Some casual overly-critical observations (from the PoV of an embedded hobbyist):

This really consists of: (1) a "smart netlist" not dissimilar to Verilog, as an alternative of traditional graphics-based schematic capture (2) on top of it, automatic component selection (3) pre-defined bus types and topologies to simplify interconnection.

The value of #1 is debateable. For digital-heavy circuits, I do prefer text-based representation, but of course it depends on how terse it is. However when it comes to analog, the graphical representation is way more powerful, as it naturally reveals the topology of the circuit, while anything text-based obscures it by design. The schematic generated by the tool is nowhere close to human-readable, let alone modifyable (you aren't supposed to modify that anyway if the netlist is the source of truth), and AFAIK there has never been a drive to automate netlist-to-schematic, even with metadata annotation.

#2 sure is a bold proposal, and TBH I see it as the "core competency" of a schematic engineer --- something you cannot effectively automate out of. Even if you could, not sure real engineers would actually follow the, uh, "advice" from such tools. For smaller and commonly used things (passives, discrete semiconductors, building-block ICs) of course there is value, but arguably this is a feature, not a product. Then for bigger things that often dictate the rest of the design, just having a part handed to me is clearly not enough --- a good engineer needs to understand the multitude of trade-offs and provide justification on why a specific part / part group is chosen, more often than not based on part quantitative (maybe automate-able) and part qualitative (unlikely to be automated) measures.

#3 is where the money resides and synergizes with #1, although arguably tools like this (so-called pinout editor or configuration tool) had always been a first-party thing. Very useful for high pin count digital work. The database part of this needs to be hand-curated, but it only needs to scale as fast as the manufacturer can churn out new parts.

Also nit: It's almost always better to use an established general-purpose PL as the base, if programmability is the selling point. See Chisel, Bluespec, PCBDL, SKIDL, PyPCB, ... If you insist you can still build a symbolic representation like Tensorflow, but having to learn yet another esoteric PL is a really big barrier even for coding people.
I built a dactyl manifold but still haven’t set up the layers to my liking. I’m back on my normal keyboard and wrist pain persists, but I suppose I should put some time in to adjusting to the dactyl.