1,673 karma · joined Sep 27, 2013 (13y ago) · 683 submissions
Software design and implementation should be a joyous art, a kind of high-level play. If this attitude seems preposterous or vaguely embarrassing to you, stop and think; ask yourself what you've forgotten. Why do you design software instead of doing something else to make money or pass the time? You must have thought software was worthy of your passion once...
To do the Unix philosophy right, you need to recover that attitude. You need to care. You need to play. You need to be willing to explore.
comment 6y ago · link · parent
If you can and want to bill more to a client, you simply review the matter covering more depth or let the work be done by more senior lawyers who have a better hourly rate.
Big-law collects all the client is ready to spend on legal services. The more you spend, the better service you’ll get. If you suspect foulplay in billables, review the job narratives and raise a complaint.
302.
A BNF Parser in Forth(bradrodriguez.com ↗)
1 points · by terminalcommand · 7y ago · 1 comment
303.
Oracle Solaris 11.4 Released for General Availability(blogs.oracle.com ↗)
4 points · by terminalcommand · 8y ago · discuss
comment 8y ago · link · parent
As a service provider, you will need to inform your existing users about this restriction and put the restriction in your user agreement for new users. After that you can relax, if any of your users publish benchmarks, you'll have to warn the user and then take the benchmarks out. You don't have to actively search for violations, but if you notice one on your own, or you get notified (for example via email), you'll need to take it down.
If we're not allowed to share the results of benchmarks and comparisons, the only action that comes to my mind is:
1) Never buy Intel again, if presented with a viable choice!
2) Prepare and share ready-made benchmarking live USBs/utilities, so people can see the horrors Intel has caused them without violating the license.
3) Dump benchmarking results online from countries, where the Delaware courts mentioned in the article has no jurisdiction upon.
4) Get every copy of this microcode license prepared for different countries, sue the license in each of them, and have Intel struggle with it.
comment 8y ago · link · parent
I think taking Kant as an example could be flawed here. He didn't organize his life in routines to benefit himself, to make him more productive/happy etc., he organized his life to fulfill his duty and I personally don't think that he was happy in doing that.
comment 8y ago · link · parent
Zero day, Trojan Horse and Rogue Code are all excellent novels. Some common themes include computer virus epidemics, cyber armies, cyber warfare, dangers of an overnetworked but undersecured society
comment 8y ago · link · parent
comment 8y ago · link · parent
It is really nice to hear that my skills and interest in computers won't go wasted in practicing law. I hope my firm also gets offered an ML tool where I can show my skills. For now I can navigate the document management systems with ease, use some word add-ins (contract companion etc.), I guess that'll change in time and I'll have access to more sophisticated tools.
comment 8y ago · link · parent
I recently graduated from law school and now am an intern at a law firm. I have a strong interest for CS, and it bothered me for a long time that I went to law school instead of CS.
I'v overcome those feelings over the years and dedicated myself to become a lawyer. But your post caught my interest.
I'd be glad if you could share some of the story behind you studying cs after getting your law degree.
comment 8y ago · link · parent
I also had similar thoughts in college. I planned to scan my notes from time to time and thereby have them digitized. I never went through with it. The system that worked for me was to write a date on each paper, keep all notes in a stack, and organize them into topics in chronological order when needed.
I always struggle with physical organization, whether it be tidying up my room, or planning my days. I hope this will improve with age, but for now I try to work around my deficiencies. For example in college I never had the discipline to study everyday, although I almost never skipped a class and I always took notes. It wasn't that I wasn't interested in the things thought, but I just couldn't. I also cannot tidy up my room, although I know it would benefit me hugely. I always postpone getting a haircut, washing clothes etc. to the moment when it becomes absolutely unbearable.
So I don't think I'd have nearly enough willpower to take all my notes physically and then daily type them into the computer. In business life what I can do is to create a virtual filing system for organizing notes. For example I could divide the year in 52 weeks, open a folder for each of them, inside these folders I could open other folders for projects. I could then symlink those weekly folders into other directory listings for Clients and Projects etc. By doing this minimal work, I'd have a working system that would keep me out of my naturally inclined chaos. During internships I devised a similar system for email, and it had worked remarkably good.
comment 8y ago · link · parent
For the digital one, one can just copy and paste, use abbreviations, templates etc. so it doesn't take a lot of time.
Obviously the physical notes are only necessary in learning new and hard material. For example one might keep a notebook for C programming, Assembly, Basic Algorithms, Discrete Math etc.
I must admit that I've never tried to print my digital notes, which I keep in org-mode and export to pdf using tex. I guess that could also help for studying. You could take notes with hand, highlight things, put stickers on it etc.
I am planning to purchase a laser printer with refillable toners to print books, papers and my notes. I don't know why but having a physical copy of things help me learn them much easier. It could be that it is the only way I learned in school.
On a sidenote, during highschool I could only write essays with real pen and paper. But now I'm used to firing emacs and writing prose. Maybe I could also train myself to read textbooks on a computer efficiently.
comment 8y ago · link · parent
I'd argue that it would be even better, if I wrote the program samples with pen in a real notebook. Using different colors and imitating syntax highlighting could be even better.
I've been planning to get a physical programming/cs notebook for years.
316.
Optimal performance with two or more computer screens [pdf](bakkerelkhuizen.com ↗)
2 points · by terminalcommand · 8y ago · discuss
317.
The return of Spectre(zdnet.com ↗)
3 points · by terminalcommand · 8y ago · discuss
comment 8y ago · link · parent
Among my friends in their 20s, most of them want to build a PC. It could be the case that my generation didn't experience the growth and the decline of the PC market and we don't appreciate the value of laptops yet. The hype for building a custom PC certainly exists.
But from a consumer's standpoint, I also think laptops win in most cases.
Correction: Thanks to the reply, I noticed that "PC Market" statistics included both Laptops and Desktop PCs. I am leaving this post as is, as it represents my ideas on why there is still a -possibly growing?- interest for desktop PCs.
comment 8y ago · link · parent
I've been using a 8th gen computer for a year and I haven't had any problems. On the contrary the hevc hardware decoder/encoder works on linux, but I couldn't get it to work on Windows.
On the other hand Windows looks more polished than KDE and GNOME.
comment 8y ago · link · parent
Maybe you could try to lower your coffee consumption and drink relaxing teas instead. You could also take a few days off work and try to figure things out.
What is your heart rate like? How much do you sleep? How many cups of coffee do you drink in a day?
If you're heart rate is constantly up and you sleep very little (4-6 hours) and you drink more than 4 cups of coffee a day, my opinion would be that you're suffering from anxiety. If you treat the symptoms (without weed ofc :) ), the underlying physical stress might go away and you'll notice that you can program whilst not being under the influence.
Best of luck
comment 8y ago · link · parent
Maybe we need a hybrid site generator. We could still write the content as seperate text files, but we would have the ability to integrate comment sections, user profiles etc. seemlessly.
Our posts could be parsed and recorded onto a database, for better indexing, search, analytics and reducing redundancies.
The generator would come with a web server and handle everything we throw at it. From ssl to comments to databases.
That's the future I dream of. Not full blown CMSs, but not web 1.0 either.
comment 8y ago · link · parent
If anyone is interested https://github.com/Tribler/tribler/wiki link contains more information.
I'm surprised I didn't hear of this project before.
comment 8y ago · link · parent
The popular trackers (such as ptb) remove content very easily. It is getting really hard to find tv shows on the net.
What we need is a completely anonymous distributed solution.
We won't need google then.
comment 8y ago · link · parent
The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt. [1]
But I think we should also keep Rob Pike's experience and wits in mind. It was probably intended as a humble witty remark. If you consider how complex concurrency is, and how Golang has made it simple with a single keyword to spawn coroutines (go) and a straightforward data structure (channels), I think he is right to say that Golang is easy to understand and easy to adopt.[1] http://nomad.uk.net/articles/why-gos-design-is-a-disservice-... citing the quote from http://channel9.msdn.com/Events/Lang-NEXT/Lang-NEXT-2014/Fro...
comment 8y ago · link · parent
Nowadays I want to dig a little deeper into uwsgi with Python.
Maybe at the end of my journey, I will reach enlightenment and get to the point where I start seeing the generators as serious time savers. For now I feel like, if I want a generator, I'll build one :).
comment 8y ago · link · parent
But if you look at it, csrf is just a hidden form value involving a token injected into the page. It is not hard to implement. In that sense Flask doesn't have csrf proection either.
Session management on the other hand could be troubling, but in the end they all rely on cookies: if I take a look at https://golang.org/src/net/http/cookie.go , I can easily make sense of it. But I can imagine the need for a higher level library for session management.
There is something called gorilla toolkit which has session management, but you're right it isn't included in the standard library. Golang's own template engine is also very primitive.
comment 8y ago · link · parent
They baked all features necessary right into the language. You get a http server, ssl support, templating engine etc. right in the language. You also have a database agnostic database driver right in the language. Python is also similar in many ways, it comes with "batteries included". But in my experience go standard library is written in a crystal clear straight-forward way. My workflow (and I believe the workflows of many programs) always involves jumping to the source of go standard library and just reading the code.
Django on the other hand has layers and layers of magic, you've got an ORM, modules etc. etc. Some people might like to let a framework handle everything, learn it inside and out and use it. But for other people like me, with a short attention span, django seems subjectively boring. Maybe if I didn't program as a hobby and it was my job to learn django I might have taken the time and learn it.
I started the django tutorial twice in the last 2-3 years. Both the times, I got bored and left. My subjective opinion was that it didn't teach me anything besides how to "generate" a site with Django. OTOH I had much more luck with Flask. Immediately after following the tutorial I was able to write websites and deploy them.
I think it's a matter of taste. I don't like big frameworks, I like to keep things very simple and minimal. My favorite OS of choice is OpenBSD, my favorite languages are C, Golang and Python. I don't like to use IDEs, I use Emacs, even Emacs feels a bit bloated sometimes.
From time to time I get the urge to try one of the big frameworks like Rails and Django, but I never quite got them.
comment 8y ago · link · parent
Irc also has a lot of -to me at least- obscure specifications for example involving channel modes. The functionality differs from server to server.
I have the impression that most irc servers are operated by programs with old codebases coded in C. New client implementations are continuing to get written, but I do not see a lot of server implementations around, probably because it is complicated to write.
comment 8y ago · link · parent
For example to provide authentication many servers provide a bot called NickServ. There could also be a mechanism called ProfileServ that implements these functionalities.
The beauty of IRC is that you can open telnet, connect to an IRC server and actually be able to chat by typing raw commands.
The problem with IRC is that there is no standard specification, and there are many many edge cases. Therefore in my experience most IRC clients implement a small subset of the IRC protocol.
I've been trying to write an irc client in Go for quite some time (https://github.com/terminalcommand/irc-v2). It's been a fun experience, but there is still a lot to cover.