skysight-inc/HackerNews huggingface dataset:
aka lipstick on a pig. Google could easily kill brave by adopting its ads model.
I wrote my "portfolio" page[1] in a choose-your-own-adventure style with Ink. Documentation would be pretty cool, might experiment with that at some point.

[1]https://maxsond.github.io/
Did you actually read the article? Quoted directly from that article - "Unfortunately, there is no proof that alcohol actually causes better health".
The FAQ says:

> In addition, stack-based resource management has predictable runtime performance behavior: when you drop a value from the stack, it gets deallocated, no garbage collector required.

This cannot possibly work for this language. Stack-based memory management only works as long as all references go from "newer" values (higher on the stack) to "older" ones (deeper on the stack). But this language allows you to write a function that rearranges the stack, for example by swapping the two topmost elements.

Consider a scenario where some value x is on top of the stack:

x

Now we build some sort of heap value that has a reference to x and push it onto the stack:

box(x)
x

Now swap these:

x
box(x)

Then drop x from the stack, for example by printing it. This deallocates x. The stack is now:

box(x)

But this value is undefined, since x has been deallocated. You have a use-after-free error.

I wish people stopped approaching language design from the point of view that the people who have been working on garbage collection for the last 60 years are all idiots who don't see how simple it all is.
The whole point of the electoral college was to intermediate the people and the government. The fear was that information wouldn't travel quickly enough to all edges of the realm, and that people couldn't therefore be trusted to make an electoral decision.
> If you want strong typing (are you scripting in the large?), then, almost by definition, no scripting language provides that.

Powershell is basically strongly typed.

> Can you be more specific than "fatigue"? That sounds like ennui

I love my job, but bash makes me wanna hang myself. I can say the same about stored procedures. Its like going back to cobol days. Some people have strong tastes I guess.
As someone mentioned below, the contract period typically comes with a higher hourly rate. Also, some candidates have been able to take a leave of absence or PTO from their current job, work the contract, then give two weeks notice after it works out.
I drink moderately and I think it's a personal choice. I also think alcoholism is completely different subject.

What I don't like however is all the smart product placements that push people that don't otherwise enjoy drinking into it.
Yes. I say deploy in friday, but you better call it out explicitely. We’d call it cowboy friday anytime someone suggested deploying on friday. That person immediately volunteered to be on call. And if anything went south, they lost social capital and had to eat crow (mostly playfully, more seriously if it became a pattern). If enough people agreed the risk was worth the reward, and at least one QA was willing to vouch for the push, the yeah, push as long as there’s enough time to rollback before people leave for the day.

Mostly, it was easier to not push on friday.
The cohort semantic meaning is stable, although not disclosed an ML system would learn its correlation to a given goal.

Cohort membership changes pretty frequently instead. So the system may put all people that browse mostly golf sites together in cohort 12345 that only the algorithm knows it's about golf sites, people enter and leave that cohort on a daily basis and you can only be a member of a single cohort at a time.
According to the story it's locked to a designated "cell" with a diameter of something less than 60 miles, so it would be just a nice modern end-table in China. The fact that it depends on accurate GPS and phones home continuously makes the geofence hard to hack.
Cities like Tokyo might be more comparabe, and much nicer than NYC in many aspects, especially the public transportation system. For a major city NY looks pretty shabby and not that nice in average.
Those strange creatures called polymaths
Exact same thing here. I'm actually having a moment realizing this is more common than I thought. Everyone always acted like it was the easiest thing in the world (even the ones that hated math) and that I must have brain damage or something. But to this day, if you put a gun to my head, I could not tell you what 7*8 was in any less that a minute (and possible not at all without some paper to work it out).
There's also the fact that they've only argued from the point of economic productivity.

As if that's all there is to life...
I think the HN sentiment is more that when a coin is managed by a single entity, it's no better than a coin managed by the government, might even be worse.

And when you see someone creating a new coin without creating new innovative technology around it, it makes you feel they just want to capitalize for their own profit.

So in cases like this I think the devil is in the details. It's possible Akoin is pushed as a fair decentralized, efficient currency that isn't designed to make Akon richer, but it might also turn into a hot mess used to make Akon richer and providing no real advantage to people using it.
The article paints this (in retrospect, bad) decision in a positive light.
The author’s blog is also good, though it’s been several years since the last post:

http://evincarofautumn.blogspot.com
> Actually, we wouldn't need these dirty perversions with notifications if we had a proper background mode for apps. Like, you know, proper computers had for maybe 60 years.

It's worth noting, however, that desktop and laptop PCs have a surplus of energy relative to mobile phones, so it's no big deal if there's a bunch of processes running in the background doing their thing… usually, anyway, because on PCs it's also shockingly common for background processes to misbehave and consume far more resources than they have any right to. Point in case, the daemon for my Logitech mouse will sometimes consume 120% CPU for no apparent reason for extended periods if I allow it to run.

I could see an argument for extending background capabilities in iOS while also heavily also reducing their potential for bad behavior, though. For example, allowing apps to run in the background indefinitely, but on low power cores only with heavily capped CPU and memory consumption, along with a new Settings page that shows a list of persistent background processes and gives the user direct control over them.
Just 2 days ago on prime I ran into a string of cheaters. At one point we had 2 on the enemy team and it caused someone on my team to go toggle. 3 cheaters in one match. On old accounts with everything.

I know he couldn't be an expert but the person on my team says he can he blatant every game and never get banned because we're on prime. I don't want to believe that but then he had a lot of items and didn't mind spinbotting at all.
Page's "perfect search" vision, the idea that you can get everything you could need so that you can work on important problems, is the perfect specimen idea from an engineering mind. The problematization of experience is a great tool, but it is not an end, and of the options available it is a pretty humble one.

If you have ever seen a highly automated dairy farm, cows have everything they need to work on important problems too, but they're cows, hooked up to machines that remove every aspect of what makes them cows other than how they serve the machines they are connected to. Maybe we could use a variation of Neuralink to connect all those cows' brains for distributed processing to solve important problems for us, and when they're done, we eat them, or use them for decorative materials. With a sufficiently random drip of seratonin and dopamine, they'd even be happy, if that were meaningful to them.

I like that the first incarnation of Google was called "BackRub," and they even had masseuses on-site is a pretty unselfconscious and intimate expression of what actuated him. The only thing that separates those cows from people
in a mind indexed like that is probably not sufficient to prevent it from collapsing them into indifference. If cows had a version of "don't be evil," from our perspective it would be cow-evil and not even register as something we needed to consider. It's just an entertaining article from the perspective of the writer, but I can't help but suspect what Page's vision looks like now is informed by the omniscience of google's data and AI, and the ethics of that perspective are not the same as those cows.

We may be into the territory of having a Dr. Manhattan problem.
Could you share the link of the projector technique? I’m learning sewing and finding preparing the pattern to be the most time consuming.
Just watched both videos. They move fast and are brilliantly presented and explained. Strongly recommended.
If screen results in bad coffee, Does tmux result in good coffee?
Thanks a lot! Glad you figured it out :)
Sounds like a strawman argument to me. I don't see anyone advocating that people do heroin as much as they ingest alcohol.

LSD and other 5-HT2A agonists are self-limiting in that they induce a massive tolerance after a single dose, making subsequent doses either not work or give diminished effects that do not increase with increased doses. They also are not physically addictive like alcohol is, nor does LSD cause organ damage like alcohol does.

Beyond overdoses, opioids, other than ones like MPTP, don't cause physical harm to the body like alcohol does. The dangers of heroin come mostly from its criminalization, the criminalization of addiction and the lack of access to healthcare to treat addiction. For example, there are millions of people who take Suboxone, a long acting and powerful opioid that stays in the blood for 30+ days, without it causing organ damage or seizure disorders. Street heroin is dangerous because it is unregulated and often cut with fentanyl and stuff that should not be going into veins.

The issues surrounding heroin would be solved with a regulated supply of clean heroin, medical support to administer it correctly, addiction treatment and making all of those things accessible and affordable to the people who need it most. There are several examples of governments that provide all of these things, and they indeed cut down on heroin's mortality and the devastating effects of addiction.

Similar to the person I know with heart disease from alcohol, I know a former heroin addict who also has heart disease from their use. Their heart problem was not caused by heroin, but by the fact that they'd crush pills and inject them without properly filtering them, and the pill binders caused heart damage. A clean supply of heroin and access to addiction treatment would have prevented their heart problem.
for a very brief period of time my starlink connection was exiting the cgnat to the internet in chicago (the first hop that was a public IP was 1-2ms from various ISPs' looking glasses in chicago), and the latency matched for return trip to LEO/back, down to earth station in the pacific northwest, and then transport circuit to chicago and back. Then after a couple of days it went back to Seattle.
Where in the EU? Where would you be willing to move to? What role would you like to have?
The modern meaning of "gatekeeping" is when you call anything that people buy shit, and you give a reason. The only appropriate long-form emotion is breathless enthusiasm. Dislike must be exclusively expressed in tweet-length insults calling the fans of a thing names.

Saying why anything is better than anything else is violence. Withholding your approval for a reason makes you basically a cop. If you give a reason why you hate something everyone else likes, you're basically saying everyone is stupid but you. That makes you a "bully."

Imagine being accused of somehow oppressing one of the most successful (and dead) people in a field for venturing that their mass appeal might be due to their mass appeal. Imagine that in a thread about a poet writing for a greeting card company.

-----

edit: this is why downvotes for real disagreement will always be good.

If someone makes a bad argument for why something is bad, you should usually downvote them for the quality of their argument and move on. Exceptions are if someone states a falsehood as a fact, maybe leave a note and a reference to correct the falsehood so it doesn't continue to circulate. Or if you find yourself having to argue extensively to disagree, you are involved in a productive discussion and you shouldn't downvote anything that leads to productive discussion.

But never argue against argumentation, reason against reason, or argue that the act of distinguishing between things at all makes one a bad person. Just downvote and move on.
eh?

What's wrong with being a former spook? I do personally think that bellingcat's agenda is much too biased and liberal for a 'neutral' organisation (as does the mod here on HN- it's shadowbanned). But i think OPs argument is a straw man.
To be read in Jeff Bridge's voice https://www.youtube.com/watch?v=4-J4duzP8Ng (Tron legacy speech).
Man, I feel like you took the words out of my mouth.

100% agree.
I would encourage you to listen to, and believe, the very real experiences of people of color, same-sex couples, and transgender or nonbinary people who have spent time in locations like Eastern Idaho.
Irredentism
This is what I came here to post. So easy, so much function, even with rechargeable batteries.
that's cute! sometimes i mimic my cat's meows back to her, though she seems completely unfazed by that, as if i'm an american trying to speak french, and she just wants me to switch back to english so i stop embarrassing myself.
The Cicada’s Love Affair with Prime Numbers
As a manager, you need to find a way to pull information from people: with some it's a team meeting,with others it's over a meal during the lunch,etc.
I even do this sometimes during the management meetings,when I see people clearly not quite happy about something but reluctant to speak,so I ask them directly what's on their mind and that's often enough for them to tell way more than you could have gotten by just expecting for them to speak up.
Why would the cohort membership change frequently? Isn't it based on your browsing habits? I don't think my habits change frequently—do most people's?

Also, even if I take for granted that everyone's cohort changes daily, how does that imply anonymity? Like say my habit is that I check emails a ton on Monday, go on YouTube on Saturday, read the news on Sunday, etc... so my habits are changing daily, okay, but not weekly, right? Or maybe I do them in a different order on another week, but I'm not going to develop 1000 different habits across 1000 days, right? Shouldn't some kind of frequency analysis provide fairly consistent results?
Two quotes stood out to me:

> What if software were built in the same way? What if the core parts of our business would be like streets, and all that newfangled stuff is something we could build on top, experiment, tear it down if it does not work?

To me, it kind of already is. The foundation on what we build most software on today; TCP/IP, HTTP, Win32, POSIX APIs, the C-runtime library, threads & processes, etc. Much of that is about 50 years old now.

> Somehow, the code in front of you is just the tip of the iceberg of a lot of mental representation of what is happening

I think this is a key point. When we look at code, the comfort with it is relative to how well we understand that abstraction, and have a good model for what it is doing "under-the-hood". I think a lot of the burn-out and "fatigue" some people feel is where these abstractions are regularly reinvented (I'm looking at you, JavaScript frameworks), and thus you have to spend time learning the details of a new abstraction before you can just read/write a piece of code comfortably.
This happened after managers were allowed again. So, maybe?
- You can create an account to set up the device then never network-connect again

- Shows as an external drive when connected via a micro-USB cable

- Copy and paste books, then when you unplug from your laptop your Kobo sees them

- With Calibre you can tag your books; tags become collections on-device

- Understands more formats, but Calibre can also convert to EPUB during copying

- You can also read the Adobe-DRM protected books (or ask Apprentice Alf)
Freedom.ws – Income for Life
Wow, I didn't expect to read the full article and really be pleased..
Valve has been pretty aggressive about rolling out these kinds of policies compared to the rest of the industry. (E.g. they were wery early with requiring 2FA to be enabled for a period of time before doing sensitive actions like trades, adding warning interstitials on links that leave Steam). I don't think the incentives have changed that much.

So, here's what makes me confused about your story:

1. I don't see any kind of activity hooks in IEconService, that would let the attackers know via a callback that. Are you saying that they're polling all the hijacked accounts at a high frequency to detect trades they could intercept? That seems like a highly divergent use case from normal uses of the API, and one that an abuse team would be motivated to prevent.

2. I thought the Steam trade confirmation dialog showed very specific information about just what was being traded for what. I.e. it's not just that you're approving "a trade with foo", it's "a trade with foo (whom you've had as a friend for 20 days), where you give a xyzzy and receive a quux". Are the users just blindly approving trades worth thousands without even verifying?

I don't like either of your solutions though. A captcha would be just be minor irritation for the attacker, and anyone who can be phished into logging in can be phished to approve the key generation. It seems that the bigger problem here is that the API keys are unscoped. Once you have that, it's easier to inform the user in the approval flow about just what they're approving, and viable to nag the users into revoking access for apps with dangerous permissions.
How to get free traffic by answering questions in Google Search Engine
For those with a lot of web programming experience, I’m also curious what is the easiest stack in which to achieve good security. I’m also interested in hearing about hosting providers - I would particularly want to support smaller companies (rather than big cloud providers) but am not sure how they do with security, DDoS protection, and other such arcane matters.
I started my dba roles back with mssql 6.5, and the join using where was all that was supported. I found the join syntax much more clear around intent and moved as soon as it was available.
They never responded to my application so I’m even dumber than that
Check whether your Chrome is FLoCed: https://news.ycombinator.com/item?id=26755313.
It would also be nice to look at the efficiency of software engineering and business practices from 10 years ago, 20 years ago, and 30 years ago and realize just how far we've come. Software is running more things, bigger things, more important things, more complicated things, and we get better all the time, it's ok to live in an imperfect world and just make things a little better every day. Its ok to try things, find they're suboptimal and make changes, it's ok to retry things that have been done before but with a new spin.
I'd also like to support websites I visit, though, if I don't have the money to directly donate to them and if I am going to purchase a product anyways (think visiting an amazon product page, leaving it for a day, then clicking an ad for it to give x% to the website). Many websites today wouldn't exist without ads since a lot of their traffic is people who don't go out of their way to donate to websites they find useful. If I can do this without giving up privacy I'll turn off my ad blocker (and I already do for websites I find useful).
Explanation of the exploit here:

https://github.com/Luohuayu/evil-mhyprot-cli

Not as bad as capcom.sys:

https://mobile.twitter.com/TheWack0lian/status/7793978407622...

The effect is the same though: ring 0 code execution.
When SQLite is in WAL mode, writes queue up, but reads are concurrent.

Writes do not actually "queue" in one place, rather each reader will have a busy_timeout, which is basically polling the file to see if it is write-lock-free. If you have a single application, you might want to queue the writes yourself inside the application to prevent polling the file.

Writes typically happen very fast, so as long as your application is not using more than 100% of possible write capacity you would be fine, in theory. WAL mode is typically fast for writes because the OS caches many transactions, and only does an expensive "checkpoint"/fsync once every X transactions.

Try it out, move to another db if it does not work would be my advice.
The part where he says that we will all die makes the common wrong assumption that science is going to be at standstill for the next century. It will not.
> And by the way, there is absolutely nothing stopping Apple from reporting your app was installed on January 1st, 1970.

I doubt Apple would do that but I think you are very much missing the point. These one-off patches are not effective at scale, there are literally 100s if not 1000s of information leaks of this type that indeed are observable across multiple apps. App install date was just one that I pulled from thin air that required no thought. A dedicated engineer could easily solve this problem.
Show HN: Full-Stack Hacker News Clone \W React, GraphQL, Prisma
I was learning authentication with graphql and decided to put my knowledge into practice by cloning one of my favorite sites!

First of all, I am sorry for not creating a demo server for this, I don't really know how to put full stack projects into production yet. That being said, I have dockerized the project for easy setup, if you have time you can check it out, I would appreciate that.

What I would appreciate more is, giving me ideas about some hurdles I came across while implementing this.

1. It was somewhat difficult to create your own authentication system from scratch(although I walkthrough a youtube tutorial). Are you implementing your own system, or using a 3rd party? I heard `hasura` and `firebase` is also good alternative for authentication.

2. While using Prisma and GraphQL, I felt like, I was duplicating the schemas for both of them. Is there a way to combine them into a single place?

3. Implementing home page was difficult for me. I have assigned a `ranking` field for each `post` in database. This ranking field calculated as described in this link : https://medium.com/hacking-and-gonzo/how-hacker-news-ranking....
I've only take into account submissions that created less than 2 days ago and updated rankings every 10 minute by a cron process. How would you architect this?
> The question is why people still get so much benefit out of it that they keep doing it, despite the downsides.

No, this isn't even the question. It is clear that people will keep doing things that have downsides, with out any explainable benefit. This is called addiction. It isn't a new idea.
Yes. After all Group messages wouldn't even work in SMS / non-iMessages scenario at all.
Asynchronous streams in Rust (part 1)
Google has way too much information about everyone, even if they try to avoid them. I do not want them or Amazon becoming the new healthcare gatekeepers. I would much rather see them split up and have healthier, more diverse competition in the market. I would also want health information to be very siloed, away from any other interests such as advertising.
Frontend: Vue (typescript)

Backend: Go or Java (simple and minimalistic REST-ish API, not a lot of framework stuff), via Docker. AWS Lambda for some things.

DB: Postgres (usually managed with AWS RDS)