skysight-inc/HackerNews huggingface dataset:
> Scroll anchoring keeps content from jumping as images and ads load at the top of the page

That's a nice little quality-of-life improvement. It's a little annoyance that you don't really consciously notice because you're so used to it, but I recall reading about Chrome adding a similar feature and suddenly realising how annoying it is when you're reading something, and then suddenly it jumps out of your view due to a large image above the viewport loading.
There has never been as few empty properties as there is now (according to parent comment). As such, it should be less of a problem now than before? Not the other way around?
Lesson of the article: Professional poker is surprisingly hard and people regularly get broke because they don't factor in their expenses.
Now, if one replaces "professional poker" by "life", than this article maybe meets the requirements of its headline.
Another thing it helps with is garbage collection. If you compile down to C it also requires stack trickery.
Where There Is No Doctor: A Village Health Care Handbook
> GA has great tools to analyze those logs, do reporting on some decent set of actions and to bring it all together in a simple to use interface

All of this for free. Why?
It seems crazy to me that Apple compromised the cooling solution of their desktop machine to save 5mm of thickness. Does anyone outside of Apple's marketing department care about the thickness of their desktop machine as long as it is below an inch or two?
1TB HDDS are generally the most expensive. At such a low capacity it makes more sense to just get a 500GB SSD for $50. Alternatively if you really need the capacity of an HDD: for just $90 you can get a 3TB HDD. triple the capacity, less than double the price.

Edit: Apparently 3TB HDDs cost as low as 60€ nowadays...
I massively disagree with this, as the other part said a lot of standards don't make any sense. REST always seemed very suspect to me, and Facebook with some of the best developers in the works basically threw it straight out of the window with graphql, seeming to validate the scepticism. Html also has complicated standards about elements which everyone ignores with divs everywhere. There seem to be a lot of nonsense standards around.
It's probably bogged down by the harddrive, not the RAM.
You can buy self adhesive strips on eBay, I upgraded a 21.5" machine last year.
Thats as helpful for a general discussion as a communist calling private property theft or a libertarian calling taxes theft.

We currently have rules in quite a few countries that allow nationalisation as well as expropriation under certain conditions. Not using your plot of land could get you expropriated in the Netherlands, just as you can get expropriated if the government wants to build something important enough on your plot of land. You know, like a border wall. You might get some compensation, you might not. Depends on the country and the laws of that region as well as the circumstances.
Well-documented, but many sources are contradictory. For such well researched hardware, there is a lot to be confused about when researching this topic by yourself.
It's probably because implementing an emulator is highly rewarding and easy enough, hence makes it more exciting during learning a new language and NES is extremely well-documented.
> MobX is now even more fantastic with the new proxy based implementation.

What does this mean? I've used MobX in the past but curious what has changed with this.
It is exceedingly rare for a fine to be struck down as a violation of the Eighth Amendment. The standard as articulated by Waters-Pierce Oil Co. v. Texas, 212 U.S. 86 (1909) is that the fine must be "so grossly excessive as to amount to a deprivation of property without due process of law."

That case was about a $5000 a day antitrust fine, which had accumulated to $1.6 million, but had not forced compliance with the law. The Supremes concluded that the fine was not excessive, because the business was doing well enough not to comply despite the fines.

The fine would have to be grossly in excess of what it would take to force compliance by a reasonable business. A fine that amounts to a doubling of the property tax would almost certainly not be a violation of the Eighth amendment.
I would say whichever platform YOU use day to day. You won’t know if it’s useful unless you are constantly using and refining it.

Id also be careful conflating “I want to build a product” with “I want to build a tool for me”. Start with just a tool for you, decide later after it’s useful to a user population of 1 if it’s valuable to invest in finding a market for.
oops fixed.. thx
I did not use it past university.
Less than you'd think.

The team architect should set up the project structure, not a committew. Most languages have idiomatic conventions for writing framework-less code, so it's not going to look totally unique when they're done.
You can get a 500 GB Samsung nVME for about $150 now, not much more than what a regular SSD was a couple years ago... but totally agreed that a regular SSD is more than fast enough for most people. If it was manufactured this decade, it should probably boot to desktop in less than 20 seconds.
Firstly, try writing a query planner when some of the columns being joined are hidden or inaccessible (which is what I described in my post). For instance, suppose it's a dynamically computed property whose computation you don't have access to. That's specifically what the tension between encapsulation and declarative programming means.

Secondly, it seems clear that "table statistics" are a weakening of encapsulation properties. Perhaps they are the minimal weakening needed to provide efficient query planning, but it still justifies the claim that encapsulation and declarativity are in tension.
Jamatto Micropayments and Microsubscriptions
You're going to need to define a "full SPA". Every SPA needs a backend, and Rails is as good as any. In fact, Rails + Vue is, by any definition, a "full SPA" as Vue is a SPA front-end framework and SPA only refers to the front-end design. You can launch Rails in API-only mode so there is no "legacy" anything, just a backend framework that has all the benefits of Rails while still giving you the SPA front-end you're looking for.

I wouldn't even call it a hybrid, nor would I say it's any more complex than anything else. Every SPA needs a backend, and Rails is as good as any.
So simple, I wish I had thought about it before. Thanks.
Aluminum Giant Norsk Hydro Targeted by 'Extensive Cyber-Attack'
you can do both with https://electronjs.org/
I think I read about three articles like this per day.

Still haven't seen anyone actually using machine learning in any practical application yet, anywhere. Lots of neat toy demos, no real work seems to be getting done.
RAM upgrades from Apple have been ridiculously overpriced for decades.
A Career Database to Help You Explore Potential Career Paths
SpeedCrunch software calculator source code analysis
have this exact same problem on my 2015 rMBP, switching between tabs quickly is hideous.
I am not sure you can not use `unsafe` in an embedded type of project. `unsafe` isn't necessarily bad, but when used at least makes it very clear where extra attention should be paid.
The market is quite saturated but people in the Apple ecosystem tend to be more likely to pay for apps.
AI Is Transforming Google Search (2016)
I'm using Mac OS and the scroll using conventional optical mouse with segmented wheel is really jumpy basically in every other browser. Out of the Firefox, Chrome and Safari only FF scrolls a page really smooth, with no micro jumping as I turn the wheel. Anyone know how to fix this in other browsers?
Shouting and insulting people is no way to have a discussion. Without moderation or some other mechanism this is what online communities devolve into and it destroys them.

/r/programming used to have lots of great discussion. Now it's mostly a deserted wasteland.
U.S. Chip Makers Fear Trap in a Trade Deal with China
and here comes the discussion about why electron is bad :P
Chrome won't autoplay videos having audio. Unless you've already interacted with the site.
I wouldn't rely on anecdata from HN posters, who may or may not be representative of your potential market. Try and gather some data and see what it says, e.g. spend $5 on some facebook ads for your not-yet-existant product, and see the breakdown of OS's that hit your landing page.
The vast majority of people in the US eat meat regularly and feed it to their children. There is no way this is going to stop in one generation. There are also plenty of cultures that have meat as their staple. Can you imagine telling Mexicans to eat vegetarian tacos for instance? That simply will never happen, it's too ingrained into culture (and too delicious!).
Just took a look at it at the Microsoft store - I think it's a tad too big. I'm trying to find a device in the 10-12" range.

So far it's just a couple Chromebooks and a surface go that fits the bill. Lenovo had the Tablet 10 but I believe it's been discontinued, looked like one of the better options but impossible to say until I get my hands on one (nobody even has one up on eBay).
It looks like Windows. If it behaves like it, then you can read the full title by hovering over the tab.

I haven't used gnome in quite a while, so I'm not totally certain of what was before this change, but I wouldn't consider it problematic. I find that saving the extra 20 pixels at the top is good for the widescreen aspect ratio of most monitors.
Paywall bypass: https://outline.com/V5qU4L
Especially with the everything-below-the-fold-except-an-irrelevant-image trend.
Cool free pdf. I bought a copy after I read about it in the Whole Earth Catalog many moons ago.
Really, this release was either written by a bot or a non-native English speaker.

> From consumers to pros alike, users will notice their iMac is faster for everyday tasks all the way up to the most demanding pro workloads.

This is not a natural sentence.
Well the Mac Mini got a recent refresh with decent processors, the new Mac Pro is reputedly just around the corner and there is a rumour they are going to release a new display soon. My guess is you are right, it's on life support.
Apprenticeship - you'll learn exponentially more working alongside someone.
Are there any projects other than GHC which still use C--? I had heard that it was unfortunately kind of dead these days.
Read code reviews of senior developers.

I follow several public and private projects that I do not contribute at all. Any time there is a review comment on a pull request from senior devs, I try to check if it is new to me. If so, I note down the problem and suggestions.

Here are some examples:

- Aleks suggested to limit the try to the places where exceptions can be thrown and move everything else out of the try.

- Thomas suggested to use =StringBuilder= instead of =String.format=. The former is faster and more robust.

- Oscar suggested to use a =parameter object= or a =builder= when there are many (more than 3-4) parameters.
I also wrote a NES emulator in Rust, and managed to do it without using a single unsafe block. I used SDL bindings for graphics, if that counts, but it can also run in headless mode (for testing) without SDL perfectly well.
You know that Rails is a collection of libraries that can pretty much all be replaced with the alternative of your choice, right?
No worries, I went to the Microsoft store after to scope some out and actually the surface go seems like a pretty solid little device so I appreciate the recommendation. Gonna drive on it until the return period and see how it feels.
All PC makers had to do was come up with their own competing operating system around 2000. It’s not like Apple was rolling in cash back then.

PC manufacturers only have themselves to blame for being low margin commodities.
Wouldn't it be nice if browsers or servers could reserve that space even if it's not loaded? Like "this is going to be a 500x200 image so let's load 500x200 pixels worth of empty space until it's fully loaded" and avoid jumping.
> These are new iMac release notes, not new macOS announcement.

How do you know that though?
I pulled the screen off and installed an SSD. Easy to do
> And I skipped Haskell, because... well, I considered just depicting it as a box floating off to the side, with no arrows into or out of the box, but I figured that would be extraneous.

Elm -> Haskell
F# -> Haskell
Scala <-> Haskell
Organic according the USDA means that you use manure to fertilize instead of biosolids and you use something like copper-based pesticides instead of glyphosate.
I believe having privacy laws is a good thing but given EU's track record I am skeptical of their implementation.

Their cookie disclosure regulation IMO has collectively wasted perhaps millions of hours of users' and website designers' time.
https://text.npr.org is a good example
This I have also found to be the case, though ultimately I also focused more on learning Racket because, coming from Python, I was used to a more "batteries included" experience.
I just had the same issue last week when my app with SMS permissions for cross-platform syncing was rejected, but after some back and forth with Google I found out what they needed to let our app through.

When publishing a new release on the Google Play Console, you need to create a video showing how the permissions are granted as well as the functionality that uses the permissions, making it clear that this functionality is a part of the core functionality of the app. After that, they approved it pretty quickly.

You have to take into account that the Google reps that approve or reject the apps don't spend much time checking if the app is compliant, so if they don't see this evidence in the video, the app won't be approved.
Web first. It's cheaper, more people can use it, and you can find product-market fit more efficiently.
I don't blame the public. You can no more blame the public for their perceptions than you can blame a dog for being a dog.

You have the perceptions you have because of the ideals you were sold in school and in your childhood. The role models you choose are those that make you aspire to be the very best human being you can... at least, this was my world. Integrity means something. Honour means something.

So to come out and find that the science I was taught, chase the evidence to find the truth, has been subverted and is now chase the narrative, find the evidence to support the narrative - that's a fundamental problem for me because what is being sold as science in the real world is not what I was taught science was supposed to be in school.

It seems that many others were taught to manipulate the world around them at everyone else's expense to get ahead. They were taught that their own goals and objectives were more important than those of humanity. Are they any more wrong?

Can I blame people for trying to get rich when we're taught in the West that money is success? It buys freedom and happiness. When all the propaganda fed to us by the media every day brainwashes us into believing this narrative, can I really blame anyone for doing whatever they have to, to get rich?

I'm not blaming the public. It's not a trivial problem to solve. We don't live in a culture that rewards integrity. We live in a culture that rewards behaviour that makes people rich.

If you don't put authenticity and integrity at the heart of your cultural beliefs, how can you blame anyone when they ignore it to chase money, which you will be rewarded for?
Safari has it and is doing it much better, because it blocks both video and audio autoplay. I just tested it on Firefox 66 and I'm very disappointed. It blocks only audio and... it's broken anyway. On one page the first video was audio muted (great!), but then the second video came after the first one finished playing and it was suddenly unmuted! The tab was inactive and suddenly the sound came from it. Until fixed, I'm still going to use Safari for this solely reason.
You have to study your decision depending on your audience/budget/vision/tools, there is really no specific answer to that. Also remember, even cross-platform development has its own disadvantages, and worst decision is at least a "mile" ahead, rather than spending too much time on best solution.
Microsoft Teams is now used by 500k organizations
This comment has been posted on every Firefox release for the past 8 years.
unsafe exists in Rust for when you need it. When it is used, it means nothing more than you’re writing code for which you must ensure the safety instead of the compiler.

The times when unsafe is poorly used are when it’s being abused to ignore safety related compilation issues, like lifetimes and/or mutability. Though, even in those cases it might be ok if you’re using lower level concurrency primitives to enforce those guarantees.

unsafe does not remove all advantages of Rust, it only removes a few restrictions. It should be avoided unless necessary.
Merge Git Authors
I would have thought it would be ok too, but I'm guessing your machine has an SSD, so when it occasionally needs to use swap space you barely even notice. On a machine with a bare spinning platter drive and no fusion drive, going to swap can be awful for performance. You’ll really notice it. So most of the time everything will be fine, but now and then it will suddenly start crawling.

Also Chrome with a dozen tabs open is a bit of a memory hog. Safari is a lot better, but eh.
The market solution is a non-starter. We need laws.
Yep. That has been my experience with Django as well.
With that kind of argument, you could also say that our current situation is proper route to hell because psychopath babies are being born constantly, or idk joung people becoming psychopaths or however that works. Sure often, once a psychopath is in power, waiting for them to die of a natural cause is the easiest way of removing them. And surely, if you take the most cruel ruler each country ever had, put them into power right now, and made them never die, it would be proper hell. But that scenario is entirely artificial. Currently, and throughout history, most people in power aren't cruel psychopaths of the likes of Stalin and Hitler. We just remember the cruel ones more than we remember the boring non-cruel ones.

Unless in an aging-free world, for some reason non-psychopaths are more likely to give their power to psychopaths than the other way round, I think we don't need to worry.
Data Visualization Essentials: Pie Charts and Why You Should Never Use Them
>> GNOME 3.32 continues to push the boundaries around HiDPI and graphics too. This release introduces an experimental feature for Wayland desktop sessions that enables fractional scaling. Once enabled, desktops at certain resolutions can be scaled by non-integer values (150%, 175%).

While it won't be enough to make me switch from KDE, I'm intereested to see how well it works. It's been a long time coming.

The other performance increases are supposed to be noticeable and will be welcome as well.
Australian telcos block access to 4chan, other sites
I'll drop a question since I see Ciro Santilli is around. I want to start learning low level programming. Yet, I feel awfully overwhelmed every single time I try. Any recommendations you might have?
Thats likely with buildings owned by the municipalities? We have something similarly with a few decade old squats in Germany.
> Slack is universally cited

Because it's a running gag nowadays.
Make a PWA and you cover Windows, Mac, Linux, iOS and Android in one go.
Ask HN: Affordable Locations for an Independent Study Period (Sabbatical)?
I have been lucky enough to save up a good chunk of cash from regular work and side projects...

I would now like to take some time off (6+ months) to completely focus on my own development/education/reading etc... I am pretty free to go wherever I think would work best, what I would like is to find a relatively cheap place with:

- A decent living space (1 bed apartment)

- Relatively cheap and decent food and rent (hopefully < $1500/month all in)

- Good Internet Access and a comfortable/quiet place to read/study

- Some chances opportunities to socialize with like minded individuals (I'm afraid I speak only English)

- Somewhere not too hot (< 28C please! :) ) but with good access to nature (I love the outdoors and hiking)

Can anyone recommend somewhere? I'm a single mid/late 30s happy go lucky guy, who loves science and philosophy, if that helps!

I'm thinking SE Asia, or South/Central America are my best bets? Or maybe India/Nepal?

Thanks!
>allowing passwords to hit the logging infrastructure.

This is the most ridiculous of the three in my opinion. When logging to elasticsearch you programmatically have to say what data to put in the document before its indexed (and thus viewable via Kibana). This means that the developer actually put the password as a parameter in the document object.
And you could also gouge your eyes out. But neither would be pleasurable.
This is a great writeup. Thanks for sharing.

I do wish you had mentioned that he is originally Palestinian.
> U.S. semiconductor firms say they have told the Trump administration not to include them in any deal that calls for Beijing to step up purchases of American goods and services. Because U.S. production costs are so high, mandatory-purchase quotas would essentially force U.S. chip makers to open new factories in China, these companies say, potentially giving China more control over their production.

That doesn't make one bit of sense to me. Once the factories are in China, their products should no longer be counted as "American goods," and purchases of them should no longer satisfy the quota. Making that quota "mandatory" should also make China relatively price insensitive, because refusing to make enough purchases due to price would mean violating the quota.
I think you're being sarcastic, but if not and for anyone who isn't aware, setting the width and height on an <img> tag (or it's associated style) will do this.
A $3k desktop for which you need to buy an external drive. At some point slavishness to the Apple brand must have a breaking point.

Not wanting to start a fanboy war but I am a big believer in the right tool for the right job at the right price. For $3k I could build a monster PC with a stunning screen.
Its probably not because they couldn't 'manage', it is likely because it was not economically interesting, they could import tips cheap enough and don't bother manufacturing their own.
Simple, the Mac. Huge bonus of being able to have it on the App Store and sell it for a couple bucks.
It would make sense to apply these optimizations to any kind of startup since presumably anticipating resource allocation ends up as a cost savings and improvement in user experience regardless of the base OS. There are plenty of Linux AMI images that are bloated and slow to start.
What about a projector?
If you build Kilo LISP using the Makefile, it will load "klsrc" and create the "klisp" image file from it. Without the image file the interpreter is not very useful!

Edit: If you cannot/will not use MAKE, just do

(load 'klsrc)
(suspend 'klisp)

After that you do not have to load klsrc any longer.
If you’re buying a “$3000” iMac you’re not buying one with a fusion drive....
Lynx :^)
Not sure if the tab search is entirely new or simply made more accessible in FF 66, but it certainly seems to make the All Tabs Helper add-on mostly obsolete for me now.
Certainly difficult, but would it be easier or harder than trying to organize a sustained global boycott of industrial fishing? Not trying to be cute, seriously--regulation would also have to be on a global scale for it to matter. I agree, something needs to be done now.