skysight-inc/HackerNews huggingface dataset:
Mistake #1: Should not have had my volume that loud.

I always keep the volume low enough that a full-amplitude noise wouldn't be anywhere near physically painful to listen to, but then again most of the stuff I listen to is ultra-compressed already...

Of course, the actual bug is that the audio is in units of samples, which are only 1 byte in the case of mono 8-bit format, so treating the file as being 8bps mono when it could be 16bps mono, 8bps stereo (far more subtle difference in the case of byte misalignment), 16bps stereo, or any of a number of other formats is always going to lead to cases where this could occur.
So…. with a lightning bolt then.
Well yes hence the “/pedantic” tag. I was quibbling with someone who went out of their way to “correct” a true fact. Quibbling with quibbling if you will. Sort of like you’re doing. But hey they started it ;)
I believe CSS had original prototypes that supported programmatic styling which had to be scrapped due to resource constraints on PCs at the time.
I want a C with templates (with support for C++20 concepts) and consteval, instead of a C with classes (C++)

I don't care about RAII, so I don't care about the ownership tracking that Rust provides. I like to think that memory management is actually part of the problem, rather than a responsibility for the language's runtime.

I want to generate hundreds of datastructures or algorithms at compile time that are optimal in specific situations using introspection of types.

I want everything else in the language to get out of the way and know that I'm writing code that actually runs on a real computer, not an abstract machine.
Ask HN: Which habits are you trying to create or get rid of?
Have you ever tried showing a Democrat a twin study?
> Does the Common Lisp standard need to be revamped?

Yes. Will it happen? Almost certainly not, though I would like nothing better than to be proven wrong about this.

> it just always amazes me how much innovation is still happening from simple, unfancy s-expressions

Turns out S-expressions are just a Really Good Idea (tm). That's why people keep reinventing them over and over.
Irrelevant nit, but:

> “Basically, the only ‘intuitive’ interface is the nipple. After that, it's all learned.”

The nipple is not intuitive for everyone.

One of our children struggled mightily with the nipple and we had a miserable two or three months of breastpumping and finger-feeding before he finally figured it out.
Intrasting
I think you’re overestimating how well real life actions map to the object/verb dichotomy.

So you’d say that it’s object first because you first get the wood and saw and then decide to saw the wood with it.

I could argue it’s verb first because you first GET the wood and saw.

I’m not saying that I’m right and you’re wrong. In fact, quite the opposite. My point is that I don’t think real life actions can be broken cleanly into object-verb or verb-object, in the first place.
Trying really hard to stop checking my phone at all times; to stop binge watching Netflix

Trying to create the habit of exercising every single day
The most compelling thing to roll yourself, eclectic hardware like consumer GPUs with dedicated DXR hardware, is something you can't do with this.
Not directly related, but recently I've built a regex engine that was a bit different: I implemented the semantics of Java's java.util.regex.Pattern on top of JavaScript's RegExp. This is for Scala.js' implementation of Pattern. [1]

It turns out that they are wildly incompatible by default, so directly passing through the regular expressions to RegExp is incorrect in most cases. That was what we used to do before, though. Other compilers like GWT use the same technique.

So I implemented a complete compiler from Java regular expressions to JavaScript regexes that preserves semantics. It supports virtually everything, and fails fast for the few things that are not supported (like grapheme clusters or canonical equivalence). Some things are very tricky to get right, like atomic groups or handling of surrogate pairs when the 'u' flag is not natively supported.

The advantages of that strategy over reimplementing a complete engine (which is what TeaVM does) are a) code size and b) we get the performance of native RegExp's (which are JIT-compiled to native code, these days).

[1] https://github.com/scala-js/scala-js/pull/4455
that's a good reason to put it papers on arxiv before you submit them
The other way to mitigate this is to put your work on ArXiv before submitting it to conferences/journals, which is becoming more and more acceptable in at least some CS sub-fields.
The department head at least should be something of an expert, and be able to consult with more specialized experts. Then that department head can pass on an evaluation to management.
Because Microsoft.
Gaming retailer GameStop is building an NFT platform on Ethereum
SF Mono!
I didn't get Swine Flu in 2009 from a pig.
I think it’s less a problem with explicit casts and more a problem of insufficient expressivity. If what you wanted was “cast to the type of b”, then something along the lines of C++’s decltype would be better:

b = static_cast<decltype(b)>(a);

And as other commenters have pointed out, if implicit widening is disallowed that would also prevent the potential bug.
Bingo...we have a winner.

This issue reeks with the rank smell of base politics and in/out group dynamics, and humans have been fighting, in the abstract, these issues since the time Egyptians were building the pyramids.

How can there possibly be an "objective rating" when career advancement, peer respect, and big money all are in the mix depending upon results?
I think your underestimating Amazon and overestimating the government
I wouldn't assume it's actually a bad cover based on HN commenters' tastes. Look at what's successful in your niche and copy that (to my eye, looks like you've done that, but idk the niche well)
SICL is being developed in a modular fashion: I believe clasp uses SICL’s compiler framework Cleavir for its own compiler. (I’ve also heard that ABCL and ECL have considered reimplementing their compilers with Cleavir)
"It uses over 230 integrated circuits, mostly from the 74HCT series of logic chips"

That's actually an impressively low number of 74xxx chips given that it's a "real" 32 bit CPU. Ben Eater's "8 bit CPU from TTL" kit has ~43 74xxx chips.
Indeed, it stretches the imagination to suggest that Jesus would even be welcome in many American churches... he provided free health care for sex workers, for crying out loud
> vlU

I think you meant just vU, as you were only capitalising the letter under the cursor.

You can actually also achieve this without entering visual mode: gU{motion} changes to uppercase, so gUl uppercases the letter under the cursor.
> Disable ACPI C-states.

Related, I worked on an embedded linux device that bit-banged an unusual communication protocol. I wanted to offload this bit banging to some dedicated microcontrollers built into the SOC, to help free up the main CPU for some other use.

I spent some time writing a nice little device driver that used DMA to send the transaction to the bit banger. The main CPU usage went from 60% down to 2%! Success! Unfortunately, the transactions/second was now a fraction of what it was before.

After some digging, it turned out the improved CPU usage was low enough that the CPU scaling governor was staying at the lowest frequency. Disabling the governor and forcing the CPU to max frequency resulted in a pretty huge transactions/second improvements. Obvious in retrospect, of course.
still keeping an eye on https://mudita.com/products/pure and the open source mobile OS they've built https://mudita.com/products/pure/muditaos/
I once wanted to run my Bash script (for archiving photos) through ShellCheck. I will never know, but I had to do something terribly wrong, as it started to remove my root directory... Thankfully, didn't had root privileges, so "only" resulted in nuking my home folder.
Even though I share your cynicism, 'A Hustle' is very different from 'Having Hustle' i.e. the noun means something from the adjective.

Having 'hustle' is actually important at a startup, it's part of the essential aspect of it. I'd argue a 'hacker' has a kind of hustle.

I'm pretty suspicious of these things as well, but I've also come to believe in my many years that a bit of koolaid is fine as long as it has self awareness.

I wish Elon would stop posting all the stupid things he does, but I think that's what you get with 'all the other stuff'.

If Elon were fully polite, conscientious, a 'good listener' I'm not sure Tesla would exist. So we pay for the existence of Tesla by accepting that he's going to do dumb tweets about Crytocoins.
For those interested, here's a useful graphic from wikipedia showing the various schools of Buddhism and their movements:

https://en.m.wikipedia.org/wiki/File:Buddhist_Expansion.svg
Is it insane tho? Reality you said? Are you sure you want to make that argument? https://en.m.wikipedia.org/wiki/Racism_in_the_United_States , your ”argument” is as racist as Carlson Tucker’s “What’s white supremacy ? anyway”
What code implementations of PID controlling do you know, to learn or base upon, to build an actual solution?

I've successfully used this blog post series from 2011, which covers the principles behind a PID library for Arduino:

http://brettbeauregard.com/blog/2011/04/improving-the-beginn...
https://massivesci.com/articles/sars-cov-coronavirus-covid19...

"One hypothesis requires a colossal cover-up and the silent, unswerving, leak-proof compliance of a vast network of scientists, civilians, and government officials for over a year. The other requires only for biology to behave as it always has, for a family of viruses that have done this before to do it again"

But hey, at least Facebook is being consistent when it comes to garbage sources and conspiracy theories.
It's too early to be sure, but Cornell Tech, the new-ish satellite campus of Cornell in NYC, looks to be on a successful trajectory.
It was a mind shatteringly great post when he posted it & it still keeps coming up again and again, Steve yeggee's Notes From The Muster Magic Bus[1].

> Software engineering has its own political axis, ranging from conservative to liberal.

To me this identified a core truth in myself & helped me reject fear, de-prioritize the small stuff, learn to let more colleagues attempt's ride (even though I saw better possibilities). I wanted to be a liberal software developer, not afraid of, not clutching to maintain systems & status quo's & notions of security. There are wide open futures, we will only learn of problems by trying things, by accepting some failure, & being adaptable & capable of letting choices, even not the greatest choices, happen.

[1] https://gist.github.com/cornchz/3313150
Node.js with Browser Globals from Jsdom
God, I hope something like this catches on...

Electron apps are the bane of my (computing) existence. Oddly enough, the only one that doesn't seem to suck is VSC - which I would have expected to be one of the biggest/slowest. How VSC runs better then slack client, I'll never understand.
you can abuse the preprocessor to do efficient generic programming e.g:

https://github.com/attractivechaos/klib/blob/master/khash.h

https://github.com/attractivechaos/klib/blob/master/kvec.h

FWIW writing a generic vector like that ^^^ is going to be faster than almost any std::vector implementation you can find. And that is just one way to do it, there are other tricks.
It's not clear to me why this is getting downvoted. This strikes me as a pretty clear description. At this point major Republican figures are getting censured and demoted for saying that lies aren't true. Look at surveys of belief around the election. (Or previously, Republican beliefs on whether Obama is an American citizen.)

If universities are about anything at all, it's about pursuit of truth. At different points in time and space, different political sides have been the one more eager to ban inconvenient truths. Lysenkoism comes to mind, for example, or the Great Leap Forward. But here and now, it's Republicans who have as a group more or less abandoned factual inquiry altogether. And you don't have to believe me on this. You can read prominent dynastic Republican Liz Cheney: https://www.cnbc.com/2021/05/11/liz-cheney-vows-to-keep-figh...
Anyone here use gaming keypads for programming?

I came across these two, which look interesting, but might require significant work to be used as keyboard replacements.

Razer - https://www.amazon.com/Razer-Tartarus-Progammable-Detachable...

Azeron - https://www.amazon.com/Azeron-Classic-Programmable-Customize...
No, the obvious takeaway is that Facebook thinks it can make enough money stoking fear, uncertainty, and doubt to make the PR black eye worth it.
> For example that would break horribly with the situation you describe, where some piece of text gets clipped.

Forgive my ignorance, but what should happen here? Let say I have a scrollable text pane with an entire novel in it.

I agree there should still be a mechanism to pass more accessibility data than OCR could extract. What is the bare minimum information that is required? Pretend there is no UX model -- arbitrary things could be presented (like in a video game).

In particular, with Gio there isn't necessarily a single set of widgets or UX. Gio has a small set of Material Design compliant widgets, but is mostly a library for composing immediate mode graphics. For example I have several custom widgets, some that only interact with the keyboard, some that don't have any text at all (just graphics or animations), one is a akin to a 2D-scrollable map, click-to-drag Google maps style. I'm not really sure where I'd begin in making these accessible. How should something like Google Earth be made accessible, ideally?
Sounds like you would be interested in Orion. https://browser.kagi.com
Can you explain more about what you did and why?
This is NPR reporting. Why would they mislead on an issue like this? I think they're a very credible source, given their progressive bent, to be asking these questions.
> left wing sources

The NY Times is NOT left wing, it is liberal. Same with CNN. Also, the Times article says he moved away to get a fresh start. Do you believe a person is ALWAYS a junkie or criminal? I've been to jail. Does that mean I am a criminal, permanently?

Since when are police allowed to be executioners? How can you be ok with that? Why can't non-lethal force be used, a person brought to jail, and then charged with a crime. He wasn't charged with anything, and in America I thought people were "innocent until proven guilty."

>I'm not a racist,

So you are one of the only humans I have ever met who has no unconscious bias, is perfectly aware of the entirety of their mind, and does not need anyone else to hold up a mirror for them to show them their blind spots. Got it.

> It just happens way to often by left wing people. In fact, you just called me racist in the same message.

You should hear what I've been called by right wing people. And I'm not saying all racists are nazis. Some racists are just racist without knowing it, some are "culturally racist" like much of my family - ignorant, usually. Some are just racist and don't want to exterminate other races, but believe all sorts of bullshit bell-curve garbage. There are plenty of other categories.

>Even criminals have these rights.

Yes, we agree. And what was being protested last year was the unequal application of those rights, and police forces acting as judges, juries, and executioners, when they are supposed to be people who apprehend (not kill) criminals or gather evidence to use at a trial. I used to live in a 99% white neighborhood. My former roommate was a black man. I never had a front license plate on my car (illegal here) in the three years I lived there and never had a problem. He drove without one for a week and got pulled over three times. By cops who "weren't racist" according to them. You think those cops thought they were racist? You could have even been one of them for all I know.

>So it's OK to rape the rapist, I got it

No, I don't believe in an eye for eye but you keep putting up straw men to try to make me into some caricature of what you think a left wing person is, like how calling people nazis happens often so I'm obviously doing it, when you were the first person to mention them at all anyways.

In fact, every single person on the left that I know of is pretty against retributive justice and instead prefers rehabilitative justice. In a rehabilitative system, someone like George Floyd would have gotten addiction counseling, support as he was getting back on his feet, and help keeping his life in order, and the protests of last year would likely never have happened. This is just more projection from you. The right wing is always the one who is all about eye-for-an-eye - how many right wing people are calling for the abolition of the death penalty? Isn't "tough on crime" usually a big hit with the right wing voting bloc? Even liberals are on board with that garbage. How many prison abolitionists can you name on the right or even center? It's how we end up with shit like the Clinton crime bill or whatever.
Excellent idea.

I remember going through the tube testing ritual with my Mom. Good times. It was really interesting to me, how my Mom could take things apart and figure things out.

(She taught me that the inside of a TV was dangerous, and kept the screwdrivers up where I couldn't reach them.)
"When a measure becomes a target, it ceases to be a good measure." - Goodhart's Law

It's not even just about academia in general, it's a universal problem caused by lack of personal accountability through the globalization of talent. The exact same dynamic was shown multiple times in HBO's The Wire. Gaming the metrics. LPU's are no different than 10 minute YouTube videos.
> Until the antitrust laws were used to break them up, the studios contracted stars, script writers, directors, distribution networks and movie theaters in order to own the entire stream of revenues all their movies would generate.

Interesting. I was entirely unaware of that history. I was always impressed by Michael Ovitz's bundling play at CAA. Seems like he in fact "just" rebundled what he could at the agency level.
Stated another way Chinese university journal editors stole a little over two percent of his life
I have two, somewhat contradictory, responses. The first is that it is not "to be" that is the issue, it is that students very often do not articulate themselves very well, and one way to encourage them to be more precise is to take away their linguistic crutches. If you can get them to ask to themselves, "how can I say this another way?", then you've already gone a long way to improving their writing, and by extension, their thinking.

My second answer is ontological. The "is a" relationship is much more useful in mathematics and computer science than it turns out to be in the empirical, social and psychological sciences, where even the ontological categories that one discusses may be disputed. Instead of saying, "a cat is a mammal", it seems much more useful to talk about statistical distributions of traits shared by or not shared by cats and other mammals. And then, very often, our categories can obscure truths, e.g. the truth that biological sex is more complicated, multidimensional and continuous, that the binary categories "is a" encourages us to use. Historically, much of science begins by creating ontologies; basic questions are "what kinds of things are they?"; but at some point they can also become crutches. I think we see this in modern evolutionary biology quite clearly, with a move toward "population thinking" rather than categorical ontologies.
But these things can affect real credibility if not superficial credibility.

I wonder if it's worth staring a web-site where friendly scientists put papers side by side and say 'Was this a Rip Off'? Whereby at least the scammers get some form of possible public shaming for as long as the paper exists.

I can just imagine that site coming up in web searches ... how could people not click it?
Not sure what you are getting at.
> Hmm, what is the "non-political" reality in the question of equality of languages?

Human languages aren't equal; plenty of languages have problems either in specific areas or just generally, and any academic linguist can tell you (off the record) which.

> There are other successful languages, too.

Python is probably the most successful teaching language; I can't think of another language with a better reputation syntax-wise. (And if another language has such a reputation, it's probably because that language is also "Pythonic").
Eric Carle, Creator of 'The Hungry Caterpillar,' Has Died
Because they're under the same competitive pressure in the attention economy as every other media outlet?
Not my experience. A decent chunk of non-headphone people ignore a bell too.
They already did that, it's called the Hoover Institution.
Didn't know that. Won't do again. Thanks. Passionate topic.
>And that's exactly what I've seen over and over again, in different communities, such as the ones I've mentioned, this attitude of "you're holding it wrong".

You're really reading this wrong. The issue is moreso about personal knowledge. I see this on the Discourse sometimes where someone comes blazing in saying "I want to use PyCharm for Julia and I run into ...", "Special Lisp-only IDE has a Julia plugin and it fails because ...", or "I have this special terminal setup and I no 0 latency and ...". The answer of course is, if you need help, use VS Code or Juno/Atom. Those have a larger userbase which that has fixed exactly those issues and has a helpful dev community on those site which will get you up and running. That's not "you're holding it wrong", that's people trying to help you into an area where they know how to help you. You can shrug it all off and blame it on them, but at the end of the day, people are sharing what they know works, a reliable solution they built for exactly this problem, and then are getting flamed on the internet for having "NIH syndrome" for not fixing some random IDE plugin they've never used. I just don't see how you can expect every person to be an expert on every possible workflow you can imagine and start throwing flame when someone tries to lead you to water.

In the Julia community in particular you tend to have people who are more experts in their scientific domains. I am in that category: I can help you in anything ML, high performance computing, differential equations, etc. but I use Windows and the Juno IDE. If you open an issue about something weird happening on emacs, I wouldn't even know how to get it installed, sorry, that's not my expertise. The Julia community has a lot more people in probabilistic programming than it has Javascript devs, and so people share how they know how to fix your problem "can you run it in VS Code and show the profile?", not "here's how to run some daemon server thing" etc. And that's perfectly fine, it has its advantages and disadvantages.
65W GaN chargers are getting pretty small, comparable with the crappy 5V USB power supply Apple used to pack in with their phones.
Not really. They're funded a bit differently.