skysight-inc/HackerNews huggingface dataset:
Lots of computers did garbage collection in the seventies and eighties.

Commodore VIC-20 with 4kB of RAM is not far off the mark, for example, but AFAIK the BASIC could handle strings and DIM declared 1D/2D arrays.

Ok, it was not mark and sweep, but the difference isn't much.

Linearly scanning heap is fast when you have just 2 kB of RAM.

When the heap is compacted, next object can be allocated after the last address. If there's not enough room after last address, just scan until a large enough deleted area is found. If even that fails just compact the heap.

To save memory, each the first byte of allocation should be sufficient metadata for most allocations.

For example, values 1-126 could be reserved for object length. The highest bit can used for MARK bit. 127 could mean object is longer than 127 bytes.

0 could mean deleted, next byte contains original length, so that it's possible to scan forward past deleted objects.

So scan through all heap objects, setting MARK to 0. Mark the reachable objects. Scan again, delete all unmarked objects.

Of course updating all the references to objects that moved due to compacting will be slow, but it's just 2 kB one needs to scan. If that is too inefficient, one can always maintain a handle mapping instead of direct references at cost of some RAM.
Haha indeed!

My position is this: different programming languages have different strengths and weaknesses. C++ is crazy fast, but it lacks many high-level features (most notably do-notation). Efficiency and performance are its niche. Conversely, F# (or any ML) is very good at expressing complex control flow, but performance is a secondary concern.

Package management is an IO-bound SAT problem, so we are using the best tools for the job.
the funny thing is that gcc was pretty easy to extend before the eggs split. unfortunately, it was also pretty stagnant and nowhere near as good of a compiler suite as it is today.
Yep, the plethora of out-of-date resources is what I'd place as the main issue with PHP today. I usually steer people to use the Laravel framework since it makes it difficult to write bad/dangerous code.
overall it sounds like a positive development in that Lopez Obrador is actually eliminating much of the illegal fuel pipeline tapping. if legally purchased fuel increases the cost of exported avocados, so be it. IMHO, the global consumer loves avocados and will pay more for them if necessary.
Time is money — which means you can buy time (i.e. shorter development cycles) with money. Sure, you can putter along with something and possibly make it big eventually, but having money allows you to accelerate that process dramatically. Being a first mover can mean the difference between dominating a market and being completely shut out of it.
Welcome to the “Gorilla Age of Comics” (2002)
I feel like I don't have the background to fully understand what you're saying. Could you explain this in a more lay way?

> X and Y are noisy correlating variables
Magnetic north pole is changing faster than forecast
I email myself with the idea.
My compulsion to keep inbox zero then forces me regularly notice it after some time. After a while, if I'ms till excited about it or it makes sense I tackle it, otherwise delete.
Depends on what you mean by physically proven. An ideal memristor is physically impossible but devices whose behavior is dominated by its memristance function over an operating range are currently available for purchase. I would say that constitutes a practical memristor.

HP Memristors are suspended nano-wires surrounded by a floating ring of titanium oxide insulator forming a coaxial line whose impedance/resistance is a function of the cross section of the oxide ring. Current causes the ring compress or stretch giving a memristance function of roughly a parabola which saturates when the oxide is fully stretched or compressed. Last I looked, there are a lot of legal battles currently ongoing and patent litigation involving HP and memristors which is tying the technology up.

Other Memristors commonly work by dendrite formation along electric fields but this method is pretty dang slow. Charge trapping semi-conductor junctions have been proposed but I haven't seen any myself.

This new memristor from U of M works by controlling Lithium diffusion via an electric field. The amount of Lithium available controls the formation of lattice networks in the substrate which in turn controls the conductivity of the material.
Very interesting tables! I'm not sure what you mean by "Speeding rural areas kill!" but the relevant table shows that the same proportion of deaths are speeding related in rural and urban locations.
Additionally, the particular mix of attributes you bring up (few and far between options for huge near-term growth) heavily incentivizes exploiting weaknesses in laws and/or outright violation of laws, because one of the only formulaic ways to displace entrenched incumbent businesses is to look at where they are forced to operate inefficiently due to obeying laws and then undercut them by operating more efficiently and skirting / violating those laws.

If you take a premise that society is better off most of the time if the business is less efficient but the law is obeyed, then it makes the whole concept of modern VC-backed startup businesses generally a destructive endeavor on society.

Obviously not in every individual case, but overall and pretty consistently in the largest growth start-ups.
Working for an email marketing company you will aknowledge that something like "email marketing" exists. So there is a way to do this right.
Maybe I haven't read TFA closely enough, but I didn't see him mentioning scraping or buying the emails. Maybe that was implied by the number IDK.
Initially I just replied to a comment mentioning 4% signup rate and categorizing that as spam, while I thought that rate looks actually quite good. It kind of escalated from there :)
That’s interesting. Most pilots I speak with who fly both prefer the 757. It’s over powered and just really performs according to what I’ve been told.
Show HN: Build basic API in seconds
This is in stark contrast to the evidence of the article.

That some folks from older generations did this, I can accept. But you will need more data than this to counter the facts presented in the article, no?
Same author has Ode to 757, http://www.askthepilot.com/757-v-737/, and is not a fan of 737. He talks about how Boeing is working on replacemenT to 757 and suggests upgraded 767.
Yeah, it was definitely a long slow decline. I prefer not to let facts get in the way of my jokes though.

IIRC they got pwned pretty good by the Russian winter (well, the post-winter mud season) at some point in the 1500s(?) though.
It's important to realize that algorithms which scale very well on high performance and distributed systems are frequently not the best algorithms to use in an embedded system. For example scanning an array for each lookup instead of using a hash is usually good enough when your array size is relatively small(10 items to several-thousand). And it can mean the difference between spending a week or two coding a hash map versus solving the really important problem of building whatever product you need to build.

Embedded programming is all about forgetting all the really complicated algorithms you might have learned in school, because they usually don't matter, and when they do it's more important to be able to gather performance data than it is to do something fancy.

Traditional concurrency is still a very real concern because DMA engines, specialized coprocessors like the TI N2HET, and offload engines like modern audio codecs all have their own internal firmware that your system must interact with. Even getting the system to boot and to transition to low power states requires you to understand clock trees, clock gating, power supply states, and how to interact with any PMICs. Getting a real-time clock working is a similar story.

Raspberry Pis are good for dipping your feet into a Linux system that uses a specialized bootloader, but if you want to do anything truly embedded you're going to have to go deeper than that and work with a system like the PIC32 or even the RTUs on the Beaglebone Black.

If you're not using a JTAG at least occasionally then you're probably not close enough to the hardware to be considered "embedded."
As much as I would love to have the protections offered by GDPR, I doubt it would even make it past a committee vote. Telecom/technology lobbyists would exert maximum pressure on legislators in order the proposal to die. There's far too much money to be made in trafficking user data.
Are you talking about directives in the E.U.? Or the law of a specific E.U. country?

It doesn't seem to be like this in the US. If you look at laws in the US, they try to define every word and every situation with a lot of cases. Vagueness seems to be avoided, and I'd say it actually doesn't seem too unfamiliar to programmers if used to the jargon
> You don't build great things by raising money, you build great things by building them.

Maybe not...but you might latest hardware, fancy offices, etc without risking a dime. Not a bad proposition :-)
>English is pretty easy due to the insane amounts of English media we consume.

As an American, I've been studying German for about 15 years, but although I've never officially studied Spanish, I speak and understand casual Spanish better then I do German. I wouldn't be able to read a Spanish novel like I can in German, but I can understand Spanish speakers and text message Spanish speakers far better than I can in German. All of this is from picking up the language through media, listening to Spanish speakers in my town, and hearing some of my wife's family speaking Spanish to each other.

German, on the other hand, is very difficult for me to encounter on the street and nearly as difficult to find cultural material to consume (Amazon carries German-language Harry Potter, 50 Shades of Grey, and that's about it).

There is a lot to be said about passively learning a language just from hearing it constantly.
You can try Stackdriver (owned by Google Cloud, but has AWS integration). Stackdriver allows you to aggregate multiple distinct metrics into one timeline, and you can set alerts on the aggregate, etc.
I love seeing Oni mentioned in discussions about Bungie. It's always held a special place in my heart.

Did you ever check out the Anniversary Edition mod? It's a massive community-made enhancement to the base game that adds a ton of fixes alongside a really dope mod framework. The reason I bring this up is because it allows for stuff like Oni Team Arena[0], a fake multiplayer mode that lets you basically play team deathmatch with bots. It's super fun and when I first played it, it breathed a whole new life into the game for me.

[0]: https://wiki.oni2.net/AE:OTA
BEST HACKING FORUM
I am a witness to the good job of a true hacker. Contact :( guruhacks007 at gmail dot com ) If you need to hack into any database, delete record, improve credit score or deletion of bad credit report, spy on whatsapp, text, phone, emails, University portal/power school as long as it's hack contact guruhacks007 at gmail dot com they are great, you won't be disappointed, cheap and fast, less than 24 hours.

www.guruhacks007.com
WhatsApp: +1847-497-0407
Map of all the submarine cables worldwide
Drat, and here I was hoping to get it running on an unexpanded 16K Speccy...
Why not Scala? That's a very similar language to F#, and JVM interop would let you do a gradual migration.
> Except for the journal. It is effectively required by systemd (the pid 1 binary). In the vast majority of cases, that means running systemd-journald.

man systemd
...
--log-target=
Set log target. Argument must be one of console, journal, kmsg, journal-or-kmsg, null.

you can log to kmsg -- the messages won't be lost.

> Every attempt I have seen at operating without it either misses early logs or is extremely fragile/unsupported.

I am not surprised -- this was one of many annoying parts of sysvinit, the missing early userspace logs. This was one of the many annoying parts. Gentoo used to have a hacky way that scraped screen buffer (!) but I think it broke at some point[1].

> That is incorrect. It also interacts with the journal, the component implicated in the exploit in the article.

Fair enough, I oversimplified. It also interacts with udev, systemctl, and does cronjob handling and network interface renaming.

[1] I just checked Gentoo's website now and looks like they have a better way now due to OpenRC.
I find strange you can't down-vote a link on Google, it should exist and Google should take it into account specially for technical links (less so for opinions articles or anything political)
Magic Square Program
If you think we knew all there is to know about maximizing the performance of the human body 10,000 years ago, why do we keep running a faster mile, jumping a longer jump, lifting a heavier weight, etc.?

The truth is that there is an incredible amount of hard science which is actively expanding our knowledge of how to best train the human body and push the limits of performance, endurance, and strength.

While it is obviously true that scientific advances at the “high end” are showing quantifiable results, it’s harder to ascertain whether the everyman/woman is benefitting, because of so many confounding factors in culture, lifestyle and such. Otherwise we would all be walking around like Greek gods/goddesses with our newfound knowledge.

It was that long ago that weight lifting was shunned by athletes because “bulking up” was thought to lower performance.

Pretty much everything in a modern gym was designed to allow more efficient or lower impact training of any particular body part or system.

If what you’re saying is that we haven’t found a magic pill to bypass the physics of metabolism and muscle growth, certainly this is true. But there’s a lot more out there than just trying to find fancy new packaging, marketing, or gimmicks to sell to people.
> What does that mean for founders? It means that you are putting all your eggs into one basket.

> What does that mean for startup employees? Well, they got the worst of all worlds. High risk and little to no upside. Their eggs are also in one basket as they work for only one company AND they don't have the huge upsides that VCs and founders have

Presumably both of them get paid for their efforts...not entirely worthless
The counter argument is obvious (but hated by marketing department).

If people loves their adds so much, just let them opt-in.

It should almost bring the server down from people pressing the "give me adds" button if you are to believe how much people wants this :)
I didn't say BART would be the best solution.

I merely pointed out that the train would be preferable to the bus, and outlined the 2 trains, one of which is not an option.
Sheer amount you make means nothing as your expenses may also be higher. If you live where you are the 2% while making 50k then you would feel it. Otherwise it's dry statistics.
I know security is hard and i like to skirt it sometimes as well, but i still think it should be pointed out that a fingerprint should not be used as a password for security critical data. Its at best a username, as you can't change it and a motivated person can trivially steal it.

Not trying to discourage you from using it like that. Its perfectly fine as long as you realize that the fingerprint is only secure against random people on the street or just not very competent attackers... which is fine and is probably enough for most scenarios!

but now on the topic itself... the windows subsystem for linux is perfectly fine for a lot of things, there are quite a few issues however. All files accessible from windows will have 777 for example, there are a few applications that have issues with that. daemons exit as soon as the last terminal closes is another thing many people have to stumble upon.

and ymmv on the issues you mentioned. everything you mentioned is completely uninteresting to me, personally. a good window manager such as i3wm offsets pretty much every shiny-ness windows 10 has for any development purposes.

i do use windows for anything else though. (and am sadly forced to use it at work as well)
Tiddlywiki!
wouldn't any other regulatory body be able to ask that data to check, for example, if they are doing _anything illegal_ with that data?

For example, can't you check for all data to verify that the business is not doing anything with forbidden individuals or countries? (think OFAC)

I don't think GDPR allows anything more than any other law.
We wanted to make significant changes, so a gradual migration would not have been possible regardless of language. Regarding Scala vs F#, I do not know enough Scala to comment. Perhaps someone else can weigh in?
Nice job. I would suggest all PHP devs spend some time with https://phptherightway.com. Your resource looks to be a great starting point.
The original article points out that it's all possible "Tou Hum Fem Neu" (female neutral human tourists). You have lots of other choices when you start a NetHack game. :-)
Why would they care about you or your team? It is an investment, not a social service.
I appreciate your statistics but I'm not quite sure how they are related to our discussion.

Most of the kids in NY state are living under the care and support of their parents and aren't working, therefore they shouldn't even be a factor in population/labor force participation metric.

Additionally, many of the old people who aren't working shouldn't be factored in either because they are receiving quite high pensions to live from, as well as social security.

When you factor this in, my initial ratios still stand. Out of the 325m people living in the USA, 45% are working (145m). When subtracting the 30% of Americans who are retired or under the care of parents, you are removing 100m people.

Therefore, as you say, the "prime age" labor force participation rate is 65% (145m/225m).

Applying this ratio to my original numbers, 45.5 million people are laborers in the Northeast. The other 25m either used to be laborers or are protected financially by laborers.

We cannot possibly say that an area like Amarillo TX, with just 100,000 laborers, is indicative of some nationally sustainable trend where cost of living is cheap and wages are still high.

This denies the existence of an extremely large block of humans, who are struggling despite earning decent money.
The Linux Programming Interface is an excellent book. Beyond that, if you're looking to go deeper into the libc in Linux I would recommend taking a look at the man pages. They're very comprehensive, especially the pages in sections 7 and 8 which explain the operating system and administration tasks.
> Mouse aiming was awful (too slow without acceleration, and inaccurate with it).

what do you mean by this? do they not let you adjust the mouse sensitivity or are you talking about input lag?
Ultimately if people feel comfortable that their children will grow up healthy and happy to adulthood it is widely accepted that the birthrate will tend to decrease. So providing childcare. Any kind of reduced aid due to having (more) children would tend to punish people who have children. I think that you maybe able to find an ethical framework that matches your goals but that is just because there isn't a universal agreement on ethics. Also it's kind of impossible for people to understand the cost/benefits of having children because in general kids are amazing, unique and considered by many their primary source of happiness especially in later life. There are also familial pressures on young people to have children but I'm mostly familiar with life in a developed nation and I'm kind of assuming you are targeting the less developed countries with higher rates of poverty and birthrates. Either way I'm not a professional ethicist so probably not the advice you are seeking.
You're risking much more than a dime, though, aren't you?
Fair point, but nobody’s writing backend software to support iOS apps on Windows servers so not something Apple cares about.

But then backends for iOS apps are part of Apples ecosystem, if peripherally, so I stand corrected.
Crucially, it’s not just about a large net property holding. It’s about having a a large percentage of your personal worth in property. If you’re making a lot in salary, or you’re passing down millions in wealth, you’ve been offset on the personal property tax and other components of SALT. If you’re in the top 20% and you’re not getting offset on higher tax bands, you’re not offset.
I don't know what's in the CS-61 course, but his UCLA-CS235 Advanced Operating Systems course was REALLY useful. You build the important bits of a multitasking OS.

http://read.seas.harvard.edu/~kohler/class/10f-aos/
*types in DunderMifflin

related: MapsWithoutSouthSudan

I know what I am going to be doing for the next 30 minutes
I mean this is covered in the movie "Who Framed Roger Rabbit". GM also tried to destroy Toon Town.
This is similar to the MongoDB vs Amazon feud: Unity took a bad decision to protect their product and now they are paying the consequences.
In Praise of Boredom, Again
I agree with your statement, but only if you consider that employees have a significant downside of working at a startup that goes under.

Usually they are able to jump ship sooner than the founder and don't loose any personal investment in the process they get more responsibilities and more independence which in turn can get them to higher salaries faster.

Employees at startup usually get paid a bit less than "market rate" but enjoy a work environment they consider to be more exciting / enriching / challenging. There are people that dislike the startup environment, or that don't think it's worth the pay cut compared to GAFAN or other BigCo - and that's OK - but for many it's not as bad as you frame it.
BlueSky Education | Senior Software Engineer | Guildford, UK | Onsite | Full-time

BlueSky is looking for its first in-house, full-time software engineer in Guildford, UK.

Over 17 years, our pioneering team has made BlueSky the UK's leading performance management tool in the field of education. BlueSky is a web-based software product that drives professional development for tens of thousands of teachers.

You will be our first in-house engineer. You will gradually take charge of engineering practice that we've successfully contracted out for 17 years. In the long term we will look to you to set standards for future engineers and help recruit a larger team. There is the opportunity for this to become an executive level role within 12-24 months.

Educators are our lifeblood here at BlueSky – we need you to care about their careers as much as we do.
Responsibilities

Responsibilities:

You'll be reporting to the Managing Director, Denise Inwood, who also designed and specified the BlueSky software.

In the short term, you will need to take ownership of our 50,000 line Rails 3 code base and deliver improvements alongside our outsourcing partner.

You'll be stepping into a multi-disciplinary team of server, front-end & database experts who are part of our outsourcing company, and will be a major part of BlueSky for years to come. You'll build a working relationship with their team, plan engineering work with them and manage a slow transition of ownership.

More details and application instructions -> http://bit.ly/2M3FSe4

(If you recognise my handle, you'll know this isn't my company - I founded bytemark.co.uk and did lots of hiring of engineers over the years. Since leaving Bytemark I'm helping BlueSky create their own engineering department, and I'll be assisting with the recruitment process - this will the first move of many!).
Poland arrests Huawei worker on allegations of spying for China
Depends on your cost/power/space budget. There's plenty of new 8-bit work being done today.
No it wouldn't. Large companies can pay for a lot of things that small companies can't.

What is insane is putting in regulation in areas like this instead of just punishing people for mis-conduct.
CB Insights Engineering Manager (JavaScript, ES6, Python, Go)