skysight-inc/HackerNews huggingface dataset:
To me, the difference between a list and an array is that an array is a fixed length allocation of memory storing multiple items of the same size. This way, to jump to the third item in the list, you just need to know the data type (or rather, how many registers a single item of that type takes up in memory) and the index. That way you can jump right to the correct memory address by just doing ```index * cell size```.

You compare this to, say, another fundamental data structure, the stack. In a stack you don't know how much memory each item takes up, so you can't just jump right to that item. Thus, the limitation is that you can only pop or push the last item on that stack. Once upon a time, stack-based languages were quite common.

A list, in contrast, is an ordered, polymorphic collection of objects which can have variable size. You can create resizable arrays by using a linked list. A resizable list would typically be implemented as an array with the last item being a pointer to the next array. I believe (but don't quote me on this), that Python uses links to increasingly large arrays so that there aren't too many links. That is, it dynamically increases how much memory to allocate to that array depending on how much data you're actually storing in that list.

A list is also polymorphic, meaning it can house multiple types of data. I sometimes hear a non-polymorphic, but resizable array called a "vector," but that's super confusing terminology. You can implement this by creating a resizable array of pointers, where each pointer points to a location in memory where the value, along with the data type, are stored. This way, all the pointers are the same size and you can jump right to that location by calculating it from the index, but you still get to have multiple value types.

The distinction is not universal, though. But in my humble opinion everyone who disagrees with me is wrong.
Anyone have experience with Boxcryptor? Haven't tried it since a few years ago (https://www.boxcryptor.com/en/)
So frustrating with Atari.. they were only a little behind the Apple Macintosh (but with color!). They almost made the IBM PC:

https://retrocomputing.stackexchange.com/questions/7135/the-...
Automobiles consume much less fuel during long-term idle periods.
Agreed. Like anything else in government or politics it depends on all sorts of things.

Even a place like NYC that did it’s annexing 100+ years ago feels the problems. When I was growing up in Queens, anyone we interfaced with in city government locally was a castoff banished to the provinces or a political idiot.

The consequences of that can be seen all over.
They're turboprops, but they're turboprops that don't have the speed limit imposed by the need to keep propeller blade tips from exceeding the speed of sound.
Fortnite is not 'here to stay', at least, not as a mainstream product. It occupies the same position in the market that Minecraft did 6 or 7 years ago for pre-teens. In time, the bulk of Fortnite players will start going to parties, having to study for exams, and trying to talk awkwardly to girls, and the userbase will fall off a cliff.
Does this tool have an advantage over using a search engine?
This really came across as a story of a personal setback, but trying to shoehorn in sexism somehow and really goes nowhere except for the "we need more women in STEM"

"Without resources and support, it’s no wonder that girls in college aren’t choosing STEM degrees."

What does that have to do with the author not doing well in math?

She then goes on to say we need to listen to girls, but at this point I think the story has gone off the rails. She didn't do well in math, took an English major instead, and isn't taking any of the free (probably women only) coding boot camps or resources already being offered to her.

She's blaming sexism and "the system" for something that it sounds like she can easily overcome and perhaps excel at.

As they always say.. you don't know until you try.

for the record, college math is what's holding me back from completing my degree. I have also been bad (very bad) at math for many years. literal anxiety over it. This isn't just a woman in STEM thing. As harsh as it might sound, this is the real world. There aren't always hand holding gender specific resources. If you want to do something, you have to take the steps to do it.
I dont think new atheism proponents like Dawkins and hitchens propose religious persecution like communists.

Looking for social change towards atheism, like a third-wave atheism is very different from imposing atheism on people.
Feliz navidad from Caguas!
Got a new job and built a mobile/web/desktop app with GraphQL, Apollo Client, TypeScript, React Native, Electron, Yarn Workspaces w/ Lerna.js for monorepo management.

Also started learning Elixir as part of Advent of Code 2018.

Been a blast and really enjoyed the challenge of building a monorepo that shared code between all the different platforms.
In the U.S. no one cares. Maybe you'll get a look in a very expensive restaurant but they'll probably do it anyway.

I've had food boxed up in a ~$100 per person restaurant before and it was completely normal for them.
Different Atari tho. Atari Inc (that made the A8 machines you link to here) and Atari Corp were two different companies. The latter headed by Jack Tramiel with a few assets purchased from the former.
We’ve made a system to encourage and enable busybodies, though. The system is this way because some people wanted it to be. I don’t think CPS is always the problem—often they’re obligated to investigate.
If you stumble upon www.java4k.com it's apparently a fake phishing copy after the original domain expired according to http://www.java-gaming.org/topics/urgent-announcement-about-...
I’d be surprised if thousands properly encapsulates it. I’ve used blender various times for like... 15 years? I think it’s a phenomenal tool. Absolutely amazing for what it can all do and the fact that it’s free. Truly is an amazing project.

But god damn I’ve never even gotten close to being comfortable using their interface. Every tutorial online seems to be flawed in some way, so that you have to look up another tutorial to find some feature. I really can’t follow the logic they use to organize things. Is there a feature where you can type the name of a function into a search and it just pops up? If so I’d probably save 80+% of my time spent in the program.
I think it may make more sense for high speed package delivery, for example between FedEx hubs. Smaller diameter, no need to keep passengers live, and possibly much higher acceleration tolerance.
Am I mistaken in thinking most of the alternatives are no better than CMOS? The chart has diagonal lines for a reason - energy times time seems like a good measure - and most of the alternative are up and/or to the right. Even CMOS-HP and CMOS-LV are near the same line but trade power for speed. The option the author seems to like is almost on that same line but in the slower/lower power area.
I'm not "limiting the entire grand sphere of music." OP brought up improvising over standards, which brings to mind the bop/post-bop/"straight-ahead" jazz world, does it not? It definitely doesn't bring up concert bands. Obviously concert bands need their music -- it's highly composed, a larger ensemble, unlike the small quartets or quintets which are the context at hand.

And yes, I'm well aware that the musical world is not "my little jazz bubble" (not mine -- read my other replies, I left that world for a reason). Sorry I somehow gave the impression that I'm some closed-minded curmudgeon. I'm actually anything but.
As an atheist Indian (Hindu family), I think ideologies can be criticized.

If you can paint Nazis and white supremacy beliefs in a broad brush, so can you criticize religions which unequivocally sentence people to hell for leaving the religion.
I'd love to see an atom package for this.
Is Dollar Cost Averaging Better Than Lump Sum Investing?
> I don't get why so many people in our generation turned into complete snowflakes with their kids (don't forget our generation is also responsible for "gender neutral parenting").

You’re ranting about the wrong target. The parent in this story trusted their children with an appropriate amount of independence. An unknown adult was the one who complained.
Quiet hosts with an unpublished v6 address are AFAIK impossible to discover in a better-than-linear-scan fashion from other networks (e.g. The Internet).
Phinx for PHP world, if your framework of choice hasn't a migration procedure for itself. Phinx is framework agnostic and allowed us being in control of DB changes for several environments and deployments, ie. several on premise production installs, etc.
Love it. Reminds me of pixel fireplace https://hammertail.itch.io/pixel-fireplace
I haven't played Fortnite, but from what I know it took a somewhat resurgant form of gameplay (battle Royale) and added some innovations to great success.

I can see Fortnite having a multi year run, but gaming is a completely different medium to a traditional 'social network'. Maybe this says something critical about social networks, mainly the fact that a successful social network must be oriented around passive consumption rather that active participation.

I'm sure folks watch Fortnite videos online and live streams, but I get the sense that a large number of folks have spent more time playing that watching. You cant really say that for most other social networks, especially when you remove 'power' users such as influencers and brand accounts.
And the United States was notorious for IP theft before them.

Fun Fact: the word Yankee is Dutch for pirate - not a coincidence.
I think you're on to something wrt to the Fermi Paradox and the Great Filter.

I sometimes wonder if it's possible at all for any species that evolved to compete for resources to survive the stage where humans are now.
You always have the ability to learn something new. The video you linked to is someone who worked in an office for over a decade, and got started making shoes in her kitchen. She didn't "get hired".
Still gives me flashbacks to the one time my hard drive got wiped by a virus[1]

1: https://en.wikipedia.org/wiki/Stoned_(computer_virus)#Flame,...
It's infinitely more approachable than Coq/PVS or whatever other theorem prover since it was designed for teaching and not a research tool or potential application to actually verifying properties of complex systems.
Thank you for what you do. Luckily (fingers crossed) I haven’t needed an Urgent Care on Christmas Day for the last few years. But I did slice open a finger two years in a row (same finger, same stupid slicing accident, I’ve grown better with knife skills) and needed stitches ASAP. I am so grateful for the professionals in the medical field that serve us even with our own stupidity. Thank you and have a happy holidays!
We're reinventing Nature anyway. When we'll have to go very tiny, green we'll have insects/animals. Except with a programmatic interface. Not sure which is best.
In early 90s, BMW had a working prototype IIRC. Something quite elaborate even though the processing power was limited. Kodak moment.
Merry Christmas from San Francisco!
Devil's Advocate (also personal experience): http://meatheals.com
Isn't it a bit presumptuous to assume everyone here is a software developer to begin with? :-)

I did switch careers this year, away from software development. I'm now working as a stagehand in the theatre.

(I'm still working on Strukt and a couple other projects in my spare time. Expect version 1.6.1 in couple days, probably.)
I'm glad that works for you, but I don't think it would have worked for me, and you shouldn't presume everyone learns the same way. I took handwritten notes extensively throughout middle school and never really got better at it. I don't have the hand coordination.

Learning to type around 8th grade was a revelatory experience, and it had a noticeable impact in my academic performance. Writing, reviewing, note taking, and even just general organization became much easier, and I thus got better at it.

I will say, dealing with math symbols on my typewriter-device was always a bit annoying, and I would sometimes write formulas from those classes on a standard notepad. I would hope that nowadays, we have better programs for dealing mathematical notation (in an easy/expedient way).
Small discussion from 2014: https://news.ycombinator.com/item?id=8387120
Raspberry Pi foundation develops technology for reproducible articles?
I'm sorry if this is a stupid question:

If I have my desktop and my laptop, both using syncthing, does one (my desktop) need to always be online for me to sync files from my other device (my laptop)?

I'd love to use something else besides Dropbox, but it's convenient that Dropbox works as the middleman that is always operating.
Have you tried the carnivore diet?
Yes, you'd have to automate the pull for this to work, and then you'd have a way to notify on conflicts so that they are resolved ASAP.

Come to think of it, Dropbox isn't really so great at the notification aspect of this either. It creates a 'conflicted' file but there is no notification that I'm aware of. I have to remind myself to periodically check for conflicts.
If Henry Ford had asked the people what they wanted, they would've asked for a better horse.
I'm not talking about the currency, but it's monetary value. As such, you can imagine australia and China trading in us dollars. Is free trade always beneficial for Australians?

If you still want to consider only usd and USA and China trade. Then usd is not just for purchasing us stuff. It is also a reserve currency that china holds.

It wasn't a question of currency at all, any wealth/money sent in a different economy is a loss to the original economy. A sizable gain in efficiency can offset that, but not every gain in free trade is of the required size, which is why tariffs should be desirable.
I think you're missing a few factors. Most critically, DARPA has some success because they have a customer (the DoD) with specific requirements and a nearly unlimited source of funding compared to any other government initiative. The Defense Department probably wastes more money each year on meandering, unfinishable snake-oil projects than has been spent on driverless car R&D by all entities in all of history.

But it's true that driverless car tech is unlikely to come out of direct government funding. Instead, that money should be going to fund quality education at all levels, and to build proven technologies that would solve many of the same problems the driverless-car pipe dream would only be an inferior version of--ie high speed rail links in the middle distance where it's a better form of transport than cars (driverless or not) and planes.
Just make sure nobody swaps out your stick :)
Nutritionists are mostly useless ; you are better off doing self-experimentation.
I have no idea why HP decided to use such a convoluted scheme to clock in the data to the nozzles. I'd say something obvious like a shift register would also have worked fine here.

They are shift registers, and the data fed to each nozzle is essentially a serial data stream, but multiple lanes are used to increase the bandwidth and allow higher printhead speeds.

The signals are not all that different from those used for driving LCDs and EPDs[1], if you step back to a higher level of abstraction and look at how they all "print" information --- there's clocks, serial data inputs, and latch signals.

This is a resistive heater "bubblejet" type printhead, the other major inkjet technology is piezoelectric which is widely encountered in Epson printers and also the majority of industrial ones due to their better robustness and ability to handle a wide range of inks. The piezoelectric heads use an even higher driving voltage (~40V) and are usually driven with a trapezoidal waveform, which can be timed with the firing pulse to obtain different drop sizes.

[1] Trademark "eInk", he also has another page on driving those: http://spritesmods.com/?art=einkdisplay
I use a cryfs mount stored in Dropbox. It's been quite painless.
Those ACSI cables are a massive pain in the ass to lay your hands on nowadays, the D-Sub connectors haven't been manufactured in the necessary size for ages.
I found this article linked to a video someone posted here: https://news.ycombinator.com/item?id=18755243

The video is also pretty interesting:
https://www.youtube.com/watch?v=RlZEeIC_2lI
This fascinating story from The New York Times -- https://www.nytimes.com/2015/08/23/opinion/sunday/dinner-and... -- dives into the daily work of a high-end waiter. The author talks about the repetition of the work, and that seems like something I'd really enjoy.
https://wwi.lib.byu.edu/index.php/Norman_Angell%27s_The_Grea...

An excerpt from a book by Norman Angell, (Nobel Peace Prize winner, lecturer, journalist and MP) in 1910 as to why wide scale war could not happen between major powers.

[War] belongs to a stage of development out of which
we have passed that the commerce and industry of a
people no longer depend upon the expansion of its
political frontiers; that a nation's political and
economic frontiers do not now necessarily coincide;
that military power is socially and economically
futile, and can have no relation to the prosperity
of the people exercising it; that it is impossible
for one nation to seize by force the wealth or trade
of another -- to enrich itself by subjugating, or
imposing its will by force on another; that in short,
war, even when victorious, can no longer achieve those
aims for which people strive.

It was a fairly widespread view at that point in time.
I'm not very experienced when it comes to such low-level networking, but I'm curious as to how they claimed all those contiguous addresses. Is there some fundamental difference between IPv4 and IPv6 that let's you do this?
Ubuntu's installer for a long while set up an "encrypted home directory" using eCryptFS, i.e., file-level encryption on top of ext4. That's the thing Dropbox is finding painful to support.

Migrating away from that to block-level "full disk" encryption basically requires copying all your files. If you're using <50% of your disk and you feel comfortable doing tricks with partition resizing you can do it, otherwise the best approach is to back up your files (hopefully to encrypted media...) and restore them.
In my view Rust 2018 showed how a modern (especially strongly typed) language should evolve. The fact that interoperability with Scala 2 as a feature request wasn't accepted means that it's better not to build upon Scala anything with long lasting value.
Designing web page layouts for screen readers
I switched from Enpass to Bitwarden because Enpass isn't open source. Enpass is easier to setup with dropbox though, only thing I miss about that.
It's potentially misleading phrasing. "Unencrypted ext4" means that the filesystem Dropbox sees has to be actual ext4, not an encryption layer on top. There can be an encryption layer under it, and generally full-disk encryption works that way, by encrypting a block device and letting you run whatever filesystem you want on top.

"Unencrypted or decrypted ext4" might be slightly more accurate (although I guess it maybe sounds like you need to remove encryption, not that you just need to decrypt files in memory).
FFS is there nothing this administration won't vandalise?
That's a quite a hyperbolic statement.

Incidentally, while in general the very small breaking changes in Rust 2018 were handled just fine, it caused quite a bit of macro breakage as well, with libraries needing to change code in order to be compatible with the 2018 edition.
WoW was not as widespread as fortnite is. A lot of spotsman and celebrities are streaming it making it more widespread than other games ever were. Plus the existence of twitch...
It can only sync data between devices that are operating of course. But if you have three devices A,B,C then it can also sync A-B and later sync B-C, or sync A-C directly if both are running.
NTP ?
I watched Bartosz Milewski's videos
https://m.youtube.com/playlist?list=PLbgaMIhjbmEnaH_LTkxLI7F...

The pdf generated from his blog is also interesting :

https://github.com/hmemcpy/milewski-ctfp-pdf

These are the best resources I found about the subject.
What's with articles relating to social issues in the US getting flagged but not Chinese ones? Chinese lives matter but black lives don't?
I didn't understand this either. What would it mean for a human measurement to be transitive or monotonic? Maybe there is a good definition for these but it's not obvious to me.
I think that most adults underestimate the intelligence of kids due to their own narcissistic ego injury. Kid's are incredibly capable and smart if you give them the opportunity to grow.

My dad started teaching me C/C++ and basic electronics when I was 7-8, and I got my ham radio license when I was 9.

The idea that you need to be 12 to understand that you should run away from creepy strangers is hilarious and scary as fuck. These helicopter parents are dangerously kneecapping their kids right from the start :\
Loneliness and isolation as bad for health as chronic diseases
Didn't we always know macros were going to be a problem? For the same reasons the API never progressed beyond experimental in Scala 2.
I see, I didn't know about that, so sorry for what I wrote. I'd rather take it back, but I can't :)
Webcomponents were invented to do this. You just need a polyfill for now.
I suspect there is a strain of anti-Chinese sentiments here. When you see articles relating to black social issues, they immediately get flagged, but articles like these always get through.
It's still a staggering amount compared to any marginal increase in tax.
Show HN: CoolBeans, an IDE distribution
This was originally submitted with a title something like "Mental Models the DuckDuckGo founder finds useful", and the mods have apparently changed it to the title on Medium.

I think that in instances like this, who "I" is is important context to HN readers scrolling through the front page. Perhaps it would be better to do the brackets thing editors do when clarifying something in a quote:

"Mental Models I [the founder of DuckDuckGo] Find Repeatedly Useful"
The title is sensationalist click bait.

The link represents Scala Center meeting notes, in which migration challenges were discussed. Scala 3 isn’t released yet, nobody is using it, so discussions on strategy and what’s left to be done is only natural.

Note that Scala 3 will preserve binary compatibility for compiled binaries, meaning that Scala 2.x binaries will be usable from Scala 3. This is quite the feat, because Scala 3 has pretty major changes.

Also all library authors hate macros, because they expose the unsanitized compiler internals. We still used macros, being a necessary evil, but it’s great that Scala 3 has cleaner alternatives.
I played Eve Online (way too much) a decade ago and there developed some friendships that are as real as any I've ever had.

Fortnite I've only played with my son, for an hour or two a week. Sometimes a friend or two of his will join us but usually its just the two of us. Its been pretty cool to share this, but I'm a little skeptical that overall its really representing something new. Yes, maybe its more mainstream, but it is also much more limited than other environments, because you can only have four people in your party. What if your buddy group is five or six? There is really no practical way to play together.
It’s interesting to me in that it gets people together as a product of a combined interest rather than just united in over-sharing.

That said I feel like most game based social networks seem more transitory than the purely “social” networks. Not out of any inherent inferiority but more just as a product of the general nature of games
Nike's first self-lacing basketball shoes go on sale in 2019 for $350
For those geowalled: https://outline.com/dp7dyU

This is the actual study: https://genomebiology.biomedcentral.com/articles/10.1186/s13...