skysight-inc/HackerNews huggingface dataset:
I have too many ideas. Every problem or small improvement is a potential business opportunity or startup idea and I see them everywhere. My experience as a software consultant likely contributes to this. It's my job to go talk to customers, understand their problem and propose a solution.

If you want to just build stuff for yourself, go work for a software consulting firm for a while. It should be a smaller one that's interested in tackling smaller jobs. This way, you'll interact with more potential customers. You'll learn a ton about their businesses, because after all; they hired your company to solve their problems. Save as much money as you can.

When you have enough money saved up, you can afford to quit your job and focus on something you that interests you because it's fun or an amazing opportunity. I've done this a couple of times so far. Right now I am splitting my time between a startup and a part time job.

I am really glad I have the part time job. Not so much for the money, but for the socialization aspects.
Used to work with a couple of guys closely involved with OpenBSD, both had monkey.org addresses. Both were Canadians.
I wish the tooling around devcontainer.json was available separately from VS Code. Most of my company are die-hand vim users. We’ve rolled our own “devcontainer” analog but it’s not nearly as seemless.
Seconded - the process is fine if you're an Apache project or whatever, but for an individual developer with a handful of small libraries to share, it's not worth it.
As a user, I appreciate smaller app size as I equate it with better developer skills and, it downloads faster. (I had even made a feedback request to Apple that they show the size of apps in App Store Updates as "it helps me estimate how much time an app update may take. - glad they did so).
The Pi You Couldn't Buy – Blue Pi
> we will continue to offer both free and paid JFrog Platform cloud subscriptions that can serve other binary distribution needs

Can you use this JFrog Platform thing to publish Maven artifacts? If so, is the story really "everyone needs to migrate from JCenter to JFrog Platform"?
In Java,

interface Shape<T> {
interface _Circle<T> {
T apply(int x, int y, int r);
}
interface _Rectangle<T> {
T apply(int x, int y, int w, int h);
}
T apply(_Circle<T> circle, _Rectangle<T> rectangle);

static <T> Shape<T> Circle(int x, int y, int r) {
return (circle, rectangle) -> circle.apply(x, y, r);
}
static <T> Shape<T> Rectangle(int x, int y, int w, int h) {
return (circle, rectangle) -> rectangle.apply(x, y, w, h);
}

static double area(Shape<?> shape) {
var s = (Shape<Double>) shape;
return s.apply(
(x, y, r) -> Math.PI * r * r,
(x, y, w, h) -> 1. * w * h
);
}

static void main(String[] args) {
var exampleCircle = Circle(2, 1, 4);
var exampleRectangle = Rectangle(1, 3, 10, 7);

System.out.println(area(exampleCircle));
System.out.println(area(exampleRectangle));
}
}

BTW, you can use the same encoding when you write a Promise in JS.
Beware: CVE-2021-3156 Sudo Bug Also Impacts macOS
Made me think of another possible online community: 12monkeys.org

If you have seen the movie (1995), you know what I mean.
Show HN: Dev APIs
the venv management is a small aspect. pyproject.toml is nicer and saner than setup.py/requirements. easy example: dev dependencies in poetry. poetry's dependency resolver is great. can upload packages with poetry, twine not required (good for CI). works in fish shell, which virtualenvwrapper doesn't. lock files for deploying exactly the same dependency versions.

those are the ones off the top of my head. use poetry, it's great.
Peter Gabriel did this with "Melt": https://www.youtube.com/watch?v=49mdn20QsbM

Yes, you really can hear the whole album in German.
Which of them did you find has no meaning?
I am not involved in any browser development, so count me as an outsider. Considering what browsers we have available and taking their estimated development costs into account (not to the point we are at now, but at their release), $9.5M seems like a hobby project at best. What am I missing? And is aiming for a sellout to competitors already a business model in a way that you openly advertise it?
Apparently dogecoin is actually used on a variety of sites for legitimate purposes. but even so, 500+ percent increase in the past month and supported on major trading platforms doesn't seem foolish or making wallets lighter.

It could go down of course, it probably will but your statement is wrong on both accounts
Security Incident Concerning Stormshield
But you're not doing 4K reads, and you're not stuck doing them one at a time.

The next page, working with 128KB chunks, is far more relevant to your use case. Especially this chart: https://images.anandtech.com/doci/16087/sr-s-905p-1500.png

Here's a similar benchmark, to prove that it's nothing unique to sequential reads. 256KB random chunks at queue depth 4 go well over 5 gigabytes per second. https://www.legitreviews.com/wp-content/uploads/2020/09/ATTO...

So for the use case of loading image files, with the ability to grab a bunch in parallel, flash seems like a clear winner.

It will also write large checkpoint data twice as fast.

And the extra microseconds when you're writing to a log shouldn't matter.
If people are downloading the source, and executing that code, eg as parent said "frontend", then yes, it's on their computer. It's not server side, such as with PH, or python or backend js.

However, the license doesn't have to appear on the website portion specifically highlighted for human viewing. It merely needs to exist, say, at the top of every javascript file.

Or a link to where the text form of the license is.

Just because it's inconvenient, and just because people are ignoring it, doesn't mean it's being done as it should be...
I love this post, I can relate to this. Building things and succeeding is awfully hard.
For some of us, making is a way of life. Keep hustling.
Archive.org has older ones if you're curious about those (...MQ etc.):
https://web.archive.org/web/20160324083053/https://www.intel...
I know like 5 people in real life I would call 'friends'. Either I'm a shut-in, or these people are very socially promiscuous.
Or you could use a standard card machine that has an included transaction buffer. I remember having these in my retail gig 15 years ago for the odd time the network went down (happened pretty much every christmas season)
Enjoy this in Lua (for linked list): https://rextester.com/XGNR33292
Discoveries at edge of the periodic table: First measurements of einsteinium
Ever feel like you live in a land where the government seems to be action not only unscientificlly but irationally? That's been my experience in Sweden during covid-19.

For example, the article mentions government recommended mask wearing and that it took until December for the recommendation to be put forward but you need to understand the details to fully realize how ludicrous its implementation is.

First of all, it is not mandated by law but only a recommendation which means that there are no legal consequences for transgressors.

Secondly, the recommendation only covers public transportation in select cities during rush hour and weekdays, making it difficult to keep track of when to wear a mask.

Thirdly, travelers who aren't wearing a mask cannot be removed for the premises by bus drivers, safety staff or other staff as this is a right only excecised by the police. So basically it took the government almost a year to suggest the public to wear masks but the recommendation is toothless and confusing, leading to very few people wearing masks when in public.

Now imagine the same incompetence being applied to every aspect of Sweden's Corona handling and you might understand why Sweden's strategy had been so consistently terrible.
As with the TypeScript examples, we can make the top-level apply method generic instead of the whole class to avoid some casts. In particular, notice that the <T> inferred from calling Circle() and Rectangle() is the unmeaningful <Object>.

The downside is that Java doesn't let you implement generic methods with lambdas, which is silly, so you have to use an anonymous subclass. But at least the call-side uses stay the same.

(And then, combining the `_Circle` and `_Rectangle` interfaces gets you to a more canonical visitor pattern, at the expense of lambdas at the call-site.)

public interface Shape {
interface _Circle<T> {
T apply(int x, int y, int r);
}
interface _Rectangle<T> {
T apply(int x, int y, int w, int h);
}

<T> T apply(_Circle<T> circle, _Rectangle<T> rectangle);

static Shape Circle(int x, int y, int r) {
return new Shape() {
public <T> T apply(_Circle<T> circle, _Rectangle<T> rectangle) {
return circle.apply(x, y, r);
}
};
}
static Shape Rectangle(int x, int y, int w, int h) {
return new Shape() {
public <T> T apply(_Circle<T> circle, _Rectangle<T> rectangle) {
return rectangle.apply(x, y, w, h);
}
};
}

static double area(Shape shape) {
return shape.apply(
(x, y, r) -> Math.PI * r * r,
(x, y, w, h) -> 1. * w * h
);
}

static void main(String[] args) {
var exampleCircle = Circle(2, 1, 4);
var exampleRectangle = Rectangle(1, 3, 10, 7);

System.out.println(area(exampleCircle));
System.out.println(area(exampleRectangle));
}
}
TPB has been subject to a decade or more of direct actions by more than one government. Their resilience is fairly impressive.
> If people aren't willing to do the job for the hourly wage alone with no tips, raise the wage until they are.

This would be the case in a normal free market, but unfortunately the labor market is not a free market as people don't have the choice to work or not to work - they need to work to survive.

As long as millions of people are out of a job, there will be millions desperate to work even for under minimum wage, ready to replace anyone who quits.

This is why there are two things needed - first, a minimum wage not defined in dollars (to account for rent and other CoL differences) but in "is enough to rent a decent home in the area and live without a second (or worse, third) job or government assistance programs", and second, a universal basic income that fulfills the same requirement. Only then, when people have the freedom of choice between working or not, will labor prices reflect the true value of the labor.
About 20k service members and ngo staff died in service under Bush.[]

How many are dead due to Trump's refusal to address covid19? Hundreds of thousands of civilians.

[] https://www.washingtonpost.com/news/wonk/wp/2013/04/24/georg...
Parler CEO John Matze says he’s been terminated by board
how do you figure? audiak appears to have only a handful of songs, mainly of the same genre and not necessarily well composed, and no way to search or otherwise make use of it in a serious way without just listening to them all
Open Sourcing the Netflix Domain Graph Service Framework
Few thoughts:

1. What is the workflow for a single tired developer who just wants to publish a few Java packages from Gradle? Is there a howto or tutorial for this?

2. Your "supported formats" list [1] is just icons, which is very cute, but i have absolutely no idea what the icons for Gradle or Maven are, so i was sat there mousing over every one to see what you have. I highly recommend captions on those icons.

2a. The Go link on that page is broken.

2b. The "pop culture banner coming soon" stamps made me laugh, good work.

3. Have you approached Gradle about getting added as a convenient / default repository? Adding cloudsmith() rather than a full repo string would be a tiny but perhaps significant bit smaller speedbump to adoption.

[1] https://help.cloudsmith.io/
I clicked on surprise me and landed in a fun family science project [1].

[1] http://www.leapsecond.com/great2005/tour/
Requesting Performance Isolation with the Origin-Agent-Cluster Header
There were only two years between Quake and Half-life so they clearly have a very narrow view of their tech-generation!
How can possibly Quake be too old then? It's from 1996 [1], which would make them 14y old at the time which is a perfect age to play Quake.

[1] https://en.wikipedia.org/wiki/Quake_(video_game)
In addition to the other TypeScript examples, here's one that I would actually use. Now, it's not encoding the types not as positional, but named arguments via objects. Allows me to destructure them, for added clarity.

type Circle = {x: number; y: number; r: number};
type Rectangle = {x: number; y: number; w: number; h: number};

type Shape = <T>(xs: {
circle: (args: Circle) => T;
rectangle: (args: Rectangle) => T;
}) => T;

function Circle(x: Circle): Shape {
return ({circle}) => circle(x);
}

function Rectangle(x: Rectangle): Shape {
return ({rectangle}) => rectangle(x);
}

const exampleCircle = Circle({x: 2, y: 1.4, r: 4.5});
const exampleRectangle = Rectangle({x: 1.3, y: 3.1, w: 10.3, h: 7.7});

const area = (shape: Shape): number =>
shape({
circle: ({r}: Circle) => Math.PI * r * r,
rectangle: ({w, h}: Rectangle) => w * h,
});

console.log(area(exampleCircle));
console.log(area(exampleRectangle));

/edit: Fixed formatting.
/edit: Clarify something.
Last time I used python I just did

pip install -r requirements.txt -t libs

and added the folder to PYTHONPATH. I never bothered with virtualenv.
A good read. In case anyone is wondering where they have hidden their rss feed, it's: https://plus.maths.org/content/rss.xml
In-App Links Using Huawei App Linking-Huawei Developers
I remember seeing a photo of @dugsong skating his bike and thinking "I'll never be that cool".
props to the author of this tool. based on what I read from the blog, it's already a step above poetry, which a lot of people rave about recently, but still not good enough not to not use pip. question is, are we going to be nuking the __module__ folder like we nuke node_modules every now and then ? other than I will become an early adopter of the tools. currently using miniconda for my virtualenvs
The foods that could excite our tastebuds
I do see the appeal of this sort of in-the-moment mindfulness - especially for people who are burnt out or don't otherwise get the dedicated rest time they need from the world. But this reads as awfully sad to me. I hope you're doing OK.

I had a a pretty long period of time where I consigned myself to rubber-banding between relentless, meaningless, profitable, and phoned-in productivity vs total solipsism under the guise of "self-care". I told myself things like this comment back then. I thought if I could savor and find meaning in the little things, then I could learn to accept the fact that I had sacrificed most of my agency as a human being in the quest for career progress and the appearance of success. It was really, really not healthy in the long-run, and I don't ever want to be stuck in my head like that again.

I'm fairly certain that I really am what I do and what I've done - and that's OK. I don't think I could tolerate existence otherwise. I still waste plenty of time (and recommend choosing to do so ), but I'm now more conscientious about whether the time I waste is manifesting into something physically observable at the very least. It's easier to keep the habit alive than it is to build it back once you've lost it.
Ive never quite managed to get the hang of setting up a dev container. I'ts a bit too tricky for me.

I have resorted to using a throwaway dev container which mimics the local storage of packages. Hopefully someone find the below bash function useful.

The only issue I have using this method is that I cant use VSCode to Debug, which I am hoping to find a nice solution for, but nothing yet.

function python() {
docker run \
-it --rm \
--name python_$(pwd | sed 's#/home/##g' | sed 's#/#.#g')_$(date +"%H%M%S") \
-u $(id -u):$(id -g) \
-v "$(pwd)":"$(pwd)" \
-w "$(pwd)" \
-e PROJECT_ROOT="$(pwd)" \
-e PATH="$(pwd)/vendor/bin/:${PATH}" \
-e PYTHONUSERBASE="$(pwd)"/vendor \
-e PYTHONDONTWRITEBYTECODE=1 \
-e PIP_NO_CACHE_DIR=1 \
--net=host \
-h py-docker \
python:3-slim \
/bin/bash -c '/bin/bash --rcfile <(echo "PS1=\"[$(python --version)]:: \"") -i'
}
Can you invite me to the Discord?
Sometimes you don’t realise how onerous things are until you find a better way. Poetry is that way.

Handles dev dependencies, scripts, virtualenv management, upgrading single dependencies, has a lockfile, is super fast, is built on pyproject.toml, etc etc.

Honestly, just use Poetry. At the very least it’s better than ad-hoc personal scripts built around manually managed virtualenvs.
Cost Accounting in Dynamics 365 Business Central
Game Service with MVVM / Part 2– Achievements and Events-Huawei Developers
Show HN: Club Glow (iOS) – Enhanced Clubhouse Avatars
Intent matters. If you use the fonts list to identify persons, it's PII.
relevant: https://youtu.be/WqoYoXY-RC0?t=114
Guess those who care hang around at the tilde clubs.
One of the World’s Wettest Major Cities Ran Out of Water
That’s a key insight for all of us. The internet contains just too much stuff that is interesting. We will never able to consume all of it. So you have to restrain yourself eventually.
Suggestions differ between theory and practice. As a JavaScript developer here is my experience, not my preference or wishes:

* Know a framework and many of its supporting tools.

* Don’t spend any time learning the technology or how things work except where the framework dictates.

* Spend lots of time on code reviews instead of writing code yourself.

* When making changes do not refactor or improve the code. Keep the lightest footprint possible, as determined by your diff, to minimally complete the current business requirement.

* Don’t ever write original code. Use multiple NPM packages, or other code from elsewhere, to produce a solution. Software written by you or your team should be considered less valuable than anything you can find externally.

* Prepare lots of documentation for new hires. Defer all other documentation to project managers, information architects, and product owners.

* Don’t spend any time on security or accessibility until the layers tell you to. Most senior engineers just assume they are experts here anyways.

* The word innovation sounds important. Use that word as much as possible on anything that leaves the team.

* if a problem is too hard or requires something original you can always hire a contractor and then value them less for not being an employee and because they are foolish enough to write original code.

* Never be a contractor unless the employer is a sinking ship.

* When it comes to design that which is shiny always wins.

* Always remember less isn’t more.

I personally disagree with all these points. I have been a senior developer for many years, only because I can provide solutions others cannot, but my career is basically peaked unless I want to do something else.
I used arrow to read and write parquets across environments. Thats my dumb reason for finding arrow so useful.
Also a Canadian, Ontario. I didn't think to tip delivery, but my girlfriend at the time would include a tip when putting cash on the table for when it arrived. My mother's friend tips at Tim Horton's drive thru. So it likely varies a lot between various demographics

The hassle is that even if a place charges more for food, you don't know if they pay their service better. So if you're going to support the "no tips" agenda you'll have to put in the additional effort of looking up wages to decide Starbucks is better than Tim Horton's
AMD is no saint here. Knowing whether a CPU is Zen 1, 1+, 2, or 3 from its model number basically requires memorization.

Zen: 1200, 2300U, 2400G, 3200U

Zen+: 1200AF, 2600E, 3200G, 3300U

Zen2: 3100, 4300G, 4300U, 5500U

Zen3: 5600X, 5400U

Nvidia neither. For 20-series had 2060, 2060 Super, 2060 Ti, and 2060 KO. Which of those is “fastest”? I can’t remember.

Apple neither. The iPad’s naming succession went something like: iPad 2, iPad Air, iPad Air 2, iPad (5th gen), iPad (6th gen) + iPad Air (3rd gen).

Microsoft neither. Xbox, Xbox 360, Xbox One (!?), Xbox One S, Xbox One X, Xbox Series S, Xbox Series X. (Seriously MS, wtf.)

Really the only sanity I see is Sony PlayStation: PS, PS2, PS3, PS4, PS5. They even re-released the PS as PS one after the PS2 was released.
Carupi (YC W20) Is Hiring
> The downside is that Java doesn't let you implement generic methods with lambdas ...

yes, that exactly why i've chosen to make the type parametric and not the method apply, but you're right that the classical visitor pattern uses a polymorphic method (accept) not a polymorphic class.
Developing Calorie Tracker App with Huawei Health Kit-Huawei Developers
To be clear, that's just what happened this morning, between posts. Google has a looooooong history of this stuff, including with paid accounts, services, and partnership worth millions to Google. Just last month, Google f---d me as a developer integrating through Google APIs.

Free service culture is part of the problem, but it's not quite as simple as stopping free service. Google can't drop shut down the free stuff without losing most of their revenue. Most of Google's business is collecting my data through search and otherwise and serving me ads. In Google's main business, customers are statistics. If you're not paying, you're the product. I'm worth a few pennies to Google advertisers, so if I cost Google more than that, they can drop me. That culture creeps into enterprise. Stir in the classic Google arrogance and the new Google incompetence, and bad things happen a lot.

In the case of GSuite, keeping these things running and working would be almost free. Many of us signed up since it meant being able to use out own domain name, not for any business purpose. Google is being deliberately mean to GSuite Legacy customers to try to pressure us to upgrade, since that's the intersection of their classic culture ("We don't care about individual customers"), enterprise thinking ("We want to charge people"), and general apathy+arrogance ("We know better than our customers").

The result is what you saw above: when people do leave, they're fed up enough with Google they won't use it for anything. The lesson is clear: You can't trust Google with anything important. De-Googlify. If I didn't have elderly relatives who know how to use GSuite and probably won't learn anything else, I'd be gone in a second.

I've cost Google millions of dollars of business at my current company alone. Whenever people even think of using Google, I walk them through a dozen similar failures in both B2B and B2C settings, and showed them the dumpster fires that resulted. I've never seen anyone go with Google after that. That's not to mention the first time I used Google Cloud, when Google cost itself millions.
10x: Metrics for Early Stage Startups – Daniel Gross
> This is HN, and we want the web advertising industry to go away.

Sure let's go back to the ol' day where business would reach out to their clientele only on bill boards and news papers. Oh wait, I guess I should apply for a physical newspaper subscription too!
Spiral: Take notes in a format similar to a spiral notebook
Document Skew Correction in Flutter Using Huawei ML Kit-Huawei Developers
It feels like a slap in the face.
Sounds like Amazon actually stole both wages and tips, then used one to pay for the other.
To opt out, I need to send a picture of myself with a valid email address. The bait is hiding the hook very well.
Huawei Smart Watch – Quran Audio Player Application
Sure. Then, if you're set on using lambdas, I'd recommend this, to at least take away the ability to choose <T> from the caller.

static Shape<?> Circle(int x, int y, int r) {
return (circle, rectangle) -> circle.apply(x, y, r);
}
static Shape<?> Rectangle(int x, int y, int w, int h) {
return (circle, rectangle) -> rectangle.apply(x, y, w, h);
}
Ecommerce Machine Learning Explained
Gzip did help, but not as much as parquet. I don’t remember the exact sizes but I think parquet was was 3GB->20MB and gzip was like 3GB->180MB or something.

Also gzip was an extra step of unzip then read.
It’s racist. It's literally based on Marxism. There are so many examples where it leads to racism once you apply it in practice:
https://www.city-journal.org/racial-equity-programs-seattle-...

Where are the examples of it improving the world? There are none. It’s an evil ideology.