skysight-inc/HackerNews huggingface dataset:
Fun hidden use of graphviz: if you use GCC's <regex> in your code, try defining _GLIBCXX_DEBUG and call the member function _M_dot() on your regex objects.

We left that in when developing the <regex> module because it turned out to be very useful for debugging regular expressions, not just the regex implementation itself.
Ask HN: Which ideas should a generalist learn in her spare time
I've been thinking a lot lately about developing an edge as a generalist (https://twitter.com/eriktorenberg/status/1074709323509522432).

What are the best resources or topics/articles/courses would you recommend to learn?
Appello App Developers – Most trusted app developers in Australia
A comparison of different html2pdf tools
People use anonymous question apps to learn about the world (2019)
I think he is right and that it is a sad development. We see similar things in the industry, perhaps even more pronounced.
>You can still download from imdb flat files that contain all movies, ratings, as well as cast/directors/producers/writers.

What's the easiest way to do this?
VS Code is like 90% good enough for me compared to Eclipse. I was evaluating IDEA and VS Code to switch to and VS Code with its Java extensions was an easy winner considering its launch speed and the responsiveness. IDEA even though tons better than Eclipse still feels clunkier than VS Code.
Probaly it's great to have some very big picture overview. Both in scope ("all" the cloud, and both in time as in "all" time, and maybe there's even some value in looking at the correlation of these).

Maybe it helps with doing a sanity check before picking a provider. And, I guess, at a basic level it helps with accountability/transparency.
> Furthermore, not everyone is positively buoyant. The less fat one has, especially if not wearing diving suit, the more likely staying afloat/level to become harder.

I'm not sure if it is just me, but I could not understand this at all. Do you mind rephrasing it? Which type of person has a harder time stating afloat?
Automation has been progressing for at least three hundred years now, from the era of the Jacquard loom and the cotton gin. I was born in a country where when I was little there still were telephone operators. Those thousands of jobs disappeared long ago, around the time when rotary phones disappeared. Nothing to do with AI.
I imagine automation will result in the creation of entirely new industries and jobs like with self-driving cars for example.

Though, on second thought I guess self-driving does end up taking away a lot of taxi driver / trucking jobs. Nevermind...
> "In my coffee analogy, the promotion of the fair-trade alternative would be based on the fair-trade mechanism for ensuring the lower levels of the production chain receive a fairer share of the income. Whether or not the author pays less or more at the store is irrelevant to the argument."

But for there to be any form of income trickling down production chains, someone has to be willing to pay something for the services they consume. Is this controversial in any way?
Times Tables Can Make Beautiful Art
Check out some of the png files to view the art! This YouTube video explains the algo behind what you're seeing. https://www.youtube.com/watch?v=qhbuKbxJsk8
Weekend Project: Docusign
My challenge continues to write million dollar products in 2 days. Here is my document signing platform: https://www.techsigndoc.com/en/. It has more features than Docusign and already been used by 30+ workplaces.
What I've seen is that the competitor buys the excavator and the 15 people have to do the work for similar pay. The salaries go down, amount of work per worker goes up and the competitor makes exotic profits.

I've seen one fascinating example where pay per unit eventually boiled down to 40 cents per hour. That was the point where the automatons simply could no longer keep up. Some would decline to do the manual work. Those who did got the less frequent better paid contracts that paid up to 20 euro per hour. (for which no machine exists)
Construction Bidding Platform by PlanHub
", tiny living spaces in insufferable cities (urbanites travel more). "

Whether urban living is preferable is subjective, but urbanites also tend to be richer and have easier access to airports (and trains and buses).
It has become increasingly obvious that the Roman alphabet and English language must be replaced due to their overwhelming historical baggage.
If you're just some guy who writes and updates a piece of software for a living, what do you do then?
Someone started fork called Braver

https://github.com/braver-browser
Ironically the pirate movie scene has tools like this[1][2], downloading new stuff based on certain rules is completely automated.

All the paid options hold on to their APIs way too tight to let anything like this to be viable.

I'd love to have a service that would cross-reference my queue of movies and TV shows and tell me which service has the most matches so that I'd know which one to pay for each month.

[1] https://radarr.video
[2] https://couchpota.to
Do you get downvoted at HN just for mentioning "communism"? Doing this is why he was so loved and also so hated. Or could it be that the same things he did is being proposed in UK and USA right now, so people don't want to hear how it failed and was hated by many in Sweden over thirty years ago?
We Met Again
Using graphviz for visualizing these things is fast and easy.

print('digraph foo {')
# adj_list contains tuples of (parent node name, child node name)
for parent, child in adj_list:
print(f'{parent} -> {child}')
print('}')

Redirect that to a file and view with `xdot`, done.

I've done exactly this a few days ago to visualize the Linux build graph: https://q3k.org/u/73839114a0e5ee65002029892a069dd1b645a8f9f0...
This is Stanford, they aren't teaching the next generation of applied ML practicioners -- they are teaching the next generation of theorists. This is a perfect class for that and getting their students ahead of everyone else. I'm jealous of them.
PlantUML is a good syntax. Under the hood... it renders via GraphViz
Higher body fat makes you float more easily. I think.
> Nicer, more modern looks (the original is too... LaTeX-y for my tastes)

Can you explain what do you mean by that, exactly? I think the looks of graphviz graphs are exceedingly beautiful and I cannot imagine a better looking way of drawing graphs (other than some minor technical issues with font kerning).
I mean they can tell whatever they want. I organized my work around the fact that I can tell people to go fuck themselves when they are uncooperative in these small but very important ways. Obviously that's not the reality for ~90% of people today.

But people shouldn't take "workspace" abuse from others. Be polite, assertive, constructive. Give them credit for taking the time to care a bit about this problem, offer to debug with them later, try to demonstrate it - switch to speaker, capture what you hear. Alternatively just switch off voice and type. Tell them that the sound is garbage for you so you switched for typing. Try to do quick 1-on-1s instead of the group call, even offer to write a summary after.

This is basically the equivalent of constantly not giving a fuck about how loud one is in an open office. There ought to be proper channels [ha, no pun intended] to address and solve these.
Another plug: I wrote about using Graphviz for representing project management dependencies in code and collaborating with my team here:

https://zwischenzugs.com/2017/12/18/project-management-as-co...

The OP page is a really great intro, I could have used it as a reference when I was doing that work.
it's crazy how high technology results in worse results
This is not a trivial question, but https://en.wikipedia.org/wiki/Business_models_for_open-sourc...
From what I understand, this is arguing that we should be collectively doing this in order to limit overcrowding, this method is not very helpful as an individual. If based on past trends it is overcapacity at 2:00 and under capacity at 4:00, as and individual you shouldn't expect that to change and should always go at 4:00.

Without a prescription for how many people want to go at a given time, you can't really make use of this information. If every body was following this rule, there ought to never be overcrowding, so you could never know this information by using past data. So you would need to use a sign up or polling method to figure out. If using a sign up, you could just set a cap on how many people can sign up so you don't need randomness. If using polling then this method could be helpful.

Though another issue with this model is assuming a fixed positive utility from going when overcrowded and a fixed negative utility when overcrowded. In reality the fewer people the higher utility, plus each individual has different utility based on what time they are going. Taking all this into account, I feel like the only reasonable approach is what is already done, go to the store during a convenient time for you that is the least busy based on passed data. If everyone does this, we should expected to reach a happy equilibrium (sans unexpected upsets, such as the recent rushes before lock downs).
The humans are not good at long-term thinking. Any proposed solution that depends on them getting good at long-term thinking, en masse, is doomed to failure. Let's figure out how we can leverage the few humans capable of thinking slightly further out than the immediate present — 8 to 32 years, say — into sustained progress, while protecting that progress from destruction by the senseless masses who call it "weird", "scary", "pedantic", "odd", "creepy", "arrogant", "Satanic", "entitled", "problematic", "elitist", "gross", :unnatural", and "witchcraft".
Maybe they got too infatuated because this one fell short.
I’ve tested a heatsink case on a Pi4 with and without fans. Without the fans at max load (all cores) it didn’t pass 60 degrees Celsius (20C ambient). So fans are not required.
It's like measuring a gun in units of swords. You can achieve similar ends but they aren't the same. Or the companionship of a spouse in units of pets. The fundamental unit is at the affect level, not the application. That's a very important distinction.

Any model comparing the application then is fundamentally misinformation.

It's even worse because it suggests an equivocation is possible. As if you can get X units of dogs as a substitute for Y units of spouse. You just have to find the magic ratio!

Wrong framings can stick people in insolvable problems well, sometimes for generations. It's really bad.

They're fundamentally different and pretending otherwise is just going in the one of the most useless directions possible
Looks like it's missing when viewed on a mobile.
Many years ago I wrote an XSL file that uses the Graphviz SVG output and applies gradients and shadows (the repo also has a couple of tiny tools that output graphviz graphs):

https://github.com/vidarh/diagram-tools/tree/master
Also true: Google doesn't really have competitors. It only justifies their monopoly.
Dude rented a charter. It would be pretty silly of the charter company not to have some kind of "rescue" provision, wouldn't it?

We had a very similar story, except we were the first to rent the boat at the start of the season and the battery bank hadn't been very well tested before they gave it to us -- a few had gone off over the winter. They drove out from HQ, replaced the bad ones with fresh stock from their van, and sent us on our way.
What I've been craving for is a way to respect the order of the nodes when being drawn. Since currently it re-orders them to occupy less space.

With this I would be able to finish my data flow diagram out of a functional programming project. To describe in a visual way how the function calls are happening.
Ah it's good old "responsive design" again, ie. randomly hiding essential content depending on viewport dimensions.
The challenge is to get people to even consider it. In reality it is not hard to pay people to follow courses, pay people to tutor/helpdesk or pay people to be available when they are needed.

Imagine a gig economy where 100 employees are on call the year round, ready to jump in when you need them for as long as you need them, complete with training to make this absurd level of scaling possible. We could do a kind of fire drill to test your corporate scale-ability. Then we get valuable information: Your corp atm make 100 widgets per day but you can scale to 50 000 in 2 weeks.
Isn't the point of data flow that the order doesn't matter? Otherwise it's control flow isn't it? I use GraphViz to render both data flow and control flow without issue https://engineering.shopify.com/blogs/engineering/understand....
You are expected maintain your social distance and use the lavoratory to wash your hands often.
The Core Benefits of Digital Asset Management Systems
Intro to Emacs Lisp: Adding Live Previews When Editing Markdown Files
I've been doing voice + screencasting on a modern MacBook Pro. The fans seem to intermittently kick at full blast while connected to a 4k external display, or sometimes it's just Dropbox doing CPU intensive things. Either way it's disruptive to the sound, and background noise removal in post doesn't completely fix it.

I've never had to think about heat dissipation so much. Might try a laptop cooling pad.
Ask HN: How to Profit from a FOSS Project?
Without going into too much details, I'm working on an online teaching platform for schools and universities. I'm a strong believer in the Free Software ideology, and would like to license my project as such.

The project would be self hosted by the institution, and I want to profit from it. Is there a way to sell licenses for usage even though the source code is available freely? Can someone fork my project, change a few tiny details and the name and provide it for free without licenses?

Would having the project be free of price, but selling "support" worth it, or would they just rely on their IT department and not bother with buying it?

The idea of FOSS sounded better as a consumer than as a supplier tbh, so I would like to know your opinion about this.
Except the spirit of this statement was being expressed in 2000, as well, on mailing lists and usenet of the day.
Agree. Are we going to celebrate the first transexual, or the first blonde Japanese, or the first person called Walter that had 2 mortgages. Who cares about the gender.
Completely agree. Imagine if an mRNA vaccine hits? Every government in the world will be clambering to start their own vaccine defence arm for national security. The technology is so attainable for so cheap, it's going to flip the infections disease paradigm. No longer will we be lamenting so much about the end of antibiotics, we will be lamenting about computational screens for neutralizing targets of surface antigens coming up short. Do you want to put your tech abilities toward this problem? Learn about genomics, structural biochemistry, and genetic alignments. So you have a positive clinical hit for an antigen against some organism? What other organism has a homologous gene? Do you need to try and fold the new one to see if the antigen you hit is still solvent exposed? Join-up with David Baker, or any computational structure prediction group. D.E. Shaw will be a big funder of this stuff. Gates foundation. The golden age of biotech is coming, learn the tools today. Just look at the biotech IPO market this year alone.
Using Gleam's 'try' syntax, inspired by Rust
In a grid context the battery produces energy, specifically in that it allows other renewable producers to produce more.
Peter Woit posted some comments:

https://www.math.columbia.edu/~woit/wordpress/?p=11776
> "Social Media Manager" is a new job that has arisen in the last several years, for instance.

How many people worked on assembly lines in, say, 1910 vs. 2010? How about as a percentage of an average manufacturer's staff?

How many people worked as social media managers in 2010?

I'd bet that (adjusted for population growth) for every 100 assembly line workers in 1910 you now have 2-3 stressed out engineers plus a bunch of machinery. And maybe one social media manager every few companies.
Geordie Williamson has a fascinating history. He's the youngest living Fellow of the Royal Society.

https://en.wikipedia.org/wiki/Geordie_Williamson
Countries and Empires seem just as sticky ;)
My budget is tuned to buy mass produced products. I cant afford art. "Willing to pay" is putting it overly general.
Xfce doesn't represent all DE's and WM's. Chances are that statement came from a single dev anyway.
All of these are often of little concern to artists, who prefer to get in the flow of actually getting stuff done. Organizing your project is fun and all, but there's A TON value in eliminating context switches and shortening your iteration loop. Source: I participate in game jams.

Obviously, it would be nice to follow this up with refactoring, but you could also spend this time on another project, of which the author has many (and likely thanks to this "fire and forget" attitude).
I dont think ive heard anything similar being sugested in the US or UK. And it should be noted that the employment funds was hardly Palmes issue but something driven through by the unions that have large power with in the Social Democratic party in sweden. It was largely impopular even within the social democratic leadership.

https://en.wikipedia.org/wiki/Employee_funds
Firstly they're based in London.

(a) is not (entirely) correct. There are literally hundreds of epidemiologists, doctors, NLP engineers, etc that have worked on the models. They are not 20 questions. (I'm definitely not saying its perfect!)

(b) is false. Babylon get paid as any other GP practice does with a fee per patient (on the NHS side). Digital & phone first is GREAT. I've had appointments 7 minutes after opening the app before.

(d) is also not correct, it depends which of their services you use. GP @ Hand is pretty explicit about that being the case - it's the entire value proposition.

If you use the private service (as I do) then you keep your GP (I spoke to mine this morning).

(e) I'm not really sure how this makes it more likely they would have a data leak?

You almost couldn't have got any more of what you said wrong - why the hate?
My top graphviz issues.

* Automatic edge placement can lead to visually ambiguous results and it is very hard to tweak it.

* Edge title placement engine is sort of naive and best solution is to not use edge titles at all.

* Bogus text wrapping. Text can leak outside of the node box.

* Default margins and padding lead to visual clutter.
Well, when proprietary software has a "target" it usually means an actual one against the user.
Ask HN: Flightradar24 on iOS knew my location without having access to it
Here’s what happened: I was driving nearby an airport with my iPhone connected to CarPlay. I received a push notification from Flightradar24 welcoming me to that airport. But Flightradar24 wasn’t opened, wasn’t in the background, wasn’t active, doesn’t have background app privileges (I’ve unset it manually months ago) and had location privileges set to “only while using”. Flightradar24 doesn’t have Bluetooth access but has Camera access. But again, it wasn’t opened nor in recently active apps. WTH?
seL4 hey used Haskell to create an model which was then their specification to help with the formal verification process [1][2].

[1] https://dl.acm.org/doi/pdf/10.1145/1159842.1159850

[2] https://www.sigops.org/s/conferences/sosp/2009/papers/klein-...
I'm a Windows programmer, but I use:
UltraEdit - to say it's a text editor is to say a Ferrari is a car.
Powerbasic - a lot of people don't know PB and Python came out the same year. Fast, powerful, full access to windows API, pointers, classes, tiny EXE's, can use any standard DLL, and can make DLL's.
JellyFish - a PowerBasic IDE that is, in my opinion, better than the PB native IDE
Paint Shop Pro - a far cheaper and easier alternative to PhotoShop with all the stuff I need

These are the 3 tools I use the most to make my living.
My Reaction to This Video
> So this is 1kHz radio wave (300km wave length), I didn't know they can get that low, what is theoretical limit?

The theoretical limit is the size of the universe. For practical purposes, this is about the lowest: https://en.m.wikipedia.org/wiki/Extremely_low_frequency
My universities computer science, physics and math departments use Sakai [1] instead of the university blackboard and I quiet like it. It's FOSS and works well on mobile (in contrast to the universities blackboard system)

[1] https://github.com/sakaiproject/sakai
I’m on latest iOS version. Could they be using the contact tracing api in some malicious way?
My approach in all area - work include - is to use FLOSS by default unless I can't for some reason. Usability is one reason, and as a developer it's good to observe the flaws that drive me to commercial software at times. Why would anyone not choose FLOSS by default?
What do you do if the propagation delays are unknown or not constant (e.g., due to manufacturing process variations)?
Testing Web Components with Jest
Read the PDF link again. There is multicore for all except products with standard in the name with the exception of Java subscription.
Might be a language thing, but Europe the continent is the only definition of Europe I know about
Wifi hotspot SSID?
Font Map · an AI Experiment by IDEO
> A different layout engine that uses straight arrows and 90 degree turns

It's not a property of the engine but of the graph itself:

http://www.graphviz.org/doc/info/attrs.html#d:splines

https://stackoverflow.com/a/9055243
I've only read a few Ebert reviews, enjoyed them and happened to be looking for a book to read, so I appreciate the recommendation!

edit: The introduction alone makes the book worth reading:

> Of all the arts, movies are the most powerful aid to empathy, and good ones make us into better people. Not many of them are very good.
Sounds unlikely, considering crocodiles are their closest non-dinosaur relative.
You can search and take a course in Coursera.org for example.
Download scalable code right from a “kida CodePen on steroids” – new release
I am also using TimescaleDB and face similar issues around the OLAP workloads. I tested Clickstream and QuestDB, both of which claim superior OLAP performance, however the ingest rates and cardinality of my unstructured data did not perform on par with TimescaleDB in my limited tests. Lacking time, instead I implemented a number of strategies within Postgres - trading space for speed with additional computed index columns and partitioning around these, applying table layering at various time resolutions, and using Real-time Aggregates as introduced in TimescaleDB 1.7. The Real-time Aggregates make a significant improvement to performance on large datasets for very little effort and appear to be a feature well-suited to solving your problem. This has alleviated performance enough to keep me looking within the Postgres ecosystem. For now the performance is within target budgets again. Going forward, time permitting, I’ll be looking at additional Postgres plugins which target OLAP performance using combinations of columnar storage and SIMD processing: Swarm64, VOPs (https://github.com/postgrespro/vops), pg_strom
'It's not capitalism': why are global financial markets zooming up?
I forget to mention: All the articles are static html and the static data files can be parsed by js too.
This is the first thing I noticed! I guess the reason is maybe just that the creator used to live in Sweden (as indicated in the comments below), but I would like to believe this some inside joke among the Swiss workers. As a Swede, I find it hilarious. :)

edit: Looking at the older threads linked above I found this:

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

Oh well I still choose to believe the Swiss are trolling the Swedes. :)
Cool project.

Need to see if this works with PostmarketOS and off to buy one old tablet.
You find people willing to pay for your work, not for a license. If your ongoing work is not worth anything, why should you be paid extra for work you did in the past?