skysight-inc/HackerNews huggingface dataset:
Yes, it changes, and rates are rising in Japan as well, but this much lower rate isn't dietary, it's genetic. Cancer is the leading cause of death in Japan.

The Japanese are a long-lived people generally, whether in Brazil, Hawaii, or Japan. It's not diet; Japanese in Hawaii have higher rates of obesity and don't live quite as long as a result.
When do we finally regulate sugar like we do with tobacco? I bet nobody mentioned in article drinks sugary carbonated drinks.
The trouble with doing a low-pay career for the passion is that it's usually low pay because there are a million other people willing to do the same thing, so it actually does become a hustle.
Where I live there's something weird about ebikes, escooters and regulation. I can only buy ebike that goes up to 25km/h, yet escooters are like 1500W 90km/h beasts.

I don't mind if shop adds licence plate or whatever is needed for faster ebikes to be legal, just get it sorted.
> Not for everyone.

Still cheaper then searching for a new job... without a current one.
I don't know if this is the case in the US, but in Australia it's very easy (and relatively cheap) to take your employer to tribunal over violations of employment laws (if it was very clear-cut or severe violation you could even make a complaint to the relevant regulator which could launch an action on your behalf). Something being illegal means if they did do it, you'd be owed compensation.
Aren’t US judges given a large leeway in forcing rulings? (This might be overly influenced by Law and Order TV.)
They aren’t just going to surveil you though. They will actively work to promote disinformation to you.
Hey HN,

I've been working from home for 7+ years and found a million ways to procrastinate. Along the way, I found a few hacks to get disciplined. I think everybody does, at some point.

So I created 50 Hacks to collectively get the best tips out there:

- Browse and upvote your favorite hacks
- Write your own to help others

The site is new, I launched it a few days ago. I'll consider every feedback posted here to improve it.

Marc Lou

PS: There were 30,000 visitors overnight so you could experience a few bugs.
Good technology can be developed to fight surveillance in a reasonably convenient way. With time, it can attract enough people to make a change. See: https://qubes-os.org.

In addition, turning surveillance against the government could also be beneficial: https://en.wikipedia.org/wiki/Sousveillance.
How to structure an Express.js REST API with best practices
Thousands of other companies use Express.js to build a REST API. How should you structure your project?

Why does structure matter? Why not use a “move fast and break things” approach and put your code wherever it seems to work?

Without good structure, it will become increasingly hard to understand your code and easier to accidentally break things. This means bugs increase and deployments become slower and riskier.

If you plan to scale your API the decisions you bake in earlier should support that. Otherwise, you’ll need to spend considerable time and expense rewriting your application.
The thing people are missing when they say "naturally foreign government collecting data is a security risk" - is that by US openly admitting this - they are signaling to all other countries allowing US tech companies to operate there that they should be firewalling because it is a security risk.

World is > US and China, Europe, SA, Africa, the rest of Asia - this is a clear cut message "you need to have your social networking in-country to prevent others from compromising you".
> Nuclear weapons were developed by the Soviets before the end of the 40's

Developed/stolen.
RSS too:

managingEditor Email address for person responsible for editorial content. geo@herald.com (George Matesky)
webMaster Email address for person responsible for technical issues relating to channel. betty@herald.com (Betty Guernsey)

https://validator.w3.org/feed/docs/rss2.html#requiredChannel... (but was also present in 0.91)
Obviously the FCC, being under the US government, does not care that your data is being collected by the US government
I noticed a peak at the start and end of year and a low point mid year. Most of the stuff I've monitored were weight loss apps, apps for writers, meditation apps, so I figured it was a new year's resolution thing. For other industries, it might be related to the Christmas sales and 11.11.
Yep. I was so stoked on EE in high school. Took the first EE course in college and got as far away from it as possible after that. Subject matter was interesting, but the professor took every ounce of fun out.
Download Paul Graham Essays in ePub, Kindle and Markdown
"I don't have a horse in this race, but (impassioned rant about what the horses should do, which ones should win or lose, and why...)"

As consumers, we do have a horse in the race. I would cheer for the horse with fewer regulations, but that's just me...
Because the biggest threat to you is your own government, not one half a world away.

The Chinese government isn't going to use nefariously collected data about you in order to get a search warrant or something. The American one is.
I am going to guess you don't have any security or compliance folks.
Thanks (no sarcasm) but I know how it works.

My point was that in Excel this is an afterthought, whereas in Numbers it’s a consequence of how the application is devised from first principles.
American companies working against national security will be held accountable. A Chinese companh working against american national security will be celebrated at home instead.
I am a founder of a retail chain in the eastern zone of India. We have been in business for the last 20 years and our company actively contributes to philanthropic CSR donations. We have been associated with an NGO named Annamrita Foundation for the last 5 years. They are a Non-Government charitable organization providing mid-day meals in schools across 14 different cities in India since the last 17 years to uproot hunger in children depriving them of their right to education.
Can't believe they'd try to sue over that. For one, it's pretty much only critical of the Mowbrays themselves and I can't see anything in there that wouldn't be an honest opinion so safeguarded by NZ law.

So it comes across to me like the Mowbrays personally trying to stomp someone into the ground with legal fees knowing they have no case. Hopefully the legal system can protect them from that exploitative use.

Seems on song with that basis of the comment, doesn't it?
This. If the names of the employees become known, they should rise to be heroes of the workers movement, in parallel with a massive boycott of zuru!
Conversely, if you're an American in America who doesn't travel abroad what is the threat TikTok poses when compared to the FAANGs? Given the cozy relationship between the US and FAANGs I think it's possible to argue that unfettered government access to FAANG data is more of a threat (to the average US citizen) when compared to the Chinese government having access to your user data via TikTok. But I'm not set on any of this and would like to understand more.
The way I think of the status codes is as instructions for how a generic HTTP client or proxy should or may behave in response. Any status code which, in practice, does not affect generic client behavior, does not need to be distinguished in the status code (and can instead be distinguished in the body of the response).

For example, status 412 can be thought of as "try the transaction over again, your information about the resource is out of date". Maybe your client has generic support for atomic operations on resources, and 412 controls that. 429 can be thought of as "slow down". If your client has built-in throttling, 429 controls that.

> There is no useful distinction between different kindes of bad requests (syntactically wrong, structurally wrong, not applicable to the data found, etc.)

In general, a bad request is not something that client software would be expected to handle, other than "don't expect a different result if you try again". Obviously this is not a hard and fast rule because some errors are truly transient and some servers give the wrong error code due to bugs or whatever.

You could go all WebDAV with status 422 for non-syntactic errors, but I am skeptical of its utility. If your action is not applicable to the resource, you have 405.

When there's a 400 error, the expected client response is "some programmer will come by and look at the logs if it turns out to be a problem".

> Special handling is needed to test if a resource exists -- you cannot just GET it and check for a 404 code because browsers log all 404 as errors, even if it's the "happy path"

This is more of a UX issue with the browser console than any problem with HTTP.

> The error codes confuse authentication and authorization

Eh, it could be worse. We also have misspelled headers like "referer". As long as clients and semantics use the correct semantics, I don't care.
I am not sure I am following but as stated this is a bit of a straw man. Even in California the latest you can have an abortion is at 23 weeks unless the life of the mother is at risk.

https://www.shouselaw.com/ca/defense/laws/abortion-laws/

By definition, a fetus becomes viable if it is likely to sustain survival outside of the uterus. It has to be able to survive without extraordinary medical measures.

Doctors determine whether a given fetus is viable. They make this decision on a case-by-case basis.

Typically, a fetus becomes viable around the 23rd week of the pregnancy. Doctors also consider a fetus to be viable once it weighs at least 500 grams.

At the end of the day childbirth is dangerous and expensive and our US social safety net is terrible. If we truly respected life in this country there are better ways to show it than outlawing abortion.
Always good to hear someone else interested in Nim!
Very similar... Inferring data through response time.
I wonder if there was a way to 'reset' the clocks remotely, for example to send a 60 second burst of air that resets all the clocks to 12:00.
>>Everything they're accusing TikTok of - from data harvesting to the government having access to said data - is true for western companies as well and that should be the problem

The thing is, yes Facebook and Google's data collection is horrendous, but TikTok it literally on another level.

Quite a good explanation here:

https://www.reddit.com/r/videos/comments/fxgi06/comment/fmuk...
Just out of interest, is the systemic issue you mention laisse faire capitalism?
Which takes me at why we have to be rivals (we people in countries), because government are rivals and monopolize trading and resources for themselves? It is very stupid that we passively accept those rules and let them drag us like that into things of this nature.

I am really (I am european) pissed off by the fact that someone decided we needed a war with Ukraine when we do not have anything for/against Russia or Ukraine in principle and they start to make pressure to all private business, etc. to make them do what these people want us to do. Literally in Spain I saw even bad press for people selling clothes (Mango) or yoghurts (Danone) just because they kept selling those products to normal Russian people. So govts can sell/send weapons to Ukraine with our taxes and without our permission at the same time they encourage and point to private company doing regular business so that they stop selling there? Seriously?

I really do not accept that, I want to have friends from wherever, go with whoever and do business with whom I deem appropriate without asking permission to anyone. If I am not selling intelligence for spying or weapons, what is wrong? I really do not get it.
Quite the opposite. The running time of sklearn's or xgb's training procedure is not the main obstacle to retraining daily (not even close).
In some of industries retraining has to go through rigorous manual QA. And you need a solid ML pipeline to begin with.
Iceland and Norway are two of the top five countries for life expectancy, so this is bullshit.
I sometimes still use my Nano for listening to an audio series while walking the dogs. I learned basic Cantonese for fun that way, too, heh. I could plug into my cell, but then it gets clumsy for no good reason.

Also, the nano is pretty awesome at the gym because it doesn't distract or get in the way. It's one of the few purpose-built products these days - good at one thing, at the expense of nothing else.
I am not quite sold on the dichotomy between “REST” and “RPC” as suggested by the article: if sending over a structured response that has to be interpreted by a client program is considered RPC then why is sending over a structured response that has to be interpreted by the browser not RPC? REST as described by the article is by definition a subset of RPC - you invoke a remote procedure, you get a response. Besides, it stands to reason that the stateless properties of REST are much more interesting than the “returns a hypermedia response” but.

As to the rest (pun) of the article… I have no problem accepting that REST was originally proposed as a way to navigate the web using hypermedia responses. But I also have no problem in accepting that the term has since moved on to describe the API design principles which ultimately what makes it useful for the modern web.

Funnily enough, recent interest in SSR almost makes it a full circle.
Ironic. AV1 is the descendant of On2's TrueMotion codecs -- better known as vp3-vp9-av1.

The very first codecs from On2 (then called DuckCorp) -- TrueMotion and TrueMotion2 (used in games such as FF7) -- used a compression technique that did a good job of filtering, then on playback simulating film grain. We used this effect to good advantage, demoing exclusively 24 fps film-sourced material and properly dealing with frame rate using 3/2 pulldown.

Everything old is new again...
They’re all nefarious. Your data should not be in the hands of any data broker or Government without explicit consent.

But if you wanna beat the drum of Jingoism, here is a counter argument: the Chinese Government has little interest in the activities of most domestic US citizens. Its the US Federal Government that cares if American citizens are feeling too rebellious.
Likely a reference to the sit-com Silicon Valley.
Sorry what? It's trivial to get an email address from legit email provider, create alias addresses, then sign up to something like Glassdoor using VPN. The only thing Glassdoor will know about you is your email address, which is not easily traced back to your real ID if you don't want it to be. Particularly for low level "crime" like negative reviews.
> It simply shows a list with the most recent GitHub locations you have visited.

Open History (Ctrl-H).

Search for "github.com".

Switch View to "By Last Visited"
The Webserver Servers a file or an endpoint. This file or endpoint have indeed be found. On this layer the transaction was successful.

So if you return 404 on this layer you are saying that whatever file or endpoint you searched is not there.

If you ask for a resource at an endpoint that does not exist e.g. via an parameter in the url and return 404 it is not clear if the endpoint does not exist e.g. the endpoint.php is missing or the resource you are looking for. Leading to questions like: is the endpoint down, is my internet wonky, did I misspell the name, and business logic related questions: is there no such widget, is the widget out of stock, should I call another endpoint?

404 does not indicate non existence but it indicates an inability to be found by the server. It's a nuance and it only matters when it does and then it bites...
That's kinda crazy...

Here in Western Australia they're all limited to 25km/h, though you can go faster on the bike using your legs, the electronic assist must cut out there.

How widely these rules are actually followed, I have no clue.
Yeah it was odd finding out this was an NZ decision. I was under the impression that they were a bit ahead of the US on privacy.
At our company, we have a hard time hiring new recruits for the maintenance engineering positions.

But I get why:

- the pay is relatively low

- you have to be on standby at night (in shifts, but still).

- you have to travel all across the country and you’re suppose to do this in your own time (only the time on site with the customer are payed working hours).

I wouldn’t pick a job like that either.
What is the difference to the consequences of the CloudAct?
What ever happened to Oracle buying Tik Tok in some western markets? Did that ever happen?
That's why you shouldn't use your work computer for anything but work!
I wish someone could show me actual repl work in vscode for a lisp or erlang. It sometimes gets the way there, but doesn't to make it.

I think the plugin writers are either shoe-horned by VCCodes lack of plugin capability or they are basing their work off some other toolings expected behavior and it doesn't "sit right" with how I work.
> "Web frameworks like Fresh, Astro and Marko promote the “component islands pattern”."

3 frameworks I've never heard of. fml. i really need to find an escape from web.
There are various digital communication tools for companies to help educate customers, create a product showcase, provide support when needed and nurture the customer connection with a brand. Now the challenge is to make the most of what is available on the market to deliver helpful, timely, and engaging experiences right at the moment consumers need you.
Pardon, but I don't understand the point you tried to make...

Does a software engineer have perfect grasp and understanding about every subfield in SWE? Ranging from DX to writing compilers or designing languages, SWE is an extremely broad field.

EE is no different.
no one wants this.
Again, they don't ban them. You're talking about a completely different thing. The Chinese rules (whatever they may be) apply to all companies. Your example even mentioned WeChat, a Chinese company. You would need to find an example where a US company is forced to do things that a company from China doesn't have to.

My argument is about having the same rules for everyone. The argument about data collection and privacy is a good one. It's just completely dishonest and hypocritical and doesn't serve the end user any purpose if it doesn't apply to everyone and it just clearly doesn't.
It's kinda difficult to explain in a short reply format. Try googling "walking meditation" and researching how it's done properly. I prefer doing it vipassana way but there is quite the variation in practice.

Basically you walk at a slow pace in a most non-crowded place while passively focusing on some specific sensation, but not thinking about it or getting distracted by other thoughts and sensations. In my case it's usually the sensation of air during breathing through the nose. If you do get distracted you just gently return your focus back to observing without internal fuss or overanalyzing. Also music and smartphone are a big no there.
It's not just FAANG, because of the CloudAct it's the US agencies too
Even the editors don’t usually use the original files but they get transcoded to proxy format for editing.
> I don't know if any location data might leak in airplane mode, but I would not be surprised if some did, for example, through NFC or Bluetooth.

Which is why hardware kill switches are the future (see Librem 5 and Pinephone).
For what it's worth, most of the population of Earth is located at or near the coastal areas.
>I really wonder why would I like to run games on car?

Well, what will you do in the car once (next year ;)) Full Self Driving will take care of the driving?
Pretty sure that European users data has to be hosted in Europe and there are serious limits on the info you can get outside.

I know that this is one of the reasons why TikTok has highly invested in Ireland.
Counterpoint: They're both huge trash. They both have advantages over the other (the API is just better for Azure IMO), but those advantages pale when viewed through the lens of how bad both platforms are. If you can use anything else you should do so.

Given that, having a discussion about which is less bad and how isn't very useful. When viewed holistically, they are both bad.
I am not Op neither an American.

Practically, I'll be more concerned about my government having the data vs a third world. I rarely get involved in Chinese politics/threads and have little interaction with them except everything is manufactured there. I may visit China/Taiwan/Hong Kong as a tourist sometime in future.

For my own country I am actively interested in and sometime involved in political discussions/forums. I have stronger opinion in favour/against current government and will have lot more influence on my local.

So the govt./org. trying to suppress/persecute me will be with high probability my own vs China or Russia.
(saying that cuz it seems, atleast in my friend group, that snap is being replaced by whatsapps disappearing messages, and the main draw is the camera app which people only use on phones anyway.)
I disagree, just get a scooter at that point. Large part of the ebike appeal is You would not need a drivers license and registration for it.
Thanks for the reminder (sincerely) but to me this is worse, I would use a shell which doesn't offer this particular form of irregular grammar, I hate it.

100% aesthetic, I shouldn't be able to point a file at my prompt and have it end up streamed into the next word. Just awful, 0/10, do not want.
Email addresses aren’t usually secret though. If an employer happens to know the personal emails of a large fraction of its workers, it isn’t going to be meaningfully slowed down by a hash. 1M addresses * 1 second/address = ~12 days (and in practice a lot less since hashing is nearly trivial to parallelize)
I'm reading a biography of Erasmus, and while he visits Italy, the Pope is waging war on Bologna and Venice, I believe. For fear of excommunication, Erasmus has to flee.

"Nicknamed the Warrior Pope or the Fearsome Pope, he chose his papal name not in honour of Pope Julius I but in emulation of Julius Caesar." https://en.wikipedia.org/wiki/Pope_Julius_II
And at the same time they try to get data of european citizens through scams like Privacy Shield and Safe Harbor.
I don't really understand how this helps that company. This will probably make a lot more people stay really far away from the company.
Had to be after 1931, when the Crosby song (the title of which he gets wrong) was recorded.
I think it has to do with how much money some job will produce over the investment, and also OFC due to to supply/demand. How hard a job is, is kind of irrelevant for the compensation.

Due to the nature of SW, you can reach thousands of customers with little investment, so you may as well slap a fat margin on it. There are SW products associated with pretty much any economic activity these days, from textile machines
to farm management (got job offers to work on products in these areas recently), so SWEs are in high demand. And if the market is not doing well, you can always strike on your own and try building something people will want to use and to pay for, for little investment (again).
It's up to you if you want to use company provided equipment for personal/private use or not. If you declare that it's only used for work purposes, there is no tax. The tax makes sense, because it's effectively extra salary (eg if the company gave you a leased car).
"Only Americans are allowed to spy on other Americans!"
Personally I feel this is as much a failing of of mobile OSs as anything else. As long as we have an environment where ad networks think it's desirable to collect this kind of information it's going to get collected, whether by TikTok or ad networks. Apple at least attempt to limit what data is accessible by apps, Google is less incentivized to do so.

It's not much help to "ban TikTok" while the ad networks run wild. If we're going to be worried about China I doubt it'd be too much trouble for them to place a few engineers into ad networks and exfiltrate the data from there.