skysight-inc/HackerNews huggingface dataset:
I wrote my first Nim app recently (an agent for reporting server data) and I must say, I like the language. It was a quick and painless learning experience. As of now my binary is about 400KB and uses about 1.3MB in memory consumption.

Indeed – as others have reported – Nim feels very much like Python, while the superfast compilation time means I can test code changes quickly during the development cycle.

For reference, I mostly write web apps in Elixir, but I needed another language in my toolbox that is statically compiled and lightweight.

I looked at Rust, Nim and Crystal. I ended up choosing Nim, because Rust is too complex for my taste, and Crystal’s syntax resembles Elixir (they both drew inspiration from Ruby) and it would be confusing when switching between the two languages.

Ultimately, they’re all cool, modern languages, so pick whatever fits your brain and helps you reach your objectives easier, while engaging in this social (or solitary) activity called programming.
Can you link the essay?
Or even expand on what is pg?
This happens with graduate degrees also (not having one hindered a number of prospects)
The anecdotes I hear about "cheating the system" before electronic logs are mostly along the lines of: stuck in stand-still traffic for 30 minutes, I'll log it as a break. Whereas according to the electronic log you're still driving.
I don't like the trend either. My understanding is that camera lenses are just thicker than the phones. The phones could in turn be thicker and provide more battery life (to some extent Apple did that with the iPhone 13), but I guess "the market" just wants thin devices... and powerful cameras.
Did you even read the article? It gives a brief explanation of the methodology. The full paper is found here: https://iopscience.iop.org/article/10.1088/1748-9326/ac2966
Wikipedia offers a similar service: https://en.wikipedia.org/wiki/Wikipedia:Reference_desk
Starlark

A Starlark interpreter is typically embedded within a larger application, and the application may define additional domain-specific functions and data types beyond those provided by the core language

Pretty much what Lua provides. I settled for Lua many years ago.
Checkout is still giving an error (R013)
Until lambdas came to be, the workaround was to use anonymous classes, very few people would do a separate class.

And no lambdas are not implemented that way, rather they take advantage of invokedynamic.
The company operating on the $20/year model offers a very specific feature-product and that's basically the only thing they do. My goal is to have that be one of the features my company offers eventually and do this with a handful of complimentary feature-companies to build something more robust over time, the idea being that I charge something like $10+/month for a set of "premium features".
Well aside from the fact it serves to give you space for a better camera (I've heard Apple are working on some periscope style thing that'll negate the need for this) what Google are doing is smarter than Apple because by having it across the whole back you don't end up with the device being wobbly on a flat table.
Tensor has a 20-core GPU.

Are cores the main thing to count? So that's better than an M1 Pro with a measly 16-cores?

/s
Penguin is no longer the owner of the copyright to The Tao of Pooh
Yeah, I assumed the latter, but the former makes sense. I wonder what some of those might have been.
It protects the plastic back of the phone from scratching by putting the expensive fragile camera lenses right there.
very much so. A lot of LTL and shipping companies should re-evaluate how and when they load things. The rules changed fairly recently and those will create all sorts of spots like that. So the old routes and loadtimes probably no longer make sense. Where 1 guy coming in at a particular time was fine but now with the way shifts are going to be you may need 2 and shift the pickup time out by x hours. That sort of thing. The rule changes also constrained the actual number of hours drivers can do (so there is an increased demand for drive time). When I started with this stuff 20+ years ago it was 5x5 shifts were common and legal. But now you will have to make sure you give people their weekends and core sleep times and about a dozen countdown clocks per driver. Getting that scheduling right will be quite the linear algebra optimization problem.
At least the bump is symmetrical.

The bumps in one corner of the phone are the worst.

But realistically, even those don't matter because protective cases are effectively a standard part of any modern phone.
Sure, but plain html supports that. Heck, you can TSV a pastebin.
Aaron Yinan Du Scams – Share
Aaron Yinan Du is a seasoned fraudster and psychopathic liar. Aaron Du has no morals. Don’t let his education credentials from Harvard or MIT fool you, AARON DU IS A SCAM ARTIST AND IS AS TOXIC AS THEY COME. HE’S A SNAKE! All of his so-called businesses have major ethical issues that are soon found to be illegal and gets shut down by the government or go bankrupt. He disappears with the money and does not pay any of his staff or his vendors. He uses the money he scammed from people to whip his name clean online and then starts another scamming business. Aaron has been scamming people with ill-vetted business ventures for over 10 years in China, Hong Kong, USA, etc. I have worked with one of his businesses. HE DOES NOT PAY ANYBODY. HE HIRES EMPLOYEES AS “CONSULTANTS” AND DOES NOT PAY THEM. AARON DU DOES NOT PAY HIS VENDORS. Instead of paying people their wages or fees, he ruins peoples reputation by badmouthing anyone who dares to go after him for their fair dues from him. I personally know at least 6 contacts he’s already screwed over. It’s sickening how he can go for years cheating people of their savings, exploit workers, lie and never pay contractors, wipe his name clean before he goes on to exploit other people again. DO NOT WORK WITH AARON DU! Look at his recent track record. (1) 24Quan in China- Owed employee wages and Closed down without paying them. (2) Beam Financial Inc in USA- Lending Company, Sued by FTC for misleading users of its mobile banking app. (3) Ricepass Ltd in Hong Kong, owes “consultants” and vendors money. Office is closed. Ghosted everyone, not to be found again. (4)… (5)… Time will tell… I hope more people who have been scammed by Aaron Yinan Du will come forward with their accounts so less people will be cheated by him in the future.

With people like him, there is no other side of the story. Everything that comes out of his mouth or his keyboard are just lies.

If any one has had experience with Aaron Du scamming you, write and share.

If you are Aaron Du and want to respond, don't bother, everything you have ever posted have been lies. Instead of sticking to your pretences - it sickens me that you never had the decency to look at yourself in the mirror and see how awful you are as a human being. No remorse. No morals. You are a joke of a human being.
Early feedback wanted: cheap decentralized storage
I'm working on a concept for decentralized storage for businesses and I'm curious to learn more about what potential customers needs are. Anybody have contacts that would be willing to talk to me?

prototype here: https://www.namjo.io
> As I wrote elsewhere, you cannot do perfect sharpness at fractional resolutions. How are you going to render 1px wide line exactly?

With downscaling, I get a blurry mess. With fractional rendering, I get a line that may be a tiny bit too wide or too thin, and may be one pixel off, but it’s going to be perfectly sharp and clear.

At least render fonts at native resolution and only up/downscale the rest of the widgets. Scaling fonts can NOT be done by post-processing or it WILL be wrong.
This does seem a little irrelevant unless you're just practicing analog whiteboarding. Almost every company I've interviewed for just buys some inane off-the-shelf Hacker Rank thing and sends it out to the whole world, followed by "I guess now we'll talk".
Does anyone knows about the state of the futuristic AI features from Google?
I recall a presentation about AI phone assistant that was ordering something on the phone and it was indistinguishable from a human, handling edge cases flawlessly. Are people using AI assistants to make them book places or order things on the phone?
I always wonder what its like to be the Messis and LeBrons and Ronaldos of the world. For a relatively short amount of time they get to be the best in the world at what they do but for the rest of their life they can't walk down a sidewalk in peace(obvious perks excluded).
Show HN: Kubernetes Cost Visibility for Amazon EKS
The principle of reciprocity and how to negotiate
> Most journals allow a ~5% margin of error so even if humans caused climate change (which they most likely did) we should only see 95% of these studies finding this result.

Well, for a phenomenon strong enough, any measurement you make will find it. It's like taking a 1m long board and trying to assert the hypothesis that it's 20cm long. It doesn't matter that you accept a 0.05 p-value, you don't have an instrument noisy enough to reach it.
At least here in Denmark (probably most of Europe), anything really old you dig up belongs to the state. They do pay some kind of compensation for the finder.
I'm not sure what courses they had in mind, but Victor Shoup (one of the authors of the OP) has a book on number theory and algebra that goes over probability. That would probably be most useful if your goal is to study the applied crypto book.

The prerequisites are (self-reported) minimum, just calculus and mathematical maturity should be sufficient. I would check it out (it's free) and see if it's at an appropriate level.

Unfortunately I've yet to come across an introductory text or course on probability that is actually good :-(

https://www.shoup.net/ntb/
important to mention im still talking about blue-collar high school grads here, the ones driving current wage growth post-intra pandemic. these include paramedics and bartenders for perspective, who generally do not get healthcare or retirement benefits.

https://sgp.fas.org/crs/misc/R45090.pdf
I used a Thinkpad for over a year without noticing the microsd slot on it. I think they are so inconspicuous that most people don't even notice them.

And what is the alternative?
USBA <-> USBC <-> SDCard adapter <-> MicroSD to SD adapter

Is that convenience?

Even if they gave away usb sdcard adapters for free, it would still be trouble to go out and get one. Or carry one around with me everywhere. Just another thing to lose. Another thing dangling out of my computer putting stress on the ports.

If I'm completely honest, I think it is more emotional than practical. This craving for hyper-optimization.

And even Apple now seems to be admitting that it was not a great idea.

I can understand dongles for tablets, but this is supposed to be a laptop, a somewhat general purpose computer.

> Also I never need the MagSafe port or never used HDMI port in my life

I assure you you are in the minority on this.
MagSafe by the way is amazing. It has saved my old Macbooks more times than I can count. I've already had to get my USBC power slot replaced from tripping on it.

Having access to the ports is itself a feature. Having the peace of mind of knowing that you can go to the office or classroom and be able to use the projector or a jumpdrive, without having to worry about bringing the right adapters is a huge plus for me and I think most people.
That's a solid point.

For me, it felt more like the balance of muscles. My hams were way to strong compared to my quads and my running felt more like bouncing up than pushing forward.

I never tried measuring specific inclines or on sand though.
> You forgot to check the publishing date

No I did not.
There are also routes outside your main 9-5 at BigCo. In fact, your employment agreement with BigCo probably is written so that you don't want to get an idea for an internal product!

Try meeting people not in your field. Yes, it will take effort. Yes, it will be uncomfortable. Because of those challenges, fewer people have explored that space - so there are still fertile grounds for new products.
I guess it depends on the cost of doing something. I won’t care when I’m dead but I will care if I can feel the effects while I still live.
I used the word relevant to avoid judgemental terms like positive or negative. Public interest and relevant are both neutral terms. Negative deeds can also be relevant or in public interest.
You need one Republican Senator who doesn't have a district to bribe - he/she represents an entire state. I'm sure if the Democrats could find one and not deal with Manchin, they absolutely would -- but the nature of a 50:50 Senate for reconciliation and the filibuster threat on stand-alone bills for a highly ideological issue means there are zero Republicans who will join them.

This demonstrates the issues with American politics very pointedly though. Even though 49/50 Democrats in the Senate want to pass the bill you describe, since 1/50 opposes it (along with 50/50 Republicans) - you blame "our politicians". The blame for inaction lies entirely on one political party but we have to pretend like it's some sort of failure by both sides to negotiate.
Fascinating (and kind of depressing) that the "attention deconcentration" technique she used to become a world-class athlete was originally developed in Russia for people who held very boring jobs.

> Molchanova’s technique for concentration was based on a procedure she called attention deconcentration. She said it came from ancient warriors and was used by samurai, and that in Russia it had been adapted and developed for people who held very boring jobs. It involved moving one’s attention to the periphery of one’s awareness, against the imperative of the eye, which is trained to focus. It was a form of meditation. As one advanced into it, the left cerebral hemisphere, which deals with words, grew quiet. This allowed parts of the mind and body more resistant to the frightening stresses of free diving to take over.
They've been around quite a long time, but yeah it seems like only SQL89 gets taught.

Window Functions and CTEs are both major force multipliers in the language, so I always encourage folks to go learn them.
In functional languages with pipes, if something is worth naming it would be generally be extracted to a function.

"string"
|> capitalize(%)

function capitalize(str) {
// do the thing
}

Temporary variables are certainly really tedious in many situations:

const string = "hello"
const capitalizedString = capitalize(string)
const paddedString = leftPad(capitalizedString, 5)

I'd have a very hard time buying any argument claiming naming those variables adds any kind of clarity to the reader or writer over:

"hello"
|> capitalize(%)
|> leftPad(%, 5)

But then, does _JavaScript_ need this? I dunno.
For sure, I agree with this take. My goal is to build a small, lean company that serves one particular market and expand over time.
The identifier is part of it, as I remember from my mackintosh days, but it cannot be all: MacOS works well as a multi-user system, including separate iMessage accounts for each user.
Sure, but JS code usually looks nothing like Java. People mostly write functions and data structures, just like in C. You don't start your JS code by writing objects.
I have changed my mind about a dozen times with how I feel about the whiteboard problems for interviews, and I am somewhat on the side of "they're not good", largely for the reasons that you mentioned; it's not hard to find online tutorials to practice specifically for these kinds of problems, which doesn't necessarily correlate with a good worker. I mean, hell, I took advantage of this very feature when I started out; until very recently I was a college dropout who bought a few books on data structures and algorithms, and managed to find engineering work relatively quickly because I knew enough to do well in whiteboard interviews.

I know several engineers who are several times smarter than me, who could build basically any application asked of them, who always have trouble finding work because they don't do well with these whiteboard problems. Of course they could study and learn to get good at these problems, but at that point, what exactly are we testing?

I also think these problems are kind of bad for the other direction. When I interviewed at Apple, they gave me typical big-O notation whiteboard problems, I did well enough on them, got an offer, and accepted the job. I just assumed that if they're asking me hard CS theory problems, then there will be a lot of CS theory work at my position there. I was completely wrong about that; the job ended up being extremely bureaucratic and I spent substantially more time replying to emails and attending meetings than I ever did coding, let alone solving interesting problems [1]. I managed to hang on for about two years, but after a certain point I felt that I had had enough and left, and I always felt that I wouldn't have wasted my time if the interview process had more-accurately reflected the actual work I ended up doing.

[1] I think I had a particularly bad experience at Apple, I think other people working there have enjoyed it substantially more than I did. I think it's highly dependent on the team you're on.
Are you making up stories?
Someone else mentioned politics, but I think it's really apt to draw some lines since these are federal crimes.

Politicians and government agents will work toward getting legislation or contracts through and then "retire" to work privately for the same companies. This is probably not legal (i.e. bribery), but it's basically impossible to prove the crime. On a similar note, politicians can ask for contributions as part of lobbying efforts that go directly to their campaigns. That might not go right into their pocket (which somehow make it legal), but it certainly makes continuing their career easier.

I don't think either is particularly morally just, but the similarities are pretty stark. The government (and public) end up losing and becoming the victim just like Netflix was the victim of these actions.
wow, I suddenly now understand why some of my Windows apps' UI's look so blurry
The article explains that they searched 88k peer-reviewed studies.
The amount of immediate unsupported skepticism showing up in these comments is incredibly disheartening.

I feel rather certain at this point humanity as a whole is unable/unwilling stop this impending disaster due to the perverse insentives that existm that allow people to continue to bury their heads in the sand, and pretend everything is fine.
Did humans cause ice age too? Down with caveman people!

>Support for the Alliance for Science is provided by the Bill and Melinda Gates Foundation.

Thanks for letting me know.
The dashboard is also offered as part of our freemium offering :) we offer 1000 policy checks per month for free. Including the dashboard.

In terms of what we offer compared to Polaris: We offer pre-defined policies that comes out of the box along with the ability to write custom rules for your policy by your self.

Take us for a spin and let me know what you think! thank you
I had to traverse about 50 miles each way to a generating station for a year back in the 1980s. I learned how to get there from my boss, then quickly optimized the route as I drove it daily. After a week or two, I started searching widely for alternatives, and over time I just explored and picked the fun routes, or fast routes depending on my timeliness that day.

I can reliably get back anywhere I've driven, assuming I started at home. On vacation it takes a day or two for that to be true. I doubt those now dependent on Navigation aids can do so.
Kubeflow 1.4 – What's New and Contributor Stats
It's just been admitted.

Fuchsia/Zircon is going to be optimised to run on Google Tensor chips most likely this decade.

I'll probably end up linking this comment in a few years.
I use onion addresses to have basically a hash-addressable socket on the internet, which can be relocated without any additional configuration. It can even work without any inbound ports on the firewall.

However, I haven't done any serious roaming with such a configuration; has anybody tried it?
this is the single worst product launch I've ever seen on all fronts from the terrible video to the store being down for a half hour and still down
> as far as their platform is concerned

I thought that capitalism meant that, if it’s their platform they set the rules, and should be allowed to decide what gets sold there and under what conditions.

If you want to sell anything in a physical shop or in Disney World, you have to deal with the conditions of the shop owner, too. It wouldn’t even surprise me if Disney took a cut on each ice cream sold in their theme parks (sellers might even prefer that over a fixed price contract as it moves part of the bad weather risk out of their hands)

The only reason to deviate from that here may be the sheer size of Apple’s platform. That may make them so powerful that their free reign over their store must be restricted (a similar thing has happened in some countries with big supermarket chains versus producers of goods. If Walmart were to decide to stop selling brand X as a negotiation tactic to get better conditions, a court could forbid that)
Microsoft Officially Deprecates UWP
I remember in the early to mid 2000's when all mobile phones were not the same generic slab of glass and metal/plastic.

It was like every phone was "controversial". I miss those design days.
100k is pretty normal for Teamster drivers, with a company vehicle, benefits etc. Of course, those positions are extremely easy to fill. There's not even close to a labor shortage there.

Downside is 60 hour weeks for 30 years.
I would agree with all those points actually. In my experience though, it's hard to find a company willing to talk like adults about that. I also wouldn't be surprised if this was a regional difference. Perhaps coastal job markets are more understanding of how thought-workers operate as opposed to the midwest for example.
What if the accreditation for this industry is simply do the existing LC exam, except once you pass it you're good for 5-10 years until you renew your license? Instead of the current system of having to retake it every single time you change jobs.
From his recounting of it, he literally killed the deal.

Steve had said "yes" and said Eddy Cue would take it from there, and was preparing to leave the meeting. Then Ali decided it would be good to start negotiating price right then and there.

Steve might have really been offended by Ali bluffing the sale price he could command. Or he could have been offended that this guy was such an obvious amateur.