skysight-inc/HackerNews huggingface dataset:
American and even I've never understood why Sunday is considered the first day on some calendars. It has always, in my experience, been considered a weekend day and you would think that the "weekend" is at the end of the week, and Monday has long been the default start of a work or school week.
The trafficked areas the Roomba would work for mostly don't have carpeting. And where there are carpets, they're all decades old so I'm not too worried about taking new steps to prolong their life.
That's up to whoever is supplying the services. While many may be outsourcing this to data centers, I'm sure it's not the case for everyone and there are people operating their own hardware.
I'm positive there's a way to only load the relevant data in your stack.

In Elixir with Absinthe we can resolve to the specific fields we need and we don't load the entire records then slim down.
So you're saying that Hong Kong is a different country?
How do you detect that you're being ptraced? I see the link to https://www.aldeid.com/wiki/Ptrace-anti-debugging in the README, but

a) the program has to actively run its check while being ptraced to notice. If you attach to the program (which pauses it), inject your code, run your code, and then detach, the program's own code will not notice it's being ptraced, no?

b) if you want to run the program's own code while being ptraced, can't you just stop on the ptrace syscall and lie about its result? I think `strace -e inject=ptrace:errno=0` will avoid the program in that wiki page from realizing it's being traced. (You can use seccomp-bpf for this if you don't want to take the performance overhead of stopping on every syscall.)
In a lot of ways godot handles 2D sprite based games better. The easiest way to explain it is that in unity it's a 3D game acting like a 2D game, in godot it really is 2D. I've made a few game jam games in both, and got up and going much faster with godot, but the tutorials and documentation were lacking. But it installs right away, takes up very little space and we managed to get sprite based games up and running in less than a day. There were quirks and things that need to change, but on the whole I'm very hopeful for what godot becomes.
What are the caps on France? The top CEOs are paid several tens of millions of euros. The limits are cultural to some extend, but I do not know of any legal ones (for private companies, the public ones do have legal caps)
One more tool taken away from teachers to maintain order and respect from their students at school will lead to:

- good teachers leaving (because they can't do their jobs)
- quality of teaching going down (because of the above and because disruptive elements will not be dealt with properly)

Long term impact on society from this kind of decisions is terrible.
Add this to the list of reasons I don't live in California. My 3rd grader has been suspended from school before and it needed to happen to teach him a lesson.
Whoops, yes, I misread that!
> You could put a CDN in front of the static content

Most are still way more expensive than dedicated server traffic and "fixed price" CDNs like Cloudflare are going to give you the boot if you serve >100TB on their 20 bucks plan and/or a lot of larger files.
Let's say lobbyists pull funding from one sector and push it into another, such as the endless funding for military pulling funding away from other sectors like education, then you as a citizen that wants to support education can decide to put your $100 towards that.
In my childhood I was mesmerized by magazines like that one. It's a whole world of its own, bold and unruffled in the confidence of its righteousness. Another reason is that we didn't have stuff so clean and enticing, in that place and time.

I rifled through catalogues of office stationery, admiring each photo of a binder or a stapler, straightforward and audacious. I still have in my possession a centerfold with a collage of newspapers where Czechoslovakia is a country, and on the rear is an ad for some IBM mainframe.

From those PDFs I can almost sense the paper, heavy in its poise but its promise being light as air. I now realize that it's almost the same feel that kept me at my monitor for many nights, much later on.
thank you for bringing these products to my attention :-)
And you know what? I guess Google Fuchsia won't have a major change at this situation. And if it did (since every clean restart should bring something positive), some years later the situation will be the same.
Only applies to grades 1 through 5. Still a bad idea.
Good point, and I do that periodically.

But I believe that's not the problem here, or at least not so much as the business being very impatient and just never respecting objections from the programmers that the quality of the software suffers due to far too tight deadlines.
That would probably be a violation of Berne Convention because brands are national constructs and require registration and convention requires copyright to exists independently of national borders and without registration.
One prediction he missed out is the mining of space for scarce resources. (He just touched on commercialization of space, but he probably assumed things like satellite launching and space tourism)

I wouldn't be surprised if Tesla/SpaceX towed a lithium filled asteroid to near Earth within the next decade. They are probably working on it right now.

Save this comment and come back in 2030
The NRO Issues Inspection Request to ICANN Concerning .ORG Sale
I took French classes from 5th grade all the way through college and could speak basically zero actual French. For maybe six months now I’ve been doing about 20-30 minutes a day using the “Fluent Forever” method and I’m already able to converse with native speakers and watch movies in French. It’s really opened my eyes to how inefficient learning “sprints” are compared to small but consistent progress.
Yeah. Because we know that post-soviet Russians are very happy people. Not.

Source: I am there once a month.
jq is only used in three of the >120 functions (for sort-keys functionality). All the rest use JMESPath.

If anyone can help with a solution I'd be delighted to remove the dependency on jq.

https://github.com/bash-my-aws/bash-my-aws/blob/b74d92a902bb...
> Modern text editors have higher latency than 42-year-old Emacs.

Hmmm. Let's think about this.
Do you have a case study about how you implemented this application?
Time is money and engineers aren't given time to properly finish developing software before releases.

Add to this the modern way of being able to hotfix or update features and you will set an even lower bar for working software.

The reason an iPod didn't release with a broken music player is that back then forcing users to just update their app/OS was too big an ask. You shipped complete products.

Now a company like Apple even prides itself by releasing phone hardware with missing software features: Deep Fusion released months after the newest iPhone was released.

Software delivery became faster and it is being abused. It is not only being used to ship fixes and complete new features, but it is being used to ship incomplete software that will be fixed later.

As a final sidenote while I'm whining about Apple: as a consultant in the devops field with an emphasis on CI/CD, the relative difficulty of using macOS in a CI/CD pipeline makes me believe that Apple has a terrible time testing its software. This is pure speculation based on how my experience. A pure Apple shop has probably solved many of the problems and hiccups we might run into, but that's why I used the term "relatively difficult".
This is a bit shocking and I'll get downvoted for it but:

Not to mention that red meat is a class 2 carcinogen (Source: WHO). And processed meat, is a class 1 carcinogen, right up there with Plutonium, according to the World health organization.
"increased graduation rates" I'm sure they're happy to rubber-stamp standard tests and push students to graduate, doesn't mean they will have learned anything

It's an empty metric
'Partiality' seems fitting.
Keep in mind this doesn't really apply to rainforests which were much more widespread before the arrival of humans (both white and native). Rainforests take a long time to build up and are resistant to fire through their damp and cooler nature. But once they're gone the gums move in.
Yes we do and it’s already being deployed. See [1] for example.

[1] https://pv-magazine-usa.com/2019/07/29/california-gas-plant-...
It bothers me that the authors' assumptions are so controversial and that they hide them in the middle of the article.

In the simulations the authors are using, civilizations have lifetimes, meaning that all of them end after a while. And that simply isn't supported by events. Technological civilization has never vanished even from our little one-planet civilization. Polities do decline, but there is usually someone there to pick up the pieces. In an interstellar civilization there would be more recovery opportunities: interstellar visitors who arrive to see why a collapsed planet went offline.

The authors of this piece are asking us not just to assume that simultaneous disaster is possible on ten, a hundred, or a thousand planets. They are asking us to assume that it happens to every single time a civilization has achieved interstellar travel, and that it has been happening for the last ten billion years.

Simultaneous catastrophes on thousands of worlds affecting millions of species for billions of years? Life arising only once could easily be the more plausible option.
Show HN: I build a website which combines all hacker news sites in a nice stream
Moon Phases Calendar 2020
This doesn’t mean that bullying will go in punished. Nor does it mean that disruptive students will be allowed to continue disrupting class without consequence.

It simply means that teachers have a lot less discretion, which will remove a lot of the potential for bias to affect their students in negative ways.
The recommendation algorithm can be really bad at taking negative feedback. It'll sometimes stop recommending videos from a specific source when you give negative feedback, but once it's decided you might be interested in a topic, getting it to stop recommending videos related to that topic feels impossible.

The only reliable way to get it to stop recommending inappropriate content is to delete the videos that triggered those recommendations from your viewing history.
On demand video streaming in the 90s was completely different.

I was talking about the effect on our culture, and the shift that has occurred in the last decade has changed how we consume media in a way that did not happen with what we had in the 90s.
Looked fun, I was just worried about game performance and server bandwidth usage..

Both frontend and backend are open source and work straight away without bundling, if you want to fiddle around:

https://github.com/pakastin/car
https://github.com/pakastin/car-ws

Pull requests also welcome! ;)
Also 7/10

7 - I can't see massive exploration suddenly over 10 years. And when this boom does come governments will be very involved, like in the colonial periods, there is massive national advantage to get people to go stake claims. I can only see it being a similar blend of govt/private.

10 - we will see progress but anything groundbreaking in the cancer fight this seems too short a time scale.
As a Linux / Windows guy, some of the metaphors are weird.

But at least it's mostly consistent.
I've read that polio eradication efforts in Pakistan were set back by CIA efforts to find Osama bin Laden, of all things.

Between 2004 and 2012, the number of polio cases in Pakistan closely mirrored the number of drone strikes. But from 2013 onward, polio cases increased while drone strikes fell.

This can be explained by the CIA's use of a fake immunization campaign in a failed attempt to obtain the DNA of Osama bin Laden's relatives prior to his assassination in 2011. This seemingly vindicated militants' suspicions that vaccination programs were a cover for espionage. Militants consequently intensified their disruption of immunization campaigns, resulting in an increase in polio cases in Pakistan, as well as in Afghanistan, Syria, and Iraq.

https://www.ncbi.nlm.nih.gov/m/pubmed/28764582/
Kotlin Algorithm Challenge No. 2
Also, what makes you prefer Office365?
https://fi.google.com is great if you travel often.
> a) the program has to actively run its check while being ptraced to notice. If you attach to the program (which pauses it), inject your code, run your code, and then detach, the program's own code will not notice it's being ptraced, no?

Depends on if all threads were put into a paused state. Also, the program that's being debugged might have spawned some additional processes that will be checking if the parent is being ptraced.

Replace "self" with the PID you want to check if it is being traced:

$ cat /proc/self/status | grep Tracer
TracerPid: 0
Introspection has long ceased to be a valid methodology in linguistics. Lack of a 1:1 mapping between languages clearly does not imply that you "fundamentally lose information". Just because it takes a language two words to express a concept that another language can express using a single word obviously does not mean that the first language is somehow unable to fully express the meaning of the concept.
Suspensions are dumb, in general. My high-school got rid of them in favor of an "in-school suspension" policy, wherein the student still had to go to class but was banned from after school activities and had to essentially work for the school doing e.g. grounds keeping and other tasks. The policy was effective, and got at the problem: students hanging out with the wrong crowds with too much idle time. I'm sympathetic to the argument that problem-students can be disruptive to the learning environment (though my sister is a teacher and disagrees, and is flatly in favor of outright suspensions) but I'm of the opinion that there's better ways to deal with that than telling them to sit at home and do nothing, creating more idle time and more chances to start trouble.
New allocator idea sounds a lot like the metaslab approach used in ZFS.
I don't know how well my experience extrapolates to others, but disobeying a teacher's instructions in front of the teacher was pretty orthogonal to all the ways I was bullied. This doesn't seem related to me at all.
I have heard a lot of complaints about the costs to the Windows ecosystem caused by having to always maintain backwards compatibility.
Deep Learning Infrastructure at Scale
Sorry for late reply, I was away on holidays. It's Bromley East St. Small PC/laptop repair shop. I couldn't find any general electronic/electric repair shop. They told me that cables are too thin and the thing is not worth the work in general. As a result I've got a soldering iron and working headphones at home - fixed it myself.
As I always had 10 different tabs open on the same time, I build hackeroo to combine all the news sources in one single stream.

The alogrithm sorts the list to have the best news on top.

Frontend is build in vanilla javascript and the backend a golang services which writes static files that can nicely be cached by cloudlfare.
Edge Cached Static Sites on CloudFlare
Ha! And people call me crazy for using emacs and eww for everything.
That doesn't seem very related: they're parallel structures.

The existence of other, non-hierarchical structures participated in by the military does not negate their efficacy in the military.
Why not?

http://www.iaauae.org/media-files/2007/10/16/20071016_Hitler...
”Hans Thomas Reiser (born December 19, 1963) is an American computer programmer, entrepreneur, and convicted murderer.”

Not a great namesake, is it?
Bash-My-AWS wraps AWSCLI as thinly as possible and makes use of JMESPath and the text output.

The result is you have a simple set of commands that don't require you to type hundreds of characters.

instances() {
local instance_ids=$(__bma_read_inputs)
local filters=$(__bma_read_filters $@)

aws ec2 describe-instances \
$([[ -n ${instance_ids} ]] && echo --instance-ids ${instance_ids}) \
--query "
Reservations[].Instances[][
InstanceId,
InstanceType,
State.Name,
[Tags[?Key=='Name'].Value][0][0],
LaunchTime,
Placement.AvailabilityZone,
VpcId
]" \
--output text |
grep -E -- "$filters" |
LC_ALL=C sort -b -k 6 |
column -s$'\t' -t
}
Kind of ironic that we now have School Resource Officers permanently stationed in schools but we are taking away the ability of teachers to police their classroom.

I think the good old days when a teacher could hit you with a ruler were the best form of discipline.
Nothing gets a kids attention better than humiliation.
>Honestly what's surprising to me is that they're able to overcome that resistance at all. Imagine trying to distribute a vaccine in the US that is known to trigger outbreaks of the virus it's supposed to protect against. Regardless of the fact that things would be far worse without it, all the evidence in the world wouldn't be enough to convince many people.

Western risk assessment is warped by the fact that a great many people never have to weigh risky decisions because for the most part society is wealthy enough that we can just defer risk of physical harm at the expense of either time or money. Of course people will freak out when they're given a decision where there's a risk of physical harm in both options.
I never used Absinthe, but if you're initializing an ORM in your resolver, loading the entire record into memory is unavoidable. How does Absinthe get around that? (Sounds like it generates the SQL?)
We are starting to solve the command line problem in Commandeer. https://getcommandeer.com/iac-running-suite In the next few weeks we will be rolling out a Bash Runner. This is a preview of the Bash Runner Page - https://imgur.com/Eruzzv7
No thank you. That's easy to do when 88% of the population are foreign workers, virtually none of whom have a path to citizenship, most of whom are rewarded with relatively low wages, and many of whom face exploitation by various means. It's a feudalistic system that doesn't focus on benefiting the people in Qatar, only the Qatari citizens.

http://priyadsouza.com/population-of-qatar-by-nationality-in...
I am sorry, but if you think language syntax “beauty” is something to be considered while picking the language to develop in, then you’re probably bot senior enough to make decisions which one of them to use for the project.

There’s only one true answer to this: “it doesn’t matter at all - I’ll learn it in a week@.
Happy new year everyone!
no need to be sassy, you can add smart home products that are useful, not prone to singular failure, inexpensive, and privacy-preserving.

i've installed a dozen or so zigbee-based ikea tradfri led bulbs and switched outlets in my apartment (along with a half-price zigbee-to-wifi gateway from the bargain bin) and they work great. if any part of the network goes out, i can just use them as regular bulbs by actuating the switches already in the wall or built into the lamp.

my favorite addition is using a motion sensor for the walk-in closet bulb, since the built-in light switch is awkwardly placed in a back corner. i open the door and the light goes on, close it and it goes off a few seconds later, a simple pleasure.

the tradfri gateway also now connects via homekit to my existing apple tv, which is used as the apple home server. that way, i can turn lights on and off from the control center on my phone from anywhere via icloud. the apple tv and gateway are on their on vlan and have restricted access to the internet and the rest of my network.

sure, you can go crazy trying to add automation to everything, but so far, i've had no extra stress or complexity, just simple additional convenience.
But you probably need an Intro to Java class, which is what the AP CS exam tests. I thought you were implying that a passing AP CS score was "advanced", far beyond beginner coding.

To me, "learn to code" = Took the "Intro to Java" class (certified by passing the AP CS exam)

Whereas "CS Degree" = 15+ classes in CS, math, stats.

Advance Placement is not very "advanced". Passing AP CS simply means you learned basic Java in high school, so can skip it in college.

But is your point that there are still job opportunities for those with very basic coding skills? CS apprentice? That would be interesting.
Sturgeon's Law, "Ninety percent of science fiction is crud, but then ninety percent of everything is crud".
I would also love to do the same.
"much faster than say ext2"

Mordsschnell!
Octal is easier to keep in your head while not sacrificing any efficiency.
In what objective way was society better off when teachers could hit kids with a ruler. Lower crime rates? Longer life span? More productive workers? Less income inequality?
I'm pretty sure bullying could still lead to suspensions. The new law doesn't ban suspensions for rules the school creates, just for disobeying a teacher. Also why are we suspending 1st through 5th graders? Children in those grades are 11 years old and younger. What kind of system is that? These are small children.
This is more of a bikeshedding question, but I’d go with NOTE instead.
This is not to mention that suspension can be considered a reward for the especially problematic students because then they're going to just go off and do whatever they want.

That said, this bill isn't banning suspensions entirely for violent or bullying behavior. They just can't suspend students for willful defiance, which as the stats showed has some clear racial bias associated with it.
Sort of a Taylor development of the laws of physics, first order=Newton, second order=relativity, etc ...

Sad philosophically, but very likely correct.

Also, always remember: we can formulate laws of physics all we want, we can only conduct actual experiments to validate them in a very tiny corner of the universe. Who's to say that - say - Maxwell's law are valid a million light-year away from here?

The scientific method only works locally, unfortunately.
What is better? Jquery? It comes with its own can of worms and React designers had solid reasoning to migrate away from immediate DOM modification. In general UI is hard. Nice features like compositing, variable width fonts, reflow etc come with the underlying mechanisms that are pretty complicated and once something behaves different to the expectations it might be hard to understand why.
Coming from Google Cloud, I couldn't deal with the atrocity that is awscli, so I ended up eventually implementing the bare minimum of shell wrappers to at least start, stop, ssh into, rsync files to and from, etc, my aws instances _by name_, not by instance ID. Took me a couple of hours to cobble it together.

Google cloud CLI offers all of this out of the box. Why Amazon wants to make such basic commands difficult, I'll never understand.
Add two at once. Possibilities include creating West California, West Washington, South Virginia, and South Illinois.
Thanks. I also wish you a happy new year 2020 and the congratulations also go to the news ycombinator community.
>I’m really looking forward to whatever next thing becomes popular and replaces this shit show.

I'm with you, but motivation to really learn a system tanks when there's something else on the horizon. And what happens when new-thing appears really great for the first 1-2 years, but goes downhill and we're back to asking for its replacement only 5 years after its release? That tells me we're still chasing 'new', but instead of a positive 'new', it's a negative one.

This was also reinforced constantly by people claiming you'll be unemployable if you aren't riding the 'new' wave or doing X amount of things in your spare time.

It's a natural consequence of an industry that moves quickly. If we want a more stable bedrock, we MUST slow down.
Some of the detection methods methods were mentioned in a comment (here’s one more: timers), but I should also mention that some binaries try to resist ptrace attempts with ptrace(PTRACE_TRACEME, …) as well if you’re too slow to get in before that.
Event Sourcing (2017)
See vanilla ice verse queen. Da dun dun dun da dun dun dun.