skysight-inc/HackerNews huggingface dataset:
I've actually been doing a bit of research into using Rust for an upcoming project. The JUCE library is just so fully featured that it would be an undue burden to use any other language to write audio software in. Still, I think Rust is an attractive language for this space and there's definitely some talk about expanding libraries for a JUCE alternative.
How to Find XPath/CSS Selectors Like Pro
Again, what do you believe that a checkbox on the camera app would accomplish? If you’re concerned about protecting Chinese users against their government, think long and hard about whether this would provide anything more than a false sense of security. I even gave you a partial list of other ways the same data can leak.
I disagree it’s a strong claim. I think the claim that strict functional programming or type system enforcement of safety has no data supporting it significantly improves anything (defect rate, speed of development, security, etc.).

The strong claims come from evangelists of those extreme programming paradigms. You should be asking them for proof that consists of more than anecdata.

It’s backwards to say that essentially what is a historically validated null hypothesis with 50 years of development history on its side is “a strong claim” that requires special evidence, while giving a free pass to all the people using little more than blog posts and slick syntax to claim these extreme design patterns are demonstrably better.

If they are so much better, where are all the companies getting free lunches just by switching to these tools? How is it that the entire industry is so irrational that so few companies are willing to switch?

Superior ways of working catch on very fast, just consider the radical adoption of GitHub and no-sql data systems. Why is strict functional programming not seeing that? What mental gymnastics does it require to take as a premise that strict functional programming is “better” yet adoption rates are super low and successes are not proved with data, only anecdotes?
TD Ameritrade Developer APIs
I think choosing a street chock-full of high level Soviet functionaries might have been genius. How many of them would the MI6 agent "interact" with during a walk down the street? Would opening the Mars bar wrapper as he passes some general be the signal? Or the bite in front of the bakery? Or disposing the wrapper? Or the cough as the agent crosses paths with a Soviet diplomat? That's a very high noise floor. I suspect counter-intelligence would never figure it out until long after exfiltration was completed, unless they knew exactly what the signal was.
SpaceX and NASA overcame a bitter culture clash
I can't bother to dig out the reference, I know that but C explicitly allows such assignment when `p_dog` is the first member of `p_cat`, i.e., when

struct Meow { struct Bark dog; }
While that's true, since the current topic of this conversation is about emergency preparedness, I think having potable water (in ice form) would be much preferable to salted water.
That mindset seems to be pretty common across the developing world, unfortunately.
The whole point of this signalling scheme is to prevent eye contact, or any engagement. To an observer who's unaware of the system, it just looks like a local embassy official out for a stroll. Or doing some other routine thing that a lot of other diplomats also do. Meanwhile, Gordievsky is probably never even at that bakery. Or he is, but at random times that rarely overlap with British diplomats in the area. The only reason he would visit it at 7:24am on a Tuesday would be to signal for exfiltration. If and he's doing that, then the risk is worth it.

It's also only once a week that the timing is enforced, so they can vary things up throughout the week to hide that pattern in noise.

And the candy bar/Harrod's bag doesn't come into play unless Gordievsky needs an exfiltration. So it's not like they're noticing this weird thing where British diplomats always eat Mars bars every Tuesday. It would only happen once at most.

They know they're being surveilled. They can't change that. So they make their signal as mundane as possible.
PDF's predecessor was PostScript. PostScript was a Forth-like programming language that contained excellent 2D graphics primitives, including bezier curves, 2D transforms and most importantly, support for scalable fonts. PostScript was ground-breaking for its time and is the reason for Apple's early success. If it wasn't for PostScript and laser printers the Mac would not have been successful.

PostScript was implemented in laser printers and printer drivers output PostScript language programs when you printed from an application like Notepad in Windows. High-end illustration and DTP programs output their own custom programs instead of being limited by the program output by the printer driver.

Over time it became obvious that the programming language features of PostScript were not being used very much. Printer drivers typically output a fixed header containing some function definitions then they use these functions over and over for drawing the content of the page. What if these function definitions could be built in? Then the programming language capabilities such as loops and conditionals could be left out and we would still be able to do everything we're doing with PostScript. In fact the resulting technology would be even more useful because rendering a page can be done without implementing a programming language interpreter. Thus PDF was born.

PDF made perfect sense in the early 90's when it was designed. Page Description Languages didn't need to be burdened with a programming language because no one was taking advantage of the language features. But then came the World Wide Web. PDF was the wrong tech for the Web, and PostScript would have been perfect. PostScript has all the capabilities of PDF, but it is also a programming language, which means you can dynamically alter how you render the page based on where you are rendering it. Alas, Adobe's direction was already set, PDF was going to be the future and PostScript is obsolete.

In summary, PostScript was invented at a time when nobody needed dynamic features, and PDF was invented for a static world but then the world suddenly changed and needed dynamic features.
Agree to an extent. Only the industrial parks and other similar areas are zoned as industrial and I guess it’s hard to setup your warehouse for example there? Of course, you had the land which was the primary motivation, if not, SME industrial parks would be the way to go.
Calla chat is super cool! Would love to talk to you about it!
While I agree that the inheritance tax should be somewhat higher, I think you’re discounting the extent to which parents specifically work to give their kids that head start. They’re also working to give them head starts in many other ways. That’s a feature, not a bug. Perhaps there should be a limit over which the tax rate becomes fairly high, but to try to stamp out any head start is a very bad idea, IMO. The limit should be far higher than your apartment example.
> This is a terrible idea. You're destroying institutional knowledge because "it's cluttered."

It's also a terrible idea because, depending on the type of company and its lifestage, it might also be a colossal waste of time and energy even assuming wiki-rot is a problem you actually have (and that it's causing any damage which, honestly, is a moot point for many companies).

Are you really telling me, and especially now, with revenue down in the middle of a global pandemic and economic crisis, that the best use of everybody's time is to trash our internal wiki and start it again rather than, oh, I don't know, work on projects that we can actually charge people money for?

What I need most, right now, is for everyone to focus on making it raaaaaaaaaaaaiiiiin. That's not likely to change anytime soon, especially if the economy takes a protracted period to bounce back, as seems likely.

More generally I tend to be sceptical of people whose main output is corporate busywork[0]. If there's one thing any kind of recession makes clear it's this: the people you want are the people who either make a valuable product or offer a valuable service that can be sold, and the people who can effectively market and sell those products or services. Everything else is ancillary and, whilst you might need it, you want to run it as lean as possible. This isn't about being ruthlessly mercenary: it's about building a sustainable business with a decent buffer of cash that allows you to ride out the rough times so you can afford and keep paying people rather than be forced to make a load of them redundant.

As you've implied, keeping a wiki up to date is a cultural issue, and is something that needs to be done continuously. I think the key here is that sense of active maintenance, and encouraging everybody to be involved. If you change something and that something is referenced in the wiki, you need to change the wiki too otherwise the job isn't done.

[0] I imagine the places where wiki rot is most prevalent are those where creating the wiki in the first place was busywork - some sort of checkbox exercise, or a one off project with no thought given to ongoing maintenance.
TeX can also be used to generate HTML or even ODF. But of course decent typography is only available in PDF or maybe PS if you like it oldschool
This is what jc[0] does.

[0] https://github.com/kellyjonbrazil/jc

(disclaimer: I am the author)
Main advantage of lithium-ion over lead acid is lithium-ion is more energy dense so you can have a smaller size at a smaller weight. Important if you're building cars, but the price premium probably isn't worth it if you're building another office box at commodity pricing.

Edit: Since we're armchair-building for a predictable, high-uptime application, failure modes might have an interesting advantage though. Any battery engineers know if lithium ion has more predictable or measurable failure modes? Yes, we've all seen the exploding hoverboards... I'm assuming theoretically well-built electronics.
>> we keep a bunch of old laptops running win 7

I guess I was thinking laptops running DOS, like the ones used to interface with the Mclaren F1 (supercar) computer.
Show HN: Beautiful and almost comprehensive list of Perl resources
Content is often written to a predefined length, no matter how it is going to be published. E.g. some news papers even if there is no print version anymore still decide how long a story is going to be upfront. And food bloggers, will fluff up an basic oatmeal recipe with 3 pages worth of childhood stories before getting to the point.

Even if verbose, those PDF are often still the only place where the relevant substance is together. The websites referring to them then cherry pick from it. I spend a whole lot of time sifting trough goverment PDFs over the last couple months because it was the only way to get to the information I needed.

It would be much easier if the content were available in different formats.
If you want a poors man home server just repurpose old laptops. I do with a bunch of them and it's fine. I know laptops are not for that, but they wouldn't have any other use anyway, and it's like a server with an UPS built in.

Most tasks are running scrapers or data wrangling so I don't have to keep my desktop running.

I've been doing this for maybe close to two years, and for now it works. I wouldn't recommend for VMs though.

Also, your router needs an UPS too but it will be fine with a cheap one.
You participate once every 5 years in voting for one of 2 meaningful options on a list of ~5-15 issues. No one is happy with that choice.

Then, say 50% of the populace vote, 25% get the person who they voted for in. So the 25% (who do not feel fully represented) get to rule over the other 75% who know they are not represented. Basically we all pay taxes into a system that no one feels happy about. And when you think about it, it isn't about what's right - it comes down to who has the force. Its a mafioso monetary extraction system, that indoctrinates its victims. 'Stockholm Syndrome' is the psychological term for when you love your captor; most people who support the government system suffer with this.

As a group of people our views are diverse. That's good, right? Large groups of people are hard to manage. So don't manage them. I don't seek to manage other people's affairs. Government is the solution to a problem that doesn't exist - managing lots of people. People should be self-managing.

PS There's a difference between jumping to the defence of a system that no one is happy with, and finding a way to survive in a system that is collectivising and dehumanising. In supporting the system as you do, you are literally a turkey voting for Christmas. Sorry if that's harsh, but that's really how I see it.
Thats right. Majority of the problems here are from re-zoning agricultural land into an industrial one. If you build your manufacturing unit in an existing industrial area you can skip a lot of this type of paperwork.
With a twist of lime, they might just end up drinking it.
I think you're being a little obtuse. How do you address the fact that I can disable microphone for any 3rd-party voice memo application but I cannot disable it for Apple's "Voice Memos". This is a clear double-standard regardless of how fondly you feel about your own contributions to Apple Maps.
For a more concrete example, look at my nearly 5 year old post to Haskell reddit for embedding/faking copatterns in Haskell https://www.reddit.com/r/haskell/comments/4aju8f/simple_exam...

Was based off working to understand agdas notion of copatterns plus wanting to understand how to best mode protocols.

Def the case that copatterns capture the spirit and essence of oop done right. And with immutable or linear logic flavor codata, it becomes possible to also do stronger polymorphic updates than you can traditionally do with oop. Also you can nicely model type state varying apis for a single object

Edit : I also 2-3 years ago did a related live coding lecture which is related and some might Like https://github.com/cartazio/symmetric-monoidal/blob/master/s...
Take a look at Zig. https://ziglang.org/

It fixes most of the C mistakes, while still giving programmers tight control over the system.
I'm working on the assumption that the testimony provided to congress is truthful.

The research may well be fictitious, but there is no evidence of that.
Breaking the rules gets you dinged until you fix things. Repeatedly breaking rules results in more permanent dings. Both with search and with Adsense.
"Premature Imitation and India’s Flailing State" - Shruti Rajagopalan and Alexander Tabarrok

https://www.independent.org/pdf/tir/tir_24_2_01_rajagopalan....
At one point in my career, I was working on maintenance software for the US Air Force's C-130 Cargo plane. Floppies weren't used to update the flight software (the Mission Computers didn't have floppy drives). A ruggedized portable computer was used to load the Mission Computer software over a wire connection. The software doing the loading was held to the same MIL-Spec standards as the flight software itself, and we spent a lot of time convincing the reviewers that the checksums used to verify the integrity of the load were sufficient to the task.

If the software doing the load is performing its integrity checks to a sufficiently high standard, then I don't see why using a 3.5" floppy disk would be a problem.
Really? as previously mentioned, netstat and also lsof and fuser.
Hi Matthias. I'm a long-time fan of your projects and website. Built myself a bandsaw thanks to your plans, played around with imgcomp just the other day, etc.

But one thing I've noticed about HN comments is that they are almost always _tangential_ to the content being linked rather than directly about the content itself. I saw this happen the one or two times my own blogging hit the front page. I suspect a large percentage of users simply head straight to the comments section to tell their own story. (Or, unfortunately, to find something to argue with someone else about.)
> "premature imitation"

When I worked at a young startup in Seattle we went through a stretch of hiring ex-Microsoft PMs who were great at solving all sorts of ten-years-old Microsoft-flavored problems.

I wish I knew this term then.
Well they better make sure to give more points to non whites or they run the risk of being racist
It actually sounds useful, to the point I wouldn't be surprised if in the near future cloud providers bundled up some chaos monkey stack and offered that with a neat price within their realms (dunno, maybe per VPC or project).
How to make 3500 GitHub stars in one week
The Clean Network – United States Department of State
not that we should go back, but it's worth noting that women entering the workforce probably greatly increased the supply side of the equation. Concurrently we're needing less and less people whilst also trying to figure out what to do with all this new supply introduced.
So that’s a no on listening rather than continuing down the falsehood path, then? Roger that.
Designers Tool Stack of 2020
I've never heard the definitive story of how autocomplete got added to the URL bar, but it might've been a particular route from Emacs...

I was talking with a manager for one of the Web browsers in '96, and mentioned a little Emacs add-on, https://www.neilvandyke.org/webjump/ , which combined Emacs autocompletion with a bunch of arbitrary site-specific code to be a smart hotlist/bookmarks/search/etc. for Web browsers. The manager suddenly ignored everything else we were talking about, which I thought was more important, and drilled down into this little Emacs curiosity. Next thing I knew, completion was added to their browser's URL bar (but not the other things WebJump did).

The autocompletion wasn't my invention (it might've been Emacs's, decades earlier), of course, and a lot of people knew about it, including via noted Emacs hacker JWZ famously at Netscape, so there are numerous other paths it could've coincidentally gotten into browsers. I'd just be slightly tickled if that one conversation happened to be the prompt for someone's effort to add it.
> There isn't a legitimate reason to run Javascript during the viewing of a PDF.

I have a book, and I'd like to display video clips. AIUI, that requires that the viewer has JS.
I thought the main advantage of lead acid or gel cell vs li-ion is cost, recharge cycle, and the ability to provide high amperage.
Agreed on most of what you said. DS doesn't necessarily need a lot of data. Alot of DS work is not much more than visualizations and report generation to find insights.

ML might need a lot of data depending on how your org defines it. There are many interesting non-deep learning applications out there.

At my org I was mostly involved in NLP work. Honestly I think that will be the big game changer for most of the Enterprise, as they primarily deal with text data. Think automated parsing and analysis of emails, chats, reports etc. Something like GPT-3, can be a game changer if/when it doesn't need a multi billion dollar super computer.
Trust me.....having infrequent power outages like that are very very annoying. Everything turns off and I have to spend a non-trivial amount of time bringing my network back up (first router, then NAS (encrypted to I need to hand jam in the key), then servers that depend on NAS (also encrypted)). What eventualy got me to get a UPS was during a storm, it happened twice within an hour! This isn't even talking about if I were away, now my servers are down and I have to do it when I get home.

That UPS was well worth it to put a stop to that happening.
Like the author, I rarely see power interruptions that last more than a second or two (unless there's a major snowstorm or something).

It's kind of annoying and I'd love to see a solution that isn't just "get a battery based UPS" -- maybe something capacitor based, enough for say 15-30 seconds?

I guess I could get a flywheel [0], but I don't think it'd fit in my basement.

[0] https://www.vertiv.com/en-us/products/brands/liebert/?id=59
Cool, cool. I take all my security tips from thieves and spies. Next up, henhouse security tips from a coyote. None of these 'tips' are effective if you're connected to your cell carrier. The cells can still locate you. Also your phone can turn its wifi/bluetooth back on, and even log which WiFi networks you've been near when it's 'off'. All seem like good ways to find you.

If you really don't want to be tracked, you need a phone with a removable battery. Full stop. Have you noticed that you can't get a flagship phone with one of those anymore?
The 737 Max grounding cost about $18 billion so far (according tot he Google infobox which knows everything and is never wrong.) The high-end estimates of the value of a statistical human life tend to run about $4-8 million, depending who you ask. The FAA grounding of the Max has 2250 has thus cost enough money to save 2,250-4,500 statistical lives, had the money been spent more wisely elsewhere.

How does your "better" passenger-deaths-per-km measure account for these deaths? (And what is it superior to, exactly?)
jc[0] does this for many commands and file-types, including .ini and key/value pair files with various delimiters and comment identifiers.

[0] https://github.com/kellyjonbrazil/jc

(disclaimer: I am the author)
Yep, same for the F-14...

"...Then there was the computing power on the aircraft—or lack thereof. It was a Commodore 64 with wings on it ...For example: the mission computer loaded off of magnetic tape.

That magnetic-tape computer had so little memory that its crew had to switch programs depending on what the jet was doing at the moment—the RIO would hit a switch to bring up the bombing program, and then after the bomb-dropping ended, they’d reload the air-to-air program"

https://nationalinterest.org/blog/buzz/navy-deathmatch-f-14-...
'Love how honest language is framed as "scary" language'

Isn't the problem here that Apple isn't using honest language for their own advertising?
Did you mean to post a link to a Google search?
I didn't even know there was such a thing as reflowable PDF.

Agree. EPUB is a fairly half-baked solution. Reflowable PDF might have been good, but, I guess there was never any support for it.
The second book in the Children of Time series by A. Tchaikovsky deals with rapidly-evolved octopus intelligence. Similar vibe.
Show HN: FF add-on: Spot fresh links e.g. on HN by dismissing seen links
haha this is a great idea and definitely one we have tried with a few teams!
No, I meant what I said. The famous kernel “null pointer check removal” bug was in code of the form

void foo(int *bar) {
int baz = *bar;
if (!bar) {
return;
}
/* do stuff with baz */
}

which you can see provably invokes undefined behavior if bar is NULL. In the case you provided where the dereference comes after a function call the compiler cannot optimize out the check unless it can prove that control flow returns, which you claim it does not (it exits). noreturn and such are there to improve these cases and make them explicit to the compiler, but in the absence of information it must be conservative as there are many ways for a function call to never return, one of which is exit(3). Optimizing this case would be incorrect (i.e. a compiler bug) and this happens to be one of the reasons why function calls often serve as a barrier to optimizations in C.
Keeping a log also makes you seem more on top of things to colleagues and managers! I have a poor memory myself (at least with conversations... I seem to remember just fine where most athletes played college ball or other random useless facts!) But I have had a much easier time referencing old decisions or meetings since I've kept a journal.

My journal is a simple org notes file in emacs. I have a to do list on top and a daily log at the bottom and use search to find old info. The more I try to organize it, the harder it is to use, so I keep it linear now!
Hmm, not sure why I could read it before, and not now.

OK, I've submitted the same story from a different source. I think it's actually better:

https://news.ycombinator.com/item?id=24111002