Domain: github.com
Stories and comments across the archive that link to github.com.
Comments · 4,419
-
Re: Fewer bug fixes?
systemd-timesyncd is a completely independent an optional application. His 'systemd' prefix only exists because his code is part of the systemd repository and because it use the libsystemd interface. See by yourself: https://github.com/systemd/sys...
It do exactly what you expect: it is not part of the systemd initialization code, but work with systemd interface library like any applications that want to work with this new interface. See for example this situation on a custom ARM board running Debian jessie:
root 1 0.0 0.5 4364 3008 ? Ss Mar12 0:04 /sbin/init
root 605 0.0 0.4 7360 2472 ? Ss Mar12 0:03 /lib/systemd/systemd-journald
root 909 0.0 0.4 9964 2268 ? Ss Mar12 0:00 /lib/systemd/systemd-udevd
systemd+ 924 0.0 0.3 12104 1564 ? Ssl Mar12 0:00 /lib/systemd/systemd-timesyncdPlease verify some basic information before making critic to systemd-timesyncd, because from what I understand it is designed precisely the way you recommend.
-
Re:DVCS is now CVS.
It IS possible to delete from the Git history, though. Instructions here.
-
Re:/. is not kickstarter
And if spend money, spend it on this guy, because this is the leading expert on ntpd and time setting issues who actually works on the problem and who you can trust to make it right.
-
Re:This is really old news
Interesting use of TypeScript, an entire rougelike (i.e. Nethack, i.e. the '@' game) game authoring library written in TypeScript, from the author of libtcod:
Game: http://roguecentral.org/doryen/yendor.ts/game/index.html
60fps example:http://roguecentral.org/doryen/yendor.ts/bench/index.htmlLibrary:https://github.com/jice-nospam/yendor.ts/releases/tag/v0.4.0
What's interesting is it does alpha shading, fluid mechanics, cloud mechanics, terrain generation etc all inside of a text based game, somewhat like Dwarf Fortress but a lot more flexible graphically. -
Re:Enlighten me please
for hd video, wifi is NO SUBSTITUTE for wired enet.
Bull*.
YouTube provides full 1080p videos at around 3.5 Mbps. If you rip and encode your own blu-ray at home, you'll be on the high end if you come in around 8 Mbps. Netflix serves up 1080p 3D videos that customers can watch on original Playstation 3 models. I routinely rip blu-rays and then compress/encode them at high quality settings for use via iTunes Home Sharing with my Apple TV. I never have to deal with waiting for more than a few seconds before playback starts. You can watch 1080p YouTube on an 802.11b laptop, those PS3s only have 802.11g, and my Apple TV only came with 802.11n. All of this is possible today and working just fine.
It sounds to me like you're blaming WiFi for a problem that lies elsewhere (e.g. misconfigured VLC buffering settings, wrong tools for the job, etc.), since plenty of us have working setups** that deliver HD video over WiFi without issue.
* Unless you're working with uncompressed video, of course, which consumes orders of magnitude more resources. If memory serves, a 1080p uncompressed video feed can be as high as 1.6 Gbps, so if you're dealing with that sort of stuff, then of course you should use wired instead of WiFi. But since we're talking about MKVs for an at-home setup rather than live video capture from an event, I figured we were dealing with compressed HD video.
;)** Regarding my setup, I just have a typical 802.11n router and an Apple TV for hardware. On the software side, I use MakeMKV with DTS-HD to FLAC encoding enabled to rip my discs. I then use Don Melton's scripts (with the --big flag set) to crop and transcode them, followed up by a quick pass through Subler to add any of the metadata for use in iTunes. After that, I just add them to iTunes, enable Home Sharing in iTunes, and then log in on my Apple TV to gain access to my entire iTunes library. Super simple and works great, even though none of it is wired.
-
Re:How much is it C++ and how much the compilers?
If you want to get a taste of what the Visual C++ compiler might look like, Check out this 16000 line file from
.net, and realize that it was written after Microsoft had already cleaned up their coding habits quite a bit. -
Re:Baking political correctness in society
Oh hey, who'daguessed it, apparently the protocol is super-weak.
What could I do with this API?
Good question.
You can do anything the Yik Yak app can do. You can post messages, upvote messages as well as downvote them. I must note that there's really no true verification that happens here, it's all crappy PHP scripts all hidden behind SSL.
I'm sure you can figure out if I've used the API or not already, but I will say this is really abusable and can be used to do just about anything as well.
Want a username on Yik Yak (a handle) without having to ask people to redeem your code? All you need to write some code to redeem your code 4 times from different user IDs and bam.
Want to delete a comment or message off Yik Yak? You can downvote that comment/message so many times (with different user ids) and eventually it'll be ripped off the face of the earth.
Want to know the top Yik Yaks posted in an area? You can exactly do that. I was planning on making an publicly available service that you were able to pin a specific area/location and get all the top messages in that area, but got too lazy.
I'm giving you all the possibilities because I'm sure nobody will be utilizing this API anytime soon.
-
Not much to transfer the other way
I can tell from my experience, having played Go decently, but being a calamity at Chess.
To give an example, I wrote a chess-playing program (a simple alpha-beta minimax with a value function pilfered from SunFish
https://github.com/thomasahle/...
No iterative deepening, no transposition table, no null-move search, no ...). When I set it to just 4 plies (that is two moves ahead) it absolutely destroys me. Basically, to be a decent chess player, you must have the ability to picture the board in your head and be able to do so for a few moves ahead. It is absolutely necessary when calculating exchanges and piece sacrifices. So a bit of ability to play blindfold chess is needed. Not a whole game, but to follow a line in your head.Contrast this with Go, where blindfold play is almost unheard of. One of the well-known difficulties is to "play under the stones"
http://senseis.xmp.net/?IshiNo...
where part of a group is captured and you have to play new stones on the vacated intersections. This is a place where blindfold-chess type of skill is required, and most Go players avoid that. Here is a great article on that:http://senseis.xmp.net/?Herman...
Also, the opening in chess follows very precise sequences, while in Go, the two players can almost ignore each other for the first few moves.
In the opening you have to think of the large-scale pattern of the territory you want to grab, not of the exact position of one piece/stone. -
Re:Alternatives are available...
Feel free to contribute then
;) -
Links that should have been in the article
-
Re:Money
A lot of your Firefox extensions (Ghostery, NoScript, AdBlock, FlashBlock, CookieManager, referrer disabled, cache management) and more (disable CSS, disable HTML5 audio/video/plugins, Strict HTTPS, User Agent spoofing, etc..) can be replaced by one extension on Chrome : uMatrix.
Hell, you can even simulate Lynx like you want by disabling everything and only plain text will show up with only one click (All square in the matrix).
All of that with the added security of Chrome's built-in sandbox... -
Re:Some things have improve, mostly gotten worse
Do you run Adblock Plus by any chance? I think most memory leak problems are caused by add-ons, and Adblock Plus is one of the worst offenders in my experience. I put up with this for a long time because I would rather have a leaky browser than put up with ads, but now you can have the best of both worlds with uBlock. Anecdotally it performs much better (both in memory usage and page load time), and the developer has figures that shows that it uses less memory than running with no ad blocker.
I do wish that Firefox was lighter as well, but unfortunately it's probably the lightest of the mainstream browsers already. Chrome is way more memory hungry, at least partially because of the multi-process sandbox model.
-
Story behind that article image
Chances are you have seen that picture used at the top of the article - I had in a few places, and then ran across the guy in the photo, which is for some reason spreading all over... He's keeping track of where it appears.
-
Re:I'm dying of curiousity
It's particularly interesting since VMware seems, in many respects, friendly to open source. They distribute a bunch of open source in their products and extensively document this, they partner with open source projects like Docker and OpenStack, and they're on GitHub. The sticking point here seems to be that they have kernel-level code that they think isn't covered by the GPL and Hellwig and the Conservancy do.
-
Re:Many other tools for multipath
For thoses interested in fast portable multipath vpn checkout MLVPN.
-
Re:Management speak, blah blah
I've been playing a bit with GOGS. It has most of the things that I like about GitHub, but can be hosted locally.
-
There is a script for that...
dualgate_multinet.sh supports dual-gateways and multiple subnet vlans.
https://github.com/sodonnell/b...
This script can easily be extended to support more than (2) gateways, and can support various VLAN/subnet configurations and isolation.
-
Re:No, extensions are bad and evil
There is already a check of the file type, by the application and by the shell (for native executables). So, I don't see any problems. Why shouldn't the system being exempt from counting a file type look-up as a use? The Linux file utility and the libmagic library can already detect thousands of different file types, and servers already make the check for the MIME type of a file for security reasons. The focus should be on security not on simplicity.
http://en.wikipedia.org/wiki/F...
https://github.com/threatstack...
http://www.iana.org/assignment... -
Re:Good news
Hey whaday know, it does have git. I hadn't noticed that, thanks for the tip.
The built in backup software (called vault, source code here: https://github.com/nemomobile/...) is based on git, that's why it is installed.
:) -
Seagate HDs
If it's about seagate hds you can take a look at seaget.With this you can dump the buffer and memory of your harddrive. Here is an explanation https://blacklotus89.wordpress... and here is the code https://github.com/BlackLotus/... Maybe this can be used to dump the firmware as well (somehow)
-
Re:Just a distraction from the real fail...
That doesn't change the fact that the attacker committed a crime and illegally accessed private information.
If you provide an api with a key already included in the sample code.
Using that sample code doesn't necessarily mean it was an attack.
-
Steam still broken on ZFS?
Just checked and yep, Steam is still broken on ZFS.
Oh, well. Guess I'll just continue not buying or playing any games, then...
-
Re:No wonder.
Link?
-
Re:Hello
Using this setting is more then just removing a button. WebRTC allows a number of privileged network commands to be run (with very poor protection against misuse), including one that can be exploited to enumerate of all your network end points. That means a web page can see your internal network addresses (for example your intranet IP address and any secondary or virtual interfaces). This can even reach behind a VPN or TOR connection, defeating just about any IP privacy guard.
If you have WebRTC enabled (it is by default in Chrome and FireFox) you can visit this demo by Daniel Roesler which runs some WebRTC code to get your IP address(es). If you are on a VPN you'll notice that it can sniff your real IP address, and if you have multiple network connectors (such as if you run developer virtual machines or servers) you'll see those segments too.
-
Re:get to work
And, of course, the whole thing is dependent on fixed servers which Moxie claims aren't easily replaced. Just like TextSecure on Android depends on Google's servers to function.
So the advantage over GPG is that the entire communication process can't be abstracted onto any other communication protocol (GPG on email/SMS/paper slips/etc), but depends on rickety infrastructure provided by somebody else. Progress!
-
Re:Let me explain.... :-)
"End to end" is a project which creates that sandbox you speak about.
Also, see its "gossip protocol" wiki page on how to solve the key distribution issue. -
Re:Let me explain.... :-)
"End to end" is a project which creates that sandbox you speak about.
Also, see its "gossip protocol" wiki page on how to solve the key distribution issue. -
Bundesgit
There is a project that put German laws into git: Bundesgit
They are versioned (so you can see changes over time).
-
Re:Nobody is immune
Absolutely, the more libraries that are available, the less time programmers need to implement behaviors that can utilize those libraries. But even today, when the number of open source libraries are clearly accelerating (and has nearly doubled in the year since that chart), there has been no slowing of programming jobs.
We also have to consider that the appetite for what software developers can create may simply be insatiable.
-
Re:Nobody is immune
Absolutely, the more libraries that are available, the less time programmers need to implement behaviors that can utilize those libraries. But even today, when the number of open source libraries are clearly accelerating (and has nearly doubled in the year since that chart), there has been no slowing of programming jobs.
We also have to consider that the appetite for what software developers can create may simply be insatiable.
-
A browser can be a text editor and dev environment
Try this: http://rawgit.com/pdfernhout/P...
You can enter the below short JavaScript script in the text box, and then push the "View Below" button to create a new div for the window which will pop up the alert as part of displaying itself.
<script>
alert("hello");
</script>If you enter a Data ID for the text and a User ID for yourself (can be almost anything) and click "Store" you will store that text in the web browser's local storage.
I wrote that about a year ago. It works under Firefox on Mac OS 10.6. It may not work as well elsewhere; for example Firefox under Win7 didn't work for some reasons when I tried it yesterday (but probably a minor error to fix). I do not know how it will perform on most mobile systems, but again, in theory, it should work or otherwise be relatively easy to fix. Here is the source code with more information:
https://github.com/pdfernhout/...You can also enter any HTML you want there, like to create buttons or divs or anything you want. Examples can be loaded by imported the text below into the editor using "Import and Merge" and then you can click "List all IDs" and select an item like "polar clock" to view it below (that example is a graphical clock, written by someone else using D3):
https://raw.githubusercontent....A different approach to doing something like that if you are willing to host a NodeJS server somewhere is this other code I wrote:
https://github.com/pdfernhout/...However, if you go that route, there are quite a few web services that support remote coding through the browser on hosted platforms. For example, "Cloud 9":
https://c9.io/ -
A browser can be a text editor and dev environment
Try this: http://rawgit.com/pdfernhout/P...
You can enter the below short JavaScript script in the text box, and then push the "View Below" button to create a new div for the window which will pop up the alert as part of displaying itself.
<script>
alert("hello");
</script>If you enter a Data ID for the text and a User ID for yourself (can be almost anything) and click "Store" you will store that text in the web browser's local storage.
I wrote that about a year ago. It works under Firefox on Mac OS 10.6. It may not work as well elsewhere; for example Firefox under Win7 didn't work for some reasons when I tried it yesterday (but probably a minor error to fix). I do not know how it will perform on most mobile systems, but again, in theory, it should work or otherwise be relatively easy to fix. Here is the source code with more information:
https://github.com/pdfernhout/...You can also enter any HTML you want there, like to create buttons or divs or anything you want. Examples can be loaded by imported the text below into the editor using "Import and Merge" and then you can click "List all IDs" and select an item like "polar clock" to view it below (that example is a graphical clock, written by someone else using D3):
https://raw.githubusercontent....A different approach to doing something like that if you are willing to host a NodeJS server somewhere is this other code I wrote:
https://github.com/pdfernhout/...However, if you go that route, there are quite a few web services that support remote coding through the browser on hosted platforms. For example, "Cloud 9":
https://c9.io/ -
Re:Can someone explain node's supposed speed
Of course, a cooperative multithreading library might be the best of both worlds.
Some other people think so too
I don't really understand what definition you are using to consider threads closures, though. -
Re:Yeah, article & responses are sad; blame O'
BTW, my own current work on all that, just checked in a new update to a version of the Pointrel System yesterday which I am please with conceptually. I use it here:
https://github.com/pdfernhout/...But the main repository for that version of the Pointrel System is here:
https://github.com/pdfernhout/...It has ideas in it that could be useful for a Simple Federated Wiki like Ward is working towards and other knowledge sharing tools beyond that. At the core of this version of the system is the idea is document "envelopes" which wrap JSON objects and supply indexed metadata including arbitrary triples and also supply a document ID, where you can post new versions of a document with later timestamps to change the indexing of them or the content. This is just my own twist on a lot of ideas that have been running around for a long time (including in CouchDB, MongoDB, RDF, Wikis, git, and my own previous work). Inspiration often ping-pongs back and forth between people or indirectly across networks.
Anyway, I'd say Ward Cunningham's "Wiki Way" feels somewhat more like Stallman's ideals than O'Reilly's "Open Source" ideals, even if it is different in its own way.
http://c2.com/cgi/wiki?WikiWay
http://c2.com/cgi/wiki?TheWiki...
http://en.wikipedia.org/wiki/W...However, there are truths to what all of these people have to say from their different perspectives, whether about ideology, practice within pragmatic current politics, or community tools. It can be hard to put them all together.
-
Re:Yeah, article & responses are sad; blame O'
BTW, my own current work on all that, just checked in a new update to a version of the Pointrel System yesterday which I am please with conceptually. I use it here:
https://github.com/pdfernhout/...But the main repository for that version of the Pointrel System is here:
https://github.com/pdfernhout/...It has ideas in it that could be useful for a Simple Federated Wiki like Ward is working towards and other knowledge sharing tools beyond that. At the core of this version of the system is the idea is document "envelopes" which wrap JSON objects and supply indexed metadata including arbitrary triples and also supply a document ID, where you can post new versions of a document with later timestamps to change the indexing of them or the content. This is just my own twist on a lot of ideas that have been running around for a long time (including in CouchDB, MongoDB, RDF, Wikis, git, and my own previous work). Inspiration often ping-pongs back and forth between people or indirectly across networks.
Anyway, I'd say Ward Cunningham's "Wiki Way" feels somewhat more like Stallman's ideals than O'Reilly's "Open Source" ideals, even if it is different in its own way.
http://c2.com/cgi/wiki?WikiWay
http://c2.com/cgi/wiki?TheWiki...
http://en.wikipedia.org/wiki/W...However, there are truths to what all of these people have to say from their different perspectives, whether about ideology, practice within pragmatic current politics, or community tools. It can be hard to put them all together.
-
Re: Are you freaking serious?
Jumping on this thread, if you want a dungeon generatore, check out the Libtcod library, it's been ported to Python, C++, C#, and very recently TypeScript (i.e. Javascript#)
http://roguecentral.org/doryen/
https://github.com/jice-nospam/yendor.ts
Here's an example from 2011: https://www.youtube.com/watch?v=DZkDOx4W3zs -
Greaseonkey and NoBennett script
Maybe someone already posted this, but I can't see it! https://gist.github.com/Mini-G...
-
uBlock
uBlock is great because it's a good ad blocker with minimal overhead. it works on firefox and chrome.
https://github.com/gorhill/uBl... -
Re:Adblock
uBlock and AdBlock do indeed block the same stuff, but if you're going to pick one, go with uBlock, since it's significantly more efficient.
-
Re:(binary protocol)--
I'm really going to miss being able to telnet to a server and troubleshoot using plain text. Feels like a lot of simple has disappeared from the internet
Yes, HTTP/2 is a multipllexing binary framing layer, but it has all the same semantics of HTTP/1.x on top.
HTTP/2 is 'just' an optimization. So if your webserver supports HTTP/1.x and HTTP/2 then you can still use telnet to check whatever you want and it should give the same result as HTTP/2.
But you also have to remember:
The IETF which is the group of people who design the Internet protocol made this statement:
https://www.iab.org/2014/11/14..."Newly designed protocols should prefer encryption to cleartext operation."
The W3C made a similar statement, there are also drafts with the intention to moving to HTTPS by default.
So it is all moving to TLS protocols like HTTPS or STARTTLS for SMTP anyway. Those are clearly not text protocol either.
So even if you want to interact with the text protocol used inside that TLS-encrypted connection, you'll need to use a tool because netcat or telnet won't cut it.
Let's look at HTTP, because this is a HTTP/2 article.
That tool could be the openssl s_client, but as you can see that is kind of cumbersome:
echo -en "HEAD / HTTP/1.1\nHost: slashdot.org\nConnection: close\n\n" | openssl s_client -ign_eof -host slashdot.org -port 443 -servername slashdot.orgBut I suggest you just use:
curl -I https://slashdot.org/The main developer for cURL works for Mozilla these days and is one of the people working on the HTTP/2 implementation in Firefox and is writing a document explaining HTTP/2: http://daniel.haxx.se/http2/
So as you would expect Curl supports HTTP/2:
https://github.com/http2/http2...Basically every browser include 'developer tools' which will also let you see the headers and everything else you are used from HTTP/1.x.
I would rather see we all move to using encrypted protocols then that we can still use telnet.
-
Re:I doubt it
Well
... https://github.com/freenas/fre... here we've got iXsystems as COMPANY :D. -
Re:I doubt it
You can see who works on PC-BSD by checking out the commit history on the official github repo Kris Moore is one of the main contributors and is a really nice guy. He works for iXsystems.
FreeNAS is a different beastie. Here is the github. As you can see there is actually very little overlap, but a lot of cross pollination between the various BSDs.
-
Re:I doubt it
You can see who works on PC-BSD by checking out the commit history on the official github repo Kris Moore is one of the main contributors and is a really nice guy. He works for iXsystems.
FreeNAS is a different beastie. Here is the github. As you can see there is actually very little overlap, but a lot of cross pollination between the various BSDs.
-
Re:meanwhile...
The funny thing is the people working on OpenRC threw in the towel over a year ago.
[Citation needed]
OpenRC is very much an active project. The last commit was just a few days ago.
But in practice it is non-viable as a replacement for all systemd is doing today
The question is really the other way around - should systemd be doing all that it does and at the same time abandon POSIX compatibility.
systemd is not even portable. That is the very antithesis of Unix.
-
Re:Red Hat Network
Then switch to CentOS or Scientific Linux. It can actually be done live, and I've done it. Negotiating the namechanges of compnents like "redhat-release" to "centos-release" or "sl-release" can be finicky. I used to do it with 'whitebox' Linux, but they're obsolete.
Also, if you're having difficulty re-establishing a license for a validly licensed system, or you don't want to reach out to the Internet all the time for your RHEL updates, set up a local "reposync" mirror and enable a yum config to use it locally. Rip out "yum-rhn-ssetup" on your local hosts pointed to the same mirror, and the GPG package signatures will still be valid, so you have some confidence of the RPM validity. I like the script at:
https://github.com/nkadel/nkad...
I've probably switched 300 out of date environments from RHEL to CentOS because my employers did not want to continue licensing for legacy hosts. I argued with them that it was worth the paid cost of my time setting up and maintaining all these non-standard and unsupportable environments, but I return my work to the open source and freeware communities in other ways. (I do send Red Hat fixes for some subtle problems.)
-
Re:Such potential
Blocks that are normally indented now have to be closed explicitly with an end keyword.
I see what they did there.
Highly un-Python-ic: a new keyword to close the if/for/etc statements.
But it is a confirmation of my own conclusion that with the vanilla Python syntax that is impossible to accomplish.
Python support for me wasn't as important. I simply wanted to see and compare use of different languages in such context. And see whether a generic, language-neutral preprocessor makes any sense. (Here it is, btw.)
-
Re:Psssssssst!
What, why is this garbage modded up? The Nim compiler is written in Nim.
Compiling the Nim compiler is quite straightforward. Because the Nim compiler itself is written in the Nim programming language the C source of an older version of the compiler are needed to bootstrap the latest version. The C sources are available in a separate repo here.
-
Re:Convincing support by early adopters
What? You're telling me that some random Indian programmer who has no history involved with the design or implementation of any version of historical version of Unix who is switching between obscure programming languages isn't a front page news story?!!
-
Caveat Emptor
I was looking at the last link in TFS and in the comments to that link there was this little gem that should force you to take a large grain of salt before committing to a major Nim effort
Now, I am not familiar with how other, similar languages were at the same stage of development, but given things like this I would be putting Nim in the "Not ready for prime time YET" basket (which is also how I feel about Swift at the moment - there seems to be too many things in a state of flux right now)
-
Re:Wow, the moderation here is now crap
Tomorrow I'm having my best developer look at the source to systemd from https://github.com/systemd/systemd.git and I'm going to see if he can track down the problem.
Please ask your best developer to look at
/etc/init.d/mongod and /etc/rc.d/init.d/functions.I think you'll find that it's the mongod init script and the CentOS/RedHat svsvinit functions that are redirecting stderr, systemd is never getting the message.