skysight-inc/HackerNews huggingface dataset:
Hi, I assume you're the writer or at least work at Dropbox.

Just want to let you know (as I mentioned somewhere): this blog link doesn't load at all if I click from here (i.e. with the refer of news.ycombinator.com).
Another good example are the javascript microcontroller boards. Because of the event-loop model of the Js engine, they can simply see there's no code to run and shift into power saving modes without the dev having to do anything special.

example: https://www.espruino.com/Power+Consumption
thanks! at least something...
I hear they have plenty of vacancies at the NHS, perhaps the bankers can pivot ...
You could use two independent dns providers for the same domain (i call it inverse split horizon). I am a proponent of dns service discovery (using NAPTR and SRV records) so that by going to e.g. www.github.com, the dns provides a list of servers, and the final server would be your debug site (kind of like how there are MX records with different priorities, except naptr/srv is service agnostic).
Microsoft was never Linux's best friend. But now, it's becoming one
I think killing a political dissident in another country that’s not actively at war is considered a bit beyond the pale by most democracies, doubly so if you’re putatively on good terms with them.

Mossad, alternatively: https://en.m.wikipedia.org/wiki/Assassination_of_Mahmoud_Al-... — although the victim was far from either a dissident or turncoat.
While interesting, I think an equally relevant question is retention rates.

When I was taking my BS the freshman class was packed. While the failure rate was probably on par with this report, many more of the students dropped CS not because of grades and I never saw them again.

Whether it was out of lack of interest or because it wasn't what they through it was (all I wanted to do was build a cooler Halo game) would have been interesting to know.

The effect was even more pronounced after Sophomore year.
I suspect Data Structures and Algorithms, which I loved, but could be difficult to digest and may have disillusioned people with that CS or SE actually was.
I was suspecting as much. I wonder why NTFS gets so much praise, especially compared to HFS+. Yes, HFS has less features, but at least it lets me get my work done.
https://www.newsecuritybeat.org/2013/08/demographic-transiti...

> fertility decline in Africa has generally proceeded more slowly than in other parts of the world, with several cases of “stalls” and even small fertility increases over time

https://openknowledge.worldbank.org/bitstream/handle/10986/2...

> While this study looks at lessons from East Asia, Latin America, and the Middle East, Sub-Saharan Africa currently exhibits two unique demographic characteristics. First, it is the only region in the world that is still at a very early stage of the demographic transition. As such, it can learn from other regions that have gone through the same journey to ensure that demographic change paves the way to deeper and more sustainable prosperity. As this book points out, this path is neither easy nor automatic. Success requires actions in differ- ent policy realms that are time-coordinated, adapted to the current level of the demographic transition, and results-driven.
The second unique characteristic of the region’s demographic picture is its heterogeneity. While a small number of countries are far along the transition, with fertility rates that are below replacement levels, many others are exhibit- ing surprising delays in the transition in the last 10 years. Some countries are showing very little movement along the natural transition and are stuck at very high fertility rates. These large differences argue for differentiated policies that target different sectors and processes. They also argue for country to country learning and knowledge sharing.
> Why do I need node for this code?

The next paragraph of the comment you replied to answers that — you don’t, you can use https://ballercat.github.io/walt/ in your browser.
Or possibly noone did a study of sufficient size that passed peer review.

It's also not hard to make the pay gap 1-2% just like it's not hard to make it 25% (both values are valid). Statistics is a fun field. Don't trust statistics you didn't fake yourself.

Amazon could easily cook the numbers to get to 1-2%, I doubt anyone checked the process of determining that number if it's unbiased and fair and accounts for other factors or not.
I don't see how regular pointers don't solve the problem with non-tree-like data structures in general. In C++, for the most part, for a cyclical or back-linking data structure, you'd just do that, and then have a single "real owner" of the whole thing that knows how tear it down; and that one gets an owning reference. The class of problems that can't be solved in this manner is substantially smaller than the class of problem that can't be solved with tree-like structures only.

Anyway, the point still stands: this is bypassing the borrow checker, because something cannot be adequately handled by it. And by doing that, you're back to square one with all the problems that the borrow checker was supposed to solve.
Interesting, because in my experience people use Java/C, Node/C, Swift/Objective-C, Python/C, Ruby/C... rarely do I encounter anyone using C++ as an extension language (I encounter Rust being used more often than C++, in fact, but perhaps that's an artifact of the circles I'm in).

As for C++ adding more static analysis, its lifetime analysis is a nice-to-have, but doesn't compare to Rust's borrow checker. You simply can't tack on a sound borrow checker to C++, because the language wasn't designed to accommodate one, and trying to impose the concomitant rules regarding mutability, aliasing, and single-ownership would break every C++ program ever written. For anyone who prioritizes sound static analysis WRT lifetime verification, C++ isn't a competitor to Rust. And there are plenty of people for whom that isn't the case, and they will continue to use C++, and that's not a problem. Rust exists to provide an alternative systems language for people who favor memory safety, and it's pretty good at that. :)
Because different runtimes support different features and performance (like dealing with files and disk access) but I already posted the link for the browser version in that comment.
Karma | Chennai | ONSITE | Full-time | https://mykarmaapp.com
Karma is a Live Trivia game show where more than thousands of people gather every day to play the game show live and win a cash prize. Karma combines some of the winning formulas of traditional TV quiz shows – an energetic presenter and scheduled programming at the same time every day – with the fast-paced interactivity of a mobile game. Altogether, the Online Game Show will be a Mix of Entertainment, Skill, and Creativity. Every viewer becomes a contestant, competing for a cash prize.

We are looking for a team of passionate Engineers in various fields to join our engineering team and help build, scale the Live game show which is played by thousands of people across the world.

Here are our open roles:

- Software Engineer - iOS: https://angel.co/karma-20/jobs/377418-software-engineer-ios

- Software Engineer - Android: https://angel.co/karma-20/jobs/377423-software-engineer-andr...

Tech Stack: iOS: Swift, Coredata. Android: Java, MaterialDesign, Retrofit, Glide

Apply directly or mail me your resumes to om[at]mykarmaapp[dot]com
Fortnite Season 6 Hits the Shelves with New Cross-Play Features
I even don't see how it is better.

ID,Name,Capital,Area,Tags
bc,British Columbia,Victoria,922509,en|western canada

vs

###########################
# Oh, Canada! 10 provinces and 3 territories
#
# see en.wikipedia.org/wiki/Provinces_and_territories_of_Canada
#
# note: key is two-letter canadian postal code
#
# for regions tags see
# en.wikipedia.org/wiki/List_of_regions_of_Canada

bc, British Columbia, Victoria, 922 509 km², en|western canada

In 1.1 I don't see what is what - what is `bc`? What is `en|western canada`? In vanilla CSV you can clearly see what is what because it shows you on top.

Why not just write a CSV formatter?
Sorry, I edited the post later.
> using drones to plant 1 billion trees?

sigh, more tech. Personally I think humans owe a debt of a little elbow grease here and sitting on the sidelines with a remote control seems a bit soulless and detached. Dirt under your fingernails will teach you a lot.

> a country largely devoid of trees.

Forests need to bootstrap entire ecosystems, a process that can take thousands of years. It'd be like trying to load an OS off an encrypted DVD into RAM and just jumping to it. It needs to be booted in the right way.

(https://www.nytimes.com/interactive/2017/10/20/climate/icela...)
All of it works flawlessly as long as you run only Intel/Amd. The moment you go to nvidia(which unfortunately has a near monopoly on laptops) is the moment you start paying with performance on nouveau or major features (wayland) and battery on proprietary driver. And this is before we even get to optimus and prime.

Yes, there are solutions for these problems but you need to be technical for them.
I find that google translator does very well when the text to be translated has no spelling errors and is grammatically correct. Add any errors, and it falls to pieces, even though a human reader doesn't have any issues with it.
China’s population isn’t stable. Every single Han majority state has below replacement fertility, Singapore, Taiwan, Hong King, Macau and China proper.

The post WW2 history of Taiwan strongly suggests that the one child policy was unnecessary. It was brutal, evil and unnecessary.
The Jevons Paradox is an extreme form of the rebound effect[0]. More normally, we expect efficiency gains to be only partly offset by changes in behaviour.

As an anecdotal example, we replaced one 60w incandescent bulb in our bathroom with 4 x 5w LED spotlight bulbs. This is both an increase in light, and a reduction in energy usage, even though it doesn't reflect the full efficiency gains of the LEDs.

https://en.wikipedia.org/wiki/Rebound_effect_(conservation)
CGP Grey – Coffee: The Greatest Addiction Ever
Hi,

Any pointers on how to do that?
In the UK at least, selling at a loss in order to drive out competitors is prohibited by competition law
Wait till they make a airborne version of it - this is basically the greenfly
You could use an ntfs junction then nothing has to understand the settings.
Just be aware that various downstream dev tools like profilers don't support this very well yet
that's good to know! thanks for this information.
People definitely buy more and bigger TVs if their cost of operation is cheaper. They also buy more power-hungry phones – energy efficiency increases in general haven’t turned into energy savings! More efficient use of energy also simply makes people have less incentives to conserve it (switching off lights and appliances when not used, turning down heating/AC, driving less, and so on).
Mint isn't great on high-dpi displays, KDE is probably best for that but has other issues.
> advocating Rust's way i.e. not using pointers at all

I'm not sure where anyone could have gotten this impression, because 99.99999% of Rust code uses pointers (via references, which are statically verified and compile down to raw pointers). Even the people making graphs out of indices will be using references in some capacity.
I'm using paredit, so I'm never typing out closing parentheses. I'm just slurping and barfing s-expressions all over the place. I don't see parentheses but syntax units that my editor ensures remain correct.

(I can understand the frustration if I was forced not to use Emacs, which has s-expression navigation commands, and if the use of paredit were forbidden.)
libtlscpp:A C++ encapsulation of libtls
The 46 countries sent a delegation to participate in the Korean international wa
I didn't expect that from a dev of the "secure by default" OS.

Also, the main offenders aren't the small players, we're talking about the top 1 million. Sure any lambda person could use http if they wanted - but would they make it to the top 1 million?

Is the top 1 million so low a bar that it also contains one-person-orchestra that have no idea how to handle their site?...
If you are moving everything from Google you should really not be using Android. There is absolutely no point in your case.

That is unless you will be using Google-Less android. Tutanota and FairMail are OK.
If you have a tree then your data necessarily isn't cyclic or self-referential, in which case you likely won't have any problem using references.
We could use a logarithmic scale instead of percentages. If we defined a decibel scale for time then this would be a 2.83 dB change both ways (if we defined dB-sec as 10*log10(time/(1 sec)) ).
It's a business joke not a developer joke.
In our branch we have tiny windows desktop boxes (20x20x3cm), they cost below 300 USD to buy. Our corporation has around 100,000 of those around the world. Good enough for any office work you will ever need. We devs are forced to use them too, and they are OKish with 16gb RAM. I've seen these kind of computers in every single employer I ever worked for in last 15 years, corporate or tiny. There are 100s of millions of similar computers in offices around the world.

What does Apple have that's cheaper? To save 535$ they would have to pay us to take them.

Topic might be different for high-end notebooks, especially with some sweet corporate deals. That's NOT the bulk of computers used for office work around the world. Cherry-picking some specific relatively marginal scenario doesn't affect the big numbers.
How to Edit Shopify Quantity
Not in the situation of the author but I can sympathise a lot with the desire to just be free of interruptions from the thing you want to concentrate on now. To be interrupted constantly stops you ever going deep on what you want to concentrate on.
He states people using typescript count as people using javascript. If that is true people writing python or c++ are writing ASM
Requiring a library is only really a big deal in the C/C++ world though. Everywhere else it's trivial, and most projects will depend on some foundational libraries.

That's pretty different to static analysis tools which most likely won't always work.
Well yes... unless you realize that ours is a fashion-driven industry, where technical choices are not made based on technical merits but via a popularity contest. From a practical standpoint, complaining about propagation of bad choices is absolutely defensible.

Or, to put in another way: today you don't complain about crap tech pushing out good tech, tomorrow half of the jobs in your field require you work with the crap tech.
Ada's integer subtypes are newtypes, but you don't need integer subtypes to have newtypes. Furthermore, newtypes are applicable to more than just integers; e.g. one might newtype String to represent an HTTP header.
Hmm. I'm skeptical that those 'computer illiterate' people don't have a computer literate person providing them with support that's key to enabling that situation.

I've had Ubuntu running on a few cheap desktop machines for some years now used for light duties in a few living spaces. So far we're at 100% failure rate on version upgrades: Both LTR release upgrades have bricked both the machines.

When they switched the window manager on one of the recent ones, the UI simply died and the simplest resolution was to just re-install the OS from scratch.

Steady state, with apps installed and running and only doing basic patching via the GUI, Ubuntu is 'operable' by avg. Joe. But app installs and beyond are fraught with problems.
In SQL, foreign keys are semantically closer to references in many ways, not least because deleting a row doesn't change the keys of other rows. So it's not really an index - it's just a row ID. And then with ON DELETE you can make it safe in a sense of not having dangling references (because it'd either block deletion if such were to appear, or cascade to remove all rows that have them). Still a bit closer to raw pointers in that you can treat it as a raw number and point at some random rows this way. But still.

In BASIC, yeah, you pretty much had to use indices. And it was very much not fun! BASIC was actually the first thing I remembered in the context of this discussion, because I wrote a lot of that kind of code.

The other thing that it reminded me of is J2ME. People used indices into arrays of primitives there to avoid GC, because it was not really practical given the memory constraints of your average phone back then.
I'm saying the current techniques will only take us so far and they break down in hilarious ways when they reach these edge cases.

My point is to reach true parity with human capabilities machine translation needs to reach the point where it can also recognize "I can't translate that" instead of always trying to spit out an answer and returning hilarious garbage in such situations.

Another behavior I would expect to see is sometimes returning multiple possible results. This is common when a translator doesn't know the exact context but can imagine the range of possible contexts in which an utterance can occur and conveys them all in order to get the message across.

Currently I don't see anyone trying to take this approach. It's all simple one string in gives one string out.
I wonder if Microsoft is able to cancel the installation of already downloaded updates - if not, something like this might happen if the erroneous update was already downloaded in the background earlier. I think the default setting is that updates will be downloaded automatically and then installed later whenever the system decides there is a suitable period of "inactive time".
That's not really an equivalent example because there isn't an alternative to electricity where as there is an alternative to driving petrol powered vehicles (electric vehicles, public transport, car share, bicycle, walk, etc).

I also don't appreciate your "Maybe by that logic we should allow coal-fired boilers again?" comment when I was very clear in my post - the one you're directly replying to - that we should be focusing on greener forms of electricity creation and energy consumption. If that does also drive up electricity prices then so be it. However artificially increasing electricity prices and expecting the market to do the honourable thing seems like you're trying to solve the problem by changing the end variable rather than fixing the root cause itself and letting market prices adjust accordingly.
If you want to troll you should be more subtle about it. Or at least have the courage to use your main account rather than a throwaway
You think that's bad? I'm using Linux at work on a laptop specifically designed for Linux and it's been a nightmare to get even basic functions to work right. The computer immediately resumes after going to sleep, it took several days to get hibernation working, the nvidia driver keeps locking up the system, external monitors aren't automatically detected, after an apt upgrade, hibernation stops working because my EFI loader file gets overwritten and I can't figure out from where, I managed to completely break X after trying to get Optimus (GPU switching) to work, applications written in different GUI frameworks (QT, GTK) use different themes and even different mouse cursors, applets don't always show up, bluetooth crashes randomly, and the list goes on.

Windows has annoyances, but Linux is like building a car in a garage full of car parts. Yes, you can build a working car, but you better be a mechanic.
I can't wait until more of us can come to the simple conclusion that maybe "phones aren't for everybody, ...all the time"

That way some of us can still appreciate the pros of this technology and those that are more concerned with the cons can adjust with their communication habits among family and friends accordingly.
The Best Portable Projector
At this point you're basically writing a garbage collector. Which you might as well do with raw pointers, if it's a part of the language, and it will be more efficient.
> the US may have a way to put up a bunch more satellites quickly.

That would require a stockpile of both satellites and launchers.

I've never heard of a stockpile of GPS satellites, and they take years to build. But even assuming that there are a few at the ready, what will launch them? I'm hard-pressed to think of many orbital solid rockets, and those that do come to mind (such as Shavit) are way too harsh to launch an atomic clock, not to mention not having the payload capacity to MEO. The liquids are gentler, but are far from launch-ready and much more constrained for launch locations and orbital inclinations.
These Are the Best Countries to Live and Work in – And to Boost Your Salary
How and when do I carve out time to read distraction free?
How do you measure power consumption on a Mac? I'm using a 15" 2015 MBP with ~4h battery life, even when the battery was new. I'd like to see how the upgrade affects this.
Literally the paragraph below your quote:

> Yet Mr Roberts does not gloss over the many examples of terrible judgment that littered Churchill’s career before (and even after) becoming prime minister, errors which created a widespread perception that, while brilliant, energetic and matchlessly eloquent, he was also unreliable, excessively passionate, even dangerous. The charge sheet is long: his opposition to votes for women (later regretted); as First Lord of the Admiralty during the first world war, pressing on with the Dardanelles operation long after it should have been abandoned; sending the brutal Black and Tans into Ireland as war secretary; re-joining the Gold Standard as chancellor of the exchequer in the 1920s; backing the awful Edward VIII during the abdication crisis (also later regretted); vainly resisting Indian self-government (Churchill held conventional Victorian views about the superiority and obligations of the “white races” that he never truly recanted). And so on.

So I'd say yes, it does address it.
The density improvements from 5nm absolutely matter and that comes from being smaller. If I can fit the functionality from two chips on one chip I save significant space on my board. Especially if the size of my chip is defined by the beachfront available for escaping IO. Not to mention all the supporting components required for each chip. And with half the chip turned off I can finally handle the power/heat issues.
It's not a JavaScript imitation. This is a JavaScript-like syntax for writing WebAssembly. Other than that, (excepting the closure helper) it's 1-to-1 WebAssembly.

Not everyone enjoys writing verbose S-Expressions [1], even if it makes for a good canonical format.

If you despise JavaScript so much that you can't bear the thought of something that vaguely looks like JavaScript, then don't worry there are other "skins" for writing WebAssembly [2-4] and it should not be too hard to write your own.

Finally, nobody owns WebAssembly. It's for clever people like yourself just as much as it is for dirty JavaScript programmers like me.

[1] https://developer.mozilla.org/en-US/docs/WebAssembly/Text_fo...

[2] https://github.com/tmcw/wah

[3] https://github.com/serprex/luwa

[4] https://medium.com/cirru-project/webassembly-s-expression-an...
Technically they are calling it "OneCore" now
Nasa crew is returning to Earth in a ballistic descent after issue with booster